[SOLVED] Troubleshooting Bluetooth problem led me to lose audio device as well

kelltech

Member
Joined
Aug 15, 2021
Messages
41
Reaction score
15
Credits
344
I really noobed this one up.

I really needed to get my headset working for online meetings but the mic would not work for me. I tried following instructions for changing from pulseaudio to pipewire, which also did not work for me. So then I thought why not change back to pulseaudio and start the bluetooth troubleshooting all over.

Now I don't have bluetooth connecting but get the error
Code:
failed br-connection-canceled
and have no output at all and
Code:
pulseaudio -k
shows a popup saying
Code:
no audio device
.

I've painted myself into a corner here and need to kindly ask for any advice on restoring audio and hopefully getting a working headset if it's possible.
Any help here will be greatly appreciated!

Running Manjaro KDE, here's an
Code:
inxi -Fxz
:

Code:
inxi -Fxz
System:
  Kernel: 5.4.164-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    Desktop: KDE Plasma 5.23.4 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Notebook product: N85_N87,HJ,HJ1,HK1 v: N/A
    serial: <superuser required>
  Mobo: Notebook model: N85_N87,HJ,HJ1,HK1 serial: <superuser required>
    UEFI: American Megatrends v: 1.05.22RLS1 date: 03/27/2018
Battery:
  ID-1: BAT0 charge: 28.0 Wh (100.0%) condition: 28.0/59.9 Wh (46.8%)
    volts: 12.5 min: 11.1 model: Notebook BAT status: Full
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP
    arch: Kaby Lake rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1337 high: 2871 min/max: 800/3800 cores: 1: 990 2: 900
    3: 900 4: 900 5: 944 6: 900 7: 2297 8: 2871 bogomips: 44817
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 630 vendor: CLEVO/KAPOK driver: i915 v: kernel
    bus-ID: 00:02.0
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: CLEVO/KAPOK
    driver: nvidia v: 470.86 bus-ID: 01:00.0
  Device-3: Chicony Chicony USB 2.0 Camera type: USB driver: uvcvideo
    bus-ID: 1-2:3
  Display: x11 server: X.Org 1.21.1.2 driver: loaded: modesetting,nvidia
    resolution: 1920x1080~60Hz
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.86 direct render: Yes
Audio:
  Device-1: Intel CM238 HD Audio vendor: CLEVO/KAPOK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Intel
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.4.164-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel port: d000 bus-ID: 03:00.1
  IF: enp3s0f1 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 04:00.0
  IF: wlp4s0 state: up mac: <filter>
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-3:4
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 1.14 TiB used: 603.9 GiB (51.6%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS256G1X0C-00ENX0
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
Partition:
  ID-1: / size: 202.36 GiB used: 32.27 GiB (15.9%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 2 GiB used: 288 KiB (0.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 915.89 GiB used: 571.63 GiB (62.4%) fs: ext4
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 48.0 C pch: 56.0 C mobo: N/A gpu: nvidia
    temp: 49 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 256 Uptime: 23m Memory: 15.53 GiB used: 2.82 GiB (18.2%)
  Init: systemd Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1485
  Shell: Bash v: 5.1.12 inxi: 3.3.11
 


Click the audio icon and check the devices panel and make sure you have the right audio and port selected.
 
Click the audio icon and check the devices panel and make sure you have the right audio and port selected.
That reminds me of something I forgot to share, there is no audio device to choose in the settings. Also, the dropdown for that inactive card only shows off as an option. :confused:
Screenshot_20211217_122350.png
 
Edit grub:
sudo nano /etc/default/grub

Look for:
GRUB_CMDLINE_LINUX_DEFAULT

Add this line to the end of it:
snd_hda_intel.dmic_detect=0

Rebuild grub:
sudo grub-mkconfig -o /boot/grub/grub.cfg

Then reboot.
 
Edit grub:
sudo nano /etc/default/grub

Look for:
GRUB_CMDLINE_LINUX_DEFAULT

Add this line to the end of it:
snd_hda_intel.dmic_detect=0

Rebuild grub:
sudo grub-mkconfig -o /boot/grub/grub.cfg

Then reboot.
Unfortunately there is no change. Though as a bit of just in case insurance, maybe this is why I have /home on it's own drive. :p
 
Unfortunately there is no change. Though as a bit of just in case insurance, maybe this is why I have /home on it's own drive. :p

Create this file:
/etc/modprobe.d/alsa-base.conf

Then add this line to it:
options snd-hda-intel dmic_detect=0

Then reboot.
 
Create this file:
/etc/modprobe.d/alsa-base.conf

Then add this line to it:
options snd-hda-intel dmic_detect=0

Then reboot.
I regret to reply that all is the same. Whatever I broke, I broke well it seems.
On a live boot, audio is there and on a Timeshift restore to before I made changes it remains missing.
 
Remove everything involving your audio drivers and their configuration files, and reinstall them.
 
Try running these commands in order and reboot after:

systemctl --user disable --now pipewire.socket pipewire.service && systemctl --user mask pipewire.socket

sudo pacman -S manjaro-pulse pulseaudio pulseaudio-alsa pulseaudi
o-equalizer pulseaudio-jack pulseaudio-lirc pulseaudio-rtp pulseaudio-zeroconf pulseaudio-bluetooth pulseaudio-ctl sol-firmware

systemctl --user unmask pulseaudio

systemctl --user --now enable pulseaudio.service pulseaudio.socket
 
I'm sorry, this is one heck of a mystery. It's still a red audio icon with an x in the system tray and no audio device to enable.
2021-12-17_16-05.png


Type alsamixer in terminal and press enter.

Then press F6 and select your sound card.
 
Success!!
Thank you very much for your patience and for your help @BoringZombie :D

I think for the headset, I'll just plug the mic in, use the headphone on bluetooth, hope it works and call it a day lol
Edit: Crap...the bluetooth is still broken. That's a different issue though. :confused:
 
Last edited:
Success!!
Thank you very much for your patience and for your help @BoringZombie :D

I think for the headset, I'll just plug the mic in, use the headphone on bluetooth, hope it works and call it a day lol
Edit: Crap...the bluetooth is still broken. That's a different issue though. :confused:
You're welcome.
 
Success!!
Thank you very much for your patience and for your help @BoringZombie :D

I think for the headset, I'll just plug the mic in, use the headphone on bluetooth, hope it works and call it a day lol
Edit: Crap...the bluetooth is still broken. That's a different issue though. :confused:
For bluetooth install these.

sudo pacman -S pulseaudio-bluetooth bluez bluez-libs
 
Tried that and rebooted, but still getting br-connection-canceled, and can't pair as a new device. Should I send this to a new thread?
pacman -S bluedevil

sudo systemctl enable bluetooth.service

sudo systemctl start bluetooth.service
 
pacman -S bluedevil

sudo systemctl enable bluetooth.service

sudo systemctl start bluetooth.service
Unfortunately, warning: bluedevil-1:5.23.4-1 is up to date -- reinstalling

But here's a clue I'm looking at:
Code:
irish@irish-sager:~$ sudo systemctl status bluetooth
[sudo] password for irish:
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2021-12-17 17:04:10 CST; 2min 38s ago
       Docs: man:bluetoothd(8)
   Main PID: 994 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19056)
     Memory: 3.4M
        CPU: 26ms
     CGroup: /system.slice/bluetooth.service
             └─994 /usr/lib/bluetooth/bluetoothd

Dec 17 17:04:10 irish-sager bluetoothd[994]: Bluetooth management interface 1.14 initialized
Dec 17 17:04:10 irish-sager bluetoothd[994]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Unknown Command (0x01)
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Dec 17 17:04:21 irish-sager bluetoothd[994]: Endpoint registered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_552
 
Edit /etc/bluetooth/main.conf

Look for this:

# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
#AutoEnable=false


Uncomment #AutoEnable=false and change false to true.

Then look for this:

# ReconnectAttempts define the number of attempts to reconnect after a link
# lost. Setting the value to 0 disables reconnecting feature.
#ReconnectAttempts=7


Uncomment #ReconnectAttempts=7

Also look for this:

# Permanently enables the Fast Connectable setting for adapters that
# support it. When enabled other devices can connect faster to us,
# however the tradeoff is increased power consumptions. This feature
# will fully work only on kernel version 4.1 and newer. Defaults to
# 'false'.
#FastConnectable = false


Uncomment #FastConnectable = false and change false to true

Then reboot.
 
Run this in terminal: rfkill list all

Paste the results here.
 

Staff online


Top