]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
HID: force hiddev creation for SONY PS3 controller
authorBastien Nocera <hadess@hadess.net>
Wed, 28 Nov 2007 15:34:53 +0000 (16:34 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Jan 2008 13:51:21 +0000 (14:51 +0100)
commit0887b4cb2102e281c123abf1408f218c15fd3ba3
tree535def61fbee8054845e840730fd4b5a29c8cfec
parent9f6b37275a9f5fbb0b6657a226a633533a1b2e09
HID: force hiddev creation for SONY PS3 controller

The device is not discoverable, and needs to be poked to set its master, the
Bluetooth device it will try to connect to when the "Home" button is pressed
without a cable plugged in.

Using libusb means disconnecting the device from its driver to get the report
descriptor. Using hiddev, we can poke it without relinquishing control over it,
so when you plug it in, it would still work as a pad.

This could be then used by sixpair program, after it is rewritten to use
hiddev instead of libusb.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-quirks.c