Re: Problems with usb bluetooth device



On Sat, Mar 28, 2009 at 11:00:32AM +0100, Hans Petter Selasky wrote:
On Saturday 28 March 2009, Lars Engels wrote:
Hi all,

yesterday I bought a shiny new hama usb bluetooth dongle but I am having
some problems using it:

before loading ng_ubt:
usb2_alloc_device:1480: set address 2 failed (ignored)
usb2_alloc_device:1516: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1421: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1434: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1421: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1434: getting device descriptor at addr 2 failed!
ugen0.2: <> at usbus0 (disconnected)
after loading ng_ubt:
uhub_reattach_port:413: could not allocate new device!
ubt0: <Broadcom Corp Foxconn Bluetooth 2.0 plus EDR, class 224/1, rev
2.00/1.00, addr 2> on usbus2 ^^^^^^^^^^
internal bluetooth device
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
ugen0.2: <Cambridge Silicon Radio> at usbus0
ubt1: <Cambridge Silicon Radio Bluetooth USB dongle, class 224/1, rev
2.00/48.39, addr 2> on usbus0 ubt1: ubt_bulk_read_callback:837: bulk-in
transfer failed: USB_ERR_STALLED ubt1: ubt_intr_read_callback:741:
interrupt transfer failed: USB_ERR_STALLED ubt1: at uhub0, port 1, addr 2
(disconnected)
ugen0.2: <Cambridge Silicon Radio> at usbus0 (disconnected)
device re-inserted:
usb2_alloc_device:1480: set address 2 failed (ignored)
usb2_alloc_device:1516: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1421: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1434: getting device descriptor at addr 2 failed!
usb2_req_re_enumerate:1421: addr=2, set address failed! (ignored)
usb2_req_re_enumerate:1434: getting device descriptor at addr 2 failed!
ugen0.2: <> at usbus0 (disconnected)
uhub_reattach_port:413: could not allocate new device!

So the device is no longer recognized after I re-connect it. usbconfig does
not show it: ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: <UHCI root HUB Intel> at usbus2,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: <UHCI root HUB Intel> at
usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: <EHCI root HUB
Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen2.2: <Foxconn
Bluetooth 2.0 plus EDR Broadcom Corp> at usbus2, cfg=0 md=HOST spd=FULL
(12Mbps
pwr=ON

It only lists the internal device...

My CURRENT was compiled two days ago, so I should be up-to-date.

Does it work when you use an external USB HUB?

Yes, it's working with a usb hub:

Hub inserted:
Mar 28 11:46:30 maggie kernel: ugen4.2: <Cypress Semiconductor> at usbus4
Mar 28 11:46:30 maggie kernel: uhub5: <Cypress Semiconductor Slim Hub, class 9/0, rev 2.00/0.09, addr 2> on usbus4
Mar 28 11:46:31 maggie kernel: uhub5: 4 ports with 4 removable, self powered

Dongle inserted:
Mar 28 11:46:41 maggie root: Unknown USB device: vendor 0x0a12 product 0x0001 bus uhub5
Mar 28 11:46:41 maggie kernel: ugen4.3: <Cambridge Silicon Radio> at usbus4
Mar 28 11:46:41 maggie kernel: ubt1: <Cambridge Silicon Radio Bluetooth USB dongle, class 224/1, rev 2.00/48.39, addr 3> on usbus4



Does this device have some kind of autoinstall on it?

I don't think so. There was a windows driver cd included.


You could try enabling uhci/ehci debugging.
sysctl hw.usb2.uhci.debug = 15

Do you really want that? :)

It produced hundreds of thousands of lines, so I trimmed it a bit:
I inserted the dongle at 11:50:09 and copied you the next ~7 seconds to
http://people.freebsd.org/~lme/messages.trimmed.bz2


Then we would know the exact cause of the error.

I hope you can see more in the messages than me ;-)

Attachment: pgpTSZL8qwI85.pgp
Description: PGP signature



Relevant Pages

  • Re: bluetooth dongle to dongle
    ... Im looking at bluetooth to cominucate with a remote mcu from my pc, ... so the obvious question is what do I need to use the 2nd dongle on my remote ... looks like a pc usb port, ...
    (sci.electronics.design)
  • Re: How to support bluetooth radio (USB interface) in WinCE 5.0
    ... Which Bluetooth driver are you using? ... looks, from that, like you're not getting the dongle turned on. ... USB 2.0 port on your main board? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB: Can I Add another device by soldering it inside?
    ... >computer by soldering it to the inside of the USB connector. ... When used as a dongle, Bluetooth is constant source of the ... >my notebook and connect the dongle to that cable and just place such ...
    (sci.electronics.basics)
  • Embedded Bluetooth module VS USB dongle
    ... The basic configuration I've sketched out on the back of the proverbial envelope is a PIC 18F4550 with an FTDI Vinculum chip hosting a USB Bluetooth device because the Bluetooth USB dongles are considerably cheaper than OEM Bluetooth dongles although all of the dongles I've pulled apart have had a module fitted to a base board. ... My question is, would it be *much* easier to use a BT module than the dongle, I may want to be able to attach more storage in the future so I can log data outside the range of Blue tooth so the FTDI chip looks nice from the point of being able to attach a simple USB flash device as well although I could just attach an SD/MMC card to the PIC. ...
    (comp.arch.embedded)
  • Regression: Problem in using USB Bluetooth Dongle (Worked fine in 2.6.24.x)
    ... At least until kernel version 2.6.24, I was able to use my USB ... bluetooth dongle to download contacts from my phone. ... # AX.25 network device drivers ...
    (Linux-Kernel)