Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 22:37:24 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        freebsd-bluetooth@freebsd.org
Subject:   Broadcom BCM2046B1 in HCI mode?
Message-ID:  <BANLkTikUpA-1NxFrrgXACzPoeocjjZXT=A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have one of these in my notebook:

uhub4: <Broadcom BCM2046B1, class 9/0, rev 2.00/1.00, addr 5> on usbus0

This is a bluetooth device in HID mode, but I'd like to switch it to
HCI mode. I found the following in rc.conf(5):

     ubthidhci_enable
                 (bool) If set to ``YES'', change the USB Bluetooth controller
                 from HID mode to HCI mode.  You also need to specify the
                 location of USB Bluetooth controller with the
                 ubthidhci_busnum and ubthidhci_addr variables.

     ubthidhci_busnum
                 Bus number where the USB Bluetooth controller is located.
                 Check the output of usbconfig(8) on your system to find this
                 information.

     ubthidhci_addr
                 Bus address of the USB Bluetooth controller.  Check the out-
                 put of usbconfig(8) on your system to find this information.

So I added the appropriate directives to /etc/rc.conf, to no avail:

ubthidhci_enable="YES"
ubthidhci_busnum="0"
ubthidhci_addr="5"

This basically calls usbconfig(8) at system start-up in the following way:

/usr/sbin/usbconfig -u 0 -a 5 do_request 0x40 0 0 0 0 > /dev/null 2>&1

Running this command manually, I see this output:

REQUEST = <ERROR>

...which I've read as potentially being OK, as the operation still may
have successfully completed -- it hasn't :(

So, has anyone had any luck using this rc.conf(5) directive, or does
anyone on this list have a modified usbconfig(8) command that may help
me coax HCI from this device?

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikUpA-1NxFrrgXACzPoeocjjZXT=A>