Bug 244397 - x11-wm/xfce4 Mouse and Touchpad settings with UDEV xorg-server
Summary: x11-wm/xfce4 Mouse and Touchpad settings with UDEV xorg-server
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-25 11:42 UTC by Marko Cupać
Modified: 2020-04-08 09:16 UTC (History)
4 users (show)

See Also:
madpilot: maintainer-feedback+


Attachments
Xorg.0.log (26.26 KB, text/plain)
2020-04-04 21:25 UTC, Mikhail Teterin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2020-02-25 11:42:14 UTC
Hi,

since upgrade to xorg-server to 1.20.7,1 on my 12.1-RELEASE-p2 x64, it seems that XFCE's Mouse and Touchpad settings don't affect my Synpatics touchpad behaviour (no xf86-input-synaptics installed). I noticed it because my pointer quit accelerating after upgrade, and it wouldn't accelerate no matter what I set in Mouse and Touchpad settings.

I found out that, in order to be able to set touchpad properties, I need to set `sysctl kern.evdev.rcpt_ask=6' (as mentioned in xorg-server's pkg-message), and manipulate device properties with xinput, as instructed here:

https://forums.freebsd.org/threads/mouse-aceleration-with-xorg-udev.74159/

It would be nice to get the ability to set most important mouse properties from Mouse and Touchpad settings back.

Regards,
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2020-02-29 11:43:58 UTC
Hi,

I see this is a regression caused by the switch to udev.

I personally use the synaptic driver I think, but it's not very important since I hate touchpads(and touchscreens too) and always have a wired mouse with me (I also have little sympathy for wireless mice), so I really would never notice such an issue.

I'm not in the situation to code this myself, and can't make promises about this.

This could be escalated upstream as a feature request for the xfce people. Maybe with knowledge of how the setting applet works it is not a difficult thing to setup.

Would you mind filing a feature request in xfce bugzilla?
Comment 2 Olivier Duchateau 2020-02-29 12:26:23 UTC
(In reply to Marko Cupać from comment #0)

Why not to use Xorg settings? It is portable since now we use xf86-input-libinput.
Comment 3 Marko Cupać 2020-03-11 15:31:01 UTC
(In reply to Guido Falsi from comment #1)

I have reported problem there:
https://bugzilla.xfce.org/show_bug.cgi?id=16530

(In reply to Olivier Duchateau from comment #2)

I guess I could find how to set this in xorg.conf, but I'd be grateful if you gave me an example - perhaps other people who find this bug will also find it useful.

Anyway, the goal of this PR is to restore functionality of "Mouse and Touchpad" component of xfce-settings on FreeBSD. Let's hope for a patch, either on FreeBSD port, or directly upstream.
Comment 4 Mikhail Teterin freebsd_committer freebsd_triage 2020-04-04 21:25:48 UTC
Created attachment 213077 [details]
Xorg.0.log

> I need to set `sysctl kern.evdev.rcpt_ask=6'

I had to set it to 12 for my PS/2 keyboard to start working -- maybe, a USB one would've worked with 6, but I have a PS/2 one.

My USB mouse is detected, and its buttons work -- Xfce4's context menus do popup, when I press a mouse-button.

But there is no mouse-cursor visible... The xinput lists the following devices (real and virtual):

Б║ Virtual core pointer                         id=2    [master pointer  (3)]
Б   БЁ Virtual core XTEST pointer               id=4    [slave  pointer  (2)]
Б   БЁ System mouse                             id=6    [slave  pointer  (2)]
Б   БЁ Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)   id=9    [slave  pointer  (2)]
Бё Virtual core keyboard                        id=3    [master keyboard (2)]
    БЁ Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    БЁ Power Button                             id=7    [slave  keyboard (3)]
    БЁ AT keyboard                              id=8    [slave  keyboard (3)]


I don't use moused -- and would prefer to continue not to.