Return-Path: From: Guylhem Aznar To: bluez-devel@lists.sourceforge.net Message-ID: <20050430020331.GA32110@externe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: [Bluez-devel] curious problem with a socket 1.0b card Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 29 Apr 2005 22:03:31 -0400 Hello I'm using a Socket CF+ Rev E (Nokia chipset, hci v. 1.0b) in a Zaurus called "collie" running bluez 2.11 to get network connection from a PC NAP called "ebox" running bluez 2.10 with a USB dongle (CSR hci v1.1, but similar problems happens with a ISSC hci v1.1) Here is the strange problem I have. The devices see eachother in hcitool scan, but l2ping from collie to ebox doesn't work. ebox can l2ping collie. If ebox l2ping collie, during this I can l2ping from collie to ebox, use pan, sdptool etc. (why ?!?) If I press ctrl-c on either ebox or collie, the other one stops l2pinging with a "Connection reset by peer". Collie report "Protocol error" when I try to l2ping ebox without running l2ping from ebox to collie. If I use the ISSC dongle (keyspan bt-2a) it then simply says "Connection timed out". If before pressing ctrl-c I have a pand connected, then they can l2ping eachother as much as they want. The problem of course is pand sdptool etc. doesn't work either. Any suggestion ? I tried to change master\slave roles with hciconfig hciN lm, but it didn't help I'm sure this comes from the hci v 1.0b card from collie because other devices work fine (they can l2ping, sdptool browse and pan connect to ebox) while collie refuses to l2ping any other device (they can l2ping collie !) but my cellphone. hcid.conf from the server ebox: options { autoinit yes; security auto; pairing multi; pin_helper /etc/bluetooth/givepin; } device { name "ebox.externe.net"; class 0x020100; iscan enable; pscan enable; lm accept,master; lp hold,sniff,park,rswitch; auth enable; encrypt enable; } hcid.conf from the client collie: options { autoinit yes; security auto; pairing multi; pin_helper /etc/bluetooth/givepin; } device { name "collie.externe.net"; class 0x120114; iscan enable; pscan enable; lm accept; lp hold,sniff,park; auth enable; encrypt enable; } Even more bizzare : Collie can ping my s65 cellphone (after I type its pin on the S65) so pin/l2ping should be fine. root@collie:/etc/bluetooth# l2ping aa:aa:aa:aa:aa:aa Ping: aa:aa:aa:aa:aa:aa from bb:bb:bb:bb:bb:bb (data size 20) ... 0 bytes from aa:aa:aa:aa:aa:aa id 0 time 79.80ms 0 bytes from aa:aa:aa:aa:aa:aa id 1 time 84.97ms 2 sent, 2 received, 0% loss root@collie:/etc/bluetooth# l2ping cc:cc:cc:cc:cc:cc Can't connect.: Protocol error My S65 is aa, colie is bb, ebox is cc. Of course, ebox can l2ping the S65 Collie is a Zaurus using bluez 2.11, ebox is a PC using bluez 2.10. Another Zaurus with a CSR hci v.1. can do everything fine. The only workaround I've found is : . leaving a l2ping to collie running in the background, launched by cron. Collie can then use pan, l2ping, sdptool etc. normally . using my reflashed dbt-120 dongle (hci v1.2) to which collie can perfectly l2ping, using the very same hcid.conf files (!) - only the btaddr is changing. Of course I can't leave my dbt-120 there - I need it on another machine for its advanced hid features (boottime support for mouse etc. Any better solution or workaround would be appreciated. But I'd be even more interested if someone could help me understand why all this is happening. So far all my googling gave me no result. --=20 Bien =E0 vous - Best regards, Guylhem P. Aznar --=20 *@externe.net http://externe.n= et P=E9rim=E9/Deprecated: @oeil.qc.ca, @metalab.unc.edu, @ibiblio.org, @7= un.org GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubk= ey ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel