LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-28-2017, 01:00 PM   #1
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, KDE Neon, & ROSA
Posts: 2,954

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Finally decided to try to get libinput to work


So had this laptop a while, have never gotten libinput to work sufficiently on it. Synaptics has always worked well, but given that it's depracated going forward, I'd like to get off of using it.

So today I switched back to libinput, and gotten most everything working. All physical buttons work, tapping is now enabled, and it works with single finger and 2-finger tapping (right click). 3-finger tapping is however doing the same as 2-finger, not middle clicking.

I know the hardware supports it, with synaptics it works fine, and has for years.

Here's my /etc/X11/xorg.conf.d/40-libinput.conf
Code:
Section "InputClass"
        Identifier      "AlpsPS/2 ALPS DualPoint Touchpad"
        MatchIsTouchpad "on"
        Driver          "libinput"
        Option "Tapping" "on"
        Option "TappingButtonMap" "lrm"
EndSection
xinput list
Code:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=12   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=13   [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)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=14   [slave  keyboard (3)]
    ↳ DELL Wireless hotkeys                     id=15   [slave  keyboard (3)]
Props for the touchpad:
Code:
Device 'AlpsPS/2 ALPS DualPoint TouchPad':
        Device Enabled (139):   1
        Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (274): 1
        libinput Tapping Enabled Default (275): 0
        libinput Tapping Drag Enabled (276):    1
        libinput Tapping Drag Enabled Default (277):    1
        libinput Tapping Drag Lock Enabled (278):       0
        libinput Tapping Drag Lock Enabled Default (279):       0
        libinput Tapping Button Mapping Enabled (280):  1, 0
        libinput Tapping Button Mapping Default (281):  1, 0
        libinput Accel Speed (282):     0.000000
        libinput Accel Speed Default (283):     0.000000
        libinput Natural Scrolling Enabled (284):       0
        libinput Natural Scrolling Enabled Default (285):       0
        libinput Send Events Modes Available (259):     1, 1
        libinput Send Events Mode Enabled (260):        0, 0
        libinput Send Events Mode Enabled Default (261):        0, 0
        libinput Left Handed Enabled (286):     0
        libinput Left Handed Enabled Default (287):     0
        libinput Scroll Methods Available (288):        1, 1, 0
        libinput Scroll Method Enabled (289):   1, 0, 0
        libinput Scroll Method Enabled Default (290):   1, 0, 0
        libinput Middle Emulation Enabled (291):        1
        libinput Middle Emulation Enabled Default (292):        1
        libinput Disable While Typing Enabled (293):    1
        libinput Disable While Typing Enabled Default (294):    1
        Device Node (262):      "/dev/input/event2"
        Device Product ID (263):        2, 8
        libinput Drag Lock Buttons (295):       <no items>
        libinput Horizontal Scroll Enabled (296):       1
I've tired lmr and lrm both for TappingButtonMap, but neither affected anything.

Any ideas on what I'm doing wrong, or is this just going to be that I'm stuck on the outdated Synaptics for eternity?
 
Old 12-29-2017, 07:54 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,101

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
Try debug-events to see what you are actually getting. Maybe you are missing some initialization.

https://wayland.freedesktop.org/libi...est/tools.html
 
Old 12-29-2017, 08:24 AM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, KDE Neon, & ROSA
Posts: 2,954

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Never seen that before, will have to try. Thanks, will post back once I get the chance.
 
Old 01-04-2018, 08:04 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, KDE Neon, & ROSA
Posts: 2,954

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Do these tools ONLY work with Wayland? Because they not liking me:

Code:
tim@wildmage:~$ sudo libinput debug-gui
libinput: debug-gui is not a libinput command or not installed. See 'libinput --help'
tim@wildmage:~$ sudo libinput debug-events --enable-tapping --set-click-method=clickfinger
libinput-debug-events: unrecognized option '--enable-tapping'

tim@wildmage:~$ apt list --installed | grep libinput

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libinput-bin/testing,unstable,now 1.9.4-2 amd64 [installed,automatic]
libinput-pad-xtest/testing,unstable,now 1.0.3-1+b1 amd64 [installed]
libinput-pad1/testing,unstable,now 1.0.3-1+b1 amd64 [installed]
libinput-tools/testing,unstable,now 1.9.4-2 amd64 [installed]
libinput10/testing,unstable,now 1.9.4-2 amd64 [installed,automatic]
xserver-xorg-input-libinput/testing,unstable,now 0.26.0-1 amd64 [installed]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finally Decided To Join The Party Meldog LinuxQuestions.org Member Intro 4 06-26-2016 01:22 PM
Decided to upgrade (finally) thekid Linux - Hardware 32 09-23-2007 02:34 AM
Finally decided to get serious & learn a302svt LinuxQuestions.org Member Intro 1 07-19-2007 12:27 PM
I've Finally Decided to Ditch "Microsucks Winblows" and run only Linux! Mrrrr. Nice Guy LinuxQuestions.org Member Intro 6 11-02-2004 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration