Hi Stefan, > Somebody at the Bluetooth Mailing List has made the interresting > suggestion that the usb-hid mapper could do a fine job for the > hci hid devices out there. > > He suggested to split off the hid stuff from the bus it's connecting. > > hid.o > hid-usb.o > hid-hci.o > > > So before i am going to work for trying to implement that, i am asking > if anybody else is working on this. And if he/she needs, wants support > for that stuff. > > I saw a lot of discussion's around the Bluetooth HID Stuff and > as i also have the same Problem i think it's an great idea to use > the usb-hid stuff for that thing.
the person who mention this the first time was me and with the adaption of the USB HID specification into the Bluetooth HID profile, the kernel HID parser should no longer be restricted to USB only. But at the moment the main problem is that at many places the HID code depends on USB stuff. This is not necessary and the USB code should be moved into a seperate file (for example hid-usb.c). The HID parser works fine without any USB code. But this is only the first step into the world, where we can share the HID parser for USB and Bluetooth HID devices, because the needed HID descriptor in Bluetooth is only accessable via a SDP service attribute, which means that most stuff of the Bluetooth HID implementation has to be in user space. And so we can also code the HIDP stuff in user space. But coding a second HID parser in user space is not a good idea, because we have to interface with the kernel input system at some point and so we can also do this at the higher HID level and don't need to worry about another HID parser implementation. So my idea is to have a misc device /dev/hidctl which can be used for writing a so called HID mini driver in user space. This interface has two input states. One is for the descriptor input (initial state) and the second is for the input of reports. The switch between these two states will be done by the ioctl's CREATEDEV and RELEASEDEV. Regards Marcel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
