понедельник, 14 ноября 2011 г.

work with usb hid device in slackware

- use libusb to find the device with "lsusb" command
- use libhid to find path to the device report with "lshid"
or detach device with "libhid-detach-device vendorid:productid"
and then call "lsusb -vvv".
- get or set data with
hid_get_input_report
hid_set_output_report

Комментариев нет:

Отправить комментарий