Skip to content

Instantly share code, notes, and snippets.

@matoken matoken/dmesg
Last active Sep 23, 2019

Embed
What would you like to do?
Can★Do 100円有線マウス
[143284.767610] usb 2-2: new low-speed USB device number 10 using xhci_hcd
[143284.923330] usb 2-2: New USB device found, idVendor=10c4, idProduct=8108, bcdDevice= 0.00
[143284.923332] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[143284.923333] usb 2-2: Product: USB OPTICAL MOUSE
[143284.923334] usb 2-2: Manufacturer: YSPRINGTECH
[143284.926152] input: YSPRINGTECH USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/0003:10C4:8108.000A/input/input28
[143284.926280] hid-generic 0003:10C4:8108.000A: input,hidraw1: USB HID v1.11 Mouse [YSPRINGTECH USB OPTICAL MOUSE] on usb-0000:00:14.0-2/input0
$ sudo lsusb -vvv -d 10c4:8108
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Bus 002 Device 010: ID 10c4:8108 Cygnal Integrated Products, Inc. USB OPTICAL MOUSE
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x10c4 Cygnal Integrated Products, Inc.
idProduct 0x8108
bcdDevice 0.00
iManufacturer 1 YSPRINGTECH
iProduct 2 USB OPTICAL MOUSE
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 64
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
$ xinput list --long 'YSPRINGTECH USB OPTICAL MOUSE'
YSPRINGTECH USB OPTICAL MOUSE id=17 [slave pointer (2)]
Reporting 7 classes:
Class originated from: 17. Type: XIButtonClass
Buttons supported: 7
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
Button state:
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 17. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 15.000000
flags: 0x0
Class originated from: 17. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: 15.000000
flags: 0x0
@matoken

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.