LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-28-2015, 06:49 PM   #1
tqk
LQ Newbie
 
Registered: Feb 2015
Distribution: Ubuntu 12.04
Posts: 4

Rep: Reputation: Disabled
Disable tap-to-click on external touchpad


I have an external touchpad as part of a keyboard/touchpad/usb-hub combination, the "Perixx PERIBOARD-515H PLUS". The device works as soon as I plug it into my laptop (which is running Ubuntu 12.04), but I don't know how to disable the tap-to-click feature.

I use KDE. In the system settings, the only touchpad that shows up in the input device section is the one which is built in to the laptop (this one does have tap-to-click disabled).

The lines from the output of lsub relevant to the external device are
Quote:
Bus 001 Device 009: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 010: ID 04d9:a088 Holtek Semiconductor, Inc.
And here is what xinput shows:
Quote:
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ Serial Wacom Tablet stylus id=11 [slave pointer (2)]
⎜ ↳ Serial Wacom Tablet eraser id=13 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=14 [slave pointer (2)]
⎜ ↳ HID 04d9:a088 id=15 [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)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ HP WMI hotkeys id=12 [slave keyboard (3)]
↳ HID 04d9:a088 id=16 [slave keyboard (3)]
The external touchpad is the one with id=15.

There are various driver options that I could change (see the list below) but, based on their names, it doesn't look like any of them would control tap-to-click.
Quote:
$ xinput list-props 15
Device 'HID 04d9:a088':
Device Enabled (155): 1
Coordinate Transformation Matrix (157): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (277): 0
Device Accel Constant Deceleration (278): 1.000000
Device Accel Adaptive Deceleration (279): 1.000000
Device Accel Velocity Scaling (280): 10.000000
Device Product ID (272): 1241, 41096
Device Node (273): "/dev/input/event10"
Evdev Axis Inversion (466): 0, 0
Evdev Axes Swap (468): 0
Axis Labels (469): "Rel X" (165), "Rel Y" (166), "Rel Vert Wheel" (610)
Button Labels (470): "Button Left" (158), "Button Middle" (159), "Button Right" (160), "Button Wheel Up" (161), "Button Wheel Down" (162), "Button Horiz Wheel Left" (163), "Button Horiz Wheel Right" (164)
Evdev Middle Button Emulation (471): 0
Evdev Middle Button Timeout (472): 50
Evdev Third Button Emulation (473): 0
Evdev Third Button Emulation Timeout (474): 1000
Evdev Third Button Emulation Button (475): 3
Evdev Third Button Emulation Threshold (476): 20
Evdev Wheel Emulation (477): 0
Evdev Wheel Emulation Axes (478): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (479): 10
Evdev Wheel Emulation Timeout (480): 200
Evdev Wheel Emulation Button (481): 4
Evdev Drag Lock Buttons (482): 0
Looking at /var/log/Xorg.0.log, it appears that as a result of the InputClass "evdev pointer catchall", the evdev driver is used for the touchpad, instead of the synaptics driver (which does have settings for controlling tapping).

Quote:
[ 209.193] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event10)
[ 209.193] (**) HID 04d9:a088: Applying InputClass "evdev pointer catchall"
[ 209.193] (**) HID 04d9:a088: Applying InputClass "evdev keyboard catchall"
[ 209.193] (II) Using input driver 'evdev' for 'HID 04d9:a088'
[ 209.193] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 209.193] (**) HID 04d9:a088: always reports core events
[ 209.193] (**) evdev: HID 04d9:a088: Device: "/dev/input/event10"
[ 209.193] (--) evdev: HID 04d9:a088: Vendor 0x4d9 Product 0xa088
[ 209.193] (--) evdev: HID 04d9:a088: Found 3 mouse buttons
[ 209.193] (--) evdev: HID 04d9:a088: Found scroll wheel(s)
[ 209.193] (--) evdev: HID 04d9:a088: Found relative axes
[ 209.193] (--) evdev: HID 04d9:a088: Found x and y relative axes
[ 209.193] (--) evdev: HID 04d9:a088: Found keys
[ 209.193] (II) evdev: HID 04d9:a088: Configuring as mouse
[ 209.193] (II) evdev: HID 04d9:a088: Configuring as keyboard
[ 209.194] (II) evdev: HID 04d9:a088: Adding scrollwheel support
[ 209.194] (**) evdev: HID 04d9:a088: YAxisMapping: buttons 4 and 5
[ 209.194] (**) evdev: HID 04d9:a088: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 209.194] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.4/1-4.4:1.1/input/input10/event10"
[ 209.194] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: KEYBOARD, id 15)
[ 209.194] (**) Option "xkb_rules" "evdev"
[ 209.194] (**) Option "xkb_model" "pc105"
[ 209.194] (**) Option "xkb_layout" "us"
[ 209.194] (II) evdev: HID 04d9:a088: initialized for relative axes.
[ 209.194] (**) HID 04d9:a088: (accel) keeping acceleration scheme 1
[ 209.194] (**) HID 04d9:a088: (accel) acceleration profile 0
[ 209.194] (**) HID 04d9:a088: (accel) acceleration factor: 2.000
[ 209.194] (**) HID 04d9:a088: (accel) acceleration threshold: 4
[ 209.195] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/mouse2)
[ 209.195] (II) No input driver specified, ignoring this device.
[ 209.195] (II) This device may have been added with another device file.
[ 209.263] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event9)
[ 209.263] (**) HID 04d9:a088: Applying InputClass "evdev keyboard catchall"
[ 209.263] (II) Using input driver 'evdev' for 'HID 04d9:a088'
[ 209.263] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 209.263] (**) HID 04d9:a088: always reports core events
[ 209.263] (**) evdev: HID 04d9:a088: Device: "/dev/input/event9"
[ 209.263] (--) evdev: HID 04d9:a088: Vendor 0x4d9 Product 0xa088
[ 209.263] (--) evdev: HID 04d9:a088: Found keys
[ 209.263] (II) evdev: HID 04d9:a088: Configuring as keyboard
[ 209.263] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.4/1-4.4:1.0/input/input9/event9"
[ 209.263] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: KEYBOARD, id 16)
[ 209.263] (**) Option "xkb_rules" "evdev"
[ 209.263] (**) Option "xkb_model" "pc105"
[ 209.263] (**) Option "xkb_layout" "us"
I tried forcing the touchpad to use the synaptics driver by appending the following to my /usr/share/X11/xorg.conf.d/10-evdev.conf file:
Quote:
Section "InputClass"
Identifier "perixx"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event10"
Driver "synaptics"
EndSection
However, this resulted in the touchpad not working at all, and a "Synaptics driver unable to detect protocol" error in /var/log/Xorg.0.log:
Quote:
[ 692.635] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event10)
[ 692.635] (**) HID 04d9:a088: Applying InputClass "evdev pointer catchall"
[ 692.636] (**) HID 04d9:a088: Applying InputClass "evdev keyboard catchall"
[ 692.636] (**) HID 04d9:a088: Applying InputClass "perixx"
[ 692.636] (II) Using input driver 'synaptics' for 'HID 04d9:a088'
[ 692.636] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 692.636] (**) HID 04d9:a088: always reports core events
[ 692.636] (**) Option "Device" "/dev/input/event10"
[ 692.672] (EE) synaptics: HID 04d9:a088: Synaptics driver unable to detect protocol
[ 692.672] (EE) PreInit returned 11 for "HID 04d9:a088"
[ 692.672] (II) UnloadModule: "synaptics"
[ 692.672] (II) Unloading synaptics
[ 692.672] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/mouse2)
[ 692.672] (II) No input driver specified, ignoring this device.
[ 692.672] (II) This device may have been added with another device file.
[ 692.702] (II) config/udev: Adding input device HID 04d9:a088 (/dev/input/event9)
[ 692.702] (**) HID 04d9:a088: Applying InputClass "evdev keyboard catchall"
[ 692.702] (II) Using input driver 'evdev' for 'HID 04d9:a088'
[ 692.702] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 692.703] (**) HID 04d9:a088: always reports core events
[ 692.703] (**) evdev: HID 04d9:a088: Device: "/dev/input/event9"
[ 692.703] (--) evdev: HID 04d9:a088: Vendor 0x4d9 Product 0xa088
[ 692.703] (--) evdev: HID 04d9:a088: Found keys
[ 692.703] (II) evdev: HID 04d9:a088: Configuring as keyboard
[ 692.703] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.4/1-4.4:1.0/input/input9/event9"
[ 692.703] (II) XINPUT: Adding extended input device "HID 04d9:a088" (type: KEYBOARD, id 15)
[ 692.703] (**) Option "xkb_rules" "evdev"
[ 692.703] (**) Option "xkb_model" "pc105"
[ 692.703] (**) Option "xkb_layout" "us"
Ideas?
 
Old 03-01-2015, 04:20 PM   #2
makokikadur
LQ Newbie
 
Registered: Dec 2014
Posts: 25

Rep: Reputation: 2
First of all, I'm not a well versed linux user so take my words with a grain of salt.

You can check if https://launchpad.net/touchpad-indicator or http://kde-apps.org/content/show.php...content=113335 are of any use for this problem.

On the file you've edited you can try to add:
Quote:
Option "Protocol" "auto-dev"
Option "MaxTapTime" "0"
Info on the generic driver http://manpages.ubuntu.com/manpages/...4/evdev.4.html

Don't know if playing with synclient command (for synaptics) or tpconfig will be of any use.

Cheers
 
Old 03-01-2015, 07:30 PM   #3
tqk
LQ Newbie
 
Registered: Feb 2015
Distribution: Ubuntu 12.04
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your response.

The touchpad-indicator sounds like it might let me enable/disable the touchpad, but that's not what I'm trying to do. kcm_touchpad is "for synaptics-driven touchpads", so I don't think it would let me control my touchpad until I get it to use the synaptics driver.

If I could use the synaptics driver, then I could just set MaxTapTime as you said to disable tap-to-click.

According to the synpatics man page, there are four possible values for the protocol: auto-dev, event, psaux, and psm. I tried setting each of them; unfortunately, none of them worked. The error messages I got are below.

