Hi Christopher,

I have a feeling that the bluetooth device can preserve state when
rebooting, unless I take out the battery for a moment. In particular, it
can lock up. I have a feeling that firmware problems can cause that.

As a crosscheck, I've confirmed that everything works on Windows.

Changing the version of linux-firmware leads to the following result:

- Bluetooth GUI does not find the bluetooth device anymore

dmesg shows

[ 3003.856473] usbcore: deregistering interface driver btusb
[ 3003.858704] Bluetooth: hci0 urb ffff8800afd83cc0 failed to resubmit (2)
[ 3003.876244] usbcore: registered new interface driver btusb
[ 3003.876290] usb 1-1.4: Direct firmware load failed with error -2
[ 3003.876299] usb 1-1.4: Falling back to user helper
[ 3003.878871] Bluetooth: can't load firmware, may not work correctly

 I've reverted back to the current firmware. Unloading and loading the btusb 
module yields the same result. Then I've power-cycled the computer including 
taking out the battery. The device is displayed again in the GUI. This is now 
the log entry when unloading and loading btusb:
 
[  339.399902] usbcore: deregistering interface driver btusb
[  339.415214] usb 1-1.4: Direct firmware load failed with error -2
[  339.415221] usb 1-1.4: Falling back to user helper
[  339.415319] usbcore: registered new interface driver btusb
[  339.416192] Bluetooth: can't load firmware, may not work correctly

This is the log message when stopping and starting bluetoothd with sudo
service bluetooth restart, does that tell you something?

Dec 29 09:52:03 herb bluetoothd[2824]: Terminating
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.67 
path=/MediaEndpoint/A2DPSink
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.57 
path=/MediaEndpoint/A2DPSink
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.67 
path=/MediaEndpoint/A2DPSource
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.57 
path=/MediaEndpoint/A2DPSource
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.67 
path=/MediaEndpoint/HFPAG
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.67 
path=/MediaEndpoint/HFPHS
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.57 
path=/MediaEndpoint/HFPAG
Dec 29 09:52:03 herb bluetoothd[2824]: Endpoint unregistered: sender=:1.57 
path=/MediaEndpoint/HFPHS
Dec 29 09:52:03 herb bluetoothd[2824]: Stopping SDP server
Dec 29 09:52:03 herb bluetoothd[2824]: Exit
Dec 29 09:52:03 herb NetworkManager[868]: <info> BT device 00:1E:A3:DA:C5:BF 
removed
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): device 
state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): cleaning 
up...
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): taking 
down device.
Dec 29 09:52:03 herb bluez: Stopping uarts
Dec 29 09:52:03 herb bluez: Stopping rfcomm
Dec 29 09:52:03 herb bluetoothd[3010]: Bluetooth daemon 4.101
Dec 29 09:52:03 herb bluetoothd[3010]: Starting SDP server
Dec 29 09:52:03 herb bluetoothd[3010]: DIS cannot start: GATT is disabled
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init deviceinfo plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init proximity plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init time plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init alert plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init thermometer plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Failed to init gatt_example plugin
Dec 29 09:52:03 herb bluetoothd[3010]: Bluetooth Management interface 
initialized
Dec 29 09:52:03 herb bluetoothd[3010]: input-headset driver probe failed for 
device 00:1E:A3:DA:C5:BF
Dec 29 09:52:03 herb bluetoothd[3010]: input-headset driver probe failed for 
device 1C:B0:94:6C:FB:99
Dec 29 09:52:03 herb bluetoothd[3010]: Adapter /org/bluez/3010/hci0 has been 
enabled
Dec 29 09:52:03 herb bluetoothd[3010]: Unknown command complete for opcode 19
Dec 29 09:52:03 herb bluetoothd[3010]: hci0: Get Connections (0x0015) failed: 
Not Powered (0x0f)
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.67 
path=/MediaEndpoint/HFPAG
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.67 
path=/MediaEndpoint/HFPHS
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.67 
path=/MediaEndpoint/A2DPSource
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.67 
path=/MediaEndpoint/A2DPSink
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.57 
path=/MediaEndpoint/HFPAG
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.57 
path=/MediaEndpoint/HFPHS
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.57 
path=/MediaEndpoint/A2DPSource
Dec 29 09:52:03 herb bluetoothd[3010]: Endpoint registered: sender=:1.57 
path=/MediaEndpoint/A2DPSink
Dec 29 09:52:03 herb NetworkManager[868]: <info> BT device Uellue 
(00:1E:A3:DA:C5:BF) added (DUN NAP)
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): new 
Bluetooth device (driver: 'bluez' ifindex: 0)
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): exported 
as /org/freedesktop/NetworkManager/Devices/4
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): device 
state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): 
deactivating device (reason 'managed') [2]
Dec 29 09:52:03 herb NetworkManager[868]: <info> (00:1E:A3:DA:C5:BF): device 
state change: unavailable -> disconnected (reason 'none') [20 30 0]

The output of sudo rfkill list:

0: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406014

Title:
  Bluetooth: can't load firmware, may not work correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406014/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to