Hello, I'm working on adding support for our Bluetooth HID device to the AOSP. It is a non-keyboard/mouse device which ends up as a /dev/ hidraw0 device on ubuntu/bluez. I guess what I'm trying to achieve is to get /dev/hidraw0 created when my device connects, as in my ubuntu/ bluez case.
I've come to the point where the socket() call in ioctl_connadd() in bluez/input/device.c fails. I really don't know where this call takes me :-) static int ioctl_connadd(struct hidp_connadd_req *req) { int ctl, err = 0; ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP); if (ctl < 0) return -errno; ... } I've added the line /dev/hidraw0 0660 system bluetooth in ueventd.rc but that didn't help. I've considered adding a hid service in init.rc in a similar way as opush, pbap, etc, but it works fine on my ubuntu without this service so I'm not sure if this would help... Any idea on how to proceed? system: Ubuntu 10.10 device: Google Nexus S code: android-2.3.3_r1 + HID enhancements from omapzoom. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel