You are not logged in.

#1 2016-12-12 14:17:18

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Erratic bluetooth on an Ideapad Y510P

I can't pinpoint the cause of the problem, because every time I reboot something different happens. Sometimes Bluetooth works perfectly and I can connect my mouse and headphones, other times I can't even power on the adapter. These cycles happen seemingly randomly after rebooting -- so, for instance, right now I have no bluetooth at all, but maybe after 5 reboots in a row it will work again...

I tried the latest 4.8.13 kernel and the LTS with similar results.

lsusb

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0
Bus 003 Device 003: ID 2717:ff60  
Bus 003 Device 002: ID 174f:1474 Syntek 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

rfkill list

0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

systemctl status bluetooth.service (when bluetooth works, there's usually some error messages here about error setting mode? I'll reboot a couple times and check for it

● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor pr
   Active: active (running) since Mon 2016-12-12 15:05:36 CET; 8min ago
     Docs: man:bluetoothd(8)
 Main PID: 437 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─437 /usr/lib/bluetooth/bluetoothd

dez 12 15:05:35 koi systemd[1]: Starting Bluetooth service...
dez 12 15:05:36 koi bluetoothd[437]: Bluetooth daemon 5.43
dez 12 15:05:36 koi systemd[1]: Started Bluetooth service.
dez 12 15:05:36 koi bluetoothd[437]: Starting SDP server
dez 12 15:05:36 koi bluetoothd[437]: Bluetooth management interface 1.13 initial

after rebooting (still no bluetooth):

● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor pr
   Active: active (running) since Mon 2016-12-12 15:18:11 CET; 1min 58s ago
     Docs: man:bluetoothd(8)
 Main PID: 425 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─425 /usr/lib/bluetooth/bluetoothd

dez 12 15:18:11 koi systemd[1]: Started Bluetooth service.
dez 12 15:18:12 koi bluetoothd[425]: Starting SDP server
dez 12 15:18:12 koi bluetoothd[425]: Bluetooth management interface 1.13 initial
dez 12 15:18:12 koi bluetoothd[425]: Failed to obtain handles for "Service Chang
dez 12 15:18:12 koi bluetoothd[425]: Sap driver initialization failed.
dez 12 15:18:12 koi bluetoothd[425]: sap-server: Operation not permitted (1)
dez 12 15:18:24 koi bluetoothd[425]: Endpoint registered: sender=:1.34 path=/Med
dez 12 15:18:24 koi bluetoothd[425]: Endpoint registered: sender=:1.34 path=/Med
dez 12 15:18:49 koi bluetoothd[425]: Failed to set mode: Failed (0x03)
dez 12 15:19:09 koi bluetoothd[425]: Failed to set mode: Failed (0x03)

bluetoothctl (usually power on throws a message about bluez not being ready)

[bluetooth]# nnect to bluetoothd...
[bluetooth]# power on
No default controller available

after rebooting:

[NEW] Controller 28:E3:47:B6:2D:5E koi [default]
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed

sometimes some error messages show up in dmesg

[   39.795604] Bluetooth: hci0 command 0x2002 tx timeout
[   41.929016] Bluetooth: hci0 command 0x2003 tx timeout
[   44.062474] Bluetooth: hci0 command 0x201c tx timeout
[   46.195877] Bluetooth: hci0 command tx timeout

In the meatime I'll reboot and check for those other error messages to post here. Mind you, I'm not doing anything else to the system besides power on, checking for bluetooth and rebooting (check above)
If I reboot again either the errors will be the same, differerent or bluetooth magically works. I would prefer that it works all the time.

Last edited by el mariachi (2016-12-12 14:53:32)

Offline

#2 2016-12-14 11:31:54

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Erratic bluetooth on an Ideapad Y510P

I would try blacklisting ath3k and btusb, then reboot and manually load the modules to see if it works then as a few years ago there was a timing issue with the USB bus and the firmware load that caused similar issues with bluetooth only working erratically

Offline

#3 2016-12-14 15:06:16

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: Erratic bluetooth on an Ideapad Y510P

jeremy31 wrote:

I would try blacklisting ath3k and btusb, then reboot and manually load the modules to see if it works then as a few years ago there was a timing issue with the USB bus and the firmware load that caused similar issues with bluetooth only working erratically

After 3 reboots and suspend cycles it seems to work. Thanks! Should this be reported as a bug? Not sure where to post it.

False alarm... I powered-off the laptop, brought it home and now it's the same as before. Power on, modprobe btusb, start bluetooth.service and nothing. Bluetoothctl says "no default controller available".

Last edited by el mariachi (2016-12-14 17:14:34)

Offline

Board footer

Powered by FluxBB