On my machine there seems to be a problem with systemd resetting USB bluetooth all the time. It looks to be connected to laptop-mode-settings and has only become apparant this last week.
Using "systemctl disable bluetooth" doesn't help in any way. Anybody got any pointers as my log files are getting biiiig.
Here's the output of :tail -f /var/log/syslog":
Oct 16 07:56:37 localhost URfkill[808]: killswitch state: KILLSWITCH_STATE_UNBLOCKED new_state: KILLSWITCH_STATE_UNBLOCKED``
Oct 16 07:56:37 localhost URfkill[808]: Setting device 16 (BLUETOOTH) to unblock``
Oct 16 07:56:37 localhost kernel: [ 178.867099] usb 2-7: New USB device found, idVendor=8087, idProduct=07dc, bcdDevice= 0.01``
Oct 16 07:56:37 localhost kernel: [ 178.867101] usb 2-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0``
Oct 16 07:56:37 localhost kernel: [ 178.870059] usb 2-7: USB disconnect, device number 18``
Oct 16 07:56:37 localhost URfkill[808]: device_changed_cb: tpacpi_bluetooth_sw``
Oct 16 07:56:37 localhost URfkill[808]: killswitch state: KILLSWITCH_STATE_UNBLOCKED new_state: KILLSWITCH_STATE_SOFT_BLOCKED``
Oct 16 07:56:37 localhost URfkill[808]: device_changed_cb: hci0``
Oct 16 07:56:37 localhost URfkill[808]: killswitch state: KILLSWITCH_STATE_SOFT_BLOCKED new_state: KILLSWITCH_STATE_SOFT_BLOCKED``
Oct 16 07:56:37 localhost URfkill[808]: device_changed_cb: hci0``
Oct 16 07:56:37 localhost URfkill[808]: killswitch state: KILLSWITCH_STATE_SOFT_BLOCKED new_state: KILLSWITCH_STATE_SOFT_BLOCKED``
Oct 16 07:56:39 localhost kernel: [ 180.875207] Bluetooth: hci0: command 0x0c03 tx timeout
The output is continous and slowly but surelyy drives up CPU usage.
Here's what "top" says:
Seems to solve this CPU hogging but I don't know what's causing it ...... I suspect waking up from suspend scripts.
Update the update
Connecting the charger is what causes this.
Unplugging makes all activity go away including the bluetooth activation.
This looks like a wrong setting in cpu-freq (it also resembles a bug I encountered in kernel 4.0.19-05) ... it could be because I used E2x to manipulate power-settings can anybody see if they have the same issues?
"only if the charger is connected" this sounds to me that there can be only a possible reason: some kind of daemon that "detects AC" is triggering something, and thus, it can be probably laptop-mode daemon
So try to disable it to see if this is the cause of the issue, if so, maybe the bluetooth settings for laptop-mode should be disabled, if not, there should be another daemon that "does something" with bluetooth when AC
Hmm, turning off bluetooth and acm97 (I don't need them, they're both disabled) by unchecking them in the "laptop-mode configuration tool" seems to keep everything quite for now.
Although there is a pop-up that some settings couldn't be saved.....very unclear but it looks to have done something and CONTROL_Bluetooth is set to 0.
Rechecking ac97 indeed resets it its value to 1 despite the pop-up..
Laptop-mode is quite the syslog filler at any rate.