maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Using N900 as bluethoot music receiver (https://talk.maemo.org/showthread.php?t=70453)

TheThane 2011-02-28 14:37

Using N900 as bluethoot music receiver
 
Hello! I have a BTD300 Sennheiser bluethoot Music Transmitter, how can I turn the n900 into a bluethoot music receiver?

N900 not see BTD300, but after command "sdptool add A2SNK" i can see "unknow device" but n900 show me pin code and does not want pairing.

TheThane 2011-03-02 09:54

Re: Using N900 as bluethoot music receiver
 
Up? :)

I see this http://talk.maemo.org/archive/index.php/t-30514.html, (a2recv-esd Turns Your N8xx Into a A2DP speaker/headset), if n800 can do this ....

Nobody can run/make this program on n900?

xopher 2011-03-02 16:12

Re: Using N900 as bluethoot music receiver
 
Have you tried it? I've wanted this functionality also especially since I no longer use mine as a phone anymore. If you've not tried it I'll look at it and play with it later.

xopher 2011-03-02 18:20

Re: Using N900 as bluethoot music receiver
 
Adding my progress so far, I've gotten the linked app in the other post to run. At first in complains about missing libbluetooth.so.2 I loaded Debian in a chroot and installed bluez-utils then copied the libbluetooth.so.2 from /usr/lib to my homedir within Easy Debian then copied it to /usr/lib and set proper permissions to the file, the file now loads OK. The device I was pairing with appears to be finicky with A2DP gateways I had trouble pairing a set of Nokia MD-7W speakers with it so I may have to wait to get home to try with a desktop then scan services and hope to see it. I'll update more later. I think it will work but I'm having problems with a2dp and Android in general and I'm trying to pair an Android phone to the N900.

xopher 2011-03-03 19:07

Re: Using N900 as bluethoot music receiver
 
Well....using a Windows PC with IVT BlueSoleil I can see the Advanced Audio Service but cannot connect to it. Maybe someone can recompile the binaries I would donate for such a thing. Where can we submit bounties?

EDIT: OK, I understand why now....someone please make this work with pulseaudio :(

TheThane 2011-03-04 12:44

Re: Using N900 as bluethoot music receiver
 
Quote:

Originally Posted by xopher (Post 959888)
Well....using a Windows PC with IVT BlueSoleil I can see the Advanced Audio Service but cannot connect to it. Maybe someone can recompile the binaries I would donate for such a thing. Where can we submit bounties?

EDIT: OK, I understand why now....someone please make this work with pulseaudio :(

Yes need work with pulseaudio, anyone can help?

ZedThou 2013-05-07 21:01

Re: Using N900 as bluethoot music receiver
 
Back from the dead, is this thread.

I'm getting a motorcycle GPS unit soon which will send voice navigation through A2DP. I wanted to be able to hear this, along with the music on my N900, using earplugs inside the helmet. So digging around, I came across a couple of things. The first is general directions.

https://jprvita.wordpress.com/2009/1...4-a2dp-stream/

The second is more specific.

http://ubuntuforums.org/showthread.p...43#post9511043

I made it up to step 5 (running CSSU devel, had to install d-feet and pulsaudio-utils) but since I don't actually have the GPS unit yet, the rest will have to wait until later.

If anyone is still interested in this idea and wants to give it a try, I'd love to hear how it does.

ZedThou 2013-05-21 22:20

Re: Using N900 as bluethoot music receiver
 
I've made some progress. After adding Enable=Source to /etc/bluetooth/audio.conf, I can hear the GPS coming through the phone audio output after I run these commands.

Code:

# GPS bluetooth id
devmac=00:02:5B:00:A5:A5

adapter=$(dbus-send --print-reply --system --dest=org.bluez / org.bluez.Manager.DefaultAdapter| sed -ne "s/^.*object path //p"|sed -e 's/"//g')

device=$(dbus-send --print-reply --system --dest=org.bluez ${adapter} org.bluez.Adapter.FindDevice string:${devmac}|sed -ne "s/^.*object path //p"|sed -e 's/"//g')

dbus-send --system --print-reply --type=method_call --dest=org.bluez ${device} org.bluez.AudioSource.Connect

sleep 2

pactl load-module module-loopback source=bluez_source.00_02_5B_00_A5_A5 sink=sink.hw0andhw1

There are a couple of glitches. After the the GPS disconnects, the phone microphone starts coming through as well, until I unload the module-loopback. Also, I can play music on the phone with mplayer, and it will mix with the GPS audio, but when I use Open Media Player, it mutes the GPS while it plays. Then when it pauses it turnes the GPS audio back on.

sixwheeledbeast 2013-05-21 22:31

Re: Using N900 as bluethoot music receiver
 
Quote:

Originally Posted by ZedThou (Post 1345805)
... but when I use Open Media Player, it mutes the GPS while it plays. Then when it pauses it turnes the GPS audio back on.

Have you tried the interrupt notifications option in OMP?

ZedThou 2013-05-21 22:44

Re: Using N900 as bluethoot music receiver
 
Quote:

Originally Posted by sixwheeledbeast (Post 1345807)
Have you tried the interrupt notifications option in OMP?

That did the trick, thanks!


All times are GMT. The time now is 06:43.

vBulletin® Version 3.8.8