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:
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@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.
I have a similar situation, with touchpad being detected as "ImPS/2 Generic Wheel Mouse":
I: Bus=0011 Vendor=0002 Product=0005 Version=0000 serio1/ input0 devices/ platform/ i8042/serio1/ input/input7
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/
S: Sysfs=/
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) LNXSYSTM: 00/LNXSYBUS: 00/PNP0C0D: 00/input/ input0 LNXSYSTM: 00/LNXSYBUS: 00/PNP0C0C: 00/input/ input1 virtual/ input/input2 platform/ i8042/serio0/ input/input3 LNXSYSTM: 00/LNXSYBUS: 00/PNP0A08: 00/device: 49/LNXVIDEO: 01/input/ input4 pci0000: 00/0000: 00:1d.0/ usb2/2- 1/2-1.2/ 2-1.2:1. 0/input/ input5 LNXSYSTM: 00/LNXSYBUS: 00/PNP0A08: 00/device: 01/SNY5001: 00/input/ input6 virtual/ input/input7 platform/ i8042/serio2/ input/input8 pci0000: 00/0000: 00:1b.0/ input/input9
....
Jul 24 14:42:10 hostname kernel: [ 4.908667] input: Lid Switch as /devices/
Jul 24 14:42:10 hostname kernel: [ 4.909787] input: Power Button as /devices/
Jul 24 14:42:10 hostname kernel: [ 4.932532] input: Macintosh mouse button emulation as /devices/
Jul 24 14:42:10 hostname kernel: [ 5.007074] input: AT Translated Set 2 keyboard as /devices/
Jul 24 14:42:10 hostname kernel: [ 5.503522] input: Video Bus as /devices/
Jul 24 14:42:10 hostname kernel: [ 16.969803] input: A4Tech USB Mouse as /devices/
Jul 24 14:42:10 hostname kernel: [ 36.295911] input: Sony Vaio Keys as /devices/
Jul 24 14:42:10 hostname kernel: [ 36.295991] input: Sony Vaio Jogdial as /devices/
Jul 24 14:42:11 hostname kernel: [ 37.903099] input: ImPS/2 Generic Wheel Mouse as /devices/
Jul 24 14:42:12 hostname kernel: [ 38.511151] input: HDA Digital PCBeep as /devices/
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 6.32.orig/ drivers/ input/serio/ i8042-x86ia64io .h 2010-07-24 15:02:06.000000000 +0200 6.32/drivers/ input/serio/ i8042-x86ia64io .h 2010-07-24 16:25:29.894800924 +0200
DMI_ MATCH(DMI_ PRODUCT_ VERSION, "Rev 1"), DMI_SYS_ VENDOR, "Sony Corporation"), DMI_PRODUCT_ NAME, "VPCEB1M1E"), DMI_PRODUCT_ VERSION, "C604UTDY"),
--- linux-2.
+++ linux-2.
@@ -172,6 +172,14 @@
},
},
+ {
+ /* Sony Vaio VPCEB1M1E laptop */
+ .matches = {
+ DMI_MATCH(
+ DMI_MATCH(
+ DMI_MATCH(
+ },
+ },
{ }
};
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
Manufacturer: Sony Corporation 4BD7-DD11- 8082-544249104A 10
System Information
Product Name: VPCEB1M1E
Version: C604UTDY
Serial Number: 27524055-5002379
UUID: A025AFC4-
Wake-up Type: Power Switch
SKU Number: N/A
Family: VAIO
Handle 0x0002, DMI type 2, 10 bytes
Manufacturer: Sony Corporation
Base Board Information
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@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) LNXSYSTM: 00/LNXSYBUS: 00/PNP0C0D: 00/input/ input0 LNXSYSTM: 00/LNXSYBUS: 00/PNP0C0C: 00/input/ input1 platform/ i8042/serio0/ input/input2 LNXSYSTM: 00/LNXSYBUS: 00/PNP0A08: 00/device: 49/LNXVIDEO: 01/input/ input3 pci0000: 00/0000: 00:1d.0/ usb2/2- 1/2-1.2/ 2-1.2:1. 0/input/ input4 LNXSYSTM: 00/LNXSYBUS: 00/PNP0A08: 00/device: 01/SNY5001: 00/input/ input5 virtual/ input/input6 platform/ i8042/serio1/ input/input7 pci0000: 00/0000: 00:1b.0/ input/input8
...
Jul 24 18:18:13 hostname kernel: [ 4.927723] input: Lid Switch as /devices/
Jul 24 18:18:13 hostname kernel: [ 4.928815] input: Power Button as /devices/
Jul 24 18:18:13 hostname kernel: [ 5.022902] input: AT Translated Set 2 keyboard as /devices/
Jul 24 18:18:13 hostname kernel: [ 5.106228] input: Video Bus as /devices/
Jul 24 18:18:13 hostname kernel: [ 16.987477] input: A4Tech USB Mouse as /devices/
Jul 24 18:18:13 hostname kernel: [ 36.713706] input: Sony Vaio Keys as /devices/
Jul 24 18:18:13 hostname kernel: [ 36.713788] input: Sony Vaio Jogdial as /devices/
Jul 24 18:18:13 hostname kernel: [ 37.156554] input: ImPS/2 Generic Wheel Mouse as /devices/
Jul 24 18:18:14 hostname kernel: [ 39.232395] input: HDA Digital PCBeep as /devices/
However, the problem with the touchpad still remains, it's detected as "ImPS/2 Generic Wheel Mouse" and cannot be configured.