Re: Problems with usb bluetooth device

From: Lars Engels <lars.engels_at_0x20.net>
Date: Sat, 28 Mar 2009 12:04:22 +0100
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 ;-)

Received on Sat Mar 28 2009 - 10:04:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC