Laptop ALPS touchpad not detected, not working

Bug #377741 reported by dadrivr
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-synaptics

1. Ubuntu (Xubuntu) 9.04 - Jaunty Jackalope
2. xserver-xorg-input-synaptics
3. I expected my laptop touchpad to be recognized and to operate normally like my mouse. My laptop is a Dell Inspiron 6000 with an ALPS touchpad.
4. My touchpad is not detected and does not work at all.

Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
Revision history for this message
dadrivr (dadrivr) wrote :
description: updated
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Does look similar to bug 359982, but I don't have the knowledge to determine if the cause is the same.

Changed in xserver-xorg-input-synaptics (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
William Grant (wgrant) wrote :

Looks like a kernel issue, as there's no sign of a touchpad in the HAL listing.

affects: xserver-xorg-input-synaptics (Ubuntu) → linux (Ubuntu)
Revision history for this message
dadrivr (dadrivr) wrote :

If it is a kernel issue, what should I do to fix it? I'm new to linux/ubuntu/xubuntu, so any help would be greatly appreciated. Thanks!

Revision history for this message
Kevin DuBois (kdub) wrote :

Hi dadrivr,

There are still a few things you can do to help us debug this issue.

1) Did this device ever work? perhaps with an older version of Ubuntu, or an older kernel? If so, please describe.
2) Please try a mainline kernel and let us know how it goes. Please try the 2.6.30 mainline kernel. How to do this is explained here: https://wiki.ubuntu.com/KernelMainlineBuilds.

If the mainline kernel works, let us know, of course.

If it does not work, could you please boot into the kernel with the options "i8042.debug=1" attached to the end.

Modify /boot/grub/menu.lst. It should look somwhat like this afterwards:
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid dcc2f6bc-6e72-48f6-912d-6032287e7eb1
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=dcc2f6bc-6e72-48f6-912 i8042.debug=1
initrd /boot/initrd.img-2.6.28-11-generic
quiet

Thanks for your report.

Revision history for this message
dadrivr (dadrivr) wrote :

I just uninstalled Xubuntu, formatted my hard drive, and installed Ubuntu 9.10 (Karmic Koala). Unfortunately, my touchpad still does not work. It used to work with Windows, but has ceased working since I switched over to Linux. Do I still need to try a mainline kernel even though I updated Ubuntu?

Revision history for this message
dadrivr (dadrivr) wrote :
Download full text (3.2 KiB)

Here is some output that may help you diagnose my problem:

"cat /proc/bus/input/devices"

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=kbd event4 dell-laptop
B: EV=120013
B: KEY=500f 2902002 8380307c f910f001 feffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=/video/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:21/device:22/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=3f000b 0 0 0 0 0 0 0

I: Bus=0003 Vendor=046d Product=c016 Version=0110
N: Name="Logitech Optical USB Mouse"
P: Phys=usb-0000:00:1d.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input7
U: Uniq=
H: Handlers=mouse1 event6
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10
____________________________________________________________________

"dmesg | grep input"

[ 0.432114] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
[ 0.432642] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[ 0.432689] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[ 0.821592] input: Macintosh mouse button emulation as /devices/virtual/input/input3
[ 1.006918] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 1.586246] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:21/device:22/input/input5
[ 2.336359] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input6
[ 2.336444] generic-usb 0003:046D:C016.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.3-1/input0
[ 185.492630] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input7
[ 185.492728] generic-usb 0003:046D:C016.0002: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.3-2/input0
[ 3313.270746] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input8
[ 3313.270846] generic-usb 0003:046D:C016.0003: input,hidraw0: USB HID v1.10 Mouse [Logitech Optic...

Read more...

Revision history for this message
Ketil Malde (ketil-ii) wrote :

I had a similar problem, in that my ALPS touchpad wasn't detected, but different in that it still functioned as an ImPS mouse. This is now fixed in Lucid (see bug #129477), perhaps this bug is also fixed by this?

Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :

I have the same issue with a laptop gigabyte m1405: Touchpad do not work neither under X, neither with gpm.

It is detected as a "Macintosh mouse button emulation"

in dmesg:
input: Macintosh mouse button emulation as /devices/virtual/input/input4

in /var/log/Xorg.log:
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/event4)

but from dmidecode:
Handle 0x000D, DMI type 21, 7 bytes
Built-in Pointing Device
        Type: Touch Pad
        Interface: PS/2
        Buttons: 4

Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :

I have solved the problem on my laptop gigabyte m1405.
I had the same symptomes and to fix this issue i had to:

1- patch the kernel file drivers/input/serio/i8042-x86ia64io.h to enable the "noloop" option for my laptop model.
See attached file.

To find the DMI_BOARD information, you can use dmidecode and look at the "Base Board Information" section:
# sudo dmidecode

2- disable Macintosh device support in the kernel configuration (it seems to works OK with, but in doubt, i remove it and anyway it won't hurt you as you don't use a Mac, i suppose).
do not select the option : "Devices Drivers > Macintosh device drivers"

3- again in your kernel configuration, enable PS/2 support if not selected :
"Devices Drivers > Input Device > Mice > PS/2 Mouse"

Then recompile your kernel and install it. The touchpad shall work without extra configuration.
Verify using the command "dmesg" that the auxiliary port (for mouse) is detected and the synaptic driver is loaded.

# dmesg | grep 8042
[ 4.597919] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.597932] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 4.602531] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 18.617879] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5

Good luck!

Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :
Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :
Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :

This patch enables the option noloop in the i8042 driver for the laptop gigabyte m1405.
If you have the same symptoms has described below (i.e. auxiliary port is not correctly handle) you can try this:
using the dmidecode command, find your board information and add it to the noloop table.

Best regards,

Ludovic

tags: added: patch
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :
Download full text (5.4 KiB)

I have a similar situation, with touchpad being detected as "ImPS/2 Generic Wheel Mouse":

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=mouse2 event7
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103

My boot signatures were similar to the ones that Ludovic Guegan has described, including the "Macintosh mouse button emulation":

Jul 24 14:42:10 hostname kernel: [ 0.000000] Linux version 2.6.32-24-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 (Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5)
....
Jul 24 14:42:10 hostname kernel: [ 4.908667] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
Jul 24 14:42:10 hostname kernel: [ 4.909787] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
Jul 24 14:42:10 hostname kernel: [ 4.932532] input: Macintosh mouse button emulation as /devices/virtual/input/input2
Jul 24 14:42:10 hostname kernel: [ 5.007074] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
Jul 24 14:42:10 hostname kernel: [ 5.503522] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:49/LNXVIDEO:01/input/input4
Jul 24 14:42:10 hostname kernel: [ 16.969803] input: A4Tech USB Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input5
Jul 24 14:42:10 hostname kernel: [ 36.295911] input: Sony Vaio Keys as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/SNY5001:00/input/input6
Jul 24 14:42:10 hostname kernel: [ 36.295991] input: Sony Vaio Jogdial as /devices/virtual/input/input7
Jul 24 14:42:11 hostname kernel: [ 37.903099] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio2/input/input8
Jul 24 14:42:12 hostname kernel: [ 38.511151] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9

Guided by this, I've installed kernel sources to the Ubuntu kernel, disabled the Macintosh drivers and patched i8042-x86ia64io.h, adding my system to i8042_dmi_noloop_table:

diff -urN linux-2.6.32.orig/drivers/input/serio/i8042-x86ia64io.h linux-2.6.32/drivers/input/serio/i8042-x86ia64io.h
--- linux-2.6.32.orig/drivers/input/serio/i8042-x86ia64io.h 2010-07-24 15:02:06.000000000 +0200
+++ linux-2.6.32/drivers/input/serio/i8042-x86ia64io.h 2010-07-24 16:25:29.894800924 +0200
@@ -172,6 +172,14 @@
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Rev 1"),
                },
        },
+ {
+ /* Sony Vaio VPCEB1M1E laptop */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "VPCEB1M1E"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "C604UTDY"),
+ },
+ },
        { }
 };

Note that in the .matches field, I've used the system information data from dmidecode, not from base board. That's because the base board data reported on my laptop looks to generic as you can see below - the product is simply "VAIO" and there's...

Read more...

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

BTW, answering Kevin DuBois, I've tried with the mainline kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/ - it doesn't solve the problem.

Now I'll try booting with i8042.debug=1 kernel argument and let you know what it logs.

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :
Download full text (50.3 KiB)

Here's the log from i8042.debug=1, grepped for the "8042" string:

Jul 24 19:20:56 hostname kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=9517ae74-99c2-4f35-a36b-1553b9ab37f8 ro i8042.debug=1 crashkernel=384M-2G:64M,2G-:128M quiet splash
Jul 24 19:20:56 hostname kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=9517ae74-99c2-4f35-a36b-1553b9ab37f8 ro i8042.debug=1 crashkernel=384M-2G:64M,2G-:128M quiet splash
Jul 24 19:20:56 hostname kernel: [ 5.003930] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.004358] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 65 <- i8042 (return) [0]
Jul 24 19:20:56 hostname kernel: [ 5.004413] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.004684] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 65 <- i8042 (return) [0]
Jul 24 19:20:56 hostname kernel: [ 5.004691] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.005118] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
Jul 24 19:20:56 hostname kernel: [ 5.005339] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: a9 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.006871] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 00 <- i8042 (return) [0]
Jul 24 19:20:56 hostname kernel: [ 5.006875] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: a7 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.007090] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.007571] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 74 <- i8042 (return) [0]
Jul 24 19:20:56 hostname kernel: [ 5.007576] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: a8 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.007843] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 20 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.008219] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 54 <- i8042 (return) [0]
Jul 24 19:20:56 hostname kernel: [ 5.008224] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.009018] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [0]
Jul 24 19:20:56 hostname kernel: [ 5.009196] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.009675] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [0]
Jul 24 19:20:56 hostname kernel: [ 5.009797] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 60 -> i8042 (command) [0]
Jul 24 19:20:56 hostname kernel: [ 5.010171] /usr/src/linux-2.6.32/drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [0]
Jul 24 19:20:56 hostname kernel: [ 5.010176] serio: i8042 KBD port at 0x60,0x64 irq 1
Jul 24 19:20:56 hostname kernel: [ 5.010182] serio: i8042 AUX port at 0x60,0x64 irq 12
Jul 24 19:20:...

Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :

Hi Aleksander,

Did you enable synaptic support in the kernel?
Do you have synaptic packages installed?
Can you report the result of?
# dmesg | grep 8042

As well, i forget to post that one shall be able to change those nomux, and noloop parameters for the driver i8042 by passing to the kernel the parameter 'i8042.nomux=1' and/or 'i8042.noloop=1' in grub/lilo.

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

1) Synaptics support is present:

# grep -i synapt /lib/modules/`uname -r`/build/.config
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_SYNAPTICS_I2C=m

2) Synaptincs X.org package is present:

# dpkg -l | grep -i synap
ii xserver-xorg-input-synaptics 1.2.2-1ubuntu4 Synaptics TouchPad driver for X.Org server

3)

# dmesg | grep 8042
[ 5.700307] i8042.c: Detected active multiplexing controller, rev 1.1.
[ 5.703862] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 5.703868] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[ 5.703871] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[ 5.703873] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[ 5.703876] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[ 5.726555] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 13.354230] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio2/input/input7

For now, the workaround I use is disabling the touchpad device using XInput - I've written a script which is run during KDE session startup:

# cat disable_touchpad.sh

#!/bin/sh
xinput set-prop 'ImPS/2 Generic Wheel Mouse' 122 0

Revision history for this message
Ludovic Guegan (ludovic-guegan) wrote :

on gigabyte 1405 all i had to do is to update GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grup like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.nomux i8042.noloop"
and run:
$ sudo update-grub
$ sudo reboot

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

After upgrading to Kubuntu Natty, I no longer have the problem.

The KDE Input Settings/Touchpad KControl Module (which seems largely redesigned) allows reconfiguration and correctly reports the device as AlpsPS/2 ALPS GlidePoint.

Revision history for this message
Ketil Malde (ketil-ii) wrote :

For some reason, this bug didn't show up as related, so I filed #616605. This might be a duplicate, but I still have this problem under natty.

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.