Skip to contentSkip to conversation

debugfs: File 'le_min_key_size' in directory 'hci0' already present!

Bug 204765 [email protected] 1 participant 9 messages Nov 2, 2019 – Jan 2, 2021 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

Max Ammann ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |maximilian.ammann@googlemai
                   |                            |l.com

--- Comment #2 from Max Ammann ([email protected]) --- Created attachment 285745
--> https://bugzilla.kernel.org/attachment.cgi?id=285745&action=edit
Output of lsusb (wifi/bluetooth chip is connected via usb on T490)

I'm experiencing the same problem. I'm also unable to reconnect to bluetooth devices after the pairing and the initial connect succeeded.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

Alfonso Chacón ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |om

--- Comment #3 from Alfonso Chacón ([email protected]) --- I have the same issue

Device was discovered and connected fine the first time, then it was disconnected immediately.

Every time I try to connect it again, it disconnects.

s@OrangeDemon:~$ sudo hciconfig hci0 -a
hci0:   Type: Primary  Bus: USB
        BD Address: DC:FB:48:28:FA:95  ACL MTU: 1021:4  SCO MTU: 96:6
        UP RUNNING PSCAN ISCAN 
        RX bytes:76148 acl:16 sco:0 events:2184 errors:0
        TX bytes:13222 acl:14 sco:0 commands:589 errors:0
        Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH SNIFF 
        Link mode: SLAVE ACCEPT 
        Name: 'OrangeDemon'
        Class: 0x100104
        Service Classes: Object Transfer
        Device Class: Computer, Desktop workstation
        HCI Version: 5.0 (0x9)  Revision: 0x100
        LMP Version: 5.0 (0x9)  Subversion: 0x100
        Manufacturer: Intel Corp. (2)

dmesg:

[    4.172065] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.172066] Bluetooth: BNEP filters: protocol multicast
[    4.172068] Bluetooth: BNEP socket layer initialized
..
[   13.392448] Bluetooth: RFCOMM TTY layer initialized
[   13.392452] Bluetooth: RFCOMM socket layer initialized
[   13.392456] Bluetooth: RFCOMM ver 1.11
[  246.531147] debugfs: File 'le_min_key_size' in directory 'hci0' already
present!
[  246.531153] debugfs: File 'le_max_key_size' in directory 'hci0' already
present!
[  275.658457] debugfs: File 'le_min_key_size' in directory 'hci0' already
present!
[  275.658463] debugfs: File 'le_max_key_size' in directory 'hci0' already

present!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Artem S. Tashkinov ([email protected]) ---
This bug occurs after a software suspend/resume cycle. It's valid and it needs to be fixed. Some logic in the driver doesn't handle suspend properly.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

Maarten Fonville ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #10 from Maarten Fonville ([email protected]) --- I am suddenly seeing the same error after suspend/hibernation on my laptop with my Microsoft Surface bluetooth mouse, using latest Ubuntu kernel 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux:

[82250.719088] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[82250.720091] Bluetooth: hci0: Device revision is 16
[82250.720092] Bluetooth: hci0: Secure boot is enabled
[82250.720093] Bluetooth: hci0: OTP lock is enabled
[82250.720094] Bluetooth: hci0: API lock is enabled
[82250.720094] Bluetooth: hci0: Debug lock is disabled
[82250.720095] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[82250.720099] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[82250.722178] done.
[82250.757394] PM: suspend exit
[82250.980766] Generic FE-GE Realtek PHY r8169-200:00: attached PHY driver
[Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[82251.091652] r8169 0000:02:00.0 enp2s0: Link is Down
[82252.225425] Bluetooth: hci0: Waiting for firmware download to complete
[82252.226105] Bluetooth: hci0: Firmware loaded in 1472555 usecs
[82252.226211] Bluetooth: hci0: Waiting for device to boot
[82252.238154] Bluetooth: hci0: Device booted in 11754 usecs
[82252.238165] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[82252.241173] Bluetooth: hci0: Applying Intel DDC parameters completed
[82326.333382] Lockdown: systemd-logind: hibernation is restricted; see man
kernel_lockdown.7
[82358.148284] debugfs: File 'le_min_key_size' in directory 'hci0' already
present!
[82358.148303] debugfs: File 'le_max_key_size' in directory 'hci0' already

present!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

mirh ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from mirh ([email protected]) ---
Of course you are seeing that error if you use 5.4 and the fix landed in 5.6 with no backports?

If any the true shame is that nobody has yet addressed the same problem with "force_bredr_smp"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

--- Comment #12 from mirh ([email protected]) ---
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=82493316507a720b6faa2ec23971c0ca89c6dcb0
("Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr")

Guess we'll have to wait 5.11 if any kind of backporting is unthinkable.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#9 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=204765

Sergey Ivanov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #13 from Sergey Ivanov ([email protected]) --- Hi all. I don't see why only 5.11 fixes this. As for me I see such an issue after BT was off and there was the sleep of laptop.

debugfs: File 'force_bredr_smp' in directory 'hci0' already present!

uname -a
Linux ice-ubuntu 5.8.0-34-generic #37-Ubuntu SMP Thu Dec 10 18:01:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.