You are not logged in.

#1 2017-09-04 06:14:53

amrith
Member
Registered: 2017-09-04
Posts: 21

[SOLVED] asus touchpad xinput problem

i have an asus x540s with asus touchpad.i installed arch linux with budgie de and lightdm . the touchpad works but TAP to click doesn't
so i tried

sudo xinput set-prop 11 277 1

device id=11
it worked but i need to manually do it everytime. so i added the below to ~/.xprofile

#!/bin/bash
xinput set-prop 11 277 1

made it executable by

chmod +x ~/.xprofile

but nothing happens when i reboot. what to do?

Last edited by amrith (2017-09-05 08:06:13)

Offline

#2 2017-09-04 06:24:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] asus touchpad xinput problem

Does Budgie read .xprofile? Use a conf file: https://wiki.archlinux.org/index.php/Li … figuration


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-04 07:43:53

amrith
Member
Registered: 2017-09-04
Posts: 21

Re: [SOLVED] asus touchpad xinput problem

doesnt work using
my 40-libinput.conf file

  GNU nano 2.8.7  File: /usr/share/X11/xorg.conf.d/40-libinput.conf             

# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
	option "Tapping" "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

doesnt work
what should i add?
(read wiki link but very less information)

Last edited by amrith (2017-09-04 16:00:23)

Offline

#4 2017-09-04 12:16:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] asus touchpad xinput problem

- please use code tags ..
- please do not edit /usr/share/X11/xorg.conf.d/*, but /etc/X11/xorg.conf.d/* instead
- provide your xorg log as well as the outputs of "xinput" and "xinput list-props 11"

Offline

#5 2017-09-04 15:47:24

amrith
Member
Registered: 2017-09-04
Posts: 21

Re: [SOLVED] asus touchpad xinput problem

seth wrote:

- please use code tags ..
- please do not edit /usr/share/X11/xorg.conf.d/*, but /etc/X11/xorg.conf.d/* instead
- provide your xorg log as well as the outputs of "xinput" and "xinput list-props 11"

xorg log file:

https://pastebin.com/embed_js/d9DMmKjF

[amrith@amrock ~]$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Asus TouchPad                           	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)]
    ↳ Asus Wireless Radio Control             	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ USB2.0 VGA UVC WebCam                   	id=10	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=12	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=13	[slave  keyboard (3)]
[amrith@amrock ~]$ xinput list-props 11
Device 'Asus TouchPad':
	Device Enabled (142):	1
	Coordinate Transformation Matrix (144):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (277):	1
	libinput Tapping Enabled Default (278):	0
	libinput Tapping Drag Enabled (279):	1
	libinput Tapping Drag Enabled Default (280):	1
	libinput Tapping Drag Lock Enabled (281):	0
	libinput Tapping Drag Lock Enabled Default (282):	0
	libinput Tapping Button Mapping Enabled (283):	1, 0
	libinput Tapping Button Mapping Default (284):	1, 0
	libinput Accel Speed (285):	0.000000
	libinput Accel Speed Default (286):	0.000000
	libinput Natural Scrolling Enabled (287):	1
	libinput Natural Scrolling Enabled Default (288):	0
	libinput Send Events Modes Available (262):	1, 1
	libinput Send Events Mode Enabled (263):	0, 0
	libinput Send Events Mode Enabled Default (264):	0, 0
	libinput Left Handed Enabled (289):	0
	libinput Left Handed Enabled Default (290):	0
	libinput Scroll Methods Available (291):	1, 1, 0
	libinput Scroll Method Enabled (292):	1, 0, 0
	libinput Scroll Method Enabled Default (293):	1, 0, 0
	libinput Click Methods Available (294):	1, 1
	libinput Click Method Enabled (295):	0, 1
	libinput Click Method Enabled Default (296):	1, 0
	libinput Middle Emulation Enabled (297):	0
	libinput Middle Emulation Enabled Default (298):	0
	libinput Disable While Typing Enabled (299):	1
	libinput Disable While Typing Enabled Default (300):	1
	Device Node (265):	"/dev/input/event7"
	Device Product ID (266):	2821, 257
	libinput Drag Lock Buttons (301):	<no items>
	libinput Horizontal Scroll Enabled (302):	1

(the above shows tapping is enable because i have manually enabled it)

Last edited by amrith (2017-09-04 16:01:27)

Offline

#6 2017-09-04 17:26:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] asus touchpad xinput problem

The configlet is applied:

[    27.363] (II) event7  - (II) Asus TouchPad: (II) is tagged by udev as: Touchpad
[    27.363] (II) event7  - (II) Asus TouchPad: (II) no resolution or size hints, assuming a size of 69x50mm
[    27.363] (II) event7  - (II) Asus TouchPad: (II) device is a touchpad
[    27.364] (II) event7  - (II) Asus TouchPad: (II) device removed
[    27.400] (**) Option "Tapping" "on"

Something else™ resets the value. Likely your desktop session or lightdm?
Does tapping work in lightdm and what happens if you run your desktop session resp. an openbox session using startx?

Offline

#7 2017-09-05 03:08:08

amrith
Member
Registered: 2017-09-04
Posts: 21

Re: [SOLVED] asus touchpad xinput problem

seth wrote:

The configlet is applied:

[    27.363] (II) event7  - (II) Asus TouchPad: (II) is tagged by udev as: Touchpad
[    27.363] (II) event7  - (II) Asus TouchPad: (II) no resolution or size hints, assuming a size of 69x50mm
[    27.363] (II) event7  - (II) Asus TouchPad: (II) device is a touchpad
[    27.364] (II) event7  - (II) Asus TouchPad: (II) device removed
[    27.400] (**) Option "Tapping" "on"

Something else™ resets the value. Likely your desktop session or lightdm?
Does tapping work in lightdm and what happens if you run your desktop session resp. an openbox session using startx?

yes it is working during the lightdm greeter but once i log in i have to manually set it.

Offline

#8 2017-09-05 05:32:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] asus touchpad xinput problem

Means your "budgie" resets it - they blame gnome-settings (ie. the gnome defaults?)
https://github.com/budgie-desktop/budgi … issues/175

But "your distribution not disables configuration via gnome-control-center + gnome-settings-daemon", because rch doesn't, this is a per user configuration and a distro certainly does not do anything via GUI user tools.
I assume budgie is some sort of gnome-shell derivate with little insight on the gnome defaults and what gnome-shell might or not do on session startup (what in part is to override anything with it's local gnome-only settings ...)

Install gnome (or at least gsettings) and follow https://help.gnome.org/users/gnome-help … ck.html.en resp. https://wiki.archlinux.org/index.php/Li … g_in_GNOME

Offline

#9 2017-09-05 08:04:46

amrith
Member
Registered: 2017-09-04
Posts: 21

Re: [SOLVED] asus touchpad xinput problem

seth wrote:

Means your "budgie" resets it - they blame gnome-settings (ie. the gnome defaults?)
https://github.com/budgie-desktop/budgi … issues/175

But "your distribution not disables configuration via gnome-control-center + gnome-settings-daemon", because rch doesn't, this is a per user configuration and a distro certainly does not do anything via GUI user tools.
I assume budgie is some sort of gnome-shell derivate with little insight on the gnome defaults and what gnome-shell might or not do on session startup (what in part is to override anything with it's local gnome-only settings ...)

Install gnome (or at least gsettings) and follow https://help.gnome.org/users/gnome-help … ck.html.en resp. https://wiki.archlinux.org/index.php/Li … g_in_GNOME


thanks that solved the issue it was de that was resetting the touchpad configuration

Offline

Board footer

Powered by FluxBB