With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Forgot to mention:Step 0: Open apt sources file: sudo nano /etc/apt/sources.list
Enhance Raspberry Pi media center with Bluetooth A2DP (OSMC)
Okay, I've tried my best to blend together both the instructions above and the suggestions below and still cannot get any audio output.I'm using a R Pi 1 Model B while I wait for a dedicated model 3 to arrive with the OSCM July 1st image. I'm starting to wonder if something has changed in the bluetooth architecture because the folder '/etc/bluetooth' is not there and the file 'main.conf' does not exist either. I went ahead and did a 'mkdir /etc/bluetooth' and created the main.conf file with the contents suggested but that doesn't seem to have fixed the issue.I've also tried changing the Audio Out settings in OSMC and none of them will produce the bluetooth audio either... Does anyone have any ideas?
what FANTASTIC work!well done, sir.I hope this gets pulled upstream into OSMC or OpenELEC for native support
I have successfully installed on my OSMC and I can hear the sound from my Bluetooth speaker but it is only for 10 sec and then no sound. Also, I noticed that when I play You tube video, I can hear the sound with video. Any idea?
I have installed but sound from my bluetooth speaker last only for 10 sec then no sound. My speakers still connected but no sound after 5-10 sec.How do I get continues sound?Thanks
I thought that enabling Raspberry Pi as A2DP source means to send data to be played on an A2DP sink such a bluetooth headset or speakers. But step 1 says I must connect headphones or speakers to the 3.5mm port. What is this tutorial for?
Homemade Energy Drink
Thank you very much for your guide.It work great for me, I just need to set pulse audio in OSMC audio parameter instead of HDMI.Thank you very much one more time.Bye.
The Only knot you need to know.
"Hi, I am having the same problem. It used to work fine for a couple of days, then when the pi rebooted, my bluetooth device is now Class 0x00041C and cannot be connected to anymore.The file /var/lib/bluetooth/XX:XX:XX:XX:XX/settings seems to get overwritten at boottime where the line Class = 0x20041C gets erased. I can manually set the device class back to 0x20041C using "hciconfig hci0 class 0x20041C" but I have to do this after every reboot. Any suggestion on where to fix this?"SAME HERE, seems that the Class Settings and the Device name are saved somewhere else than /etc/bluetooth/main.cfg or /var/lib/bluetooth/XX:XX:XX:XX:XX/settingsthere seems to be some storage for default values nobody knows about ^^
where does hciconfig write it's Settings? and another interesting fact, if i manually set via "hciconfig hci0 class xxxxx" and do "hciconfig -a" i still geht the old class, when i start bluetoothctl, and run "show" i get the updated class "xxxxxx" from my manual setting WEIRD
This was great! I was lazy and skipped to step 10, and it was amazing. Works great, I'm running on a 5-5-15 wheezy Distro in berry boot for a fun little car project. The only issue is that when I turn on the power it becomes discoverable and I have to manually click connect for the Bluetooth to start. Is there anyway to get it to automatically pair with my iPhone as soon as it gets booted?
I have found adding the commandsudo rfcomm connect 0 MAC address 1 To the end of my /etc/rc.local works for auto pairing but it causes issues with my shutdown script with the car switch from mausberry circuits.com
Hello! There is an awesome add on that jgauthier made http://engineeringdiy.freeforums.org/software-blue...I was able to get it all connected, except the sound does not work!! can anyone please help me? I'm using the RPI2, have the correct bluetooth adapter, and can't figure out why the bluetooth audio won't play.
Hi, great tutorial. Was working until I rebooted the device. Anybody have any ideas?Thanks.
This one works for me too... no sound on both HDMI and Composite audioThanks,
Thanx!I've been trying out different tutorials and this is the only one that really worked without any problems! :)
Thanks Robert,for excellent instructions.I was able to get it work on RPi 2B connected to Amp via HDMI, but most of time audio volume oscillates (fades and slowly comes back). Any idea why ?
I encountered the issue of no audio and this resolved my issue for me. Thanks
I am also no longer getting audio after updating OSMC on RPi. I tried your steps but it didn't solve the issue. Did you guys do anything else? I am on 15.2 on RPi.
Hi, I've just tried but it doesn't work... it worst than before... mute every 5 secI'll try another tuto laterthank for your timeBest,
I had somewhat mixed feelings about mixing versions, so preferred to download the sources of the version that was also installed via apt-get:1. If the line "deb-src ..." starts with a # (is a comment) remove the #. If it's not commented out, continue with 32. sudo apt-get update3. cd /usr/src 4. sudo apt-get source bluezThis was the only missing part of pubbb's addition.Thank you Robert and pubbb for your description, it's literally the only one out there for jessie-based distros.
Hi HenrikK2,Thank you for your answer, I'll try this evening !I keep you informed.best,
I saw this on another guide:Output audio after 20 seconds stoppedEdit daemon configuration:sudo nano /etc/pulse/daemon.confChange; exit-idle-time 20toexit-idle-time -1
got it to work but how to change to headphone output instad of hdmi?
awesome tutorial and update for current OSMC version too.Indeed, with just the tutorial all went fine but i had no sound.with these 2 steps I've got sound from hdmi !!! (I was so happy)But another problem appears : many very short mute (less than 1 sec) comes every 20 sec...Someone has an idea ? even if it is a very cool stuff it's not usable like this...many thanks
Hey AlexanderS92,thank you very much for this info! Worked grad for me with a Raspberry Pi 2 and OSMC 15.
Got this to work just fine under raspbian jessie with no issues. Just had to make a few tweaks here and there to match up to my install. Thanks my CarPi is coming along nicely now! Thanks
Thanks for this guide.With the current OSMC Version i had to change a few steps.1. Instead of modprobe add the following line to your config.txtdtparam=audio=on2. The file /etc/bluetooth/audio.conf doesn't exist anymore. I addedEnable=Source,Sink,Media,SocketHFP=trueClass=0x20041Cto the /etc/bluetooth/main.conf file.
Hi, I am having the same problem. It used to work fine for a couple of days, then when the pi rebooted, my bluetooth device is now Class 0x00041C and cannot be connected to anymore.The file /var/lib/bluetooth/XX:XX:XX:XX:XX/settings seems to get overwritten at boottime where the line Class = 0x20041C gets erased. I can manually set the device class back to 0x20041C using "hciconfig hci0 class 0x20041C" but I have to do this after every reboot. Any suggestion on where to fix this?
Hi thanks for the tutorial.I have a question.You can play the sound at the same time analog and bluetooth?You can install paprefs in OSMC?Sorry for my English.Thank you.
Hey! Pretty great guide. I have a following issue/task. I have audio source 1, I splice RPi with this setup into it's output. I need it to switch relays over from Source 1 to RPi audio output once a bluetooth device is connected to RPi. Is there a ready solution to do this or may be someone is willing to help?
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.