![]() |
Re: A2DP works, help me test it?
znutar: Which portions of this thread did you follow? If you didn't follow the instructions in the first post carefully, you're probably not using A2DP at all.
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
znutar: Pairing is a low level kind of thing. Once two devices are paired they can choose talk to each other and choose which protocols to use to communicate. Right now your N8x0 and your headphones decided that the only protocol they could use to talk was by HSP (HeadSet Protocol). That provides low quality monaural sound. Also, you're probably not hearing stereo sound. Your headphones are receiving a monaural signal and then playing it out of both speakers.
Note: It is considered common etiquette to read at least the first post of a thread and to skim the rest (or at least search the rest) for an answer before posting. This prevents questions from being repeated. This is not meant to be rude, just as a suggestion to help you get the most out of these forums. To everyone else: Is the .deb working for you? If it generally works as intended I'll add something to the wiki but I just want to be sure it's not breaking people's tablets and I just don't know about it. -John |
Re: A2DP works, help me test it?
John,
I ran through the old procedure when you first posted it and I still have my system configured that way. If I now install the new .deb will that wreck anything? If so, how can I 'uninstall' your old method? Thanks for leading and making the deb! |
Re: A2DP works, help me test it?
No need to uninstall. Just install the new .deb and don't do "a2dp firstrun"
Compared to the old method, all the new .deb adds is the a2dp script that lets you easily enable and disable a2dp in mplayer (which has the side effect of enabling it and disabling it for kagu and mediabox). rm_you's version of mplayer can be used with either method and is highly recommended for better playback. |
Re: A2DP works, help me test it?
Using Motorola S9 and n800 os2008.
Using cpufreq adjustment and rm_you's mplayer successfully played music for 35 minutes while running on a treadmill. This is much better than the rm_you's mplayer which skipped after about 5 minutes and was unusable. Now if we could only stop A2DP from being a resource hog so I can stream my itunes collection via myTunesRSS. |
Re: A2DP works, help me test it?
Well, there are two parts to that:
1) In the short term something seems to be causing alsa to not honor the period size the user (or program) selects when communicating with headphones. I *think* this is what's causing the CPU usage to be ~50% (and likely to skip when other processes need CPU time) rather than ~20% (and very tolerant of other tasks running). 2) In the longer term, people much smarter than me want to move the SBC encoding part of A2DP onto the DSP. If the DSP is powerful enough to cope with MP3 decoding and SBC encoding this could be an incredible power savings. |
Re: A2DP works, help me test it?
All;
I second the cpufreq results using 'performance'. Kagu/mplayer/a2dp runs almost perfectly. Still does not overcome all the apparent issues cited by Johnx but very usable. Nokia needs to get this fixed (and they seem trivial). I dont see a2dp as optional for this device. Where do we post these types of requests to Nokia? Thanks! |
Re: A2DP works, help me test it?
Quote:
Quote:
Quote:
If you add comments, remember to be *polite* and *constructive.* -John |
Re: A2DP works, help me test it?
Quote:
In my tests so far, the worst distortion has occurred with mp3s through dspsink. Also mediaplayer is reducing volume by some 12dB compared to mplayer/xmms. Xmms so far seems to have least sound problems. The audio problems sound a bit like digital distortion introduced somewhere. Also there is significant resampling degradation between 44khz and 48khz samples (.wav). It's clearly a software issue, and one that must be resolved. |
Re: A2DP works, help me test it?
Update:
It works great ! All I had to do was restart the tablet. Was it mention in the instructions ? Works amazing with Motorola S9 Bluetooth headset. Somehow the volume is louder than the speakers which is good considering the low output levels of internet tablet (770 and 800 no idea abt 810 ) Thanks for all the great work. Hi, Have you solved your problem. I am trying to do the same but doesnt seem to work and gives the same exact error. Cheers |
Re: A2DP works, help me test it?
""""""""""""""""""""""-The A2DP HowTo-
1. Pair your A2DP headphones. 2. Click on the Bluetooth "B" icon in the status bar, then "Bluetooth settings..." -> Devices. Select your headphones from the list and click "Edit." Carefully write down (on a piece of paper or on your computer, not your tablet) the letters and numbers you see next to "Bluetooth address:" Mine is 00:07:A4:B6:F9:71 for reference. NOTE: The colons ":" are important. Write those down too! The only characters you will see are the numbers 0 through 9 and the letters A through F. No need to worry whether you're seeing an I or a 1, an O or a 0. 3. Download and install rm_you's package of mplayer, with a small patch that modifies how buffering is done: here. 4. Download and install the a2dp-support package attached to this post. Current version is 0.9. 5. Open up "X Terminal" and run: Code: a2dp runfirst 6. It will ask you for the Bluetooth address of your headphones which you wrote down earlier. Type that in exactly as it was shown and hit enter. 7. To enable a2dp support type: Code: a2dp enable 8. Now anything that uses mplayer (such as mediabox or kagu) will try to play through your bluetooth headphones! To switch things back to normal and make mplayer play through speakers/wired headphones just type: Code: a2dp disable Bonus: Don't like using the terminal to switch modes? Download and install osso-statusbar-cpu from here. Once it's loaded and running in the statusbar, tap on it, then "Settings" -> "Commands" -> "New." For "Description put "Toggle A2dp" and for Command type: Code: a2dp toggle Now you can toggle a2dp on and off just by tapping the cpu-statusbar app then "Toggle A2DP"!"""""""""""""""""""""""" HELLO GUYS I TRIED DOING THIS BUT I CAN HEAR ONLY MONO SOUND FROM MY NOKIA BH601 STEREO HEADPHONES. i UNDERSTAND THAT IT IS STILL IN HSP PROFILE.... SO ANY IDEAS AS TO WHAT I COULD HAVE DONE WRONG?? THA NKS |
Re: A2DP works, help me test it?
Make sure your audio player software is using mplayer. For example, in Kagu settings you can select "mplayer" or "osso".
|
Re: A2DP works, help me test it?
@Johnx
Maybe you could update your 1st post to mention to use Serge's new release of mplayer test5 instead? rm_you got Serge to add the buffering patch into the official release. |
Re: A2DP works, help me test it?
Is there a way use A2DP the other way around on a N800? That is, use a N800 as a bluetooth headset.
I have a Nokia N75 and while I love it, I absolutely hate the Pop-Port in order to use a headset/headphones and USB connectivity. I have the latter solved by using the Blutooth File Transfer Protocal. Since I carry around my N800 often, it would be nice if I could use the Headset Profile and A2DP with my N75. |
Re: A2DP works, help me test it?
Did and re-did and triple checked every step of the instructions and it just doesn't work on my N810, always get the crappy lo-fi mono sound out of 2 different BT stereo headsets I have (Motorola s805, Plantronics).
Any idea ? |
Re: A2DP works, help me test it?
Same here. :(
|
Re: A2DP works, help me test it?
I just went through all my instructions on a fresh flash of OS2008 (50-2). The one thing I can think of is that you definitely need to reboot. Also if you have the charger plugged in when you attempt to "Switch off!" it won't actually switch all the way off. Unplug the charger, switch off, turn back on, plug charger in and see if that works. I really don't have any more ideas about this, but maybe if you could show me the output mplayer gives, I might be able to help.
-John |
Re: A2DP works, help me test it?
i have a sony MEX-BT5000 in my car. while trying to pair the cd player with an unmodified N810. i encountered some wierd scenarios.
1) initiate pairing from cd player - able to find N810, but after keying in keypass on both cd player and N810, cd player shows failure. MEX-BT5000 does not get added to N810 bluetooth devices list. 2) initiate pairing from N810 - fails after keying in keypass. i am using keypass as "0000" for MEX-BT5000 and "1234" for N810. anyone have any idea how to make the 2 devices pair up before i modify the N810 for A2DP? my understanding is that both devices should pair up without any problem, but sound transmitted to the cd player would be terrible. from there i work on the A2DP "solution" as described in this thread. is this correct? |
Re: A2DP works, help me test it?
Unless I'm very confused you need to use the same key for both devices...
|
Re: A2DP works, help me test it?
default key for N810 is listed as "1234" in hcid.conf. i will try changing it to "0000" and try again. thanks for the tip :)
|
Re: A2DP works, help me test it?
it doesn't work. initiating pairing from cd player fails as soon as i have keyed in the passkey on the N810. same result if i initiate the pairing from the other way. but an interesting point to note is that the N810 added my cd player to the list of bluetooth devices as a HFP device, which i take to mean Hands-free profile, while the cd player showed failure. try as i might, i couldn't get the N810 to transmit any sound to the cd player.
|
Re: A2DP works, help me test it?
1 Attachment(s)
I couldn't refrain myself from posting :P. Sorry.
This is not a hint for some proper native support, just a cosmetic name hack I did to show off to friends. |
Re: A2DP works, help me test it?
Hi,
I have an N800 with OS2008 ans a Motorola S9 stereo bluetooth headset. I went thru this howto, and everything seems to work, sorta. I can either use a2dp enable and a2dp disable, or a2dp toggle, and always get the dialog box reporting either enabled (lol..Rock On) or disabled. When I listened to the movie that is in media, the one by Nokia, I hear stereo sound . That is using MPlayer. Listening to mp3's in mplayer, kago, canola, or anything else, I only have mono sound, left side only. It is not very likely, but maybe my headset is messing up. I should have my new cell phone (Nokia 6555) which has a2dp, so I will test the headset then and see if I get stereo sound with the phone. If I don't report in that by Monday, March 24, 2008, then it means I did get stero sound from my headset when paired with my phone. As far as setting up the software, it was very easy. Thanks! WorkingOnWise |
Re: A2DP works, help me test it?
Are you on irc with that name?
Canola doesn't use mplayer to play snd so that is out. Set kaju in options to mplayer. My favourite is xmms for a2dp. |
Re: A2DP works, help me test it?
Hey, thanks to all the folks, especially Johnx and rm_you, who have pushed a2dp along. I can report pretty much the same as others. Mplayer works great (with my Moto S9) provided I manually set the frequency governor.
The CPU load issue explains the oddity I experienced when I first set up a2dp. Sound worked pretty good for videos with motion and music, but sound broke up horribly during parts with just text and a quiet tone in the background. For what it's worth, this reminds me of a nasty probblem I have running Vmware on my Linux Thinkpad. Vmare does not properly report its "CPU demand," and thus, the ondemand CPU governor doesn't increase clock speed when the guest OS is under load. Instead of manually setting the governor, I wonder if it might be possible to run a script that would keep the CPU at its highest setting. I can use something like this on my laptop: Code:
user@n810 ~ $ cat busyloop.sh |
Re: A2DP works, help me test it?
Will this work on the 770?
|
Re: A2DP works, help me test it?
This specific hack won't, unless you use 2008HE and then *maybe* it will work. On 2007HE the a2dp packages for OS2007 may work, and on OS2006 I have no idea.
|
Re: A2DP works, help me test it?
I bought a S9 also recently and installed the A2DP hack on my N810.
Installed mPlayer (as Canola doesnt use mPlayer). The BT audio for my music was great quality over the S9. Very sharp and crisp sound. I really loved it. But sadly the CPU overload did it for me and I had to give up this hack. While music is playing, even if I touch on any menu item, the music start sputtering and stops and starts and is just unlistenable. Utilamtely I had to give up on A2DP for now, until we get a better A2DP support (possibly with Diablo ?) and returned my S9. Now I am thinking I will get a A2DP suported BT adapter which plugs into the headphone jack on the N810 and use a BT headphone as before (I am now considering a Lubix NC1 headphone instead.). |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Quote:
Regarding how the adapter (dongle) works. It merely plugs into the headphone jack and reproduces whatever comes out of the jack. All your controlling of what you hear is handled by the N800 (or N810 or N770). no matter which of the various media players you're using. Hope this tells you what you need to know at this point. Regards, jim |
Re: A2DP works, help me test it?
There are bluetooth headsets out there with built in remote controls for e.g. play/pause. Will that functionality automatically work if the music plays correctly through the headset, following the instructions posted here, or is that a whole different area of discussion/expertise?
I know that there are other threads discussing bluetooth remote controls, but I thought this one was the right one to ask it in since my purpose would be to use the N800 as mediaplayer while on my bike with my bleutooth headset and to be able to pause the music when I want without having to take the N800 out of my inside pocket during heavy wind and rain (yes, I live in the Netherlands). Thanks in advance for any feedback. |
Re: A2DP works, help me test it?
SIGNIFICANT EDIT: My Motorola Bluetooth headphones are the models S805 (studio monitor type) and the S9 (the "active" headphone type, which you can using jogging, riding a bike, etc.). With their built-in headset controls both models can change volume with my Nokia N800, but will not apparently pause or advance to the next (or previous) tracks, as they will if I use the dongle with other dedicated mp3 players. (These models will also work with phone calls if you have a compatible phone, as they have built-in microphones.) So, you apparently do not get the full Motorola functionality when paired with the N800, but I haven't really experimented much further with the in-built controls.
|
Re: A2DP works, help me test it?
I made the mistake of buying the S9 thinking I could use it for stereo and phone duties. Besides the A2DP issues the headphone even in basic phone mode is less than ideal, almost useless in fact. The volume buttons work but not the answer button or any multimedia buttons. The sound quality sucks considering what it should be capable of. Before giving up completely on bluetooth I tried a basic BT earpiece and it works fine. answer button and vol controls work and the sound is decent. Just no good for music but as a phone device it works fine. I hope that the BT functions get ironed out but as a technology I'm less than impressed with BT overall. Make sure the device does what it should before committing the bucks. Once again, standards seem to have no place in the minds of corporate.
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
does anyone have idea if nokia is going to implement the A2DP for the bluetooth stack? seems like we've been waiting too long for a feature that was promised. :mad: because of this, my N810 is sitting unused at home as i do not like fiddling with the tablet when i am driving. need the A2DP to control the music player.
|
Re: A2DP works, help me test it?
Well, on the positive side Nokia actually did a lot of the work in terms of making A2DP work on *Desktop Linux*. They've definitely put effort into this. I really hope we'll see them finish this off at some point, but it would be nice to hear from them either way. If they're not going to do it, other people will step forward to work on it, but if they are working on it, there's no reason to duplicate the effort, only to have the work become useless.
|
Re: A2DP works, help me test it?
Quote:
As for a BT dongle plugged into the audio jack, that is reasonable except again, the call/etc buttons don't work. If I have to pull the IT out of the pocket and find the answer call button and to speak into the mic then having BT serves little purpose except for music. The best compromise I've found was to pry apart the supplied mic/switch pendent and solder in a wired headphone. Then it sounds good, buttons work, mic works, and the wires are a little less messy. |
| All times are GMT. The time now is 16:46. |
vBulletin® Version 3.8.8