More testing has revealed this to be some kind of race condition I
think. I can now fix the problem by switching to tty1 and restarting
lightdm.

Diffing the two log files reveals a massive difference between first-
boot Xorg.0.log and Xorg.0.log.old. I will attach both files. The
interesting part, to me, is here (old is the failed file):

--- Xorg.0.log.old.awked    2012-03-03 07:04:21.134327363 -0800
+++ Xorg.0.log.awked    2012-03-03 07:04:11.570327281 -0800
@@ -13,7 +13,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,


-(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar  3 06:59:22 2012
+(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar  3 07:01:36 2012
 (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 (==) No Layout section.  Using the first Screen section.
 (==) No screen section available. Using defaults.
@@ -41,7 +41,7 @@
 (==) ModulePath set to 
"/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
 (II) The server relies on udev to provide the list of input devices.

-(II) Loader magic: 0x7f2eb9d84b00
+(II) Loader magic: 0x7f3587664b00
 (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 11.0
@@ -392,7 +392,7 @@
 (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac 
Product 0x249
 (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
 (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as 
keyboard
-(**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.0/input/input6/event6"
+(**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.0/input/input14/event6"
 (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard 
/ Trackpad" (type: KEYBOARD, id 10)
 (**) Option "xkb_rules" "evdev"
 (**) Option "xkb_model" "pc105"
@@ -460,24 +460,6 @@
 (II) intel(0): EDID vendor "APP", prod id 40178
 (II) intel(0): Printing DDC gathered Modelines:
 (II) intel(0): Modeline "1366x768"x0.0   72.00  1366 1380 1436 1500  768 769 
772 800 -hsync -vsync (48.0 kHz)
-(II) config/udev: removing device Apple Inc. Apple Internal Keyboard / Trackpad
-(II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Close
-(II) UnloadModule: "evdev"
-(II) Unloading evdev
-(II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / 
Trackpad (/dev/input/event6)
-(**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev 
keyboard catchall"
-(II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / 
Trackpad'
-(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
-(**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
-(**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: 
"/dev/input/event6"
-(--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac 
Product 0x249
-(--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
-(II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as 
keyboard
-(**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.0/input/input14/event6"
-(II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard 
/ Trackpad" (type: KEYBOARD, id 10)
-(**) Option "xkb_rules" "evdev"
-(**) Option "xkb_model" "pc105"
-(**) Option "xkb_layout" "us"


This looks like perhaps udev isn't done reporting all of the devices and so the 
keyboard and/or trackpad ends up being detected improperly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/936552

Title:
  MacBookAir 4,1 trackpad does not work with evdev/multitouch driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/936552/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to