[Bug 1031013] New: Xset commands not working at all
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013 Bug ID: 1031013 Summary: Xset commands not working at all Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: PC OS: openSUSE 42.2 Status: NEW Severity: Major Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: felipesabrahao@gmail.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build Identifier: None of the xset commands relative to mouse configurations are working. For example, I had to set my mouse acceleration using xinput instead. Reproducible: Always Expected Results: Just work. Dell Inspiron 14z. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
Felipe Abrahao
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c1
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c2
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c3
--- Comment #3 from Felipe Abrahao
Please do not adjust priority unless you are working on issue. It would also help if you mentioned which xset commands you used.
Sorry for the editing on priority. The command is relative to mouse acceleration: "xset m [acc_mult[/acc_div] [thr]]". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c4
--- Comment #4 from Felipe Abrahao
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c5
--- Comment #5 from Felipe Abrahao
Indeed this would be helpful. Also which xinput commands replaces the functionality for you. Which input driver are you using? Please attach /var/log/Xorg.0.log.
linux-tnt0:/home/abrahaofs # xinput --list-props "Logitech USB Optical Mouse" Device 'Logitech USB Optical Mouse': 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 Accel Speed (653): 0.000000 libinput Accel Speed Default (654): 0.000000 libinput Accel Profiles Available (655): 1, 1 libinput Accel Profile Enabled (656): 1, 0 libinput Accel Profile Enabled Default (657): 1, 0 libinput Natural Scrolling Enabled (658): 0 libinput Natural Scrolling Enabled Default (659): 0 libinput Send Events Modes Available (288): 1, 0 libinput Send Events Mode Enabled (289): 0, 0 libinput Send Events Mode Enabled Default (290): 0, 0 libinput Left Handed Enabled (660): 0 libinput Left Handed Enabled Default (661): 0 libinput Scroll Methods Available (662): 0, 0, 1 libinput Scroll Method Enabled (663): 0, 0, 0 libinput Scroll Method Enabled Default (664): 0, 0, 0 libinput Button Scrolling Button (665): 2 libinput Button Scrolling Button Default (666): 274 libinput Middle Emulation Enabled (667): 0 libinput Middle Emulation Enabled Default (668): 0 Device Node (291): "/dev/input/event15" Device Product ID (292): 1133, 49271 libinput Drag Lock Buttons (669): <no items> libinput Horizontal Scroll Enabled (293): 1 linux-tnt0:/home/abrahaofs # xinput --set-prop "Logitech USB Optical Mouse" 653 -0.7 linux-tnt0:/home/abrahaofs # xinput --set-prop "Logitech USB Optical Mouse" 654 -0.7 X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 57 () Serial number of failed request: 19 Current serial number in output stream: 20 linux-tnt0:/home/abrahaofs # -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c6
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c7
Max Staudt
linux-tnt0:/home/abrahaofs # xinput --list-props "Logitech USB Optical Mouse" Device 'Logitech USB Optical Mouse': [...] libinput Accel Speed (653): 0.000000 [...] linux-tnt0:/home/abrahaofs # xinput --set-prop "Logitech USB Optical Mouse" 653 -0.7
This is indeed the right way to set acceleration when using the libinput backend for your mouse, which is now the default in openSUSE. I'm afraid 'xset mouse' is non-functional due to the design of the libinput backend itself. Here is the developer's statement: https://bugzilla.redhat.com/show_bug.cgi?id=1227522#c1 So yeah, working as designed. Given that the acceleration in libinput is completely separate code from that in the X server itself, I don't see a way to fix this. Sorry. If you really want this to work, you can either write an xorg.conf rule to use evdev for your device, or uninstall xf86-input-libinput and make sure that xf86-input-evdev is installed instead. Here is an untested snippet which could work if you drop it in /etc/X11/xorg.conf.d/99-my-mouse-uses-evdev.conf (make sure that xf86-input-evdev is installed): Section "InputClass" Identifier "Logitech USB Optical Mouse" MatchDriver "evdev" EndSection If you ever report trouble with your mouse after making such a change, please make *sure* you let us know that you decided to use a different xf86-input-* driver! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c8
--- Comment #8 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c9
--- Comment #9 from Felipe Abrahao
(In reply to Felipe Abrahao from comment #5)
linux-tnt0:/home/abrahaofs # xinput --list-props "Logitech USB Optical Mouse" Device 'Logitech USB Optical Mouse': [...] libinput Accel Speed (653): 0.000000 [...] linux-tnt0:/home/abrahaofs # xinput --set-prop "Logitech USB Optical Mouse" 653 -0.7
This is indeed the right way to set acceleration when using the libinput backend for your mouse, which is now the default in openSUSE.
I'm afraid 'xset mouse' is non-functional due to the design of the libinput backend itself. Here is the developer's statement:
https://bugzilla.redhat.com/show_bug.cgi?id=1227522#c1
So yeah, working as designed. Given that the acceleration in libinput is completely separate code from that in the X server itself, I don't see a way to fix this. Sorry.
If you really want this to work, you can either write an xorg.conf rule to use evdev for your device, or uninstall xf86-input-libinput and make sure that xf86-input-evdev is installed instead.
Here is an untested snippet which could work if you drop it in /etc/X11/xorg.conf.d/99-my-mouse-uses-evdev.conf (make sure that xf86-input-evdev is installed):
Section "InputClass" Identifier "Logitech USB Optical Mouse" MatchDriver "evdev" EndSection
If you ever report trouble with your mouse after making such a change, please make *sure* you let us know that you decided to use a different xf86-input-* driver!
The snippet didn't work. Which driver library works better so? May I choose to use only evdev without compromising the rest of my system? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c10
--- Comment #10 from Max Staudt
Which driver library works better so?
I don't understand that question.
May I choose to use only evdev without compromising the rest of my system?
I'm not sure I understand your question correctly. Maybe this helps: You can definitely do the following: sudo zypper install xf86-input-evdev sudo zypper remove xf86-input-libinput After this, all input devices will use evdev. They may behave differently (especially everything that's like a mouse), but the behavior should be much more like in older times, before libinput was used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013
http://bugzilla.opensuse.org/show_bug.cgi?id=1031013#c11
--- Comment #11 from Felipe Abrahao
(In reply to Felipe Abrahao from comment #9)
Which driver library works better so?
I don't understand that question.
May I choose to use only evdev without compromising the rest of my system?
I'm not sure I understand your question correctly.
Maybe this helps: You can definitely do the following:
sudo zypper install xf86-input-evdev sudo zypper remove xf86-input-libinput
After this, all input devices will use evdev. They may behave differently (especially everything that's like a mouse), but the behavior should be much more like in older times, before libinput was used.
Thank you very much :) It seems to be working perfectly this way. I was even able to use my old polynomial acceleration profile again. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com