Skip to content
Konata Izumi edited this page Oct 20, 2017 · 1 revision

Device init

            rc = usb_string(usb_dev, 0x02, buf, 514);
            if (rc > 0) printk("buf = %s", buf);
            
            rc = usb_string(usb_dev, 0xc9, buf, 256);
            if (rc > 0) printk("buf = %s", buf);
            
            rc = usb_string(usb_dev, 0xc8, buf, 256);
            if (rc > 0) printk("buf = %s", buf);
            
            rc = usb_string(usb_dev, 0xca, buf, 256);
            if (rc > 0) printk("buf = %s", buf);
[  +6.769743] q11k device detected if=0
[  +0.000003] USB_DEVICE_ID_HUION_TABLET (rsize=18, size=18)
[  +0.000001] USB_DEVICE_ID_HUION_TABLET 0 OK
[  +0.000278] q11k_device 0003:256C:006E.0006: hidraw3: USB HID v1.0b Device [TABLET Pen Tablet] on usb-0000:00:14.0-12/input0
[  +0.058327] buf = Pen Tablet
[  +0.000694] buf = HUION_T164_170327
[  +0.000513] buf = 洀\xc2\x88\xe1\xbf\xbfᏘࠃ
[  +0.000961] buf = HUION Animation Technology Co.,ltd
[  +0.000088] input: Huion Q11K Keyboard as /devices/virtual/input/input24
[  +0.000158] q11k device ok
[  +0.000030] q11k device detected if=1
[  +0.000002] USB_DEVICE_ID_HUION_TABLET (rsize=83, size=83)
[  +0.000000] USB_DEVICE_ID_HUION_TABLET 1 OK
[  +0.000257] q11k_device 0003:256C:006E.0007: hidraw4: USB HID v1.11 Device [TABLET Pen Tablet] on usb-0000:00:14.0-12/input1
[  +0.056816] input: Huion Q11K Tablet as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:256C:006E.0007/input/input25
[  +0.000080] q11k device ok
[ +18.296089] q11k_raw_event: 12        08:80:00:00:00:00:00:00:00:00:00:00
[  +0.004051] q11k_raw_event: 12        08:80:00:00:6d:88:00:00:00:00:00:00
[  +0.003893] q11k_raw_event: 12        08:81:0a:7a:38:47:7a:11:00:00:00:00
[  +0.002194] q11k_raw_event: 12        08:81:91:7a:ef:46:77:11:00:00:00:00
[  +0.003981] q11k_raw_event: 12        08:81:a1:7a:ea:46:6c:11:00:00:00:00

Clone this wiki locally