The officially official Devuan Forum!

You are not logged in.

#1 2020-09-14 17:07:22

Danielsan
Member
Registered: 2020-07-14
Posts: 41  

[SOLVED] Bluetooth not working

Hi folks,

I just noticed that wireless connections, wifi and bluetooth, don't work. The wifi was fixed just reinstalling the iwlwifi-firmware package but the bluetooth is still not working and I don't understand why... Bluetooth works always fine with this laptop with Debian Testing and POP!_os as well, hence I am quite surprised.

Here some logs:

dmesg | grep iwl
[   13.601382] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[   13.630348] iwlwifi 0000:04:00.0: firmware: direct-loading firmware iwlwifi-8000C-36.ucode
[   13.630358] iwlwifi 0000:04:00.0: Found debug destination: EXTERNAL_DRAM
[   13.630359] iwlwifi 0000:04:00.0: Found debug configuration: 0
[   13.630665] iwlwifi 0000:04:00.0: loaded firmware version 36.79ff3ccf.0 8000C-36.ucode op_mode iwlmvm
[   13.630676] iwlwifi 0000:04:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[   13.630738] iwlwifi 0000:04:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[   13.764989] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[   13.772259] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[   13.772378] iwlwifi 0000:04:00.0: Allocated 0x00400000 bytes for firmware monitor.
[   13.848856] iwlwifi 0000:04:00.0: base HW address: a4:34:d9:64:f8:ca
[   13.922880] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   19.537161] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[   19.773408] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[   19.861057] iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
sudo dmesg | grep hci0
[   23.633828] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   23.638840] Bluetooth: hci0: Device revision is 5
[   23.638841] Bluetooth: hci0: Secure boot is enabled
[   23.638841] Bluetooth: hci0: OTP lock is enabled
[   23.638842] Bluetooth: hci0: API lock is enabled
[   23.638842] Bluetooth: hci0: Debug lock is disabled
[   23.638843] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   23.640553] bluetooth hci0: firmware: direct-loading firmware intel/ibt-11-5.sfi
[   23.640555] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   23.671732] Bluetooth: hci0: Failed to send firmware data (-38)
[   23.671799] Bluetooth: hci0: Intel reset sent to retry FW download
[   88.771269] Bluetooth: hci0: command 0xfc05 tx timeout
[   88.771271] Bluetooth: hci0: Reading Intel version information failed (-110)
[   88.771273] Bluetooth: hci0: Intel Read version failed (-110)
[   88.771345] Bluetooth: hci0: Intel reset sent to retry FW download

RFKILL sees the the hardware:

sudo rfkill
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked 

But HCITOOL does not:

hcitool dev
Devices:

hcitool scan
Device is not available: No such device 

The Gentoo wiki suggests this but it didn't work:

sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110) 

I have not clues.... sad

Last edited by Danielsan (2020-09-16 04:12:37)

Offline

#2 2020-09-16 05:31:50

Danielsan
Member
Registered: 2020-07-14
Posts: 41  

Re: [SOLVED] Bluetooth not working

Sorry I had a long reply but I messed up with Firefox and lost everything...

I used the bluetoothctl command to activate the discoverability of the bluetooth and then I was able to connect to my headphone with the Blueman applet.

1. bluetoothctl
2. discovarable on
3. scan on (to test it)
4. quit

That's it...

Offline

#3 2020-09-19 14:06:28

Danielsan
Member
Registered: 2020-07-14
Posts: 41  

Re: [SOLVED] Bluetooth not working

I missed some steps when I messed up Firefox, I can't get working the bluetooth again... /(ToT)\

Offline

#4 2020-09-19 19:35:04

Vernon
Member
Registered: 2020-07-19
Posts: 89  

Re: [SOLVED] Bluetooth not working

Danielsan wrote:

Sorry I had a long reply but I messed up with Firefox and lost everything...

I used the bluetoothctl command to activate the discoverability of the bluetooth and then I was able to connect to my headphone with the Blueman applet.

1. bluetoothctl
2. discovarable on
3. scan on (to test it)
4. quit

That's it...

Your steps are incomplete. First, you want to make yourself root by issuing the su command.
The bluetoothctl list command should give you something like the following output.

Controller 5C:F3:70:9B:90:CB BlueZ 5.50 [default]

If you see something like the above, then you are good to go. Issue the command bluetoothctl. While in bluetoothctl, issue the following commands.

  • scan on

    • Now put you Bluetooth headphone in pairing mode

    • After a few seconds, you should see something like
      [NEW] Device 50:BC:96:9D:DE:61 MyHeadphoneBrand

    • Copy the Bluetooth MAC address. For this example it is 50:BC:96:9D:DE:61 but your Bluetooth headphone MAC address will be different

  • pair xx:xx:xx:xx:xx. Substitute your Bluetooth headphone MAC address that you obtained in the previous step for xx:xx:xx:xx:xx.

  • connect xx:xx:xx:xx:xx. Substitute your Bluetooth headphone MAC address that you used in the previous step for xx:xx:xx:xx:xx.

  • trust xx:xx:xx:xx:xx. Substitute your Bluetooth headphone MAC address that you used in the previous step for xx:xx:xx:xx:xx.

  • scan off

  • exit

Now, your Bluetooth headphone will automatically connect to your Devuan box every time you power on your Bluetooth headphone. No need to use any applet.

Last edited by Vernon (2020-09-20 13:13:31)

Offline

#5 2020-09-30 10:35:01

Danielsan
Member
Registered: 2020-07-14
Posts: 41  

Re: [SOLVED] Bluetooth not working

I had just found the workaround:

sudo rmmod btusb
sudo modprobe btusb
sudo service bluetooth restart

It turned on my bluetooth controller and I could use my bt hearphone.

Offline

Board footer