Le jeudi 18 août 2016 à 19:20 +0300, Luiz Augusto von Dentz a écrit :
> Hi Anthony,
>
> On Thu, Aug 18, 2016 at 5:52 PM, Anthony Bourguignon <contact@toniob.
> net> wrote:
> >
> > Le jeudi 18 août 2016 à 16:56 +0300, Luiz Augusto von Dentz a écrit
> > :
> > >
> > > Hi Anthony,
> > >
> > > On Thu, Aug 18, 2016 at 1:11 PM, Anthony Bourguignon <contact@ton
> > > iob.
> > > net> wrote:
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I've recently bought a new xbox one controller as the 2016
> > > > version
> > > > has
> > > > bluetooth connectivity.
> > > >
> > > > The controller is pairing and connecting well on a windows 10
> > > > computer
> > > > and an android 4.4 tablet. But I can"t make it connect under
> > > > linux
> > > > (Debian unstable, kernel 4.6 and 4.7-rc7, bluez 5.40 from
> > > > experimental). The pairing is ok but when I try to connect to
> > > > controller, it stays connected for less than one second, then
> > > > disconnects, then connects again and so one until the
> > > > controller
> > > > goes
> > > > to sleep, because of the lack of a remote connection.
> > > >
> > > > Any idea ?
> > >
> > > It seems there is some problem configuring the L2CAP connection
> > > (probably for SDP):
> > >
> > > >
> > > >
> > > > ACL data: handle 256 flags 0x02 dlen 15
> > > L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 3 clen 1
> > > Failure - unknown options
> > > RFC
> > > < ACL data: handle 256 flags 0x00 dlen 12
> > > L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
> >
> > So, is it a bug of bluez or of the controller firmware ? Why is it
> > possible to make a connection with an android tablet ?
> >
> > Is there something more I can do to help ?
>
> Well perhaps we can compare to what other stacks are responding, but
> this seem quite weird given L2CAP_Config request is an essential part
> of setting up L2CAP connections so a response with unknown options
> sounds kind broken, but perhaps other stacks are ignoring it.
I've juste made a capture with my android tablet. Maybe it'll help.
Association failed two times and succeded on the third one.
Thanks
btsnoop �