Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 12:50:28 -0700
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Miranda Maria Sophie Van den Breukelingen <mms.vanbreukelingen@gmail.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Kernel-Crash when working with ubt0
Message-ID:  <CAFPOs6qvkxy39L491kFata6ujJPQX3sCJ8-Pa2k2H8bsLsK=gg@mail.gmail.com>
In-Reply-To: <CAM94aeoXEdi_x3_%2BKSFRdTAbaxwuOQVkh=dyBt3=HHyQdDAZ0A@mail.gmail.com>
References:  <1115053193.64543.1567031661382.ref@mail.yahoo.com> <1115053193.64543.1567031661382@mail.yahoo.com> <CANCZdfr%2B21-L8C61ThW2CQi8bjVGcvBPxxDCNoXyZXN0Bv44pA@mail.gmail.com> <CAFPOs6r140WzpSM_fEhCdhQ7OGMHq1xhkacWzv6EDVZph097UQ@mail.gmail.com> <CANCZdfph%2BckxQ6f%2BJAN=vYVkXa4%2BUGbsFzEf7RHvdAx=wNCX5A@mail.gmail.com> <CAFPOs6qt7-L97wy1YQWUmoCzXAvetxmrKPK4guEmLvjm-Ov67A@mail.gmail.com> <CAM94aeoXEdi_x3_%2BKSFRdTAbaxwuOQVkh=dyBt3=HHyQdDAZ0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[trimming the list of recipients]

On Fri, Aug 30, 2019 at 12:08 PM Miranda Maria Sophie Van den
Breukelingen <mms.vanbreukelingen@gmail.com> wrote:
>
> works for me as far as pairing concernes (with patch -C > .diff.txt
>
> option         LOCK_PROFILING
> option         WITNESS
>
> is on in kern.config. My problem presists in the following form:
>
> l2control -a c0:7a:a5:00:c7:11 read_channel_list
> l2control: Could not bind socket, bdaddr=c0:7a:a5:00:c7:11: Network is down

can you please tell what 'c0:7a:a5:00:c7:11' is? is this a remove address?

looking at your previous emails, i *think*, 'c0:7a:a5:00:c7:11' is a
remote address. if this is the case, then, l2control is not going to
work. from the l2control(8) man page

==
     -a local
             Connect to the local device with the specified BD_ADDR or name.
             Example: -a 00:01:02:03:04:05 or -a bt_device.
==

 more specifically, the read_channel_list command will list l2cap
channels open on the local device.

i'm not exactly sure what are you trying to do here.

> l2ping is ok;

ok. this tells me that hci and l2cap communication works

> So, what to do with the "network down" - problem?

you have asked l2control to bind to the *local* bd_addr
(c0:7a:a5:00:c7:11). and since there is no *local* bluetooth device
with this bd_addr, l2control returns "network down". l2control will
only work for *local* bd_addr's

thanks
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPOs6qvkxy39L491kFata6ujJPQX3sCJ8-Pa2k2H8bsLsK=gg>