Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Bluetooth devices not reconnecting after reboot [Solved]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
littleconda
n00b
n00b
Posts: 7
Joined: Mon Nov 08, 2010 8:46 pm

Bluetooth devices not reconnecting after reboot [Solved]

  • Quote

Post by littleconda » Wed Dec 09, 2020 7:45 pm

I recently encountered an issue where my bluetooth mouse and keyboard would not automatically reconnect after a reboot. Everytime I restarted, I would have to delete the device, pair it and it would work fine till the next reboot. This happened when I upgraded to kernel 5.9x. Took me awhile to figure out the issue so I am posting this to hopefully save others some time if they encounter it.
Problems with all BLE devices on kernel 5.9+
Starting with v5.9, the kernel Bluetooth stack tries to use link-layer privacy on BLE connections. If the device works after pairing but does not survive a reboot or suspend, it is probably because of this.

To workaround this issue, open /var/lib/bluetooth/<adapter mac>/<device mac>/info, remove the following 2 lines, and restart the bluetooth service:
rc-service bluetooth restart
delete these 2 lines in /var/lib/bluetooth/<adapter mac>/<device mac>/info

Code: Select all

[IdentityResolvingKey]
Key=...
I found a small blurb about it here
https://wiki.archlinux.org/index.php/Bluetooth

Good Luck
Scott
Top
pd1986
Guru
Guru
Posts: 404
Joined: Sun Feb 19, 2012 9:38 am
Location: Paris

  • Quote

Post by pd1986 » Tue Dec 22, 2020 1:52 pm

It has bothered me for almost 2 hours. Same issue with my mouse. I tried with my phone. The phone can connect my computer but my computer cannot connect my phone. That should be because of this. Thanks for saving me.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Tue Dec 22, 2020 4:11 pm

thats a workaround. whats needed is to trust the device and when you are pairing you need to trust before you pair. This is key for devices that cannot send an authentication pin (ie mice or keyboards). SOME automatically send a number(some logitec, some microsoft) but most don't
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy