On Thu, 4 Aug 2005, Andrew de Quincey wrote:

> 
> Hi, one maconlinux session with the excellent linux kernel usbmon support 
> later, and I have my G4 powerbook's bluetooth adapter working.
> 
> To recap: My new G4 powerbook has a bluetooth device that boots up in what 
> apppears to be a compatability mode - it looks exactly like an HID 
> keyboard/mouse device. 
> 
> A special command sequence is sent to switch it into full bluetooth mode. 
> When 
> this occurs the original HID device vanishes, and a new (bluetooth HID) USB 
> device appears on the bus with a different product ID.
> 
> The original thread is here: 
> http://sourceforge.net/mailarchive/message.php?msg_id=12532263
> 
> The attached patch adds the device to the hid-core quirks so that hid-core 
> ignores it.
> 
> Also attached is my userspace program to switch the device.. I think this 
> should be in the kernel somewhere, but I'm not sure where. The bluetooth USB 
> HID driver sounds most suitable - does anyone have any suggestions?

You could write a separate kernel driver, just for Powerbook Bluetooth 
devices in compatibility mode.  That way it wouldn't affect anyone who 
didn't want to load it.  All your driver would need to do is send the 
switching command sequence; when the device reappeared as a new Bluetooth 
device the kernel would automatically rebind it to the correct driver.

Alan Stern



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to