Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TinyPilot USB HID research
## Keyboard ##
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0104 Rev=01.00
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
## Mouse ##
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0104 Rev=01.00
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
kernel: usb 1-4.3: new full-speed USB device number 47 using ehci-pci
kernel: usb 1-4.3: string descriptor 0 read error: -22
kernel: usb 1-4.3: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 1.00
kernel: usb 1-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: input: HID 1d6b:0104 as /devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/0003:1D6B:0104.001E/input/input44
kernel: hid-generic 0003:1D6B:0104.001E: input,hidraw0: USB HID v1.01 Keyboard [HID 1d6b:0104] on usb-0000:00:12.2-4.3/input0
kernel: usb 1-2: new high-speed USB device number 46 using xhci_hcd
kernel: usb 1-2: New USB device found, idVendor=1d6b, idProduct=0104, bcdDevice= 1.00
kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-2: Product: Multifunction USB Device
kernel: usb 1-2: Manufacturer: tinypilot
kernel: usb 1-2: SerialNumber: 6b65796d696d6570690
kernel: input: tinypilot Multifunction USB Device as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-2/1-2:1.0/0003:1D6B:0104.0064/input/input160
kernel: hid-generic 0003:1D6B:0104.0064: input,hidraw4: USB HID v1.01 Keyboard [tinypilot Multifunction USB Device] on usb-0000:02:00.0-2/input0
kernel: input: tinypilot Multifunction USB Device as /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-2/1-2:1.1/0003:1D6B:0104.0065/input/input161
kernel: hid-generic 0003:1D6B:0104.0065: input,hidraw5: USB HID v1.01 Mouse [tinypilot Multifunction USB Device] on usb-0000:02:00.0-2/input1
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0104 Rev=01.00
S: Manufacturer=tinypilot
S: Product=Multifunction USB Device
S: SerialNumber=6b65796d696d6570690
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=250mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#=0x1 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
# LiteOn dongle, through CKLau
T: Bus=02 Lev=03 Prnt=16 Port=02 Cnt=02 Dev#= 21 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=32 #Cfgs= 1
P: Vendor=04ca ProdID=006d Rev=00.16
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=50mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
# "04ca:006d Lite-On Technology Corp. USB Device"
sudo usbhid-dump -m 04ca:006d
# Mouse
005:014:001:DESCRIPTOR 1614396903.770427
05 01 09 02 A1 01 85 01 09 01 A1 00 05 09 19 01
29 05 15 00 25 01 95 05 75 01 81 02 95 01 75 03
81 01 05 01 16 01 80 26 FF 7F 75 10 95 02 09 30
09 31 81 06 15 81 25 7F 75 08 95 01 09 38 81 06
05 0C 0A 38 02 95 01 81 06 C0 C0 05 0C 09 01 A1
01 85 02 19 00 2A 3C 02 15 00 26 3C 02 95 01 75
10 81 00 C0 05 01 09 80 A1 01 85 03 19 81 29 83
15 00 25 01 75 01 95 03 81 02 95 05 81 01 C0 06
01 FF 09 04 A1 01 85 04 95 01 75 10 19 00 2A FF
0F 15 00 26 FF 0F 81 00 C0
# Keyboard
005:014:000:DESCRIPTOR 1614396903.773389
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
75 01 95 08 81 02 95 01 75 08 81 01 95 05 75 01
05 08 19 01 29 05 91 02 95 01 75 03 91 01 95 06
75 08 15 00 26 A4 00 05 07 19 00 2A A4 00 81 00
05 0C 09 00 15 80 25 7F 75 08 95 08 B1 02 C0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment