Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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:
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
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.