[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495799: Does not use synaptics driver for MacBook Pro touchpad



Package: xserver-xorg-input-synaptics
Version: 0.14.7~git20070706-2.1.lenny1
Severity: wishlist
Tags: patch

The synaptics driver isn't used for the touchpad on my MacBook Pro.  I
wish it was.

Here's the lshal output for the touchpad:

> udi = '/org/freedesktop/Hal/devices/usb_device_5ac_217_noserial'
>   info.linux.driver = 'usb'  (string)
>   info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0'  (string)
>   info.product = 'Apple Internal Keyboard / Trackpad'  (string)
>   info.subsystem = 'usb_device'  (string)
>   info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_217_noserial'  (string)
>   info.vendor = 'Apple, Inc.'  (string)
>   linux.device_file = '/dev/bus/usb/001/005'  (string)
>   linux.hotplug_type = 2  (0x2)  (int)
>   linux.subsystem = 'usb'  (string)
>   linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2'  (string)
>   usb_device.bus_number = 1  (0x1)  (int)
>   usb_device.can_wake_up = true  (bool)
>   usb_device.configuration_value = 1  (0x1)  (int)
>   usb_device.device_class = 0  (0x0)  (int)
>   usb_device.device_protocol = 0  (0x0)  (int)
>   usb_device.device_revision_bcd = 96  (0x60)  (int)
>   usb_device.device_subclass = 0  (0x0)  (int)
>   usb_device.is_self_powered = false  (bool)
>   usb_device.linux.device_number = 5  (0x5)  (int)
>   usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-2'  (string)
>   usb_device.max_power = 40  (0x28)  (int)
>   usb_device.num_configurations = 1  (0x1)  (int)
>   usb_device.num_interfaces = 3  (0x3)  (int)
>   usb_device.num_ports = 0  (0x0)  (int)
>   usb_device.product = 'Apple Internal Keyboard / Trackpad'  (string)
>   usb_device.product_id = 535  (0x217)  (int)
>   usb_device.speed = 12.0 (12) (double)
>   usb_device.vendor = 'Apple, Inc.'  (string)
>   usb_device.vendor_id = 1452  (0x5ac)  (int)
>   usb_device.version = 2.0 (2) (double)

The attached patch makes the synaptics driver be used if the product
is "Apple Internal Keyboard / Trackpad".  I don't know if this will
cause problems for other Apple systems, though.

-- 
Matt                                                 http://ftbfs.org/
diff -ru xfree86-driver-synaptics-0.14.7~git20070706~/debian/10-synaptics.fdi xfree86-driver-synaptics-0.14.7~git20070706/debian/10-synaptics.fdi
--- xfree86-driver-synaptics-0.14.7~git20070706~/debian/10-synaptics.fdi	2008-08-20 06:57:39.000000000 -0700
+++ xfree86-driver-synaptics-0.14.7~git20070706/debian/10-synaptics.fdi	2008-08-20 06:59:06.000000000 -0700
@@ -9,5 +9,8 @@
 	<merge key="input.x11_driver" type="string">synaptics</merge>
       </match>
     </match>
+    <match key="info.product" contains="Apple Internal Keyboard / Trackpad">
+      <merge key="input.x11_driver" type="string">synaptics</merge>
+    </match>
   </device>
 </deviceinfo>

Reply to: