2009-08-17 14:17:34

by Aaron Seibert

[permalink] [raw]
Subject: hid2hci not switching to hci mode

Tried forcing hci mode through 2 seperate methods.

[root@scannell ~]# cat /etc/sysconfig/bluetooth
# Enable this to use hid2hci to switch a Bluetooth device in USB HID mode
# to HCI mode for Bluetooth operation.
HID2HCI_ENABLE=true

# Enable this to switch capable devices back to HID mode on Bluetooth shutdown
#HID2HCI_UNDO=true


And also hid2hci:

[root@scannell ~]# lsusb | grep Logitech
Bus 001 Device 028: ID 046d:c70a Logitech, Inc. MX5000 Cordless Desktop
Bus 001 Device 027: ID 046d:c70e Logitech, Inc. MX1000 Bluetooth Laser Mouse
Bus 001 Device 026: ID 046d:0b02 Logitech, Inc. BT Mini-Receiver (HID proxy
mode)

[root@scannell ~]# hid2hci -v 046d -p 0b02 -m logitech
Attempting to switch device 046d:0b02 to HCI mode was successful

However, the device does not actually go into HCI mode:

[root@scannell ~]# lsusb | grep Logitech
Bus 001 Device 028: ID 046d:c70a Logitech, Inc. MX5000 Cordless Desktop
Bus 001 Device 027: ID 046d:c70e Logitech, Inc. MX1000 Bluetooth Laser Mouse
Bus 001 Device 026: ID 046d:0b02 Logitech, Inc. BT Mini-Receiver (HID proxy
mode)

I tried running through gdb, this is the output:

(gdb) run -v 046d -p 0b02 -m logitech
Starting program: /usr/sbin/hid2hci -v 046d -p 0b02 -m logitech
Attempting to switch device 046d:0b02 to HCI mode was successful

Program exited with code 02.
(gdb) thread apply all bt
(gdb) bt
No stack.
(gdb)


Attachments:
signature.asc (197.00 B)
This is a digitally signed message part