Background
I'm fairly new to ChromeOS, but I am developing a USB device that works like a absolute position mouse. It is basically what one finds in the absmouse Arduino library. (
source link).
It works on Windows and Mac, but not on the recent production Chromebook I have for testing. The mouse simply does not move. When I plug in the device, it does show up at chrome://system#lsusb as using usbhid. I'll post evtest output in a moment.
I've built a similar mouse that uses relative positioning and that works fine on the Chromebook.
QQ
How do I debug this? What logs do I have access to that might help with forensics? Where would I find the code that probably is deciding to ignore this abs mouse?
Thanks in advance.
evtest output
crosh> evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Sleep Button
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: GTCH7503:00 2A94:A803
/dev/input/event5: Tablet Mode Switch
/dev/input/event6: Elan Touchpad
/dev/input/event7: sof-glkda7219max Headset Jack
/dev/input/event8: sof-glkda7219max HDMI/DP, pcm=5 Jack
/dev/input/event9: sof-glkda7219max HDMI/DP, pcm=6 Jack
/dev/input/event10: sof-glkda7219max HDMI/DP, pcm=7 Jack
/dev/input/event11: Adafruit ItsyBitsy 32u4 5V 16MHz
Select the device event number [0-11]: 11
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x239a product 0x800e version 0x101
Input device name: "Adafruit ItsyBitsy 32u4 5V 16MHz"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 6826
Min 0
Max 32767
Event code 1 (ABS_Y)
Value 3337
Min 0
Max 32767
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537269, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537269, -------------- SYN_REPORT ------------
Event: time 1640537270, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537270, -------------- SYN_REPORT ------------
Event: time 1640537270, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537270, -------------- SYN_REPORT ------------
Event: time 1640537270, type 3 (EV_ABS), code 1 (ABS_Y), value in range (min, max)
Event: time 1640537270, -------------- SYN_REPORT ------------
Event: time 1640537270, type 3 (EV_ABS), code 0 (ABS_X), value in range (min, max)
Event: time 1640537270, -------------- SYN_REPORT ------------
Event: time 1640537270, type 3 (EV_ABS), code 0 (ABS_X), value in range (min, max)
Event: time 1640537270, -------------- SYN_REPORT ------------