With auto-dev:
Quote:
[ 1465.455] (II) Using input driver 'synaptics' for 'HID 04d9:a088'
[ 1465.455] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 1465.455] (**) HID 04d9:a088: always reports core events
[ 1465.455] (**) Option "Protocol" "auto-dev"
[ 1465.455] (**) Option "Device" "/dev/input/event10"
[ 1465.504] (EE) synaptics: HID 04d9:a088: Synaptics driver unable to detect protocol
[ 1465.504] (EE) PreInit returned 11 for "HID 04d9:a088"
[ 1465.504] (II) UnloadModule: "synaptics"
[ 1465.504] (II) Unloading synaptics
With event:
Quote:
[ 1233.499] (II) Using input driver 'synaptics' for 'HID 04d9:a088'
[ 1233.499] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 1233.499] (**) HID 04d9:a088: always reports core events
[ 1233.499] (**) Option "Protocol" "event"
[ 1233.499] (**) Option "Device" "/dev/input/event10"
[ 1233.499] (--) synaptics: HID 04d9:a088: Vendor 0x4d9 Product 0xa088
[ 1233.499] (--) synaptics: HID 04d9:a088: invalid x-axis range. defaulting to 1615 - 5685
[ 1233.499] (--) synaptics: HID 04d9:a088: invalid y-axis range. defaulting to 1729 - 4171
[ 1233.499] (--) synaptics: HID 04d9:a088: invalid pressure range. defaulting to 0 - 255
[ 1233.499] (--) synaptics: HID 04d9:a088: invalid finger width range. defaulting to 0 - 15
[ 1233.500] (**) Option "MaxTapTime" "0"
[ 1233.500] (--) synaptics: HID 04d9:a088: no supported touchpad found
[ 1233.500] (EE) synaptics: HID 04d9:a088: Unable to query/initialize Synaptics hardware.
[ 1233.528] (EE) PreInit returned 11 for "HID 04d9:a088"
[ 1233.528] (II) UnloadModule: "synaptics"
[ 1233.528] (II) Unloading synaptics
With psaux:
Quote:
[ 794.691] (II) Using input driver 'synaptics' for 'HID 04d9:a088'
[ 794.691] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 794.691] (**) HID 04d9:a088: always reports core events
[ 794.691] (**) Option "Protocol" "psaux"
[ 794.691] (**) Option "Device" "/dev/input/event10"
[ 794.691] (--) synaptics: HID 04d9:a088: invalid x-axis range. defaulting to 1615 - 5685
[ 794.691] (--) synaptics: HID 04d9:a088: invalid y-axis range. defaulting to 1729 - 4171
[ 794.691] (--) synaptics: HID 04d9:a088: invalid pressure range. defaulting to 0 - 255
[ 794.691] (--) synaptics: HID 04d9:a088: invalid finger width range. defaulting to 0 - 15
[ 794.691] (**) Option "MaxTapTime" "0"
[ 794.711] (EE) synaptics: HID 04d9:a088: Query no Synaptics: 000000
[ 794.711] (--) synaptics: HID 04d9:a088: no supported touchpad found
[ 794.711] (EE) synaptics: HID 04d9:a088: Unable to query/initialize Synaptics hardware.
[ 794.732] (EE) PreInit returned 11 for "HID 04d9:a088"
[ 794.732] (II) UnloadModule: "synaptics"
[ 794.732] (II) Unloading synaptics
With psm:
Quote:
[ 1080.257] (II) Using input driver 'synaptics' for 'HID 04d9:a088'
[ 1080.257] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 1080.257] (**) HID 04d9:a088: always reports core events
[ 1080.257] (**) Option "Protocol" "psm"
[ 1080.257] (**) Option "Device" "/dev/input/event10"
[ 1080.257] (EE) synaptics: HID 04d9:a088: Synaptics driver unable to detect protocol
[ 1080.257] (EE) PreInit returned 11 for "HID 04d9:a088"
[ 1080.257] (II) UnloadModule: "synaptics"
[ 1080.257] (II) Unloading synaptics
 
Old 03-02-2015, 07:14 PM   #4
makokikadur
LQ Newbie
 
Registered: Dec 2014
Posts: 25

Rep: Reputation: 2
I didn't realize the links provided where rather old, sorry about that.
The touchpad-indicator now has support for touchpad events.

Install instructions:
Code:
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator
The kcm_touchpad is old. There's a newer package: kcm-touchpad.

Hope someone else can help you get it working. Some other things you might discard/consider in the meantime:

According to the synaptics(4) - Touchpad Input Driver Linux Man Page:
Quote:
The name "synaptics" is historical and the driver still provides the synaptics protocol parsing code. Under Linux however, the hardware-specifics are handled by the kernel and this driver will work for any touchpad that has a working kernel driver.
Do you have the xserver-xorg-input-synaptics package installed?

Don't know if using SendCoreEvents will make any difference...
Code:
Option	"SendCoreEvents"	"true"
MatchIsTouchpad "on"
...and also don't know ( here) if the touchpad has to be added to the xorg ServerLayout section.
 
  


Reply



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
how to disable tap to click with touchpad Knightron Slackware 4 02-11-2012 01:14 AM
Can't Disable Touchpad Tap-to-Click (Sony Vaio S) (openSUSE 11.4) algorhythm Linux - Laptop and Netbook 7 04-02-2011 08:23 AM
Disable touchpad "tap-to-click" Dankles Ubuntu 20 03-27-2009 11:17 PM
how to disable touchpad's tap click? fastestOS Slackware 3 08-26-2008 01:59 AM
laptop touchpad - how to disable 'tap to click'?? Adrian Baker Linux - Laptop and Netbook 2 01-17-2006 05:15 PM

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

All times are GMT -5. The time now is 10:49 PM.

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
Open Source Consulting | Domain Registration