Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown input report #66

Open
jirkahronik opened this issue Jul 25, 2021 · 1 comment
Open

Unknown input report #66

jirkahronik opened this issue Jul 25, 2021 · 1 comment

Comments

@jirkahronik
Copy link

jirkahronik commented Jul 25, 2021

This is almost surely not an issue with the driver but I'm hoping someone here may have ideas about what's wrong.
My S640 gets properly recognised when connected but fails to control the cursor as a mouse or work as a pen.
The device works as I managed to get it working just fine in MacOS. But two linux machines (Manjaro and Mint) don't (both are Macbook Pro hardware, if that matters).

With veikk-linux-driver installed, this is my journalctl after plugging the device in and touching the tablet with the pen:

Jul 24 11:20:29 MacJirka kernel: usb 1-5: new full-speed USB device number 12 using xhci_hcd
Jul 24 11:20:29 MacJirka kernel: usb 1-5: New USB device found, idVendor=2feb, idProduct=0001, bcdDevice= 0.00
Jul 24 11:20:29 MacJirka kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 24 11:20:29 MacJirka kernel: usb 1-5: Product: S640
Jul 24 11:20:29 MacJirka kernel: usb 1-5: Manufacturer: VEIKK.INC
Jul 24 11:20:29 MacJirka kernel: usb 1-5: SerialNumber: 0000001
Jul 24 11:20:29 MacJirka kernel: input: VEIKK S640 Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:2FEB:0001.000D/input/input25
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000D: hidraw9: USB HID v1.00 Mouse [VEIKK.INC S640] on usb-0000:00:14.0-5/input0
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000D: VEIKK S640 Pen probed successfully.
Jul 24 11:20:29 MacJirka kernel: input: VEIKK S640 Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:2FEB:0001.000E/input/input26
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000E: hidraw10: USB HID v1.00 Device [VEIKK.INC S640] on usb-0000:00:14.0-5/input1
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000E: VEIKK S640 Pen probed successfully.
Jul 24 11:20:29 MacJirka kernel: input: VEIKK S640 Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:2FEB:0001.000F/input/input27
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000F: hidraw11: USB HID v1.00 Device [VEIKK.INC S640] on usb-0000:00:14.0-5/input2
Jul 24 11:20:29 MacJirka kernel: veikk 0003:2FEB:0001.000F: VEIKK S640 Pen probed successfully.
Jul 24 11:20:29 MacJirka mtp-probe[8481]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 24 11:20:29 MacJirka mtp-probe[8481]: bus: 1, device: 12 was not an MTP device
Jul 24 11:20:30 MacJirka mtp-probe[8519]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 24 11:20:30 MacJirka mtp-probe[8519]: bus: 1, device: 12 was not an MTP device
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:35 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:36 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:36 MacJirka kernel: veikk 0003:2FEB:0001.000E: Unknown input report with id 2
Jul 24 11:20:40 MacJirka kernel: usb 1-5: USB disconnect, device number 12
Jul 24 11:20:40 MacJirka kernel: veikk 0003:2FEB:0001.000D: VEIKK S640 Pen removed.
Jul 24 11:20:40 MacJirka kernel: veikk 0003:2FEB:0001.000E: VEIKK S640 Pen removed.
Jul 24 11:20:40 MacJirka kernel: veikk 0003:2FEB:0001.000F: VEIKK S640 Pen removed.

Without the driver, this is what I get (no messages when using the pen):

Jul 25 15:17:36 MacJirka kernel: usb 1-5: new full-speed USB device number 19 using xhci_hcd
Jul 25 15:17:36 MacJirka kernel: usb 1-5: New USB device found, idVendor=2feb, idProduct=0001, bcdDevice= 0.00
Jul 25 15:17:36 MacJirka kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 25 15:17:36 MacJirka kernel: usb 1-5: Product: S640
Jul 25 15:17:36 MacJirka kernel: usb 1-5: Manufacturer: VEIKK.INC
Jul 25 15:17:36 MacJirka kernel: usb 1-5: SerialNumber: 0000001
Jul 25 15:17:36 MacJirka kernel: input: VEIKK.INC S640 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:2FEB:0001.001C/input/input43
Jul 25 15:17:36 MacJirka kernel: input: VEIKK.INC S640 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:2FEB:0001.001C/input/input44
Jul 25 15:17:36 MacJirka kernel: hid-generic 0003:2FEB:0001.001C: input,hidraw9: USB HID v1.00 Mouse [VEIKK.INC S640] on usb-0000:00:14.0-5/input0
Jul 25 15:17:36 MacJirka kernel: input: VEIKK.INC S640 as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:2FEB:0001.001D/input/input45
Jul 25 15:17:36 MacJirka kernel: hid-generic 0003:2FEB:0001.001D: input,hidraw10: USB HID v1.00 Device [VEIKK.INC S640] on usb-0000:00:14.0-5/input1
Jul 25 15:17:36 MacJirka kernel: hid-generic 0003:2FEB:0001.001E: hiddev4,hidraw11: USB HID v1.00 Device [VEIKK.INC S640] on usb-0000:00:14.0-5/input2
Jul 25 15:17:36 MacJirka mtp-probe[562275]: checking bus 1, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 25 15:17:36 MacJirka mtp-probe[562275]: bus: 1, device: 19 was not an MTP device
Jul 25 15:17:37 MacJirka systemd-logind[508]: Watching system buttons on /dev/input/event23 (VEIKK.INC S640 Keyboard)
Jul 25 15:17:37 MacJirka mtp-probe[562315]: checking bus 1, device 19: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 25 15:17:37 MacJirka mtp-probe[562315]: bus: 1, device: 19 was not an MTP device
Jul 25 15:17:38 MacJirka kcminit[562319]: Initializing  "kcm_mouse" :  "kcminit_mouse"
Jul 25 15:17:38 MacJirka kwin_x11[1520]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10552, resource id: 73400325, major code: 18 (ChangeProperty), minor code: 0

xinput test 18 / xinput test 19 shows no output at all.

$ xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Microsoft Comfort Curve Keyboard 3000     id=11   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=12   [slave  pointer  (2)]
⎜   ↳ bcm5974                                   id=14   [slave  pointer  (2)]
⎜   ↳ Broadcom Corp. Bluetooth USB Host Controller      id=16   [slave  pointer  (2)]
⎜   ↳ VEIKK.INC S640 Mouse                      id=18   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Microsoft Comfort Curve Keyboard 3000     id=10   [slave  keyboard (3)]
    ↳ Apple Inc. Apple Internal Keyboard / Trackpad     id=13   [slave  keyboard (3)]
    ↳ Broadcom Corp. Bluetooth USB Host Controller      id=15   [slave  keyboard (3)]
    ↳ Microsoft Comfort Curve Keyboard 3000     id=17   [slave  keyboard (3)]
    ↳ VEIKK.INC S640 Keyboard                   id=19   [slave  keyboard (3)]

I'm in the dead end and can't think of any more tests or actions to get the tablet working. I'm open to ideas and opinions what can be wrong.

Oh, and the module was loaded:

# modinfo veikk
filename:       /lib/modules/5.4.131-1-MANJARO/extra/veikk.ko.xz
license:        GPL
description:    USB VEIKK drawing tablet driver
author:         Jonathan Lam <[email protected]>
version:        2.0
srcversion:     6AD8D07A3365DEDAAB1EF01
alias:          hid:b0003g*v00002FEBp00000003
alias:          hid:b0003g*v00002FEBp00000002
alias:          hid:b0003g*v00002FEBp00000001
depends:        hid
retpoline:      Y
name:           veikk
vermagic:       5.4.131-1-MANJARO SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Modules
sig_key:        4A:2A:57:28:28:17:07:77:7C:24:03:2F:57:9C:DB:B6:C9:A6:27:92
sig_hashalgo:   sha512
signature:      BB:B5:82:E4:86:B5:BD:01:5E:61:17:FD:46:B5:17:D0:C2:56:BF:4A:
                      ...
@jirkahronik
Copy link
Author

OK, so the Unknown input report with id 2 was easy to resolve. For some reason version 2.0.2 missed commit 7ccdfb1 and didn't handle VEIKK_STYLUS_REPORT.
I tried the most recent master but there was no change except that error gone.
In the last attempt I tried the v3-alpha and basically same behavior. This is the log if it helps:

Jul 28 20:30:31 MacJirka kernel: usb 1-5: new full-speed USB device number 17 using xhci_hcd
Jul 28 20:30:32 MacJirka kernel: usb 1-5: New USB device found, idVendor=2feb, idProduct=0001, bcdDevice= 0.00
Jul 28 20:30:32 MacJirka kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 28 20:30:32 MacJirka kernel: usb 1-5: Product: S640
Jul 28 20:30:32 MacJirka kernel: usb 1-5: Manufacturer: VEIKK.INC
Jul 28 20:30:32 MacJirka kernel: usb 1-5: SerialNumber: 0000001
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0021: DEV RDESC (len 177)
Jul 28 20:30:32 MacJirka kernel: 5 1 9 2 a1 1 85 1 9 1 a1 0 5 9 19 1 29 3 15 0 25 1 95 3 75 1 81 2 95 5 81 1 5 1 9 30 9 31 26 ff 7f 95 2 75 10 81 2 5 d 9 30 26 ff 1f 95 1 75 10 81 2 c0 c0 5 1 9 2 a1 1 9 1 a1 0 85 5 5 9 19 1 29 5 95 5 75 1 15 0 25 1 81 2 95 3 81 1 5 1 9 30 9 31 95 2 75 10 16 0 80 26 ff 7f 81 6 9 38 15 81 25 7f 95 1 75 8 81 6 5 c a 38 2 95 1 75 8 81 6 c0 c0 5 1 9 6 a1 1 85 3 5 7 19 e0 29 e7 15 0 25 1 75 1 95 8 81 2 5 7 19 0 29 ff 26 ff 0 75 8 95 6 81 0 c0 
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0021: hidraw2: USB HID v1.00 Mouse [VEIKK.INC S640] on usb-0000:00:14.0-5/input0
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0021: VEIKK S640 probed successfully.
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0022: DEV RDESC (len 105)
Jul 28 20:30:32 MacJirka kernel: 5 d 9 2 a1 1 85 2 9 20 a1 0 9 42 9 44 9 45 9 3c 9 43 9 44 15 0 25 1 75 1 95 6 81 2 9 32 75 1 95 1 81 2 95 1 81 3 5 1 9 30 9 31 55 d 65 33 26 ff 7f 35 0 46 40 1f 75 10 95 2 81 2 5 d 9 30 26 ff 1f 75 10 95 1 81 2 9 3d 15 81 25 7f 75 8 95 1 81 2 9 3e 15 81 25 7f 81 2 c0 c0 
Jul 28 20:30:32 MacJirka kernel: input: VEIKK S640 Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:2FEB:0001.0022/input/input55
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0022: hidraw12: USB HID v1.00 Device [VEIKK.INC S640] on usb-0000:00:14.0-5/input1
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0022: VEIKK S640 probed successfully.
Jul 28 20:30:32 MacJirka kernel: veikk 0003:2FEB:0001.0023: DEV RDESC (len 36)
Jul 28 20:30:32 MacJirka kernel: 6 a ff 9 1 a1 1 85 9 9 2 75 8 95 c 15 0 26 ff 0 81 2 9 3 75 8 95 8 15 0 26 ff 0 91 2 c0 
Jul 28 20:30:32 MacJirka mtp-probe[98368]: checking bus 1, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 28 20:30:32 MacJirka mtp-probe[98368]: bus: 1, device: 17 was not an MTP device
Jul 28 20:30:32 MacJirka mtp-probe[98396]: checking bus 1, device 17: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
Jul 28 20:30:32 MacJirka mtp-probe[98396]: bus: 1, device: 17 was not an MTP device

Oddly it seems properly identified and I left the VEIKK_DEBUG_MODE enabled yet there are no events or reports logged. Any ideas please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant