Bluetooth Sound Not Detected

jc123

New Member
Joined
Sep 22, 2021
Messages
2
Reaction score
0
Credits
20
I have a bluetooth headset with a mic. The input sound works fine, but I'm not seeing the mic in the sound input.
FYI, I've also been unable to get my USB camera mic working.

Code:
     inxi -Fxxxrz
    System:
      Kernel: 5.11.0-36-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 
      wm: muffin 4.6.3 dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana 
      base: Ubuntu 20.04 focal 
    Machine:
      Type: Laptop System: SAMSUNG product: 900X5N v: P05AGA serial: <filter> 
      Chassis: type: 10 serial: <filter> 
      Mobo: SAMSUNG model: NP900X5N-X01US 
      v: SGL9020A0E-C01-G001-S0001+10.0.15063 serial: <filter> 
      UEFI: American Megatrends v: P05AGA.040.180306.MK date: 03/06/2018 
    Battery:
      ID-1: BAT1 charge: 51.8 Wh condition: 51.8/66.7 Wh (78%) volts: 12.6/11.5 
      model: SAMSUNG Electronics SR Real Battery type: Li-ion serial: <filter> 
      status: Full cycles: 590 
    CPU:
      Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
      arch: Amber Lake rev: 9 L2 cache: 4096 KiB 
      flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
      bogomips: 23199 
      Speed: 800 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 800 2: 800 
      3: 800 4: 800 
    Graphics:
      Device-1: Intel HD Graphics 620 vendor: Samsung Co driver: i915 v: kernel 
      bus ID: 00:02.0 chip ID: 8086:5916 
      Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Samsung Co driver: nvidia 
      v: 470.63.01 bus ID: 01:00.0 chip ID: 10de:134d 
      Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia 
      unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz, 3840x2160~60Hz 
      OpenGL: renderer: NVIDIA GeForce 940MX/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01 
      direct render: Yes 
    Audio:
      Device-1: Intel Sunrise Point-LP HD Audio vendor: Samsung Co 
      driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
      Sound Server: ALSA v: k5.11.0-36-generic 
    Network:
      Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: e000 
      bus ID: 02:00.0 chip ID: 8086:24fd 
      IF: wlp2s0 state: up mac: <filter> 
      IF-ID-1: docker0 state: down mac: <filter> 
    Drives:
      Local Storage: total: 238.47 GiB used: 80.98 GiB (34.0%) 
      ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000 
      size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: CXB70K1Q 
      scheme: GPT 
    Partition:
      ID-1: / size: 97.93 GiB used: 80.93 GiB (82.6%) fs: ext4 
      dev: /dev/nvme0n1p7 
    Sensors:
      System Temperatures: cpu: 59.0 C mobo: 59.0 C gpu: nvidia temp: 64 C 
      Fan Speeds (RPM): N/A 
    Repos:
      No active apt repos in: /etc/apt/sources.list 
      Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
      1: deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
      Active apt repos in: /etc/apt/sources.list.d/audio-recorder-ppa-focal.list 
      1: deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu focal main
      Active apt repos in: /etc/apt/sources.list.d/berglh-pulseaudio-a2dp-focal.list 
      1: deb http://ppa.launchpad.net/berglh/pulseaudio-a2dp/ubuntu focal main
      Active apt repos in: /etc/apt/sources.list.d/docker.list 
      1: deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu ulyana stable
      Active apt repos in: /etc/apt/sources.list.d/inkscape_dev-stable-1_1-focal.list 
      1: deb http://ppa.launchpad.net/inkscape.dev/stable-1.1/ubuntu focal main
      Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
      1: deb http://packages.linuxmint.com ulyana main upstream import backport romeo
      2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
      3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
      4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
      5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
      6: deb http://archive.canonical.com/ubuntu/ focal partner
      Active apt repos in: /etc/apt/sources.list.d/smoser-bluetooth-focal.list 
      1: deb http://ppa.launchpad.net/smoser/bluetooth/ubuntu focal main
    Info:
      Processes: 290 Uptime: 1h 44m Memory: 15.55 GiB used: 4.92 GiB (31.7%) 
      Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 7/9 
      Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38

bluetooth status

Code:
    sudo service bluetooth status
    ● bluetooth.service - Bluetooth service
         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
         Active: active (running) since Tue 2021-09-21 17:48:34 EDT; 1h 48min ago
           Docs: man:bluetoothd(8)
       Main PID: 878 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 18986)
         Memory: 2.0M
         CGroup: /system.slice/bluetooth.service
                 └─878 /usr/lib/bluetooth/bluetoothd
    
    Sep 21 17:48:34 jorge-900X5N systemd[1]: Starting Bluetooth service...
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Bluetooth daemon 5.53
    Sep 21 17:48:34 jorge-900X5N systemd[1]: Started Bluetooth service.
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Starting SDP server
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Bluetooth management interface 1.>
    Sep 21 17:48:42 jorge-900X5N bluetoothd[878]: Endpoint registered: sender=:1.68>
    Sep 21 17:48:42 jorge-900X5N bluetoothd[878]: Endpoint registered: sender=:1.68>
    Sep 21 19:12:03 jorge-900X5N bluetoothd[878]: /org/bluez/hci0/dev_CC_98_8B_B7_7>
    Sep 21 19:30:11 jorge-900X5N bluetoothd[878]: /org/bluez/hci0/dev_CC_98_8B_B7_7>
    lines 1-20/20 (END)...skipping...
    ● bluetooth.service - Bluetooth service
         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
         Active: active (running) since Tue 2021-09-21 17:48:34 EDT; 1h 48min ago
           Docs: man:bluetoothd(8)
       Main PID: 878 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 18986)
         Memory: 2.0M
         CGroup: /system.slice/bluetooth.service
                 └─878 /usr/lib/bluetooth/bluetoothd
    
    Sep 21 17:48:34 jorge-900X5N systemd[1]: Starting Bluetooth service...
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Bluetooth daemon 5.53
    Sep 21 17:48:34 jorge-900X5N systemd[1]: Started Bluetooth service.
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Starting SDP server
    Sep 21 17:48:34 jorge-900X5N bluetoothd[878]: Bluetooth management interface 1.>
    Sep 21 17:48:42 jorge-900X5N bluetoothd[878]: Endpoint registered: sender=:1.68>
    Sep 21 17:48:42 jorge-900X5N bluetoothd[878]: Endpoint registered: sender=:1.68>
    Sep 21 19:12:03 jorge-900X5N bluetoothd[878]: /org/bluez/hci0/dev_CC_98_8B_B7_7>
    Sep 21 19:30:11 jorge-900X5N bluetoothd[878]: /org/bluez/hci0/dev_CC_98_8B_B7_7>
    ~
    ~

rfkill

Code:
    rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
 


You cannot use a microphone unless our headset and adapter were capable to be paired simultaneously on both HSP, and A2DP protocol, or the application switches from A2DP to HSP on demand.

Pulseaudio v.11.0 and later it's possible to automatically switch the profile whenever microphone access is requested by the application, but it's disabled by default. Hence your microphone does not work unless you switch it manually which is a pain.

Find load-module module-bluetooth-policy line in /etc/pulse/default.pa

Change it to load-module module-bluetooth-policy auto_switch=2

Now pulseaudio will switch the device profile to HSP whenever microphone access is requested and change it back to A2DP after stream is closed.

You need to reload pulseaudio module after this for the changes to take effect:

pulseaudio -k
pulseaudio -D

you may have to reset the Pulseaudio configs and restart the Pulseaudio module by if the above fails

mv ~/.config/pulse/ ~/.config/pulse.old
systemctl --user restart pulseaudio
 
Last edited by a moderator:

Members online


Latest posts

Top