LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Bluetooth not working in Debian11 fresh install (https://www.linuxquestions.org/questions/debian-26/bluetooth-not-working-in-debian11-fresh-install-4175708476/)

rng 02-23-2022 12:34 PM

Bluetooth not working in Debian11 fresh install
 
I have recently installed Debian 11 with xfce desktop and it is otherwise working quite well. However, the bluetooth is not working properly.

I have installed "bluetooth" meta-package and 'blueman' gui packages as mentioned here.

The menu icon on system tray and gui appears properly. My bluetooth earphones/headset are also recognized and connected. However, there is no sound in the earphones.

Using same installation procedures I was able to get proper sound in earphones in Debian10 installation that I have on a different partition on the same desktop.

Where could be the problem and how can it be solved?

evo2 02-23-2022 06:49 PM

Hi,
Quote:

Originally Posted by rng (Post 6332591)
I have recently installed Debian 11 with xfce desktop and it is otherwise working quite well. However, the bluetooth is not working properly.

I have installed "bluetooth" meta-package and 'blueman' gui packages as mentioned here.

The menu icon on system tray and gui appears properly. My bluetooth earphones/headset are also recognized and connected. However, there is no sound in the earphones.

Using same installation procedures I was able to get proper sound in earphones in Debian10 installation that I have on a different partition on the same desktop.

Where could be the problem and how can it be solved?

You may need to set the audio sink in pulse audio. Run pavucontrol from the command line (or "Pulse Audio Volume Control" from a gui launcher) then make sure you can see and select the bluetooth earphones/headset in the "Output Devices" tab.

Evo2.

Timothy Miller 02-23-2022 08:25 PM

Did you install the pusleaudio-module-bluetooth package? This package is required for bluetooth audio devices to work on Debian.

rng 02-23-2022 11:09 PM

Quote:

Originally Posted by Timothy Miller (Post 6332699)
Did you install the pusleaudio-module-bluetooth package? This package is required for bluetooth audio devices to work on Debian.

Yes, it is installed.

rng 02-23-2022 11:13 PM

Quote:

Originally Posted by evo2 (Post 6332683)
Hi,
You may need to set the audio sink in pulse audio. Run pavucontrol from the command line (or "Pulse Audio Volume Control" from a gui launcher) then make sure you can see and select the bluetooth earphones/headset in the "Output Devices" tab.
Evo2.

pavucontrol gui is showing the headset. On blueman gui also, the headset is seen. However, on right clicking it there is no option of 'audio sink'. 'Connect' option is there but on clicking it keeps trying and then ends with "Connection failed: connection timed out" error.

Command 'sudo dmesg' shows following output (on attaching bluetooth dongle and on trying to connect to earphones):

Code:

[ 1319.324874] usb 1-1.2.3: new full-speed USB device number 6 using ehci-pci
[ 1319.494511] usb 1-1.2.3: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice= 1.00
[ 1319.494516] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1319.494518] usb 1-1.2.3: Product: Bluetooth V2.0 Dongle
[ 1319.494519] usb 1-1.2.3: Manufacturer: Bluetooth v2.0
[ 1319.496399] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 1487.909758] Bluetooth: hci0: command 0x0408 tx timeout
[ 2032.681568] Bluetooth: hci0: command 0x0408 tx timeout
[ 2073.641870] Bluetooth: hci0: command 0x0408 tx timeout

I tried with another set of bluetooth earphones. It pairs and connects but there is no sound on running videos. (Sound does come from attached speaker). The `sudo dmesg` command here shows:

Code:

[ 2289.462587] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2289.462595] Bluetooth: HIDP socket layer initialized
[ 2289.491118] input: A6S (AVRCP) as /devices/virtual/input/input13
[ 2289.496555] hid-generic 0005:05D6:000A.0002: unknown main item tag 0x0
[ 2289.496664] input: A6S Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/bluetooth/hci0/hci0:12/0005:05D6:000A.0002/input/input14
[ 2289.496786] hid-generic 0005:05D6:000A.0002: input,hidraw1: BLUETOOTH HID v2.40 Device [A6S] on 00:1b:10:00:2a:ec
[ 2360.316202] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva8_fuc084 (-2)
[ 2360.316207] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva8_fuc084 failed with error -2
[ 2360.316214] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva8_fuc084d (-2)
[ 2360.316215] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva8_fuc084d failed with error -2
[ 2360.316217] nouveau 0000:01:00.0: msvld: unable to load firmware data
[ 2360.316218] nouveau 0000:01:00.0: msvld: init failed, -19

Is the problem due to nouveau driver? The desktop has an old Nvidia card attached which is giving some problem (display is all right but computer does not wake up on suspend. See here ).

evo2 02-24-2022 12:01 AM

Hi,
Quote:

Originally Posted by rng (Post 6332728)
pavucontrol gui is showing the headset.

Did you set the "Port:" dropdown menu to use the head set on the "Output Devices" tab?

Quote:

Originally Posted by rng (Post 6332728)
On blueman gui also, the headset is seen. However, on right clicking it there is no option of 'audio sink'. 'Connect' option is there but on clicking it keeps trying and then ends with "Connection failed: connection timed out" error.

My use of the word "sink" was just short hand for what I describe above in pavucontrol. I guess "blueman gui" is blueman-manager. In that, you should be able to right click on the the line for your headset and select connect. If that is what you did, and it failed then I don't understand how you can be seeing the headset in pavucontrol.
Quote:

Originally Posted by rng (Post 6332728)
Command 'sudo dmesg' shows following output (on attaching bluetooth dongle and on trying to connect to earphones):

Code:

[ 1319.324874] usb 1-1.2.3: new full-speed USB device number 6 using ehci-pci
[ 1319.494511] usb 1-1.2.3: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice= 1.00
[ 1319.494516] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1319.494518] usb 1-1.2.3: Product: Bluetooth V2.0 Dongle
[ 1319.494519] usb 1-1.2.3: Manufacturer: Bluetooth v2.0
[ 1319.496399] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds...
[ 1487.909758] Bluetooth: hci0: command 0x0408 tx timeout
[ 2032.681568] Bluetooth: hci0: command 0x0408 tx timeout
[ 2073.641870] Bluetooth: hci0: command 0x0408 tx timeout


Hmm, those timeout lines don't look so good.
Quote:

Originally Posted by rng (Post 6332728)
I tried with another set of bluetooth earphones. It pairs and connects but there is no sound on running videos. (Sound does come from attached speaker).

That just sounds like you need to select them in the pavucontrol "Output Devices" tab as described above.
Quote:

Originally Posted by rng (Post 6332728)
The `sudo dmesg` command here shows:

Code:

[ 2289.462587] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2289.462595] Bluetooth: HIDP socket layer initialized
[ 2289.491118] input: A6S (AVRCP) as /devices/virtual/input/input13
[ 2289.496555] hid-generic 0005:05D6:000A.0002: unknown main item tag 0x0
[ 2289.496664] input: A6S Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/bluetooth/hci0/hci0:12/0005:05D6:000A.0002/input/input14
[ 2289.496786] hid-generic 0005:05D6:000A.0002: input,hidraw1: BLUETOOTH HID v2.40 Device [A6S] on 00:1b:10:00:2a:ec
[ 2360.316202] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva8_fuc084 (-2)
[ 2360.316207] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva8_fuc084 failed with error -2
[ 2360.316214] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva8_fuc084d (-2)
[ 2360.316215] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva8_fuc084d failed with error -2
[ 2360.316217] nouveau 0000:01:00.0: msvld: unable to load firmware data
[ 2360.316218] nouveau 0000:01:00.0: msvld: init failed, -19

Is the problem due to nouveau driver? The desktop has an old Nvidia card attached which is giving some problem (display is all right but computer does not wake up on suspend. See here ).

[/quote]
Hmm, not sure why the nvidia card would interfere.

Evo2.

rng 02-25-2022 10:13 AM

Quote:

Originally Posted by evo2 (Post 6332738)
Hi,

Did you set the "Port:" dropdown menu to use the head set on the "Output Devices" tab?


My use of the word "sink" was just short hand for what I describe above in pavucontrol. I guess "blueman gui" is blueman-manager. In that, you should be able to right click on the the line for your headset and select connect. If that is what you did, and it failed then I don't understand how you can be seeing the headset in pavucontrol.

Hmm, those timeout lines don't look so good.

That just sounds like you need to select them in the pavucontrol "Output Devices" tab as described above.


Hmm, not sure why the nvidia card would interfere.

Evo2.

Even on starting, Pavucontrol shows "headphones" to be selected in 'Port:'.
This is there even when bluetooth headphones are away and disconnected.


All times are GMT -5. The time now is 11:14 AM.