logo       

Re: ACL tx timeout?: msg#00128

Subject: Re: ACL tx timeout?
Hi,

No not yet. the 2.5.7x  kernel is still in development. When you see an odd number for the second place in the version like 2.5.XX  this means the kernel is still in development, but with an even number the kernel 2.4.XX is stable.

Donald

Ferenc-Jan wrote:
Hi,

Thanks! Does this hold up for the 2.5.7x kernel, too? 'cause That 
kernel expresses the exact same behaviour. I strongly suspect a USB 
incompatibility in the old toshiba laptop I use. Very hard though for 
a layman like myself, to pinpoint the root cause.

Ferenc

  
you may need to patch your kernel
go to http://www.holtmann.org/linux/kernel/ and get
patch-2.4.21-mh2.gz
<http://www.holtmann.org/linux/kernel/patch-2.4.21-mh2.gz> to do this
compile it from a fresh kernel. That way you'll make sure you get
everything compatible.

Donald

Ferenc-Jan wrote:

    
I flashed the latest firmware into the dongles, compiled kernel &
bluez mods (2.4.21-rc2, tried 2.5.70 too.)

hicconfig -a output:

hci0:	Type: USB 
BD Address: 00:10:DC:AF:9A:08 ACL MTU: 192:8  SCO MTU: 64:8
UP RUNNING PSCAN ISCAN 
RX bytes:376 acl:0 sco:0 events:16 errors:0
TX bytes:306 acl:0 sco:0 commands:15 errors:0
Features: 0xff 0xff 0x0f 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
Link policy: HOLD SNIFF PARK 
Link mode: SLAVE ACCEPT 
Name: 'toshibert'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 
0x20d
Manufacturer: Cambridge Silicon Radio (10)

- bring up hcid
- hcitool scan (both machines find eachother)
- insmod l2cap & bnep
- pand --listen --role NAP on desktop
- pand --listen --role PANU on laptop
- pand --connect <bdaddr> on laptop

After a few tries, this last step usually results in a bnep0 
creation.

- ifconfig bnep0 192.168.2.1/2 on desktop/laptop
- ping

Works like a charm. However, sooner rather than later, I get a "hci0
ACL tx timeout, hci0 killing stalled ACL." 

After this, hciconfig -a ends halfway in a "can't read local name on
hci0" until I unplug and reinsert the dongle.

 

      
what kernel are you using?

Ferenc-Jan wrote:

   

        
Hi,

I always get ACL tx timeouts. 

Where to start looking for a solution?

Any hints welcome!

best regards

Ferenc


-------------------------------------------------------
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
_______________________________________________ Bluez-users mailing
list Bluez-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-users

.



     

          
   

        
.

 

      
    

.

  

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