[Bug 377741] Re: Laptop ALPS touchpad not detected, not working

AleksanderAdamowski aleksander.adamowski at olo.org.pl
Sat Jul 24 16:39:33 UTC 2010


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 at 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 no version, while there are
numerous Sony VAIO laptop models with different boards.

Here's dmidecode fragment for my laptop:

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Sony Corporation
        Product Name: VPCEB1M1E
        Version: C604UTDY
        Serial Number: 27524055-5002379
        UUID: A025AFC4-4BD7-DD11-8082-544249104A10
        Wake-up Type: Power Switch
        SKU Number: N/A
        Family: VAIO

Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
        Manufacturer: Sony Corporation
        Product Name: VAIO
        Version: N/A
        Serial Number: C604UTDY


After recompiling the kernel, installing it and rebooting, I can see that the "Macintosh mouse button emulation" fragment has disappeared:

Jul 24 18:18:13 hostname kernel: [    0.000000] Linux version 2.6.32-24-generic (root at hostname) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #38 SMP Sat Jul 24 16:41:30 CEST 2010 (Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5)
...
Jul 24 18:18:13 hostname kernel: [    4.927723] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
Jul 24 18:18:13 hostname kernel: [    4.928815] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
Jul 24 18:18:13 hostname kernel: [    5.022902] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
Jul 24 18:18:13 hostname kernel: [    5.106228] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:49/LNXVIDEO:01/input/input3
Jul 24 18:18:13 hostname kernel: [   16.987477] input: A4Tech USB Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input4
Jul 24 18:18:13 hostname kernel: [   36.713706] input: Sony Vaio Keys as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/SNY5001:00/input/input5
Jul 24 18:18:13 hostname kernel: [   36.713788] input: Sony Vaio Jogdial as /devices/virtual/input/input6
Jul 24 18:18:13 hostname kernel: [   37.156554] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input7
Jul 24 18:18:14 hostname kernel: [   39.232395] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8

However, the problem with the touchpad still remains, it's detected as
"ImPS/2 Generic Wheel Mouse" and cannot be configured.

-- 
Laptop ALPS touchpad not detected, not working
https://bugs.launchpad.net/bugs/377741
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list