public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] hci_cmd_task: hci0 command tx timeout
@ 2005-02-15 14:19 Catalin Drula
  2005-02-21 23:26 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Catalin Drula @ 2005-02-15 14:19 UTC (permalink / raw)
  To: bluez-devel

Hi,

While using a COM One Bluetooth USB dongle, after a random
amount of time, the device becomes unresponsive (no HCI
commands are accepted). The only solution is to physically
remove the dongle and re-insert it.

The system is Fedora Core 3, kernel version 2.6.10-1.741_FC3.

These are the relevant messages from /var/log/messages:

Feb 15 14:20:22 corse kernel: usb 2-2: new full speed USB device using
uhci_hcd and address 7
Feb 15 14:22:02 corse kernel: hci_cmd_task: hci0 command tx timeout

Also, here is the output of hcidump -i hci0 -x before the crash occurs:

> HCI Event: Connect Complete (0x03) plen 11
  00 28 00 3E 17 39 EE 02 00 01 00
< ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 4097 scid 0x0041
< ACL data: handle 0x0028 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 4097 scid 0x0040
< HCI Command: Inquiry Cancel (0x01|0x0002) plen 0
< HCI Command: Disconnect (0x01|0x0006) plen 3
  28 00 13
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
  00

As you can see the last three commands get no answers.

Here's (the relevant parts of) the output of lsmod:

Module                  Size  Used by
dtl1_cs                11845  3
l2cap                  26053  3
pcmcia                 20805  5 dtl1_cs
dm_mod                 55509  0
ac                      4805  0
joydev                  9217  0
hci_usb                15041  3
bluetooth              48069  7 dtl1_cs,l2cap,hci_usb
yenta_socket           19137  1
pcmcia_core            50817  3 dtl1_cs,pcmcia,yenta_socket
uhci_hcd               31321  0
hw_random               5717  0

I have read that this behavior might be caused by the loss of
syncronization between the host and the device. Is there any way to fix this?

Thanks,
Catalin




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] hci_cmd_task: hci0 command tx timeout
  2005-02-15 14:19 [Bluez-devel] hci_cmd_task: hci0 command tx timeout Catalin Drula
@ 2005-02-21 23:26 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-02-21 23:26 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Catalin,

> While using a COM One Bluetooth USB dongle, after a random
> amount of time, the device becomes unresponsive (no HCI
> commands are accepted). The only solution is to physically
> remove the dongle and re-insert it.
> 
> The system is Fedora Core 3, kernel version 2.6.10-1.741_FC3.
> 
> These are the relevant messages from /var/log/messages:
> 
> Feb 15 14:20:22 corse kernel: usb 2-2: new full speed USB device using
> uhci_hcd and address 7
> Feb 15 14:22:02 corse kernel: hci_cmd_task: hci0 command tx timeout
> 
> Also, here is the output of hcidump -i hci0 -x before the crash occurs:
> 
> > HCI Event: Connect Complete (0x03) plen 11
>   00 28 00 3E 17 39 EE 02 00 01 00
> < ACL data: handle 0x0028 flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 4097 scid 0x0041
> < ACL data: handle 0x0028 flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 4097 scid 0x0040
> < HCI Command: Inquiry Cancel (0x01|0x0002) plen 0
> < HCI Command: Disconnect (0x01|0x0006) plen 3
>   28 00 13
> < HCI Command: Write Scan Enable (0x03|0x001a) plen 1
>   00
> 
> As you can see the last three commands get no answers.
> 
> Here's (the relevant parts of) the output of lsmod:
> 
> Module                  Size  Used by
> dtl1_cs                11845  3
> l2cap                  26053  3
> pcmcia                 20805  5 dtl1_cs
> dm_mod                 55509  0
> ac                      4805  0
> joydev                  9217  0
> hci_usb                15041  3
> bluetooth              48069  7 dtl1_cs,l2cap,hci_usb
> yenta_socket           19137  1
> pcmcia_core            50817  3 dtl1_cs,pcmcia,yenta_socket
> uhci_hcd               31321  0
> hw_random               5717  0
> 
> I have read that this behavior might be caused by the loss of
> syncronization between the host and the device. Is there any way to fix this?

show us the content of /proc/bus/usb/devices and you should try to load
the hci_usb driver with isoc=0 to disable the ISOC transfers. What does
lspci say about your USB host controller?

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-21 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15 14:19 [Bluez-devel] hci_cmd_task: hci0 command tx timeout Catalin Drula
2005-02-21 23:26 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox