Jump to content

How to send audio to bluetooth [solved]


dude67
 Share

Recommended Posts

I recently bought a Creative D80 BT speaker. I would like to be able to listen to my music collection on my backyard, but I cannot get the audio on my Acer laptop to play through BT dongle/Creative D80 speaker. I've managed to make the speaker work with my Nokia E7 phone and iPad (3rd gen), but how can I make my Mageia laptop play through BT.

 

I was able to make the pairing OK (BlueDevil found the Creative D80 speaker OK), but I cannot direct the sound to the BT speaker.

 

Is there anyone who would be able to help me out here...? :unsure:

Edited by dude67
Link to comment
Share on other sites

Have you got pulseaudio installed? If so, when you go into the volume controls, you can choose the output there, there should be a couple listed I expect. Standard audio output and bluetooth output. I've done this with bluetooth headphones for use with Skype.

 

I've also done similar, when trying to get sound over HDMI, so the process will be the same, but just to choose the second output thats listed in pulse audio under the volume controls.

Link to comment
Share on other sites

Thx Ian. I was going to try that, but now I can't get the dongle to work... I can find it in MCC hardware section - Bluetooth devices - Bluetooth USB dongle (module: btusb). But the notifier says "Bluetooth is off". And on the System Settings (KDE system settings) Bluetooth devices cannot find any devices...

 

I'll try to sort this out first and then will let you know how this worked.

Link to comment
Share on other sites

OK, got the BT working. But I'm not sure if it sticks... When I try to connect to the device (D80), it shortly tells me "Creative D80: audio service connection timeout". But I can see that the dongle is now connected (see BlueDevil.png).

 

However, I cannot see the BT output in Pulse audio volume control devices (see PulseVolume.png). There's only Speakers and Headphones. This headphones requires small audioplug connection and there's no choice for bluetooth and the speakers obviously output the sound in the speakers (and not on the BT device).

post-13785-0-97184600-1344073503_thumb.png

post-13785-0-47829100-1344073550_thumb.png

Edited by dude67
Link to comment
Share on other sites

Have you tried with it being connected and rebooting the machine. Or perhaps try restarting pulseaudio - there should be init script for this:

 

chkconfig --list | grep -i pulse

 

and maybe something like:

 

service restart pulseaudio

 

I know I needed to restart when I wanted my HDMI audio connected. But I can't remember if just a restart of pulseaudio was enough.

Link to comment
Share on other sites

First:

# chkconfig --list | grep -i pulse

Note: This output shows SysV services only and does not include native
 	systemd services. SysV configuration data might be overriden by native
 	systemd configuration.

 

And then I cannot get the service to work:

# service restart pulseaudio
Cannot find restart service
Usage: service -[Rfshv] SERVICE ARGUMENTS
   	-f|--full-restart:  	Do a fullrestart of the service.
   	-R|--full-restart-all:  Do a fullrestart of all running services.
   	-s|--status-all:    	Print a status of all services.
   	--ignore-dependencies:  Do not start required systemd services
   	--skip-redirect:    	Do not redirect to systemd
   	-d|--debug: 			Launch with debug.
   	-h|--help:          	This help.
# service -f pulseaudio
Cannot find /etc/init.d/pulseaudio
Usage: service -[Rfshv] SERVICE ARGUMENTS
   	-f|--full-restart:  	Do a fullrestart of the service.
   	-R|--full-restart-all:  Do a fullrestart of all running services.
   	-s|--status-all:    	Print a status of all services.
   	--ignore-dependencies:  Do not start required systemd services
   	--skip-redirect:    	Do not redirect to systemd
   	-d|--debug: 			Launch with debug.
   	-h|--help:          	This help.

 

I can't find the pulseaudio service in the services list in MCC... So is it runnig and if it's not, how can I start it? I see that pulseaudio packages are installed and should be running.

 

$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Link to comment
Share on other sites

Not in touch with Mandriva lately, but check under /etc/init.d and see if there is anything relating to pulse here. Normally the service is pulseaudio, but could be anything I suppose.

Link to comment
Share on other sites

It's Mageia, but anyway...

 

Here's what's in /etc/init.d directory:

$ ll
total 276
-rwxr-xr-x 1 root root  1473 Apr 28 02:03 acpid*
-rwxr-xr-x 1 root root  6963 Apr 30 13:29 alsa*
-rwxr-xr-x 1 root root  1814 Mar  9  2011 apmd*
-rwxr-xr-x 1 root root  1565 Apr 28 18:29 avahi-daemon*
-rwxr-xr-x 1 root root  1212 May 12 02:40 bpalogin*
-rwxr-xr-x 1 root root   706 Apr 28 02:52 cpufreq*
-rwxr-xr-x 1 root root  2817 May  9 00:10 crond*
-rwxr-xr-x 1 root root 10337 Jun 11 01:47 cups*
-rwxr-xr-x 1 root root  1517 Apr 28 04:39 dm*
-rw-r--r-- 1 root root 26126 Apr 28 04:39 functions
-rwxr-xr-x 1 root root  7835 Apr 28 04:39 halt*
-rwxr-xr-x 1 root root  1795 Feb  5  2012 hddtemp*
-rwxr-xr-x 1 root root 17341 Jan 30  2012 hsqldb*
-rwxr-xr-x 1 root root  4960 Apr 28 04:43 ip6tables*
-rwxr-xr-x 1 root root  5496 Apr 28 04:43 iptables*
-rwxr-xr-x 1 root root  1945 Apr 28 04:46 irqbalance*
-rwxr-xr-x 1 root root   666 Apr 28 04:39 killall*
-rwxr-xr-x 1 root root  2985 Apr 28 04:57 lm_sensors*
-rwxr-xr-x 1 root root  2693 Mar  6 14:53 lvm2-monitor*
-rwxr-xr-x 1 root root  1185 Dec  4  2011 mandi*
-rwxr-xr-x 1 root root  4136 Apr 28 04:39 mandrake_everytime*
-rwxr-xr-x 1 root root   345 Apr 28 04:39 mandrake_firstime*
-rwxr-xr-x 1 root root  2844 Apr 30 03:27 messagebus*
-rwxr-xr-x 1 root root  2360 Jan 16  2011 microcode_ctl*
-rwxr-xr-x 1 root root  1791 Jan 26  2012 msec*
-rwxr-xr-x 1 root root  3317 Apr 28 04:39 netconsole*
-rwxr-xr-x 1 root root  5848 Apr 28 04:39 netfs*
-rwxr-xr-x 1 root root  9540 Apr 28 04:39 network*
-rwxr-xr-x 1 root root   535 Apr 28 04:39 network-auth*
-rwxr-xr-x 1 root root  6593 Apr 28 04:39 network-up*
-rwxr-xr-x 1 root root  4511 Sep 30  2011 nfs-common*
-rwxr-xr-x 1 root root  4334 Sep 30  2011 nfs-server*
-rwxr-xr-x 1 root root  3816 May 15 19:00 ntpd*
-rwxr-xr-x 1 root root  1163 Apr 28 04:39 partmon*
-rwxr-xr-x 1 root root  1495 Apr 28 06:31 portreserve*
-rwxr-xr-x 1 root root  1413 May 12 02:45 pppoe*
-rwxr-xr-x 1 root root  1323 Mar  8  2011 pptp*
-rwxr-xr-x 1 root root  2116 Apr  6  2011 preload*
lrwxrwxrwx 1 root root 	4 May 22 02:16 reboot -> halt*
-rwxr-xr-x 1 root root  2155 Jan 13  2011 resolvconf*
-rwxr-xr-x 1 root root  1617 May 20 15:02 rpcbind*
-rwxr-xr-x 1 root root  2159 Apr 28 06:46 rsyslog*
-rwx------ 1 root root  2981 Apr  9 15:10 shorewall*
-rwxr-xr-x 1 root root   944 Apr 28 04:39 single*
-rwxr-xr-x 1 root root  3864 Apr 30 13:29 sound*
-rwxr-xr-x 1 root root  3486 Apr 28 06:17 sshd*
-rwxr-xr-x 1 root root  1473 Oct 28  2011 vnstat*

 

No pulseaudio there.

 

But I can see pulseaudio in:

$ locate pulseaudio
/etc/X11/xinit.d/50pulseaudio
/etc/sysconfig/pulseaudio
/etc/xdg/autostart/pulseaudio-kde.desktop
/etc/xdg/autostart/pulseaudio.desktop
/home/dude67/.gconf/system/pulseaudio
/home/dude67/.gconf/system/pulseaudio/...
[...snip...]
/home/dude67/.local/share/dbus-1/services/org.veromix.pulseaudio.service
/lib/udev/rules.d/90-pulseaudio.rules
/usr/bin/pulseaudio
/usr/bin/start-pulseaudio-kde
/usr/bin/start-pulseaudio-x11
/usr/lib/pulseaudio
/usr/lib/pulseaudio/libpulsecommon-2.0.so
/usr/lib/pulseaudio/libpulsedsp.so
/usr/share/pulseaudio
/usr/share/alsa/alsa.conf.d/50-pulseaudio.conf
/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example
/usr/share/doc/libalsa-plugins-pulseaudio
/usr/share/doc/pulseaudio
/usr/share/doc/libalsa-plugins-pulseaudio/README-pulse
/usr/share/doc/pulseaudio/README
/usr/share/icons/hicolor/128x128/apps/pulseaudio.png
/usr/share/icons/hicolor/128x128/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/16x16/apps/pulseaudio.png
/usr/share/icons/hicolor/16x16/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/22x22/apps/pulseaudio.png
/usr/share/icons/hicolor/22x22/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/32x32/apps/pulseaudio.png
/usr/share/icons/hicolor/32x32/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/48x48/apps/pulseaudio.png
/usr/share/icons/hicolor/48x48/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/64x64/apps/pulseaudio.png
/usr/share/icons/hicolor/64x64/devices/audio-backend-pulseaudio.png
/usr/share/icons/hicolor/scalable/apps/pulseaudio.svg
/usr/share/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg
/usr/share/locale/cs/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/de/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/el/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/es/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/fr/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/it/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/nl/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/pt/LC_MESSAGES/pulseaudio.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pulseaudio.mo
/usr/share/man/man1/pulseaudio.1.xz
/usr/share/man/man1/start-pulseaudio-kde.1.xz
/usr/share/man/man1/start-pulseaudio-x11.1.xz
/usr/share/pulseaudio/alsa-mixer
/usr/share/pulseaudio/alsa-mixer/paths
/usr/share/pulseaudio/alsa-mixer/profile-sets
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-dock-mic.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-front-mic.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-rear-mic.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-desktop-speaker.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf
/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common
/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-0.conf
/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-1.conf
/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-2.conf
/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-3.conf
/usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/kinect-audio.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/maudio-fasttrack-pro.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-korecontroller.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-traktor-audio10.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-traktor-audio6.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-traktorkontrol-s4.conf

Link to comment
Share on other sites

Okay, another place for PulseAudio preferences:

 

paprefs

 

Don't know it helps you out, but i want to be sure you know about it's existence.

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...