Re: FW: hid2hci for the new iMAC

Marcel Holtmann <[email protected]> Sat, 28 Jun 2008 00:27:05 +0200
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hi Axel,

> I've looked around but it seems there is no one having faced this problem: I have a new 24" iMac (Core 2 Duo) with integrated bluetooth (Broadcom 2045).
> Starting with Linux (2.6.24, bluez ver. 3.30) I am unable to switch the bluetooth HID device to HCI.
> 
> This is my lsusb:
> 
> root@uranus:~# lsusb -t
> Bus#  7
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
>   `-Dev#   2 Vendor 0x05ac Product 0x8502
> Bus#  6
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
> Bus#  5
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>   `-Dev#   2 Vendor 0x05ac Product 0x8242
> Bus#  4
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  3
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  2
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  1
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>   `-Dev#   3 Vendor 0x0a5c Product 0x4500
>     |-Dev#   4 Vendor 0x05ac Product 0x820f
>     |-Dev#   5 Vendor 0x05ac Product 0x820a
>     `-Dev#   6 Vendor 0x05ac Product 0x820b
> 
> Where the 820f is the Apple Bluetooth device and the 820a is the HID keyobard and the 820b is the HID mouse (both bluetooth).
> 
> I have tried to add 820f id to the hid2hci.c with switch_hidproxy but it didn't go through.
> 
> If I reset the hci device the lsusb output does not change (as was in the previous mac case). That's why I guess something has been changed in BT implementation and the previous method does not apply.
>  
> Now how can I find the way to switch the device in HCI? in other word how can I write (in case is necessary) the switch_imac procedure?

try "modprobe hci_usb reset=1". And please send us the content
of /proc/bus/usb/devices and what lsusb tells you.

Regards

Marcel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php