Thread (8 messages) 8 messages, 3 authors, 2016-08-19

Re: Can't connect a Xbox one controller

flat view

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2016-08-18 16:20:45

Hi Anthony,

On Thu, Aug 18, 2016 at 5:52 PM, Anthony Bourguignon [off-list ref] w=
rote:
Le jeudi 18 ao=C3=BBt 2016 =C3=A0 16:56 +0300, Luiz Augusto von Dentz a =
=C3=A9crit :
quoted
Hi Anthony,

On Thu, Aug 18, 2016 at 1:11 PM, Anthony Bourguignon <contact@toniob.
net> wrote:
quoted
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):
quoted
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.

--=20
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help