![]() |
Re: A2DP works, help me test it?
Ok about to install, are the instructions on page 1 still the ones to use on Diablo on an MMC (don't feel like going through 20 pages but will while waiting for a reply.
|
Re: A2DP works, help me test it?
OK I installed it along with lardmans Package.
One question I have is I have 2 bluetooth A2DP headphones. If I run the a2dp runfirst twice giving both headsets address' will they both work with this or does the last one overwrite the first one? Is there a file I can manually edit so it enables it on both headsets? |
Re: A2DP works, help me test it?
To flash the zImage there's either an on device flasher (anyone got instructions for that?) or the standard Linux desktop flasher (http://maemo.org/community/wiki/flasher_tool_usage/)
|
Re: A2DP works, help me test it?
Do you suppose there might be a way to run flasher using a unix shell on windows, like cygwin?
Update: Nope - just checked the Cygwin website, and it's pretty clear on this... |
Re: A2DP works, help me test it?
CyberCowboy: Yes, the instructions on page 1 are still the best I think. yes, it will overwrite the other setting. The only way that I can see for you to do this is run the "runfirst" when you switch headphones or manually edit /home/user/.asoundrc when you switch. *Sigh* I don't think there was any kind of plan for supporting more than one pair of A2DP headphones on one device. Maybe some kind of trick to use an ALSA mixing module with both pairs listed as outputs? I really don't know...
|
Re: A2DP works, help me test it?
Quote:
Code:
fiasco-flasher -k <zImage> -f |
Re: A2DP works, help me test it?
Thanks GeneralAntilles! That worked!
|
Re: A2DP works, help me test it?
Just a report on how everything worked. The setup is with a Sony TDM-BT1 digital media bluetooth unit on the home audio. Before the A2DP task was ported to the DSP, music would play for about a second or two, followed by about 1/2 second of silence for the length of the song. Now, with the DSP on, there is only the occasional very short skip. Totally acceptable, by the way, and I'm very grateful to Simon for the code.
Here are some other observations: As someone else has suggested, it's better if the WiFi is disconnected. Also, the music will skip if anything else is done on the tablet (like accessing the GUI, for example). I also noticed that if the N810 is close to the receiver (~1-2 m), the skips are fewer and farther between - presumably because some of the data is dropped in the transmission when the unit is over 5 m away. Also, it seems like the pitch is a tiny bit unstable: on one song (My Song, Keith Jarrett) there is a repeated note on the piano. I noticed that note going slightly sharp, and then slightly flat with a period of a few seconds, almost sinusoidally, which was curious. Anyway, thanks to all of the developers and those who helped me run the script and figure out how to flash the kernal. This version of A2DP support is a great step forward, in my opinion. If anyone would like, I could write up the steps I took to get this up and running. |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Well, my A2DP set got here today. Working nicely, so far. (Haven't even got the DSP SBC up yet, and it's already almost usable.)
A couple observations:
|
Re: A2DP works, help me test it?
Quote:
Hello Cybercowboy, I am going to get my nokia bh-604 headphones pretty soon.... so is it possible for you to write a complete "How to" including setting up a2dp, using lardmans dsp encoder(or whatever) for a complete noob. Also include minor things you found out of your experience which will allow for best audio. Please include instructions for streaming internet radio if possible and video also. Thank you so much. I believe more and more people will try it out if there are complete instructions. |
Re: A2DP works, help me test it?
For those of you out there who A) use Canola and B) haven't figured out how to make it use mplayer so A2DP works, here's a very short set of instructions. First, the caveats:
If you mess up the "config" file Canola will not be happy. You may want to copy it to another location before making edits. Lastly, Canola with mplayer or at least Canola with A2DP + mplayer does not always work well. I've had problems where seeking around in a song will cause it to freeze mplayer and rapidly sequence through my playlist (Not playing anything). The only way to fix this is to exit Canola, kill the leftover /usr/bin/mplayer processes (there are usually two) or reboot your tablet, then start Canola again. If anybody has a great idea on how to fix this problem it would be nice. 1) Go to /home/user/.atabake (you'll need to do this from a SSH session or the X terminal since File Manager won't show hidden directories (names prefixed with a dot/period) 2) Edit the file called "config" (without the quotes) 2a) How you do this is up to you. I use vi. 3) On line 8 it should say "audio = (something other than mplayer)" 4) Change it to read "audio = mplayer" 5) Save and quit, you're done. 6) If you're in Canola you need to quit and go back in for the change to take effect Larry |
Re: A2DP works, help me test it?
Quote:
The message you quoted wasn't mine, sorry. I intend to type up instructions myself but am still having some quirks that I want to work out, and attempt to get it working with 2 different headphones easily. After that no problem |
Re: A2DP works, help me test it?
Quote:
Thanks |
Re: A2DP works, help me test it?
i GOT my brand new nokia bh 604 headphones and i tried the steps in thread 1 .... but i still get hsp sound which is crapppy. Can some one please help me. Thanks
|
Re: A2DP works, help me test it?
Ok Guys success. i just had to unpair, reboot , re-pair and run the script.
It is pretty good. Now checking out the dsp stuff. Thanks |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
I've recently installed a2dp packages on my N810 and that is working pretty good, unless I try to use anything else on the tablet at the same time. :( But even when the tablet was idle, I mean just Canola playing music, I've had quite frequent, short skips of 1-2 secs - really annoying.
Today I've installed dsp-sbc tough (great stuff, lardman!), CPU usage dropped to almost-zero, and to be honest there are significantly less drop-outs in the 'idle' mode, but then it seems like it's way more sensitive to any other activity - event sliding the keyboard up/down, or locking screen and keyboard with slide button results in drop. :-o (which is quite strange, as CPU is almost not busy at all, so such tasks should have no effect...) The only thing I didn't do tough, is flashing that custom kernel image provided with dsp-sbc. I've read release notes and I know it gives the ability to tweak CPU/DSP speed, but are there any other improvements and/or changes than that? |
Re: A2DP works, help me test it?
No, the only change is to allow you to run the cpu at full speed (and the dsp at less than full speed). This was designed to allow video decoding to use the full cpu speed, but there is some sort of issue with video decoding - it produces very poor framerates when using the dsp task for sbc. I'm looking into this atm.
Regarding the drop outs using dsp-sbc, the ARM is is transferring 48000Hz x 2 channels x 16bit data to the DSP (512 bytes x 375 per second), which then transfers 78 x 375 bytes back per second. So we don't have a great deal of latency, if anything delays the transfer to or from the DSP we've only got ~1/375th of a second of audio left in the buffer. Unfortunately this is what bluez provides (without major hacking), obviously a larger transfer buffer would be far better in terms of transfer overhead and delays. We'll have to see if bluez can be hacked a bit more to provide more than the 512 bytes per call it currently does (though I guess much more will start producing syncing problems, not that we have video working anyway though ;) |
Re: A2DP works, help me test it?
Quote:
Quote:
|
Re: A2DP works, help me test it?
I have used lardman's package and it is really awesome!
The one time i watched a dvd rip of batman begins without prior conversion from my pc via a2dp. It was stuttery as hell when it started.... but later on it was okay. Although it is not really watchable..... it is damn good for that device. Infact i could watch the videos from mytube without any drops. Thank you so much lardman. Now i am waiting to stream internet radio via a2dp and then avcrp. |
Re: A2DP works, help me test it?
Quote:
Quote:
Quote:
|
Re: A2DP works, help me test it?
Quote:
UPDATE: OK, I have some feedback after flashing the kernel and tweaking CPU/DSP frequency (echo 0 > /sys/power/op_dsp). Unfortunately, drop-outs are still there - no change in that matter. :( However, I've noticed something even stranger - when I start playback (using Canola and/or Kagu - tested both), I usually can first hear a split-second sound, then nothing (although song is still playing in the player), and after 5-8 seconds I can hear the music back again and then it plays normally without major drops. Same thing happens at the beginning of almost every single music file (and time varies, sometimes it's like 1-3 secs, sometimes is 6-8), so let's say I have album with 10 songs, and I have few-seconds drop out at the beginning of each one... It seems to me like player is buffering (?) a song at the beginning, which takes some CPU time, hence drop-out for A2DP... But other than that, I've listened whole album on my way home today, and apart from that issue above and few occasional drop-outs, it actually was quite OK! :) |
Re: A2DP works, help me test it?
I hope someone can help me. I just purchased a pair of BT headphones yesterday, and I've been working on making them sound better. I've run into my first problem -- the bluez deb package won't install; says there's a conflict. Is there anything I can do to resolve it? Unfortunately, I'm still learning Linux (although I'm a quick learner).
|
Re: A2DP works, help me test it?
Quote:
how to red pill mode: go to app manager > Menu > application catalog > New > In the address input "matrix" > hit cancel > select red pill > try installing bluez. After installation get back to blue pill mode.. by doing the same |
Re: A2DP works, help me test it?
Thanks. I remember there being some sort of red pill mode package for my old 770, but I've never known how to do it for the 800 (didn't realize I'd have to be in red pill mode to do that anyway; learn something new every day).
Now I'm having problems with the install_sbcenc.sh file -- not sure what to do with it, I hate to say. I've tried what I've seen on page 19, but I keep getting permission denied while even in root. |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Nah, it's already on /home/user (I remember reading a while back about how trying to install from the mmc was a no-go). I'm not sure if I'm typing something wrong or what. What exactly am I supposed to type to execute it?
|
Re: A2DP works, help me test it?
Quote:
2) chmod +x install_sbcenc.sh 3) ./install_sbcenc.sh Should be simple as that... |
Re: A2DP works, help me test it?
Thanks, I was screwing up step two was what the problem was.
|
Re: A2DP works, help me test it?
OK, the last thing I have to do is flash with the zImage file, but unfortunately, the only flasher I know of for XP was the one used with the 770 that used to be on Nokia's site (and it's gone, of course). I looked on Maemo.org, but I could only find flashers for Mac and Linux (and unfortunately, I have no idea where my LiveCD for Ubuntu is). Can anyone please point me to one?
|
Re: A2DP works, help me test it?
Quote:
Quote:
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
It might be that the DSP task is not being loaded for one of the cases, in this case it drops back to using the sw encoding method - Canola and Kagu are probably pretty CPU intensive, so this might have an effect. You should be able to tell by looking at the dmesg output - see if there is a warning from dsp_dld to say that the dsp task failed to load for example. Otherwise I don't have any immediate ideas, but will think about it (and do some testing when I have a spare minute or two).
|
Re: A2DP works, help me test it?
Can someone please tell me how to fix the sounds skipping when I listen to music with mPlayer or canola... I've tried installing dsp sbc and it didn't help at all. Or am I installing it wrong? I installed it through Terminal since I couldn't install it through application manager (kept getting an error message). I've typed this in "sh ./install_sbcenc.sh" and it gave me an successful message. Did I install it right or? I'm new to this whole linux stuff so keep that in mind :) I just got my N810 3 days ago and this was the first thing I've tried installing.
EDIT: Oh and can someone tell me how to fix this problem? http://www.internettablettalk.com/fo...61&postcount=2 I've tried this: http://www.internettablettalk.com/fo...31&postcount=3 but I still get the error message. Thanks! |
Re: A2DP works, help me test it?
Quote:
I think I read somewhere that pedestrian crossings interfere with A2DP. Does that correlate? |
Re: A2DP works, help me test it?
Quote:
Alternatively, look at the output of "dmesg" just after trying to use the DSP task, and it will say something about having loaded the task, or about not having been able to do so iirc. I don't have my headphones here so I can't check I'm afraid, and I won't be able to check till Sunday. Sorry, Simon |
Re: A2DP works, help me test it?
Hi,
I followed the howto and a2dp works on my n810 diablo. No Problems so far. But with dsp-sbc enabled mplayer only plays half of my podcasts correctly. The other half is sort of distorted. The only hint I found was this line in dmesg. From correct sound: frequency=2 blocks=3 subbands=1 mode=3 after playing a song that produced crap: frequency=2 blocks=3 subbands=1 mode=0 Does anybody know if this is a hint in the right direction ? Does anybody else have this problem ? Christoph |
Re: A2DP works, help me test it?
Quote:
I do have the JohnX's A2DP package installed and it is enabled. But how do I check what output mplayer produces? And do you know why my music don't play on my speakers and only my bluetooth headset? I've tried disconnecting my bluetooth headset and turned it off completely and it still doesn't work :( EDIT: Everytime I play a song through mplayer, it freezes but continues playing/skipping. EDIT2: If this is what you're asking for, it says, "Supported profiles: HFP, HSP" when I click the blue B, bluetooth settings, then devices. EDIT3: Alright I guess all I needed to do was let the song finish playing. It gave me this message at the end: Quote:
|
| All times are GMT. The time now is 09:08. |
vBulletin® Version 3.8.8