Bug#679750: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"(with newly dmesg information)
flat view
From: littlebat <hidden>
Date: 2012-07-06 03:39:42
Hi, Because linux-input@vger.kernel.org is a mail list, I must register to it for sending bug report. So all the posts about this bug sent to it before had never reach it. I re-organize the text and report this bug to linux-input@vger.kernel.org again when post my newly demsg information under a recompiled 3.4 kernel with added "#DEFINE DEBUG" to the top of "drivers/input/mouse/alps.c" adviced by seth.forshee@canonical.com. I think I am reporting a kernel bug about ALPS touchpad on Lenovo G360. This bug was reported at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679750 first. My lenovo G360 has an ALPS touchpad, shows in Windows 7 Home Editition OEM in this laptop. Under Debian Squeeze and Ubuntu 12.04 LTS LiveCD in same laptop, the left and right key, single and double tap, tracking of touchpad works well. But, there isn't touchpad tab in gnome mouse setting dialog, so I can't setup edge scrolling and disable touchpad on typing. xinput shows it is a "PS/2 Generic Mouse". I have tried kernels 2.6.32-45, 3.2.4-1~bpo60+1, 3.4.4-1~experimental.1 under Debian Squeeze and kernel 3.2 under Ubuntu 12.04 LTS LiveCD on this Lenovo G360 laptop. None of these four kernels can configure a full functional ALPS touchpad. There are same syptoms under all of these four kernels: 1, "synclient -l" shows "Couldn't find synaptics properties. No synaptics driver loaded? " 2, "xinput --list" shows it is a "PS/2 Generic Mouse" 3, "cat /proc/bus/input/devices" shows it is "N: Name="PS/2 Generic Mouse"" 4, Can't find any string like "touchpad", "synaptics" in "/var/log/Xorg.0.log" 5, There isn't touchpad tab in gnome mouse setting dialog, so I can't setup edge scrolling and disable touchpad on typing. Under the kernel 3.2.4-1~bpo60+1 on Debian Squeeze, I have tried many ways to fix this problem, but no lucky. The ways I tried such as: 1, add "psmouse.proto=imps(or exps)" into kernel parameters; 2, add file "etc/X11/xorg.d/10-synaptics.conf", the content as below: Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "SHMConfig" "on" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertTwoFingerScroll" "on" Option "HorizTwoFingerScroll" "on" EndSection 3, Thanks to the help of "How to disable Alps touchpad while typing or when using an external mouse in Linux" at: http://www.imega.cz/Linux-Alps-Touchpad-Dell-E6410/Linux-Alps-touchpad-disable.php I resolved the problem of "disable touchpad on typing" by using a python script, but I can't make edge scrolling work yet. According to the advice of the page above, I downloaded linux-source-3.2, and applied patch at "https://patchwork.kernel.org/patch/118834/ ": patch name: Resend-Add-support-for-Intellimouse-Mode-in-ALPS-touchpad-on-Dell-E2-series-Laptops.patch, see attachment), I have not used cat *.patch | patch -p1, just copy the modified code into linux-source-3.2 and recompile psmouse.ko. But no lucky, edge scrolling still can't work. 4, etc.. There are six attachments in this report. Note: All of them got under running recompiled linux_3.4.4.orig.tar.xz source on Debian Squeeze, compiled kernel linux_3.4.4.orig.tar.xz source without pacthing debian pacthes under kernel 3.2.4-1~bpo60+1,I don't know how to patch them. I added "#define DEBUG" to the top of "drivers/input/mouse/alps.c" of source of kernel linux_3.4.4.orig.tar.xz. according to the advice at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679750#78 The kernel downloaded from: http://snapshot.debian.org/archive/debian/20120626T221453Z/pool/main/l/linux/linux_3.4.4.orig.tar.xz 1, output of command "xinput list--long": xinputlist.txt 2, output of command "cat /proc/bus/input/devices": inputdevices.txt 3, /var/log/Xorg.0.log: Xorg.0.log 4, output of command "dmesg": dmesg.txt 5, output of command "for file in /sys/class/dmi/id/*; do if [ -f "$file" -a -r "$file" ]; then echo $file: `cat $file` ; fi; done": DMI.txt 6, kernel config file, borrowed from linux-image-3.4-trunk-amd64_3.4.4-1~experimental.1_amd64.deb: config-3.4.4debugpsmouse I found these lines in my dmesg information: [ 19.995850] psmouse serio4: alps: E6 report: 00 00 64 [ 20.021288] psmouse serio4: alps: E7 report: 73 03 50 [ 20.623609] input: PS/2 Generic Mouse as /devices/platform/i8042/serio4/input/input9 Tell me If need more detail information. Thanks.
Attachments
- config-3.4.4debugpsmouse [application/octet-stream] 131408 bytes
- dmesg.txt [text/plain] 51871 bytes · preview
- DMI.txt [text/plain] 853 bytes · preview
- inputdevices.txt [text/plain] 4000 bytes · preview
- xinputlist.txt [text/plain] 4015 bytes · preview
- Xorg.0.log [application/octet-stream] 30392 bytes