The officially official Devuan Forum!

You are not logged in.

#1 2024-04-06 16:44:22

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Bluetooth issue with Devuan 5 Daedalus

Hello everyone, I experiencing some problems with bluetooth under Devuan 5.

I have the following bluetooth usb dongle:

Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

It worked right in Devuan 4, and still working right under Ubuntu 22.04, just to excluding a falty hardware...

Trying to connect every device throug Blueman applet, ending in the following error message:

Connection failed: br-connection-page-timeout

Pulseaudio and the pulseaudio-bluetooth module are installed as well.

What can it be?

Offline

#2 2024-04-06 21:43:16

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,132  

Re: Bluetooth issue with Devuan 5 Daedalus

By one web search and a little bit of reading I found
https://forums.linuxmint.com/viewtopic. … 4#p2333570

Though I suppose you've also done such trivial a search, found that posting, tried that already and failed?

As far as I understand that description, the error is that the device gets setup with wrong audio profile. And then that the "Bluetooth connection fiddling GUI" only offers a change to that while connection is happening (before it fails).

Which audio proile is it set up with?
Is that a profile that the dongle has?
Have you tried using other profile(s)?

Offline

#3 2024-04-08 21:32:07

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Re: Bluetooth issue with Devuan 5 Daedalus

Hi ralph.ronnquist, thanks for your reply.

I had seen that post already, I don't know what kind of gui is mentioned there, but there's no "audio profile" in blueman-manager.

The connection sometimes starts, but a timeout occurs right after, as per image.
I also tried to remove the paired device and pairing again, but it doesn't pair anymore...
image40.png

I also tried removing and reloading btusb module, but without success...

Offline

#4 2024-04-08 22:33:02

soren
Member
Registered: 2023-04-30
Posts: 87  

Re: Bluetooth issue with Devuan 5 Daedalus

I had a similar issue with a xbox bluetooth gamepad and had to configure the main config file like so to keep a stable bluetooth connection.
Do note that below are my edits for the xbox gamepad and I have only copied in those edits not the entire main.conf file. It might be worth comparing the file /etc/bluetooth/main.conf from ubuntu for your bluetooth headphones and seeing if there are any differences.

# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x000100

# 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
FastConnectable = true

# - off: Local privacy disabled.
# - limited-device: Apply Limited Discoverable Mode to advertising, which
# follows the same policy as to BR/EDR that publishes the identity address when
# discoverable, and Device Privacy Mode for scanning.
#
# Defaults to "off"
#Privacy = off
Privacy = device

# Specify the policy to the JUST-WORKS repairing initiated by peer
# Possible values: "never", "confirm", "always"
# Defaults to "never"
#JustWorksRepairing = never
JustWorksRepairing = always

Offline

#5 2024-04-08 22:49:21

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,132  

Re: Bluetooth issue with Devuan 5 Daedalus

From that display it appears the headset is paired (and I assume you've marked it trusted). If it's paired, you shuld be able to tickle the "Info" option of the right-click menu, which should bring up a window of this-and-that about that headset including some few "UUIDs" for the audio profiles that it implements (eg "Headset", "Audio Sink" etc).

A connection requires that the computer runs one or more "audio servers" that registers to "bluez" as a handler for some profiles. As you already know pulseaudio has a bluetooth "module" to install to make the pulsaudio process such a server.

I haven't used pulseaudio for many years but if I remember it right, in addition to installing packages I also needed to fiddle with some of its configuration files for the module loading to happen. Afair, there are different fiddlings depending on whether pulseaudio is run as root or as non-root user. It's comprised of both the "registering" of the module to pulseaudio's module register file(s) and then some "authorization" hands-on to its runtime configuration files.

Offline

#6 2024-04-09 00:46:19

soren
Member
Registered: 2023-04-30
Posts: 87  

Re: Bluetooth issue with Devuan 5 Daedalus

Ralph i wonder if it is as simple as having this MultiProfile = multiple in the /etc/bluetooth/main.conf

Perhaps ubuntu ships with the multiple profile support and debian does not?

# Enables Multi Profile Specification support. This allows to specify if
# system supports only Multiple Profiles Single Device (MPSD) configuration
# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
# Devices (MPMD) configurations.
# Possible values: "off", "single", "multiple"
#MultiProfile = off

Offline

#7 2024-04-09 05:24:09

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,132  

Re: Bluetooth issue with Devuan 5 Daedalus

Could be. But I think the OP issue is at the "audio server" end rather than the device end. At least that's how I remember it although I don't remember the details.

Offline

#8 2024-04-09 20:58:52

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Re: Bluetooth issue with Devuan 5 Daedalus

Hi soren and ralph.ronnquist,

I tried the suggested configuration without success...
I also compared a working ubuntu conf with my current local one, they are pretty the same...

Anyway, I also tried this earphones on a ubuntu machine (22.04), upgraded recently, and encountered the same error.
I fixed the issue by removing and rediscovering the device trough blueman, but doing the same hasn't go well on Devuan...

Also purging and reinstalling all the blueman and bluetooth packages on Devuan hasn't resolved the issue, just to check that the problem wasn't an old configuration somewhere.

I'm out of ideas...

Offline

#9 2024-04-09 23:35:47

soren
Member
Registered: 2023-04-30
Posts: 87  

Re: Bluetooth issue with Devuan 5 Daedalus

Do you get audio on other devices, like a speaker or plug in earphones if you have them?

Offline

#10 2024-04-10 21:53:01

Pix3l
Member
Registered: 2019-03-25
Posts: 11  

Re: Bluetooth issue with Devuan 5 Daedalus

Yes, audio works fine through my sound card, wired speakers works and wired earphones too.

Bluetooth is the only problem, it doesn't connect to any of my devices, that worked perfectly in the previous Devuan.

Offline

Board footer