Bug 716852

Summary: Asus U46E-BAL5 notebook elantech touchpad comes up as a generic PS/2 mouse
Product: [openSUSE] openSUSE 12.1 Reporter: M. Edward Ed Borasky <znmeb>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: bruno, forgotten_IsWC1UJpcs, ismail, jonrwads, pier_andreit, titlus, wawrzek, znmeb
Version: Milestone 5   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: dmesg from test kernel
dmesg from kernel-desktop-3.1.0-6

Description M. Edward Ed Borasky 2011-09-09 00:54:35 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1

I just bought an Asus U46E-BAL5 notebook. When I boot the openSUSE 12.1 Milestone 5 GNOME LiveCD, the system comes up all the way to the desktop. However, the Elan touchpad comes up as a generic PS/2 mouse. The GNOME 3 Mouse and Touchpad settings only show mouse settings. It does function as a pointing device with two buttons, but none of the touchpad utilities even see that there's a touchpad. At the very least, I'd like to be able to turn it off while I have a USB mouse plugged in, which is most of the time.

There isn't much research available on this issue. I tried Fedora 15 and it does the same thing. I did find a similar issue in the Ubuntu bug database, see

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904/comments/103
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904/comments/64
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904/comments/26


Reproducible: Always

Steps to Reproduce:
1. Get an Asus U46E-BAL5 notebook
2. Boot openSUSE 12.1 MS5 64 bit GNOME LiveCD
3. Try to adjust touchpad settings
Actual Results:  
Only the mouse settings are enabled

Expected Results:  
I expected to be able to set at least some touchpad settings. At the very least I need to disable the touchpad when using a USB mouse.
Comment 1 Jon Wadsworth 2011-10-03 19:38:02 UTC
Just to second this bug, recently bought an ASUS K53T Specs found here http://www.asus.com/Notebooks/Versatile_Performance/K53TA/#specifications

After using nomodeset to get into KDE desktop same problem.  KDE config utility states that the driver does not support the touch pad.

The reproducibility, steps to reproduce and expected results are the same as original poster.
Comment 2 M. Edward Ed Borasky 2011-10-18 19:25:36 UTC
Latest results - semi-good news. I downloaded a 64-bit Ubuntu 11.10 LiveCD and booted it on my U46E-BAL5. It recognizes the touchpad as a touchpad, so there are some kernel patches that at least partially fix this problem. They are using a 3.0 kernel, not a 3.1, so the patches must have come from Ubuntu and not from upstream. :-(
Comment 3 Ismail Dönmez 2011-10-20 13:08:54 UTC
This is fixed for kernel 3.2, patch series are available at https://lkml.org/lkml/2011/9/4/112 

Can someone from the kernel team please take a look?
Comment 4 Ismail Dönmez 2011-10-26 10:55:16 UTC
I modified the kernel-desktop package to contain related patches, please add the relevant repository from 

http://download.opensuse.org/repositories/home:/namtrac:/branches:/Kernel:/HEAD 

and install kernel-desktop package from that repo. Let me know if it fixes the problem.
Comment 5 M. Edward Ed Borasky 2011-10-26 20:08:58 UTC
I can't tell for sure but it looks like the problem is still there. If this is the right kernel


znmeb@DreamCatcher:~> uname -a
Linux DreamCatcher.site 3.1.0-4-desktop #1 SMP PREEMPT Tue Oct 25 17:33:27 UTC 2011 (68289aa) x86_64 x86_64 x86_64 GNU/Linux
znmeb@DreamCatcher:~> 

then it is still showing up as psmouse and still is not showing up as a touchpad in GNOME 3 mouse and touchpad setting.

I've attached dmesg. Is there something I need to do to force a module to load?
Comment 6 M. Edward Ed Borasky 2011-10-26 20:09:47 UTC
Created attachment 459036 [details]
dmesg from test kernel
Comment 7 M. Edward Ed Borasky 2011-10-26 23:10:41 UTC
Interesting - I don't even see the "elantech" module! It's in kernel *source*:


DreamCatcher:/usr/src/linux # find . -name '*elan*'
./drivers/input/mouse/elantech.h
./drivers/input/mouse/elantech.c
./drivers/cpufreq/elanfreq.c
./drivers/usb/misc/ftdi-elan.c
./Documentation/input/elantech.txt

but it doesn't seem to be in the /lib/modules - is it compiled into the kernel?


DreamCatcher:/usr/src/linux/drivers/input/mouse # find /lib -name '*elan*'
/lib/modules/3.1.0-rc9-1-desktop/kernel/drivers/usb/misc/ftdi-elan.ko
/lib/modules/3.1.0-4-desktop/kernel/drivers/usb/misc/ftdi-elan.ko
Comment 8 Ismail Dönmez 2011-10-27 08:25:54 UTC
Problem was that I only applied one part of the patch which didn't fix Elantech problem, now I applied the relevant part and its compiling. I'll let you know when it finishes so you can test again.

Also, elantech is not built as a module so thats why you don't see it in lsmod.
Comment 9 Ismail Dönmez 2011-10-27 12:23:31 UTC
Updated kernel is available in http://download.opensuse.org/repositories/home:/namtrac:/branches:/Kernel:/HEAD , please test and report. Thanks!
Comment 10 M. Edward Ed Borasky 2011-10-27 17:50:01 UTC
Created attachment 459214 [details]
dmesg from kernel-desktop-3.1.0-6

The touchpad works now! I now have the GNOME 3 Touchpad Setting controller. If there's anything else you want me to dump, please let me know. But it's fixed as far as I can tell!
Comment 11 Ismail Dönmez 2011-10-27 18:00:30 UTC
Thanks for testing, I'll send patch series to openSUSE kernel maintainers.
Comment 12 M. Edward Ed Borasky 2011-10-27 18:05:05 UTC
I'll go mark the other bug I filed in 11.4 "Fixed in 12.1" ;-)
Comment 13 Ismail Dönmez 2011-10-27 18:08:05 UTC
I sent the patch set to opensuse-kernel@opensuse.org . We'll see if we can make it to 12.1
Comment 14 M. Edward Ed Borasky 2011-10-27 18:11:38 UTC
*** Bug 716232 has been marked as a duplicate of this bug. ***
Comment 15 Bruno Friedmann 2011-10-28 10:01:47 UTC
Patches & kernel build by Ismail confirmed to work here with a Dell Precision M4600. 
I believe all Dell 62xx (new models) are all designed with this multi-touch alps device, and so will benefit the patch.
Comment 16 M. Edward Ed Borasky 2011-10-28 17:40:11 UTC
(In reply to comment #13)
> I sent the patch set to opensuse-kernel@opensuse.org . We'll see if we can make
> it to 12.1

If it doesn't make it into 12.1, it's in the upstream 3.2, so it will show up eventually in Tumbleweed, right?
Comment 17 Ismail Dönmez 2011-10-28 17:50:48 UTC
Yes we'll make sure its in Tumbleweed and still trying to get it in for 12.1
Comment 18 pier andre 2011-10-30 15:42:48 UTC
OooooooK it works!! :-)
on my dell latitude e6510 I installed opensuse 12.1 rc1, updated the kernel from this repository:
http://download.opensuse.org/repositories/home:/namtrac:/branches:/Kernel:/HEAD/openSUSE_Factory/
by yast, rebooted, and everything works, scroll, two fingers etc.
I hope it will be in 12.1 final release :-)
thanks amazing team :-))
Comment 19 Ismail Dönmez 2011-10-30 20:46:00 UTC
*** Bug 597590 has been marked as a duplicate of this bug. ***
Comment 20 Ismail Dönmez 2011-11-02 14:58:12 UTC
Elantech v3/v4 support is committed to kernel-source. I am still not sure if this can make it to RC2 I will take a chance.

ALPS patch for Dell laptops is unlikely to make it to 12.1 since its not upstream yet. We'll make sure its available as a 12.1 update and in Tumbleweed.
Comment 21 Bernhard Wiedemann 2011-11-03 08:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (716852) was mentioned in
https://build.opensuse.org/request/show/90010 Factory / kernel-source
Comment 22 Bernhard Wiedemann 2011-11-03 16:00:12 UTC
This is an autogenerated message for OBS integration:
This bug (716852) was mentioned in
https://build.opensuse.org/request/show/90048 Factory / kernel-source
Comment 23 Ismail Dönmez 2011-11-07 11:19:50 UTC
Elantech v3/v4 driver is merged into final 12.1 release, ALPS patches didn't make it, for ALPS keep an eye on https://bugzilla.novell.com/show_bug.cgi?id=716996 we'll release the fix as an update for 12.1.
Comment 24 Lev Titlin 2012-02-20 12:32:48 UTC
I have Lenovo G550 with Elantech Touchpad and it also detects like ps/2 mouse. OpenSUSE 12.1 fresh. Kernel 3.1.9-1.4-desktop !!
What should I do to get it work?