![]() |
Re: A2DP: Simplified Install Instructions
[QU
Quote:
OTE=aOTE=ascherjim;75665]Sachin: A slight mistake in the above. The "Ctrl-ap" and "Ctrl-an" keys in fact only toggle to the beginning of the playlist, not up and down within the playlist as I initially thought, and reported to you. However, I understand that some if not all of these x-term sidebar keys can be reprogrammed, so one could put the "Cap->" command into one of them for easy toggling within the playlist, and therefore maintain a full x-term screen (without keyboard) of broadcast information.[/QUOTE] scherjim;75665]Sachin: A slight mistake in the above. The "Ctrl-ap" and "Ctrl-an" keys in fact only toggle to the beginning of the playlist, not up and down within the playlist as I initially thought, and reported to you. However, I understand that some if not all of these x-term sidebar keys can be reprogrammed, so one could put the "Cap->" command into one of them for easy toggling within the playlist, and therefore maintain a full x-term screen (without keyboard) of broadcast information.[/QUOTE] YEAH i did realise that. regarding the video i think you are misunderstanding me. i am talking about live streaming 400 kbps video.... not stored video clips. ok let me be more precise..... Go to winamp in your pc and got to shoutcast video in the menu. copy the url and open it in xterm using just the mplayer code. now take a note of the clarity. now add the -ao ...>....... bluetooth eXtensION and compare bot ull undersatnd wat i mean!!! |
Re: A2DP: Simplified Install Instructions
Quote:
First of all, of course, winamp is a Windows application, which in pursuit of this matter I have now downloaded onto my PC. I then, as you requested, went into shoutcast video (which they seem to reference as "shoutcast tv." I brought up the listing of video channels, but didn't seem to spot anything that looked like a url. (At least nothing was labeled as such.) So, the question now is: where do I find the url (or url's) I'm supposed to copy -- and how then, once found, do I copy it/them to my N800 x-term (other than entering it manually with the keyboard)? Also, regarding the url, what is the "mplayer" code I'm to use? Again, my apologies. On another matter, have you given any consideration to my prior suggestion to format a wiki-type entry for your Bluetooth internet radio hack as a separate thread, to make it more noticeable and accessible to other possibly interested forum members? |
Re: A2DP: Simplified Install Instructions
I was able to get it to work on the n770.
I had to recompile mplayer with alsa and mp3 support, and the cpu usage is too high to be used from kagu - a lot of skipping happens. But from the command line it works great. I'm working on optimising the sbc codec, I already made some progress and more to come The quality is way better than my windows mobile 5 PPC with built-in a2dp, and so is the range. the PPC starts skipping from 1 - 2 meters as opposed to the n770 that works up to 10m with walls in between. The sbc codec has a lot of room for optimisation. cheers |
Re: A2DP: Simplified Install Instructions
YEEEEES I can say that I i followed step by step your guide and within 10 mins tops I had great quality music flowing to my bluetooth speakers. I might as well give a big thumbs up for the Sony SRS BTM-30 too. Its a little on the pricey side, but i cant do without it at work. The sound quality is amazing even has good bass for the small compact size. It connected flawlessly to my n800, and this little boombox runs off 3 aa batteries, or an ac adapter so i can even roll in my car with the box on my seat heh. Anyways, thanks for giving us such an easy walkthrough for a2dp!
|
Re: A2DP: Simplified Install Instructions
It looks as though the logitech headsets aren't supported? Can anyone confirm this?
/home/user/a2dp # ./btscan.sh -d Name: BT-Headphones Address: 00:0D:44:44:FE:D7 Services: [0x110E,0x110B,0x110E,0x110B,0x110E,0x110B,0x110E,0 x110B,0x110E,0x110B,rendering,0x110B,0x110E,0x110B ,0x110E,0x110B,0x110E,0x110B,0x110E,0x110B,0x110E] Trusted: true Is Phone: false Candidate: false ====================== Unable to detect any paired and trusted Bluetooth devices supporting the audio profile. |
Re: A2DP: Simplified Install Instructions
jmiahman - that headset doesn't appear to support the "audio" service (profile). These are the services for my SonyEricsson HBH-DS970 (stereo A2DP headset with microphone)
Code:
Services: [rendering,audio,0x110E,0x110C,0x110B,0x8E771301,0x1108,0x111E] I've assumed the "audio" service is used to represent A2DP support, however I could be wrong and it's "rendering" that is the essential service! Try using the Bluetooth address of your Logitech headset anyway and see if it works with Kagu - if it does, I'll update the btscan.sh script so that it checks for "rendering" instead of "audio". |
Re: A2DP: Simplified Install Instructions
I have been diligently reading and rereading the instructions and posts and still am in need of some help.
1. I'm trying to pair a Jabra BT620s to my 770. I have the 2006 os. Is there any problem there? 2. After following the "prerequisites" (successfully, I believe) I try to pair. I only see the option to pair under the connection manager under the option of pairing to a phone. When I try to pair them I get a message that the "phone" has no services available. Am I doing something wrong in the pairing? Any other advice would be appreciated, too. |
Re: A2DP: Simplified Install Instructions
1. It might pair, it might not. Even if it does, A2DP is not supported (officially or unofficially) with OS 2006 so you're wasting your time
2. OS 2006 is not supported. OS 2007HE is your best bet, but requires modified Bluetooth packages (someone is working on this I believe - try searching the forum) which are not included in this simplified installation. The intructions in this thread are for N800 only (if at some point in the future A2DP can be made to work with OS 2007HE I'll attempt to update the instructions) (Have added a new prerequisite #0)... :) |
Re: A2DP: Simplified Install Instructions
Thanks for the info. I guess I'll give up on this. What a bummer, though. It just seems that if the unit has a media player and it has bluetooth, it should be able to play audio through bluetooth headphones!
|
Re: A2DP: Simplified Install Instructions
I've bought Sony's headset recently. There are several models, and all of them have both SBC and MP3 support. It seems it is getting mainstream. Which means, AFAIK, that MP3 can be streamed without any recoding and this should save battery a lot. Is it supported to use MP3 codec in AD2P?
|
Re: A2DP: Simplified Install Instructions
Quote:
|
Re: A2DP: Simplified Install Instructions
Quote:
2007HE needed, and the sbc is far from optimal. But it works. |
Re: A2DP: Simplified Install Instructions
Quote:
|
Re: A2DP: Simplified Install Instructions
I have the hacker edition, and it comes with alsa (i recommend it to any 2006 users, works great and much better than 2006)
I had to build the sbc codec and a2dp packages, and also recompile mplayer with mp3 and alsa support for n770 (the one for n800 will NOT work, due to different cpu optimizations) mplayer from commandline works great with a2dp, but from kagu it skips badly. You could set the priority for the a2dpd deamon to a higher value with renice but this requires root and is far from comfortable. I'm working on a simple mp3 player with playlist and other basic features so that the n770 users can also enjoy a2dp. cheers [edit] i just realised that if kagu would release the cpu faster when idle, it would be usable on n770. Right now it's _almost_ ok in the song view, but any other screen seems to do extensive drawing even when idle, causing skipping Most of the screens are static anyway, so some simple optimizations to redraw only what/when needed would save some cpu (and battery) allowing a lot of n770 users to enjoy wireless music with a great player |
Re: A2DP: Simplified Install Instructions
On a related side question, what a2dp headsets are everyone using with the n800?
I'm in the market for either a small receiver to use with existing headphones or a headset I can use at the gym (no cables to trip over = good thing :) ) Eventually, I'm hoping to watch recorded tv episodes on mplayer via a2dp headsets. |
Re: A2DP: Simplified Install Instructions
I am using nokia bh-601. They are pretty good.... but not out of the world. I got them real cheap for 40$ on ebay. If you are looking for a good pair.... i would suggest waiting for nokia bh- 604 which was recently announced. It has not yet started to ship... but being a big nokia fan..... i would like to get them.
|
Re: A2DP: Simplified Install Instructions
Sony Ericsson HBH-DS970 headphones (with microphone and call answering) - they're OK.
|
Re: A2DP: Simplified Install Instructions
Quote:
|
Re: A2DP: Simplified Install Instructions
Quote:
ALSA support is not enabled for n770 build of MPlayer because ALSA is not normally available in OS2006. Once somebody creates ALSA package for OS2006 which works out of the box and puts it into garage extras repository, it will be possible to add official support for ALSA to n770 build of mplayer. ALSA would be probably also useful for other applications. |
Re: A2DP: Simplified Install Instructions
hey serge,
Is it possible to setup a2dp without the use of kaju? If someone can seperate kaju and a2dp giving the a2dp function as a seperate function it would reduce the cpu load and allow us to do something else like browsing etc while listening to a2dp via streaming radio. I am not saying that kaju is bad infact it is great but we dont need the kaju interface when we are listening to internet radio via mplayer and a2dp. For the regular songs in the memory cards kaju works like a charm..... just wanted to ask thanks |
Re: A2DP: Simplified Install Instructions
I strongly support Sachin's query. I have successfully been using his excellent method for listening to internet radio music with Bluetooth headphones, through incorporating Kagu and Xterm. While I certainly share with him his appreciation for Kagu, it would be nice not to have to go through that additional step of bringing-up Kagu solely to be able in this regard to utilize a2dp for the Bluetooth headphone internet radio reception.
|
Re: A2DP: Simplified Install Instructions
Quote:
I'm working on it, problem is the alsa buffer is very small - 4KB, so I need a lot of pooling to keep it full. It will have visualizations and EQ support later, now i try to make the playlist usable, and lower the cpu as much as possible. I could post the n770 mplayer with alsa and mp3 support if there is demand, but it's not very usefull with Kagu just yet on n770. cheers |
Re: A2DP: Simplified Install Instructions
Dabuplayer: I'm not certain I understand. I (we) want to use Bluetooth headphones to listen to internet radio WITHOUT going through Kagu. Will your hack enable us to do that?
|
Re: A2DP: Simplified Install Instructions
I don't know if this has happened to anybody else but i found that i had to unpair my logitec freepulse II headphones from the n800 after setting his up. Up until this point i could get it to link up to the n800 but magically the moment i unpaired it work flawlessly (breaks up occasionally but far less than it did with my Sony Ericson Walkman phone).
|
Re: A2DP: Simplified Install Instructions
Quote:
Also if optimizations to MP3 decoder running on ARM core are needed to lower cpu load and save battery, they could be done too. Alternatively we can investigate the possibility of running MP3 decoder on DSP, but that's probably harder and the result is not guaranteed. |
Re: A2DP: Simplified Install Instructions
FYI, the latest bluez-utils (3.20) has some optimization work I did on the encoder. At least on paper, it has 35% (8 subbands) to 50% (4 subbands) fewer multiplies inside the inner loop. If the compiler hadn't already figured out these optimizations itself then the encoder should be much easier on the cpu and battery life.
|
Re: A2DP: Simplified Install Instructions
Quote:
|
Re: A2DP: Simplified Install Instructions
Quote:
So what I do basically is a mp3 player that will take very few resources, will know about a2dp, have some basic playlist and eq, and will enable 770 users to use bt headsets while doing some other stuff. The player is coded in C and so far it's pretty fast. I'm quite busy at work so it's going sloow, and there are a lot of distractions in barcelona :P But it will be out, cause I need it |
Re: A2DP: Simplified Install Instructions
Quote:
|
Re: A2DP: Simplified Install Instructions
Quote:
ALSA support is a bit more difficult as OS2006 does not have ALSA preinstalled. |
Re: A2DP: Simplified Install Instructions
When I type mkdir ~/a2dp. It reads: directory not found. And how do I know if it's set as user and how do I switch to root? Sorry, I'm a newbie. I bought Motorola S9 bt headset and I can't get past this obstacle. I appreciate any input on this. Thanks!
QUOTE=Milhouse;70757]Read and follow the instructions carefully - don't pass the bluetooth address as a parameter when you are the root user, pass it only when you are the normal user "user". Then switch to root and run install.sh again but this time *without* the bluetooth parameter. If I get time maybe I'll change the script so that you only need to run install.sh once as user (and have it switch to root automatically when required) but for now it's a two step process that requires you to follow the instructions. :)[/QUOTE] |
Re: A2DP: Simplified Install Instructions
To tell if you logged in as "user" (non-privileged account) or "root" (super user, the most privileged account possible) type the command "whoami" in xterm, the response will be either "user" or "root". When you first open xterm you will be logged in as "user", and you have to execute the command "sudo gainroot" to become "root" (the command prompt will also have a # appended to differentiate "root" from "user").
While logged in as "root" you can return to the "user" account by typing the command "exit" which logs you out of the "root" account - if you type "exit" when logged in as "user", xterm will close as you have now logged out of your session! :) I'm not sure why directory creation (mkdir ~/a2dp) is failing, make sure you execute this command when logged in as "user". |
Re: A2DP: Simplified Install Instructions
Using the instructions I was able to get to the second to the point where I have to enter the address of the bluetooth headphone. I too receive the message sbc-svn_20070608-1_armel.deb not found.
If I ignore that and gainroot then issue ./install sh I receive install not found. Tried to follow your corrective procedure but nothing worked. Nothing listed in Application Manager to uninstall. Don't know where to go from here. Can't find armel.deb either. Had the N800 2 days but I have a pair of Lubix bluetooth headphones and want to be able to use them. |
Re: A2DP: Simplified Install Instructions
I recently updated my firmware and follwed every step of milhouse to the word, well i downoaded and installled wget from maemo.org so other than thay just follow each and every step to the word. If it still doesnt work try to make a back up and then reinstall the firmware and then restore backup after you go through the procedure. Like i said just follow the instructions with a brand new frmware and it worked for me..... so it should also for you.
|
Re: A2DP: Simplified Install Instructions
Quote:
It's there, maybe you experienced a temporary network glitch - try again. If your N800 WiFi connection is flakey, refer to bug #1636 for a solution. Quote:
The instructions don't get much simpler than this. Read slowly and carefully, cut & paste the commands you need to run rather than typing them if you're not comfortable with xterm. If you follow the instructions this will work, but if it doesn't you've almost certainly missed a step or entered a command incorrectly. |
Re: A2DP: Simplified Install Instructions
Great work, KUDOs to Millhouse. I took advantage of the N800 price drop and rvc'd my N800 yesterday. I was shocked (and saddened) to findout that Skype, and the media players will not pipe audio to my Mot. HS850 mono bluetooth headset. I tediously / methodically careful did all the things described by Millhouse to get A2DP into KAGU. Great job by him there. Everything "appears" to work but no sound eminates from my Mot. HS850. I play a MP3 file in Kagu, click the bluetooth icon in the KAgu upper right screen portion, the sound stops flowing from the N800 speakers (I seem to have to press play again to get the digital progress to resume incrementing), there is no sound from either the HS850 or the N800. Yet the player appears to be playing the MP3. If I view the N800 home screen I see the bluetooth icon has changed color, also I know the HS850 is properly paired because whenever I press the HS850's button the icon on the N800's home page does change color (status). I have listened to MP3 on WIndows Pocket PC's with this Mot. HS850 so I know the HS850 can do A2DP (I used my Dell X30 advanced). HERE IS MY QUESTION: Is it possible that this thing from Millhouse isn't working for me because my Bluetooth headset is MONO? (not stereo). Seems odd bu that is all I can figure is the issue. What say you Millhouse? Thanks in advance for your response. M5
|
Re: A2DP: Simplified Install Instructions
I remember reading somewhere that these A2DP drivers do not support mono headsets.
|
Re: A2DP: Simplified Install Instructions
Thank you. That seems to be the case. Everything looked like I should have heard music via bluetooth with Kagu after doing the Milhouse functions, and clicking the bluetooth icon in Kagu. When I pressed the bluettoth icon in Kagu a second time it toggled the N800 speakers back on (switched from external BT audio back to internal speaker audio). Can anyone substantiate that my Motorola HS850 is the issue? Odd how my Dell Pocket PC Axim X30 sent audio to the Mot. HS850 successfully, bu the N800 refuses. Regards.
|
Re: A2DP: Simplified Install Instructions
I can confirm that Millhouse's hack works with A2DP on my Sony DR-BT10CX headphones.
In the Bluetooth spec, mono audio is not handled by the A2DP profile at all. They handled completely differently, with different codecs and even different layers of the Bluetooth protocol stack. I am pretty sure Millhouse has only implemented A2DP so no mono... |
Re: A2DP: Simplified Install Instructions
Does it matter if the Player: selected within Kagu is OSSO, or MPLAYER to get the audio to flow to the bluetooth ? Thanks.
|
All times are GMT. The time now is 16:11. |
vBulletin® Version 3.8.8