You are not logged in.
Pages: 1
https://wiki.archlinux.org/index.php/Mo … celeration
https://bbs.archlinux.org/viewtopic.php?pid=1102179
For now I've put the acceleration aside as no setting has any effect. Hence some commented lines in my xorg configuration file.
My mouse uses alternative parameter names, e.g. "Device Accel Constant Deceleration" instead of "ConstantDeceleration".
$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Abyssus id=8 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0 id=10 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0 id=11 [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)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0 id=9 [slave keyboard (3)]
$ xinput --list-props "Razer Razer Abyssus"
Device 'Razer Razer Abyssus':
Device Enabled (141): 1
Coordinate Transformation Matrix (143): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (271): 0
Device Accel Constant Deceleration (272): 1.000000
Device Accel Adaptive Deceleration (273): 1.000000
Device Accel Velocity Scaling (274): 10.000000
Device Product ID (262): 5426, 28
Device Node (263): "/dev/input/event0"
Evdev Axis Inversion (275): 0, 0
Evdev Axes Swap (277): 0
Axis Labels (278): "Rel X" (151), "Rel Y" (152), "Rel Vert Wheel" (270)
Button Labels (279): "Button Left" (144), "Button Middle" (145), "Button Right" (146), "Button Wheel Up" (147), "Button Wheel Down" (148), "Button Horiz Wheel Left" (149), "Button Horiz Wheel Right" (150), "Button Side" (266), "Button Extra" (267), "Button Forward" (268), "Button Back" (269), "Button Unknown" (265), "Button Unknown" (265), "Button Unknown" (265), "Button Unknown" (265)
Evdev Scrolling Distance (280): 1, 1, 1
Evdev Middle Button Emulation (281): 0
Evdev Middle Button Timeout (282): 50
Evdev Third Button Emulation (283): 0
Evdev Third Button Emulation Timeout (284): 1000
Evdev Third Button Emulation Button (285): 3
Evdev Third Button Emulation Threshold (286): 20
Evdev Wheel Emulation (287): 0
Evdev Wheel Emulation Axes (288): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (289): 10
Evdev Wheel Emulation Timeout (290): 200
Evdev Wheel Emulation Button (291): 4
Evdev Drag Lock Buttons (292): 0
My current config file:
/etc/X11/xorg.conf.d/50-mouse-acceleration.conf
Section "InputClass"
Identifier "Razer Razer Abyssus"
MatchIsPointer "yes"
# linear deceleration (mouse speed reduction)
Option "Device Accel Constant Deceleration" "4"
# Option "Device Accel Profile" "-1"
# Option "AccelerationScheme" "none"
EndSection
[ 2287.836] (II) evdev: Razer Razer Abyssus: Close
[ 2188.936] (II) config/udev: Adding input device Razer Razer Abyssus (/dev/input/event0)
[ 2188.936] (**) Razer Razer Abyssus: Applying InputClass "evdev pointer catchall"
[ 2188.937] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 16 paused 0
[ 2188.937] (II) Using input driver 'evdev' for 'Razer Razer Abyssus'
[ 2188.937] (**) Razer Razer Abyssus: always reports core events
[ 2188.937] (**) evdev: Razer Razer Abyssus: Device: "/dev/input/event0"
[ 2188.937] (--) evdev: Razer Razer Abyssus: Vendor 0x1532 Product 0x1c
[ 2188.937] (--) evdev: Razer Razer Abyssus: Found 11 mouse buttons
[ 2188.937] (--) evdev: Razer Razer Abyssus: Found scroll wheel(s)
[ 2188.937] (--) evdev: Razer Razer Abyssus: Found relative axes
[ 2188.937] (--) evdev: Razer Razer Abyssus: Found x and y relative axes
[ 2188.937] (II) evdev: Razer Razer Abyssus: Configuring as mouse
[ 2188.937] (II) evdev: Razer Razer Abyssus: Adding scrollwheel support
[ 2188.937] (**) evdev: Razer Razer Abyssus: YAxisMapping: buttons 4 and 5
[ 2188.937] (**) evdev: Razer Razer Abyssus: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 2188.937] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/0003:1532:001C.0001/input/input1/event0"
[ 2188.937] (II) XINPUT: Adding extended input device "Razer Razer Abyssus" (type: MOUSE, id 8)
[ 2188.937] (II) evdev: Razer Razer Abyssus: initialized for relative axes.
[ 2188.937] (**) Razer Razer Abyssus: (accel) keeping acceleration scheme 1
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration profile 0
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration factor: 2.000
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration threshold: 4
[ 2188.938] (II) config/udev: Adding input device Razer Razer Abyssus (/dev/input/mouse0)
[ 2188.938] (II) No input driver specified, ignoring this device.
[ 2188.938] (II) This device may have been added with another device file.
Xorg says "(**) from config file" but I don't see any changes to the actual behavior of my mouse cursor.
On a side note:
If "Device Accel Constant Deceleration" A.K.A. "ConstantDeceleration" is for slowing down the cursor, what is the function of "Device Accel Velocity Scaling (274): 10.000000"? This resource http://patrickmylund.com/blog/lowering- … untu-9-10/ says it's for disabling acceleration.
Last edited by bbarcher (2014-12-03 19:16:31)
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
While searching for a solution on the forums I've stumbled upon few posts by brebs. He seems to know what he's talking about so I've just tried copying his config from http://forums.gentoo.org/viewtopic-p-72 … b3#7265410 , replacing the lsusb ID with that of my Razer mouse. And it worked. I mean, for the first time it had any effect on the cursor. What's weird to me at this point is that his config uses the generic xorg option names rather than the specific option names listed for my device with $ xinput --list-props "Razer Razer Abyssus" After replacing the generic options with specific options the config has no effect again.
So in summary:
This config works:
Section "InputClass"
# http://forums.gentoo.org/viewtopic-p-7265410.html?sid=1552a33d97d0ad557481a172c23366b3#7265410
Identifier "My mouse"
Driver "evdev"
Option "AccelerationProfile" "-1"
Option "ConstantDeceleration" "6"
# Option "Resolution" "800"
# Option "SampleRate" "500"
# From lsusb
MatchUSBID "1532:001c"
MatchDevicePath "/dev/input/event*"
EndSection
This config doesn't work:
Section "InputClass"
# http://forums.gentoo.org/viewtopic-p-7265410.html?sid=1552a33d97d0ad557481a172c23366b3#7265410
Identifier "My mouse"
Driver "evdev"
# linear deceleration (mouse speed reduction)
Option "Device Accel Constant Deceleration" "6"
# disable mouse acceleration
Option "Device Accel Velocity Scaling" "1"
# Option "AccelerationProfile" "-1"
# Option "ConstantDeceleration" "10"
# Option "Resolution" "800"
# Option "SampleRate" "500"
# From lsusb
MatchUSBID "1532:001c"
MatchDevicePath "/dev/input/event*"
EndSection
Also, even with the working config (cursor clearly slower) xorg log doesn't seem to reflect the changes. It still says
[ 2188.937] (II) XINPUT: Adding extended input device "Razer Razer Abyssus" (type: MOUSE, id 8)
[ 2188.937] (II) evdev: Razer Razer Abyssus: initialized for relative axes.
[ 2188.937] (**) Razer Razer Abyssus: (accel) keeping acceleration scheme 1
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration profile 0
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration factor: 2.000
[ 2188.937] (**) Razer Razer Abyssus: (accel) acceleration threshold: 4
[ 2188.938] (II) config/udev: Adding input device Razer Razer Abyssus (/dev/input/mouse0)
Last edited by bbarcher (2014-12-03 23:15:13)
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Pages: 1