I have 2 devices one did not work well but the other one is ok so I don't think it worth time to investigate more on HiD for now…

Unless you find similar issues ?

[[TrackBall]] : TrackMan

Bus 001 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
 xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Trackball                        id=10   [slave  pointer  (2)]
Jul  9 18:23:10 cis kernel: [ 3785.863006] hid-generic 0003:046D:C404.0005: input,hidraw0: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:1d.0-1.5.1/input0
Jul  9 18:23:10 cis kernel: [ 3785.804923] input: Logitech Trackball as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5.1/2-1.5.1:1.0/0003:046D:C404.0005/input/input15
Jul  9 18:23:10 cis kernel: [ 3785.799820] usb 2-1.5.1: Manufacturer: Logitech


xinput list-props 10
Device 'Logitech Trackball':
        Device Enabled (145):   1
        Coordinate Transformation Matrix (147): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (282):       0
        libinput Natural Scrolling Enabled Default (283):       0
        libinput Scroll Methods Available (284):        0, 0, 1
        libinput Scroll Method Enabled (285):   0, 0, 0
        libinput Scroll Method Enabled Default (286):   0, 0, 0
        libinput Button Scrolling Button (287): 2
        libinput Button Scrolling Button Default (288): 2
        libinput Middle Emulation Enabled (289):        0
        libinput Middle Emulation Enabled Default (290):        0
        libinput Rotation Angle (291):  0.000000
        libinput Rotation Angle Default (292):  0.000000
        libinput Accel Speed (293):     0.000000
        libinput Accel Speed Default (294):     0.000000
        libinput Accel Profiles Available (295):        1, 1
        libinput Accel Profile Enabled (296):   1, 0
        libinput Accel Profile Enabled Default (297):   1, 0
        libinput Left Handed Enabled (298):     0
        libinput Left Handed Enabled Default (299):     0
        libinput Send Events Modes Available (267):     1, 0
        libinput Send Events Mode Enabled (268):        0, 0
        libinput Send Events Mode Enabled Default (269):        0, 0
        Device Node (270):      "/dev/input/event2"
        Device Product ID (271):        1133, 50180
        libinput Drag Lock Buttons (300):       <no items>
        libinput Horizontal Scroll Enabled (301):       1

xinput set-prop  'Logitech Trackball' 'libinput Scroll Method Enabled' 0 0 1

xev # show nothing
sudo evtest # show nothing
sudo xxd /dev/input/event2
sudo evemu-record /dev/input/event2 /dev/stdout
E: 0.000001 0002 0008 0001      # EV_REL / REL_WHEEL            1
E: 0.000001 0002 000b 0120      # EV_REL / REL_WHEEL_HI_RES     120
E: 0.000001 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +0ms
E: 4.040006 0002 0008 0001      # EV_REL / REL_WHEEL            1
E: 4.040006 0002 000b 0120      # EV_REL / REL_WHEEL_HI_RES     120
E: 4.040006 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +4040ms
sudo dpkg -L libinput-tools || sudo apt-get install libinput-tools
sudo /usr/libexec/libinput/libinput-debug-events

dpkg -L usbutils ; sudo apt-get install usbutils ; sudo /usr/bin/usbhid-dump

002:013:000:DESCRIPTOR         1594329867.210277
 05 01 09 02 A1 01 05 09 19 01 29 03 15 00 25 01
 95 03 75 01 81 02 95 01 75 05 81 03 05 01 09 01
 A1 00 09 30 09 31 15 81 25 7F 75 08 95 02 81 06
 C0 09 38 95 01 81 06 09 3C 15 00 25 01 75 01 95
 01 B1 22 95 07 B1 01 05 08 09 4B 15 00 25 03 95
 01 75 02 09 3C A1 02 09 41 09 3D 09 3F 09 40 91
 00 C0 75 06 91 01 C0


dpkg -L usbutils ; sudo apt-get install usbutils ; sudo /usr/bin/usbhid-dump  --entity=all --address=002:020

002:020:000:STREAM             1594330647.450558
 00 00 00 01

002:020:000:STREAM             1594330647.970583
 00 00 00 FF

dpkg -L libusbhid-common || sudo apt-get install libusbhid-common
grep -i scroll  /usr/share/misc/usb_hid_usages
        0x47    Keyboard Scroll Lock
        0x84    Keyboard Locking Scroll Lock
        0x03    Scroll Lock
        0x233   AC Scroll Up
        0x234   AC Scroll Down
        0x235   AC Scroll
        0x29    Vertical Scroll
        0x2A    Horizontal Scroll

I suspect a problem in LinuxKernel HiD driver: linux/drivers/hid for LogiTech or LibInput

PS2 USB :

KERNEL

dmesg | grep input
Jul  9 22:29:19 cis kernel: [18554.949792] hid-generic 0003:046D:C404.0007: input,hidraw0: USB HID v1.10 Mouse [Logitech Trackball] on usb-0000:00:1d.0-1.5.1/input0
Jul  9 22:29:19 cis kernel: [18554.949613] input: Logitech Trackball as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5.1/2-1.5.1:1.0/0003:046D:C404.0007/input/input17
trackman.txt · Last modified: 2022/04/16 12:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki