On 09/01/2010 03:31 AM, Duncan McGreggor wrote:

> On 08/31/2010 06:40 PM, Peter Hutterer wrote:
>> On Tue, Aug 31, 2010 at 05:31:43PM -0400, Chase Douglas wrote:
>>> From: Chase Douglas <[email protected]>
>>>
>>> The udev device_added function takes the vendor and model IDs of added
>>> devices and converts them into an attribute that can be matched for by
>>> an InputClass configuration using MatchUSBID. Currently, the udev
>>> mechanism works for USB devices, but fails to work properly for
>>> Bluetooth devices. The product IDs of the event node are actually the
>>> IDs of the Bluetooth receiver instead of the device.
>>>
>>> This patch reads the product ID from the PRODUCT property of the parent
>>> of the added device. This tag is set correctly for both USB and
>>> Bluetooth input devices. The following devices have been tested by
>>> specifying individual InputClass sections in xorg.conf:
>>>
>>> * Apple Keyboard (Bluetooth)
>>> * Apple Magic Trackpad (Bluetooth)
>>> * Apple Magic Mouse (Bluetooth)
>>> * Microsoft Bluetooth Notebook Mouse 5000 (Bluetooth)
>>> * Microsoft IntelliMouse Optical (USB)
>>> * N-Trig Touchscreen (USB)
>>> * Wacom Bamboo Touch (USB)
>>>
>>> Signed-off-by: Chase Douglas <[email protected]>
>>> ---


Way to go, Chase. :-)

Thanks,
Henrik

_______________________________________________
Mailing list: https://launchpad.net/~multi-touch-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~multi-touch-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to