Problems getting the bluetooth stack to start
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Mon Nov 23 03:23:36 UTC 2009
On Sun, Nov 22, 2009 at 5:49 PM, John <comp.john at googlemail.com> wrote:
[...]
everything up to this point looks good
> What I can't work out now is why i can't see the channels:
>
> potato# l2ping -a 00:0a:d9:3e:70:24
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=0 time=500.567 ms result=0
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=1 time=31.890 ms result=0
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=2 time=31.895 ms result=0
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=3 time=31.897 ms result=0
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=4 time=32.900 ms result=0
> 0 bytes from 00:0a:d9:3e:70:24 seq_no=5 time=30.906 ms result=0
this looks fine
> potato# l2control -a 00:0a:d9:3e:70:24 Read_Channel_List
> l2control: Could not bind socket, bdaddr=00:0a:d9:3e:70:24: Network is
> down
this will not work. as per l2control(8) man page
"
The l2control utility connects to the local device with the specified
BD_ADDR and attempts to send the specified command.
"
i.e. l2control(8) will display _local_ l2cap channels (basically l2cap
connections). you dont have any l2cap channels (i.e. connections).
i'm guessing you want to see the services offered on your t610 phone.
you need to use sdpcontrol(8) for this.
> I have paired the handset with the device and it shows the fqdn of the
> freebsd machine. If I do sdpcontrol -a 00:0a:d9:3e:70:24 browse I get
> pages of output.
yes, this will tell you service names and service parameters
> But! If I do rfcomm_sppd -a 00:0a:d9:3e:70:24 -t /dev/ttyp6 I see this
> in messages:
>
> Nov 23 01:38:24 potato rfcomm_sppd: Could not open(/dev/ptyp6).
> Input/output error
well, it could not open /dev/ptyp6? is it busy? did you try different terminal?
> any ideas? I think the l2control error and the rfcomm one may be
> related, but I haven't a clue how to resolve the issue.
l2control(8) is not an issue you. rfcomm_sppd(1) had problem with
opening master pty.
thanks
max
More information about the freebsd-bluetooth
mailing list