Bug 246309 - r360637 kern.evdev.rcpt_mask=12 by default breaks doubletap on Thinkpad T400 synaptic touchpad
Summary: r360637 kern.evdev.rcpt_mask=12 by default breaks doubletap on Thinkpad T400 ...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-08 15:16 UTC by jakub_lach
Modified: 2020-05-12 10:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub_lach 2020-05-08 15:16:52 UTC
Default value was fine.
Comment 1 jakub_lach 2020-05-08 15:19:41 UTC
Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event5
Group:            6
Seat:             seat0, default
Size:             62x29mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

I would be grateful if I could disable edge scroll though (as before evdev).
Comment 2 Andriy Gapon freebsd_committer freebsd_triage 2020-05-08 16:13:39 UTC
Can you check which xorg driver claims the touchpad?
Comment 3 jakub_lach 2020-05-08 16:17:49 UTC
libinput, the system was successfully converted to evdev previously (apart from unwanted edgescroll).
Comment 4 jakub_lach 2020-05-08 16:20:01 UTC
(In reply to jakub_lach from comment #3)

[ 27404.339] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[ 27404.339] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput pointer catchall"
[ 27404.339] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[ 27404.339] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[ 27404.339] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 27404.339] (**) Option "Device" "/dev/input/event5"
[ 27404.339] (**) Option "_source" "server/udev"
[ 27404.341] (II) event5  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Mouse Touchpad
[ 27404.344] (II) event5  - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 27404.344] (II) event5  - SynPS/2 Synaptics TouchPad: device removed
[ 27404.344] (**) Option "config_info" "udev:/dev/input/event5"
[ 27404.344] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[ 27404.345] (**) Option "AccelerationScheme" "none"
[ 27404.346] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[ 27404.346] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 27404.346] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 27404.347] (II) event5  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Mouse Touchpad
[ 27404.350] (II) event5  - SynPS/2 Synaptics TouchPad: device is a touchpad
[ 27404.350] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
[ 27404.351] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
Comment 5 Andriy Gapon freebsd_committer freebsd_triage 2020-05-09 09:22:11 UTC
I am using an additional conf file to customize my touchpad's behavior.
I named the file /usr/local/etc/X11/xorg.conf.d/90-touchpad.conf
Here is what it has:
Section "InputClass"
        Identifier      "The touchpad"
        MatchDriver     "libinput"
        MatchIsTouchpad "on"

        Option          "Tapping" "on"
        Option          "TappingDrag" "on"
        Option          "TappingDragLock" "on"
        Option          "ClickMethod" "clickfinger"
        Option          "ScrollMethod" "twofinger"
        Option          "NaturalScrolling" "off"
        Option          "DisableWhileTyping" "on"
EndSection
Maybe you can use a similar method to configure features that you want.
Comment 6 jakub_lach 2020-05-10 14:33:44 UTC
(In reply to Andriy Gapon from comment #5)
Thanks, 

Unfortunately, 

There is no change with added file -

Section "InputClass"
      Identifier      "The touchpad"
      MatchDriver     "libinput"
      MatchIsTouchpad "on"

      Option          "ScrollMethod" "none"
EndSection

e.g.:

Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event5
Group:            6
Seat:             seat0, default
Size:             62x29mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a
Comment 7 Andriy Gapon freebsd_committer freebsd_triage 2020-05-12 07:59:17 UTC
(In reply to jakub_lach from comment #6)
What does xinput utility show?
Specifically xinput --list and xinput list-props <touchpad's id>.
Also, what desktop environment / manager do you use?
Comment 8 jakub_lach 2020-05-12 10:12:45 UTC
(In reply to Andriy Gapon from comment #7)

Thank you for taking interest.

$ xinput --list
⥠Virtual core pointer                         id=2    [master pointer  (3)]
â   âł Virtual core XTEST pointer               id=4    [slave  pointer  (2)]
â   âł System mouse                             id=7    [slave  pointer  (2)]
â   âł SynPS/2 Synaptics TouchPad               id=10   [slave  pointer  (2)]
â   âł TPPS/2 IBM TrackPoint                    id=11   [slave  pointer  (2)]
⣠Virtual core keyboard                        id=3    [master keyboard (2)]
    âł Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    âł System keyboard multiplexer              id=6    [slave  keyboard (3)]
    âł Sleep Button                             id=8    [slave  keyboard (3)]
    âł AT keyboard                              id=9    [slave  keyboard (3)]


$ xinput list-props 10                                              
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (133):   1
        Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (289): 0
        libinput Tapping Enabled Default (290): 0
        libinput Tapping Drag Enabled (291):    1
        libinput Tapping Drag Enabled Default (292):    1
        libinput Tapping Drag Lock Enabled (293):       0
        libinput Tapping Drag Lock Enabled Default (294):       0
        libinput Tapping Button Mapping Enabled (295):  1, 0
        libinput Tapping Button Mapping Default (296):  1, 0
        libinput Natural Scrolling Enabled (271):       0
        libinput Natural Scrolling Enabled Default (272):       0
        libinput Disable While Typing Enabled (297):    1
        libinput Disable While Typing Enabled Default (298):    1
        libinput Scroll Methods Available (273):        1, 1, 0
        libinput Scroll Method Enabled (274):   0, 0, 0
        libinput Scroll Method Enabled Default (275):   1, 0, 0
        libinput Accel Speed (280):     0.000000
        libinput Accel Speed Default (281):     0.000000
        libinput Left Handed Enabled (285):     0
        libinput Left Handed Enabled Default (286):     0
        libinput Send Events Modes Available (256):     1, 1
        libinput Send Events Mode Enabled (257):        0, 0
        libinput Send Events Mode Enabled Default (258):        0, 0
        Device Node (259):      "/dev/input/event5"
        Device Product ID (260):        2, 7
        libinput Drag Lock Buttons (287):       <no items>
        libinput Horizontal Scroll Enabled (288):       1


No wm/de, just X and dwm.