* losing HCI connection over USB
@ 2009-08-06 7:32 Ian Cameron
2009-08-06 20:13 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Ian Cameron @ 2009-08-06 7:32 UTC (permalink / raw)
To: linux-bluetooth
This happens with btusb or hci_usb module. I am using a USB dongle on an extender cable (about 3m long) and have tried on several different computers. When I start using hcidump V (lots of traffic) I start having radios drop out, but sometimes they drop with just hcitool commands. lsusb lists the Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) but hcitool dev does not list the device after it loses connection and hciconfig hci0 up gives errors such as Cant init device hci0: Function not implemented (38). If I try a hcitool command I get Invalid device: Network is down. Dmesg has some errors, I think the relevant ones are:
hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling
btusb_intr_complete: hci0 urb f539e700 failed to resubmit (19)
btusb_intr_complete: hci0 corrupted event packet
It only happens on USB extension cables... they are new USB 2.0 cables and only 10 feet long so I wonder what is going on or who to ask for help. Does Bluez handle possible errors with sending commands and receiving events over a USB extension cable that may introduce some data loss, latency(?) or corruption between the host and controller? It seems to drop out when there is a corrupted event packet. Thank you for your time.
-Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: losing HCI connection over USB
2009-08-06 7:32 losing HCI connection over USB Ian Cameron
@ 2009-08-06 20:13 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-08-06 20:13 UTC (permalink / raw)
To: Ian Cameron; +Cc: linux-bluetooth
Hi Ian,
> This happens with btusb or hci_usb module. I am using a USB dongle on an extender cable (about 3m long) and have tried on several different computers. When I start using hcidump –V (lots of traffic) I start having radios drop out, but sometimes they drop with just hcitool commands. lsusb lists the Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) but hcitool dev does not list the device after it loses connection and hciconfig hci0 up gives errors such as Can’t init device hci0: Function not implemented (38). If I try a hcitool command I get Invalid device: Network is down. Dmesg has some errors, I think the relevant ones are:
>
> hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling
> btusb_intr_complete: hci0 urb f539e700 failed to resubmit (19)
> btusb_intr_complete: hci0 corrupted event packet
>
> It only happens on USB extension cables... they are new USB 2.0 cables and only 10 feet long so I wonder what is going on or who to ask for help. Does Bluez handle possible errors with sending commands and receiving events over a USB extension cable that may introduce some data loss, latency(?) or corruption between the host and controller? It seems to drop out when there is a corrupted event packet. Thank you for your time.
this question might be better asked on the USB mailing list. It is not a
real Bluetooth problem.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-06 20:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 7:32 losing HCI connection over USB Ian Cameron
2009-08-06 20:13 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox