Page 1 of 1

mouse weeller does not scroll

Posted: Wed Jun 20, 2018 6:10 am
by tcat
Hi,

My mouse does not scroll using the middle weel button. This has been the case since certain version of raspbian, I now run latetest `stretch' but I remember sometime around `wheezy' version the scroller worked just fine.

Any ideas?

Many thanks
Tomas

Re: mouse weeller does not scroll

Posted: Wed Jun 20, 2018 7:30 am
by tcat
Hi,

My mouse is identified as such in /var/log/Xorg.0.log

Code: Select all

[    18.008] (II) input device 'Genius USB Optical Mouse', /dev/input/event0 is 
tagged by udev as: Mouse
[    18.008] (II) input device 'Genius USB Optical Mouse', /dev/input/event0 is a pointer caps
[    18.040] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0458:003A.0001/input/input0/event0"
[    18.040] (II) XINPUT: Adding extended input device "Genius USB Optical Mouse" (type: MOUSE, id 6)
[    18.041] (**) Option "AccelerationScheme" "none"
[    18.041] (**) Genius USB Optical Mouse: (accel) selected scheme none/0
[    18.041] (**) Genius USB Optical Mouse: (accel) acceleration factor: 2.000
[    18.041] (**) Genius USB Optical Mouse: (accel) acceleration threshold: 4
[    18.043] (II) input device 'Genius USB Optical Mouse', /dev/input/event0 is tagged by udev as: Mouse
[    18.043] (II) input device 'Genius USB Optical Mouse', /dev/input/event0 is a pointer caps
[    18.045] (II) config/udev: Adding input device Genius USB Optical Mouse (/dev/input/mouse0)
v/input/mouse0)
[    18.045] (II) No input driver specified, ignoring this device.
[    18.045] (II) This device may have been added with another device file.
Mouse acceleration is set to 3.0 in Keyboard & Mouse settings.
Mouse is probed twice, once attached as /dev/input/event0, once discarded as /de
v/input/mouse0.

/dev/input/event0 is attached with id 6 to XINPUT, the output of xinput --test when I scroll is following.
EVDEV is not reported as being used.

$ xinput --test 6 #scroll up

Code: Select all

motion a[3]=-30 
motion a[3]=-15 
motion a[3]=-30 
motion a[3]=-15 
motion a[3]=-30 
motion a[3]=-15 
motion a[3]=-30 
motion a[3]=-15 
motion a[3]=-30
$ xinput --test 6 #scroll down

Code: Select all

motion a[3]=-15 
motion a[3]=0 
motion a[3]=15 
motion a[3]=30 
motion a[3]=45 
motion a[3]=60 
motion a[3]=75 
motion a[3]=90 
motion a[3]=75 
motion a[3]=90
Tomas

Re: mouse weeller does not scroll

Posted: Wed Jun 20, 2018 8:00 am
by tcat
Next round of tests, it attempts to scroll, but jumps up and down in both directions to scroll.

UP UP UP

Code: Select all

$ xinput --test 6
motion a[3]=-615 
motion a[0]=646 
motion a[3]=-600 
motion a[0]=646 
motion a[3]=-585 
motion a[3]=-630 
motion a[0]=645 
motion a[0]=645 
motion a[3]=-645
DOWN DOWN DOWN

Code: Select all

$ xinput --test 6
motion a[3]=-660 
motion a[3]=-675 
motion a[3]=-660 
motion a[3]=-645 
motion a[3]=-630 
motion a[3]=-645 
motion a[3]=-660 
motion a[3]=-645 
motion a[3]=-630

Re: mouse weeller does not scroll

Posted: Wed Jun 20, 2018 8:16 am
by tcat
Tried another modern Genius optical mouse, same results.
Attached oldies DEL ball mouse, and it works, scrolls up and down.

DEL has attached with id 10

Code: Select all

[  7808.810] (II) XINPUT: Adding extended input device "Dell Dell USB Mouse" (type: MOUSE, id 10)
What is mind boggling, is the DEL output, as both directions have positive increment! Yet it recongnises movement up or down.

$ xinput --test 10 # UP UP UP

Code: Select all

motion a[3]=5115 
motion a[1]=692 
motion a[3]=5100 
motion a[3]=5085 
motion a[3]=5070 
motion a[3]=5055 
motion a[3]=5040 
motion a[1]=693 
motion a[1]=693 
motion a[3]=5025 
motion a[3]=5010 
motion a[3]=4995 
motion a[3]=4980 
motion a[3]=4965 
motion a[3]=4950 
$ xinput --test 10 # DOWn DOWN DOWN

Code: Select all

motion a[3]=4965 
motion a[3]=4980 
motion a[3]=4995 
motion a[3]=5010 
motion a[3]=5025 
motion a[3]=5040 
motion a[3]=5055 
motion a[3]=5070 
motion a[3]=5085 
motion a[3]=5100 
motion a[3]=5115 
motion a[3]=5130 
motion a[3]=5145 
motion a[3]=5160