Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 09:35:45 -0800 (PST)
From:      Maksim Yevmenkin <m_evmenkin@yahoo.com>
To:        Randy Bush <randy@psg.com>, Pav Lucistnik <pav@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: [Fwd: Re: 5.2 USB + Bluetooth]
Message-ID:  <20040109173545.21053.qmail@web40302.mail.yahoo.com>
In-Reply-To: <E1AezlI-000GCS-5y@ran.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Randy Bush <randy@psg.com> wrote:
> > List RFCOMM channels on your Palm
> 
> aye, and there's the rub.
> 
> # l2control -a palm read_channel_list
> l2control: Could not bind socket, bdaddr=00:07:e0:0e:24:28: Network is down

you are misusing l2control(8) tool. the 'read_channel_list' should display
the list of *L2CAP* channels on your *local* device, i.e. it is more like
list of open L2CAP sockets. the 'palm' (or 00:07:e0:0e:24:28) BDADDR is
a *remote* device. that is why you get 'Network is down' error.

> roam.psg.com:/root# l2ping -a palm
> 20 bytes from 00:07:e0:0e:24:28 seq_no=0 time=1223.546 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=1 time=46.969 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=2 time=49.777 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=3 time=52.577 ms result=0 
> ^C
> # l2control -a palm read_channel_list
> l2control: Could not bind socket, bdaddr=00:07:e0:0e:24:28: Network is down

same here. sdptool is what you should use to discover services on the
remote devices.

> # sdptool browse palm
> Browsing 00:07:e0:0e:24:28 ...
> #

that is normal. some devices are being lame and does not support browse. 
you just need to use 'sdptool search' command instead.

> hmmm.  but sdptool is working pointed to my phone

palm's bluetooth stack are known to have problems.

max

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109173545.21053.qmail>