Elantech Touchpad Improperly Recognized

Hardware Related Issues

Moderator: Moderators

Elantech Touchpad Improperly Recognized

Postby spindley » Sat Mar 13, 2010 22:40

I have the latest Sabayon installed on an Asus UL30VT laptop. The touchpad is made by Elantech. The issue is that the kernel (2.6.33-sabayon) is improperly recognizing my Elantech touchpad as a Logitech ImPS/2 Wheel Mouse. This leads to me being unable to have any touchpad support, ie: I can't disable the touchpad while typing, disable "tap to click", etc.
Driver support for Elantech touchpads has been included in the Linux kernel since version 2.6.28, and I've made sure that my kernel has the driver compiled.
I've seen a few bug reports for various distros saying more or less the same thing, but I was just wondering if anyone here might have any ideas/driver hacks/any other suggestions. I currently have a keyboard shortcut mapped to disable the touchpad altogether while I'm typing, but that's pretty annoying to have to do all the time.
Please let me know if you need to see my xorg.conf or anything else, but I think I've pretty much covered everything I can think of and no luck so far.

Thanks in advance.
spindley
Baby Hen
 
Posts: 2
Joined: Sat Mar 13, 2010 22:27

Re: Elantech Touchpad Improperly Recognized

Postby Fitzcarraldo » Sun Mar 14, 2010 2:14

Well, I don't have your hardware, but if your Elantech touchpad is being confused for a Logitech PS/2 mouse then I would try rebuilding the kernel with the Logitech PS/2 mouse driver disabled, to see what happens. Below is a snippet from the 2.6.32-sabayon kernel .config file, and I've indicated the parameter pertaining to the Logitech PS/2 mouse. I would rebuild the kernel using the procedure given in the SL Wiki article HOWTO: Upgrade kernel using genkernel.


Code: Select all
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ADP5588=m
CONFIG_KEYBOARD_ATKBD=y
CONFIG_QT2160=m
CONFIG_KEYBOARD_LKKBD=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_MATRIX=m
CONFIG_KEYBOARD_LM8323=m
CONFIG_KEYBOARD_MAX7359=m
CONFIG_KEYBOARD_NEWTON=y
CONFIG_KEYBOARD_OPENCORES=m
CONFIG_KEYBOARD_STOWAWAY=y
CONFIG_KEYBOARD_SUNKBD=y
CONFIG_KEYBOARD_XTKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y <---- Here's the Logitech one
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
CONFIG_MOUSE_PS2_ELANTECH=y   <----- Here's yours
CONFIG_MOUSE_PS2_SENTELIC=y
CONFIG_MOUSE_PS2_TOUCHKIT=y
CONFIG_MOUSE_SERIAL=y
CONFIG_MOUSE_APPLETOUCH=m
CONFIG_MOUSE_BCM5974=m
CONFIG_MOUSE_VSXXXAA=m
CONFIG_MOUSE_GPIO=m
CONFIG_MOUSE_SYNAPTICS_I2C=m
Sabayon Linux amd64, kernel 2.6.34-sabayon (dual-boot Windows 7)
KDE 4.4.4
Mesh Edge DX
- Intel Core i7 720QM (1.6 GHz)
- 4 GB DDR3
- 15.6" LCD (1920x1080)
- ATI Mobility Radeon HD 5650, 1 GB GDDR3
- 320 GB HDD
- Intel WiFi Link 5300
- Broadcom BT
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 3711
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Elantech Touchpad Improperly Recognized

Postby spindley » Mon Mar 15, 2010 0:57

Thanks for your suggestion. I removed all traces of the Logitech PS/2 mouse, and it defaulted to "Generic PS/2 mouse", not the Elantech driver like it should. I'm not sure what else I can do. I saw in Launchpad (Ubuntu bug tracking), one guy said that he had forced detection of the touchpad by "commenting out the magic knock code" in elantech.c and recompiling a new psmouse.ko module. I guess maybe I'll see if I can figure out how to do that next.
Thanks again.
spindley
Baby Hen
 
Posts: 2
Joined: Sat Mar 13, 2010 22:27

Re: Elantech Touchpad Improperly Recognized

Postby Fitzcarraldo » Mon Mar 15, 2010 16:21

Oh well, it was worth a try. From that experiment plus what you've found in the Ubuntu bug reporting system, it's a bug in the driver. Hope you manage to hack it somehow. Let us know if you get it working.
Sabayon Linux amd64, kernel 2.6.34-sabayon (dual-boot Windows 7)
KDE 4.4.4
Mesh Edge DX
- Intel Core i7 720QM (1.6 GHz)
- 4 GB DDR3
- 15.6" LCD (1920x1080)
- ATI Mobility Radeon HD 5650, 1 GB GDDR3
- 320 GB HDD
- Intel WiFi Link 5300
- Broadcom BT
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 3711
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest