Hi Alan, > > 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.
there is no separate driver needed. The Bluetooth chips inside the Apple machines are CSR dongles with HID proxy mode and they boot up in HID mode by default. Use hid2hci to switch them into HCI mode. You can also use the pskey tool to change the default boot mode of these dongles. Regards Marcel ------------------------------------------------------- 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