2017年10月17日 星期二

Ubuntu 16.04 USB HID

Ubuntu 16.04 USB HID
安裝 libusb
sudo apt-get update
sudo apt-get install libusb-dev

#include "usb.h"

Link Add "usb" (-lusb)


https://github.com/torvalds/linux/blob/master/samples/hidraw/hid-example.c
https://www.pjrc.com/teensy/rawhid.html
http://b8807053.pixnet.net/blog/post/267518989-usb-device-資料讀取方式的研究

hidrawX device belongs to a device by querying sysfs example.
https://git.lekensteyn.nl/ltunify/tree/ltunify.c?id=1938dc08d1b0111f4eb236e4b920a321e78cb5da#n1142

libudev and Sysfs Tutorial
 http://www.signal11.us/oss/udev/

沒有留言:

張貼留言