bluetooth speakers - RESOLVED

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

That did the trick (at least, blueman says it did) but pulse isn't offering it as an output, and vlc can't see it either.

Restarting the pulseaudio service didn't change anything.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: bluetooth speakers

Post by gapan »

Right click on it in blueman and set it as an "audio destination" (again, that might not be the correct term in english)
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

Ah, sorry, I missed that. It's "audio sink" in English, by the way, which makes a lot less sense. But this time, blueman says "connection failed: DbusFailedError: Protocol not available".
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: bluetooth speakers

Post by gapan »

Can you try it in xfce? It might be some service is not starting.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

I'm already in xfce because that seemed easier than seting up one of those trays in ratpoison.

Everywhere I look it says to install "pulseaudio-bluetooth", but I assume bluetooth support is now the default anyway.

I'm just trying this:

Code: Select all

mimosa[~]$ cat /etc/bluetooth/audio.conf
[General]
Enable=Source,Sink,Media,Socket
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

No good. For what it's worth:

Code: Select all

mimosa[~]$ service list
acpid (The acpid service) : [on]
alsa (The Advanced Linux Sound Architecture) : [on]
alsa-oss (The alsa-oss service) : [off]
autofs (The autofs service) : [off]
avahidaemon (Avahi mDNS/DNS-SD Daemon) : [on]
bind (The BIND (Domain Name System) server) : [off]
bluetooth (The bluetooth service) : [on]
cgmanager (The cgmanager service) : [off]
cgproxy (The cgproxy service) : [off]
cgred (The cgred service) : [off]
consolekit (The consolekit service) : [on]
cpufreq (The cpufreq service) : [on]
cups (The CUPS print spooler/server) : [off]
cups-browsed (The cups-browsed service) : [off]
dnsmasq (The dnsmasq service) : [off]
fuse (The fuse service) : [on]
heimdal (The heimdal service) : [off]
inetd (The BSD Inetd daemon) : [off]
ip_forward (Activate IP packet forwarding) : [off]
libvirt (The libvirt service) : [off]
loop (The loop service) : [on]
messagebus (The DBUS system) : [on]
mysqld (The MySQL database server) : [off]
networkmanager (The networkmanager service) : [on]
nfsd (The Network File System daemon) : [off]
ntpd (The Network Time Protocol service) : [on]
openvpn (The openvpn service) : [on]
pcmcia (The pcmcia service) : [off]
pcscd (The pcscd service) : [on]
php-fpm (The php-fpm service) : [off]
pulseaudio (The pulseaudio service) : [on]
samba (The Samba SMB file server) : [off]
saslauthd (The SASL authentication server) : [off]
snmpd (The Simple Network Management Protocol service) : [off]
sshd (The SSHD (secure shell) daemon) : [off]
syslog (The Linux system logging server) : [on]
sysstat (The sysstat service) : [off]
udev (The UDEV dynamic device manager system) : [on]
vmtoolsd (The vmtoolsd service) : [off]
wicd (A complete network connection manager) : [off]
wireless (Standard single network Wifi startup script) : [on]
It works on a fresh Salix install. So it's something I've done to bugger this one up. I think it was a 14.1 I upgraded to 14.2, though I'm not entirely sure, but anyway, I have had plenty of time to break things in it.
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: bluetooth speakers

Post by DidierSpaier »

Why pulseaudio and alsa are executable?
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

Good point - I should presumably have switched alsa off as part of the upgrade to 14.2. Stopping the service and rebooting still don't allow blueman to designate the bluetooth speaker as an audio sink, though - with the same message about dbus.

This is starting to look like many problems on the forum where "god knows what the user did to break it" - so please don't worry too much. It is probably time to do a fresh install, or else, I will just live with it (I can hook the speaker up to my laptop).
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: bluetooth speakers

Post by DidierSpaier »

/etc/rc.d/rc.pulseaudio as well should not be executable in most use cases.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: bluetooth speakers

Post by mimosa »

I am very pleased to report that I have now got it to work. I removed the device from blueman and re-added it. After some time, it asked me whether I wanted to "always authorise" the speaker - to which I said yes.

I am able to use it with ratpoison with bluetoothctl, by asking it to "connect" to the device ID. Then it appears in VLC and pavucontrol.

It may be necessary to have the dongle inserted on boot - I haven't yet tested inserting it later.

Thanks for your help!

About the pulseaudio service, indeed it is turned off in my standard install, and I have now done so here too; it is good to know how it should be.

I don't know whether that made the difference in this case. However my guess is blueman failed initially because of the things I had tried beforehand, and once it had a clean slate, it did what it was meant to.
Post Reply