HCI - HID proxy

Rui Paulo rpaulo at fnop.net
Thu Jul 12 03:00:00 UTC 2007


Hi,
For my SoC project I developed a userland utility that switches an
ubt(4) controller from HID to HCI and vice versa.

I have some design issues still being worked out, namely:
1) What's the best way to integrate this into the existing bluetooth
utilities ? Create a new utility called, for example, ubthid2hci ? Name
suggestions are welcome.

2) According to the hid2hci Linux utility, there are several dongles out
there that need this tweak in order to work. I was thinking we could
create a text file with the vendors/products and their bootup mode (HCI
or HID); use ubthid2hci to read that file and then switch the device to
HCI mode (or HID mode if the user requested it).
This is mostly what the Linux hid2hci utility does, except that the
vendor/product table is inside the program.

3) Fix libusb and use hid2hci on FreeBSD.


Comments?

Regards.
-- 
Rui Paulo


More information about the freebsd-bluetooth mailing list