On Wed, 12 Sep 2012 22:26:04 +0200 David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> wrote: > Hi all > > On Wed, Sep 12, 2012 at 4:32 PM, Luiz Augusto von Dentz > <luiz.dentz@xxxxxxxxx> wrote: > > Hi Bastien > > > > Getting the device does not seems to be a problem and we have a > > similar driver already in the kernel, so Im really optimistic that it > > will not take long to have this implemented in the kernel. > > Please, just redirect me to the information of the device protocols. > It is pretty simple to make the kernel drivers work with these kinds > of HID devices. There is no need to look at the wiimote driver as this > one is pretty complex and does something totally different than normal > HID drivers. > > I am willing to write the kernel drivers, but I need a short > introduction or some pointers on how these devices work. I cannot > afford buying these (yeah, not even 30$...) so I also need people > willing to test these. This should be pretty easy, though. > > Also Jiri Kosina (the HID maintainer) is willing to accept any weird > quirks we need for these devices. But please stop using fakehid. The > idea is wrong and hidraw should be used to write userspace HID > drivers. (uhid is only for transport side! So cannot be used here). > The kernel HID community is also very active and helps a lot on > maintaining the drivers. > > So if the devices only need some short setup-command during > initialization and then they send HID reports whenever a button is > pressed, then everything should be very easy to get working. Even > auto-reconnect and 10min idle-disconnect are _very_ easy to get > working in the kernel with the current HID infrastructure. > I too will take a look during the week-end about writing a kernel driver, if it's not that much of an effort I might take the project (no promises yet). I have a PS3 BD remote Bastien donated. David AFAICS from profiles/input/fakehid.c[1], a custom report has to be decoded and appropriate input events have to be sent. Regards, Antonio [1] http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=profiles/input/fakehid.c;h=05f5894c7bd537d78a010b3905af9f98c0364002;hb=96f60e1411514fb4b0d8690aca1c02b3c6b32b9c -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html