![]() |
Re: A2DP works, help me test it?
Hello Blowfish,
deleting and re-pairing did i already without success. The DC800 has no controls but with my E51 volume is OK. Think this is the latest version found in the repository 1.0rc1-maemo.29.n8x0. Any other idea? |
Re: A2DP works, help me test it?
Anybody here using Logitech FreePulse headset? Looks like it has problems with audio clipping when used with soundtracks which have audio volume maximized. A workaround is to reduce volume either in the player program or in bluez SBC encoder. If you encounter audio quality issues like clicks or 'frying pan' noise which are not defects of the original audio file itself of course, please let me know.
|
Re: A2DP works, help me test it?
Hello,
I'm having some trouble getting A2DP to work on my nokia N810. I followed the instructions in the first post. Are those instructions still current? I'm running the latest version of the OS. The a2dp-support package installs correctly, and running a2dp firstrun and a2dp enable also seems to work. I am running mplayer version 1.0rc1-maemo.29.n8x0. When I try to play a file, I recieve the following error: alsa-lib: pcm_bluetooth.c:1589:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5) The bluetooth headset I'm using is paired prior to this and it does (is advertised to) support a2dp. I double(triple) checked the address given to a2dp firstrun. It works in non-A2DP mode. Any help would be greatly appreciated. If there is another method for enabling a2dp, I'd love to know. I know my way around linux quite well, but I am new to the n810, bluetooth, and maemo. Nathan |
Re: A2DP works, help me test it?
This sometimes happens (no idea why), try re-pairing your headset with the N810 and running the "runfirst" script again.
|
Re: A2DP works, help me test it?
Quote:
Nathan |
Re: A2DP works, help me test it?
Quote:
I had a nokia n95-4 which was also paired to the headset and this caused a problem. Deactivate the bluetooth on the phone and repairing solved the problem. |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
Quote:
Nathan |
Re: A2DP works, help me test it?
This broke my MD-5W speakers. The a2dp profile is missing now. :(
|
Re: A2DP works, help me test it?
ah, got things working with my bt8010's. just had to turn of the tablet siunds so that the headset didnt go into phonecall mode every time i touched the phone.
also, one cant do much else while playing music... |
Re: A2DP works, help me test it?
got the same problem with my tablet n810-media player send via bluetooth and the bluetooth connection drops out
what annoys me is that the md 7w speakers were stated as being compatiable with the n810 |
Re: A2DP works, help me test it?
The instructions on the first page are still valid, and work without a problem, the only problem is that mplayer normaly uses 5 to 10 % , and using the A2DP it spikes to 50%, when monitoring using # top
So it works, but I think battery is going to be an issue... Thanks for the hint |
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
svs57, could you please fix your a2dp script with adding
enabled=0 at the start? Otherwise the line if [ $enabled -eq 1 ] ; then gives the error message, when $enabled is not initialized. Thanks |
Re: A2DP works, help me test it?
1 Attachment(s)
Thank you svu.
I fixed script. |
Re: A2DP works, help me test it?
I'm trying to get this to work with a pair of LG HSB-250 which support A2DP. I have read all 9 pages of this tread. I followed the first message - actually 3 times now rebooting between tries.
With a2dp enabled: mplayer - plays a video with no sound. Occasionally it plays a double speed with no sound. Until the video actually plays, screen taps play. Version 1.0rc1-maemo20.n8x0 Kagu simply crashes. With a2dp disabled I can hear in both speakers, but the quality is poor. Kagu plays normally. The headphones connect in HFP, HSP. I was able to make a call with Goggle Voice and Gizmo. Any other suggestions? |
Re: A2DP works, help me test it?
Try un-pairing and then re-pairing, getting it to connect the first time can be a real pita.
|
Re: A2DP works, help me test it?
Thanks for the suggestion. Unfortunately after 6 un-pairing / re-pairings, the results are the same.
I have tried re-pairing while a2dp and enabled and a2dp was disabled. I have triple checked the Bluetooth address. As an experiment, I paired (and then un-paired) the headset with a Mac and achieved full a2dp support including controlling iTunes with the headset controls, so I know the headset works correctly. Any other suggestions? |
Re: A2DP works, help me test it?
Start xterm. From xterm type
mplayer <Path to mp3 file>/<mp3 file name> for example mplayer /media/mmc2/music.mp3 Then copy output and paste here. IMHO FAQ miss very important part - create a2dp device Here is python script for this ----------------------------------- import dbus bus = dbus.SystemBus() manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager') bus_id = manager.ActivateService('audio') audio = dbus.Interface(bus.get_object(bus_id, '/org/bluez/audio'), 'org.bluez.audio.Manager') path = audio.CreateDevice('XX:XX:XX:XX:XX:XX') audio.ChangeDefaultDevice(path) #change the device to be used by default sink = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.audio.Sink') sink.Connect() ---------------------------------------------- Change in the line path = audio.CreateDevice('XX:XX:XX:XX:XX:XX') BT address of your headphone Also check file /etc/bluetooth/audio.conf line Disable=Control,Sink,Source should be #Disable=Control,Sink,Source And restart BT as root /etc/init.d/bluez-utils stop /etc/init.d/bluez-utils start Hope this help you. |
Re: A2DP works, help me test it?
Thank you so much for trying to help. I really appreciate it. But still no a2dp sound.
==-=-== I rebooted the N810, re-paired the HBS-250 headset, did a a2dp runfirst adding the correct device 00:07:88:6A1:E1:72 and ran mplayer as you suggested ==-=-== 12/04/09, 10:59 AM: /media/mmc2 $ mplayer fpb.mp3 MPlayer 1.0rc1-maemo.29.n8x0 (C) 2000-2006 MPlayer Team CPU: ARM Internet Tablet OS version: RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0 [MENU] Can't open menu config file: /home/user/.mplayer/menu.conf Menu inited: /etc/mplayer/menu.conf Playing fpb.mp3. Audio file file format detected. ================================================== ======================== Trying to force audio codec driver family dspmp3...Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770/N800 (fake decoder) ADecoder preinit failed :( ADecoder init failed :( Trying to force audio codec driver family libmad...Opening audio decoder: [libmad] libmad mpeg audio decoder AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400) Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3) ================================================== ======================== alsa-lib: pcm_bluetooth.c:1589:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5) alsa-init: playback open error: Input/output error Could not open/initialize audio device -> no sound.Audio: no sound Video: no video Exiting... (End of file) ==-=-== I then ran your script ==-=-== 12/04/09, 11:00 AM: /media/mmc2 $ python usebt.py Traceback (most recent call last): File "usebt.py", line 7, in <module> path = audio.CreateDevice('00:07:88:6A1:E1:72') File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking message, timeout) dbus.exceptions.DBusException: org.bluez.Error.ConnectionAttemptFailed: Host is down /media/mmc2 $ ==-=-== and reran mplayer ==-=-== ______ 12/04/09, 11:01 AM: /media/mmc2 $ mplayer fpb.mp3 MPlayer 1.0rc1-maemo.29.n8x0 (C) 2000-2006 MPlayer Team CPU: ARM Internet Tablet OS version: RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0 [MENU] Can't open menu config file: /home/user/.mplayer/menu.conf Menu inited: /etc/mplayer/menu.conf Playing fpb.mp3. Audio file file format detected. ================================================== ======================== Trying to force audio codec driver family dspmp3...Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770/N800 (fake decoder) ADecoder preinit failed :( ADecoder init failed :( Trying to force audio codec driver family libmad...Opening audio decoder: [libmad] libmad mpeg audio decoder AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400) Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3) ================================================== ======================== alsa-lib: pcm_bluetooth.c:1589:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5) alsa-init: playback open error: Input/output error Could not open/initialize audio device -> no sound.Audio: no sound Video: no video Exiting... (End of file) ==-=-== I also rebooted and re-paired. |
Re: A2DP works, help me test it?
python script msg: Host is down
means that or BT address is incorrect or headphone is off. Try remove BT headphone device and add it again after you change /etc/bluetooth/audio.conf and restart bluetooth You must first of all create a2dp alsa device using python script before you can use it. PS You can find more information on http://wiki.bluez.org/wiki/HOWTO/AudioDevices |
Re: A2DP works, help me test it?
I installed the a2dp support (a2dp-support_0.9_all.deb) and followed the guide. I have a Motorola S805, and although a2dp is enabled, I am still getting mono sound. I have the latest mplayer installed (1.0rc1-maemo.29.n8x0)
Please help! |
Re: A2DP works, help me test it?
Quote:
either you're still using SCO audio or the sound file is mono or mplayer is broken or the configuration is broken - be sure to check you have the correct mac address so it can connect meanwhile you'll have to paste some of the mplayer output as we're simply guessing in the dark as to what's going on!! |
Re: A2DP works, help me test it?
Quote:
What mplayer output are you talking about pasting? |
Re: A2DP works, help me test it?
Who knows what is the current situation with AVRCP support? Do stop, next, prev, etc buttons work? Any chance?
|
Re: A2DP works, help me test it?
On the N900? Yes they do.
|
Re: A2DP works, help me test it?
I mean the previous ones - N8x0. I believe this new N900 support everything.
|
Re: A2DP works, help me test it?
Quote:
|
Re: A2DP works, help me test it?
My experience with a2dp:
proc load ~ 12%-15% battery from 100% to 86%-90% working ~1.5 hour. |
Re: A2DP works, help me test it?
Quote:
http://git.kernel.org/?p=bluetooth/b...183a52f9f6c096 |
Re: A2DP works, help me test it?
Did you compile new bluez for N810?
|
Re: A2DP works, help me test it?
Quote:
Just the content of 'sbc' subdirectory from bluez-4.67 should be used now. |
Re: A2DP works, help me test it?
I downloaded bluez-4.67.
There is no Makefile.am in sbc directory. Appling both patches form git.kernel is failed. |
Re: A2DP works, help me test it?
Quote:
2. copy 'sbc' directory from bluez-4.67 over the 'sbc' directory in that tarball 3. take Makefile.am from old tarball and add new files 'sbc_primitives_armv6.c' and 'sbc_primitives_armv6.h' to it (similar to how 'mmx' and 'neon' files are listed there) 4. make sure that the package gets built with -march=armv6 or -mcpu=arm1136jf-s options to get armv6 optimizations compiled in. I hope somebody in this thread still maintains the a2dp support package for diablo and will provide an updated .deb file soon. |
Re: A2DP works, help me test it?
Thanks. I'll try to compile.
|
Re: A2DP works, help me test it?
2 Attachment(s)
Packages with the armv6 sbc patch.
|
Re: A2DP works, help me test it?
I'd test it if my battery life didn't suck already.
|
| All times are GMT. The time now is 16:46. |
vBulletin® Version 3.8.8