logo       

Re: ACL tx timeout?: msg#00174

Subject: Re: ACL tx timeout?
At 05:46 AM 6/25/2003, Takayuki Kaiso wrote:
>Hi,
>
> (1)
>  I made some tests after I posted the following and
>  in short, the problem still exists after I changed
>  HCI_MAX_BULK_TX  from  4 to 1
And you sure that you recompiled and reloaded hci_usb ?

>  note : "uhci.o" could not be tried because "ohci.o"
>            is the USB host driver in our case.
Hmm, it's a first "ACL TX timeout" report with CSR + OHCI.

> (2)
>  For me, the worst thing is that l2cap channel connection
>  can not be connected once "ACL tx timeout" occurs.
>  Infrequent occurrence  of "ACL tx timeout" could be
>  acceptable.
Well, most of the time "ACL tx timeout" means transport problems (i.e USB) 
or Firmware crash. In both cases there is no way to talk to device.

> To make it recoverable, I am wodering upgrading firmware might
> be helpful or not.  (Below shows hciconfig result for the dongle.)
I'm not sure.

> BlueFW can't be used for CSR case, correct ? ( it is available only for BCM . 
> ?.)
Yes. It support BCM USB and 3Com PCMCIA devices.

>  hci1:   Type: USB
>        BD Address: 00:A0:96:1F:D5:29 ACL MTU: 128:8  SCO MTU: 64:8

Ok, let's try this. As far as I remember easy way to crash older CSR firmware 
is to 
send it extra ACL packet (ie. violate flow control) . We used to do that when 
we detect 
ACL timeo (not anymore). That extra packet overwrites internal buffers and 
firmware goes 
south. So you could try to decrease number of available buffer reported by the 
dongle
with the following command
        hciconfig hci1 aclmtu 128:6
It will set number of buffers to 6 instead of 8.

If decreasing num of buffers doesn't help and you're using the latest kernel 
with SCO 
support in hci_usb. Try to disable SCO support. I doubt it will make any 
difference but 
it doesn't hurt to try it :)

Max



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php


<Prev in Thread] Current Thread [Next in Thread>