Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Bluetooth does not work after suspend and resume
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FroL_Onn
n00b
n00b


Joined: 20 Oct 2013
Posts: 55

PostPosted: Thu Apr 07, 2016 11:49 am    Post subject: [SOLVED] Bluetooth does not work after suspend and resume Reply with quote

I have
Bus 002 Device 005: ID 03f0:311d Hewlett-Packard Atheros AR9285 Malbec Bluetooth Adapter
on my HP probook.

For some reason after suspend and resume bluetooth is turned off and nothing helps me turning it on. Neither
Code:
systemd restart bluetooth
, nor
Code:
modprob -r btusb; modprob btusb
does the job...

Here is my kernel .config.
I use Gnome 3.18.
Here is my emerge --info

Have anybody experienced this problem too?

EDIT:

OK. It turned out, installing linux firmware fixed this. Not 100% sure as I've also rebuilt the kernel a bit, but after finally after installing linux-firmware package and several days of flawless testing I think this is it!


Last edited by FroL_Onn on Tue Apr 12, 2016 3:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
FroL_Onn
n00b
n00b


Joined: 20 Oct 2013
Posts: 55

PostPosted: Thu Apr 07, 2016 1:52 pm    Post subject: Reply with quote

I am confused.

Could installing linux-firmware package have solved this issue?
I have tried suspending and resuming 3 times now and everything works great.
Back to top
View user's profile Send private message
Not now, John!
n00b
n00b


Joined: 16 Jul 2004
Posts: 3

PostPosted: Wed Aug 31, 2016 6:20 pm    Post subject: Reply with quote

In my case (Toshiba Satellite L50-A-1CD) unloading kernel module btusb and loading it again restored bluetooth device.
To make it permanent I created /etc/pm/sleep.d/50bluetooth:
Code:
#!/bin/bash
case $1 in
   hibernate)
      modprobe -r btusb
      ;;
   suspend)
      modprobe -r btusb
      ;;
   thaw)
      modprobe btusb
      ;;
   resume)
      modprobe btusb
      ;;
   *)
      logger -t "TEST" "Somebody is calling me totally wrong."
      ;;
esac
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 517

PostPosted: Thu Sep 01, 2016 11:32 am    Post subject: Reply with quote

Are you using blueman?

https://github.com/blueman-project/blueman/issues/571
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum