Is the linux version if the HID driver not able to send data to the device using output data field in a report?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

From my thread on the libusb mailing list (http://www.nabble.com/Does-libusb-1.0-get-it%27s-devices-stolen-by-the-OS%27s-native-driver--td25367199.html), I came to understand that the linux version of the HID driver is unable to send data to the device. From what I read on the HID spec (http://www.usb.org/developers/devclass_docs/HID1_11.pdf) it says that a report can define input and output (section 6.2.2.5, page 29). Is this correct, that the linux HID driver only partially implements the HID spec and that the driver won't let me send arbitrary (non-keyboard led on/off) data to a HID device? If so, from what I understand, I have two choices :

1) write a kernel driver for my device (which is why I made it to be HID compliant in the first place, to not have to write a driver for linux, mac & windows) 2) use a userland lib like libusb/libhid and have to deal with the kernel's HID driver claiming the device

Are there any other choices? Did I miss something?

Thank you,
Gabriel
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux