Hi Johan, +Marcel On Sat, May 18, 2019 at 9:08 PM Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > > Hi Luiz, > > On 18 May 2019, at 19.30, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > > The problem seems to be here: > > > > < ACL Data TX: Handle 512 flags 0x00 dlen 16 #87 [hci0] 9.952984 > > L2CAP: Connection Response (0x03) ident 1 len 8 > > Destination CID: 0 > > Source CID: 65 > > Result: Connection refused - security block (0x0003) > > Status: No further information available (0x0000) > > > > Ruling out encryption since HID don't require it: > > When both devices support SSP, encryption is required for any non-SDP PSM. The kernel enforces this regardless of what kind of options were set for the socket. Perhaps it could be this one: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/net/bluetooth/hci_conn.c?id=d5bb334a8e171b262e48f378bd2096c0ea458265 It looks like the test you mentioned it is just above the check for enc_key_size, though people mentioned it has been working so could it be that SSP is not enabled after all? -- Luiz Augusto von Dentz