Bluetooth and HID devices
Bluetooth and HID devices
- Subject: Bluetooth and HID devices
- From: email@hidden
- Date: Sun, 27 May 2007 10:00:48 -0400
Hi,
I'm working on a driver for OSX for the Sony PS3 SIXAXIS controller.
Currently I have it working alright on USB mode - this is a standard
HID device, but requires a getreport to be sent to kick it into life.
I do this in the kernel due to the elegance of setting it up at
startup of the device, but it also allows me to change the HID
descriptor to include the pressure button readings and motion sensors,
which are in the data that comes in as a HID report, but not included
in Sony's HID descriptor.
In addition to this, the device has a Bluetooth mode. The pairing is
done over USB, which I have successfully added to my Preference Pane
using the standard setReport function from userspace. However, when
the controller then connects, it doesn't seem to be seen as a HID
device. My question is, if I were to manually connect to the device to
accept it's data, is this only possible from userspace? Ideally I'd do
it in the kernel so as to expose a new HID device - otherwise, I
assume I'm going to need to write a userspace daemon to read the
controller, then some sort of virtual kernel driver to expose the
relevant HID device.
Thanks,
Colin Munro
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden