piuser14
Posts: 6
Joined: Thu Jan 29, 2015 10:35 pm

Bluetooth problems

Mon Feb 09, 2015 11:59 am

Hello everyone:

I recently purchased an ASUS BT400 Nano USB Bluetooth 4.0 Dongle; I decided to turn my raspberry pi box running Raspbian as a Bluetooth receiver for my car. I've followed the steps in both of these sites for both the Bluetooth audio receiver and getting the Bluetooth dongle to start: http://www.instructables.com/id/Turn-yo ... uetooth-A/ and https://urbanjack.wordpress.com/2014/02 ... us-bt-400/

I'm trying to get my Nokia Lumia 928 to connect to the raspberry pi box via Bluetooth, and it would connect and shortly disconnects after 4-5 seconds. I've trusted my phone to connect to the box, and it wouldn't go.

I'm running Raspbian Wheezy Version: 31-Jan-2015.

I have 4 USB Devices hooked up to the Raspberry Pi: ASUS BT400 dongle, TP-Link (ath9k_htc) Wireless Dongle (hostapd), Logitech Desktop Keyboard and Mouse combo, and my 32GB Flash Drive with movies on it.

Does the ASUS BT400 require more power to get it to run, like from a USB Powered Hub, or better power to the Raspberry Pi box (example: 2.1A)?

Embries
Posts: 6
Joined: Wed Apr 23, 2014 3:59 pm

Re: Bluetooth problems

Fri Feb 13, 2015 6:11 am

Yes, would use a powered hub. This may not be your problem, but it will eliminate a possibility

piuser14
Posts: 6
Joined: Thu Jan 29, 2015 10:35 pm

Re: Bluetooth problems

Sun Feb 15, 2015 3:05 am

OK. I followed this tutorial for the Bluetooth audio in this forum: viewtopic.php?f=38&t=68779&sid=9fd14a726b1bdcd73b5e4908d2bbd78b

and everything worked great, until I rebooted; and my phone connects to the pi box and stays connected, and now the audio is not playing.

I'll edit this if I found out the solution.

Edit: found a solution that helped me out and now it works!!! :D

I added the following lines in /etc/rc.local

Code: Select all

pulseaudio --start

sudo -u pi amixer cset numid=3 1
sudo -u pi amixer set Master 100%
sudo -u pi pacmd set-sink-volume 0 65537

Return to “Raspberry Pi OS”