Re: bluez-alsa debian sid openmoko
2009/12/7 Timo Juhani Lindfors timo.lindf...@iki.fi A.A. a...@email.it writes: The same headset works fine on my computer with debian sid.. why? Are you using the same usb bluetooth dongle with your computer and openmoko? If not, can you try that? Sorry I don't have usb host adapter.. When the headset paired with gnome-bluetooth (lxde) it work well!!! the problem is in simple-agent script. -- A.A. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid openmoko
A.A. a...@email.it writes: Sorry I don't have usb host adapter.. When the headset paired with gnome-bluetooth (lxde) it work well!!! the problem is in simple-agent script. Yep. Neither upstream nor Debian provides command-line tools for bluez4. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid openmoko
A.A. a...@email.it writes: The same headset works fine on my computer with debian sid.. why? Are you using the same usb bluetooth dongle with your computer and openmoko? If not, can you try that? ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
bluez-alsa debian sid openmoko
Hi, I have installed bluez-alsa with apt-get install bluez-alsa on my freerunner. cat .asoundrc pcm.bluetooth { type bluetooth device 00:1A:7D:02:AB:2F # profile hifi } when I try to run mplayer: mplayer -ao alsa:device=bluetooth Multimedia/music/Franco\ Battiato\ -\ Come\ un\ cammello\ in\ una\ grondaia.mp3 MPlayer SVN-r29142-4.3.3 (C) 2000-2009 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Multimedia/music/Franco Battiato - Come un cammello in una grondaia.mp3. Audio only file format detected. == Trying to force audio codec driver family ffmpeg... Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400) Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio) == [AO_ALSA] alsa-lib: pcm_bluetooth.c:1607:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) [AO_ALSA] Playback open error: Input/output error Failed to initialize audio driver 'alsa:device=bluetooth' Could not open/initialize audio device - no sound. Audio: no sound Video: no video Exiting... (End of file) Inconsistency detected by ld.so: dl-close.c: 731: _dl_close: Assertion `map-l_init_called' failed! The same headset works fine on my computer with debian sid.. why? -- A.A. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid openmoko
Hi, I have installed bluez-alsa with apt-get install bluez-alsa on my freerunner. cat .asoundrc pcm.bluetooth { type bluetooth device 00:1A:7D:02:AB:2F ... The same headset works fine on my computer with debian sid.. why? Have you paired headset with freerunner? ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
bluez-alsa debian sid
Hi, I have installed in my moko with debian sid bluez-alsa package and configured .asoundrc: neo:~# cat .asoundrc pcm.bluetooth { type bluetooth device 00:1A:7D:02:AB:2F #profile auto } but when I try run mplayer -ao alsa:device=bluetooth... neo:~# mplayer -ao alsa:device=bluetooth Cappello\ A\ Cilindro\ -\ Per\ Non\ Rallentare.mp3 MPlayer SVN-r29142-4.3.3 (C) 2000-2009 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Cappello A Cilindro - Per Non Rallentare.mp3. Audio only file format detected. Clip info: Title: Per non rallentare Artist: Cappello a Cilindro Album: Per non rallentare Year: 2006 Comment: Track: 3 Genre: Other == Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... [AO_ALSA] Write error: Broken pipe ??,?% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 75.3% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 77.6% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 80.1% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 83.1% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 86.4% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 84.1% [AO_ALSA] Trying to reset soundcard. A: 5.3 (05.2) of 244.0 (04:04.0) 84.3% MPlayer interrupted by signal 2 in module: decode_audio A: 5.4 (05.3) of 244.0 (04:04.0) 84.7% Exiting... (Quit) Inconsistency detected by ld.so: dl-close.c: 731: _dl_close: Assertion `map-l_init_called' failed! How can I solve this problem... in my desktop (AMD64) all work perfectly. -- A.A. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
A.A. a...@email.it writes: I have installed in my moko with debian sid bluez-alsa package and configured .asoundrc: ... but when I try run mplayer -ao alsa:device=bluetooth... Are you sure you properly paired the headset? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
2009/10/31 Paul Fertser fercer...@gmail.com A.A. a...@email.it writes: I have installed in my moko with debian sid bluez-alsa package and configured .asoundrc: ... but when I try run mplayer -ao alsa:device=bluetooth... Are you sure you properly paired the headset? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com yes, sure. But, there are stops in the audio flow. sorry for my english. -- A.A. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
On Saturday 31 October 2009, A.A. wrote: 2009/10/31 Paul Fertser fercer...@gmail.com A.A. a...@email.it writes: I have installed in my moko with debian sid bluez-alsa package and configured .asoundrc: ... but when I try run mplayer -ao alsa:device=bluetooth... Are you sure you properly paired the headset? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com yes, sure. But, there are stops in the audio flow. sorry for my english. Try this: hciconfig hci0 lm master; hciconfig hci0 lp hold,sniff,park ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, A.A. wrote: A.A. a...@email.it writes: But, there are stops in the audio flow. Try this: hciconfig hci0 lm master; hciconfig hci0 lp hold,sniff,park Bluez developers claim that with bluez4 all stuff like that is always done automatically and correctly, that's why there're no more options like that in config, probably even these hciconfig commands are nops now. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
On Saturday 31 October 2009, Paul Fertser wrote: Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, A.A. wrote: A.A. a...@email.it writes: But, there are stops in the audio flow. Try this: hciconfig hci0 lm master; hciconfig hci0 lp hold,sniff,park Bluez developers claim that with bluez4 all stuff like that is always done automatically and correctly, that's why there're no more options like that in config, probably even these hciconfig commands are nops now. That may be the claim, but the commands worked on shr-u a month or two ago. mplayer went from skipping regularly every few seconds to skipping only when CPU or SD activity spiked. Has there been an update to bluez4 in shr-u that might have corrected this? ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, Paul Fertser wrote: Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, A.A. wrote: A.A. a...@email.it writes: But, there are stops in the audio flow. Try this: hciconfig hci0 lm master; hciconfig hci0 lp hold,sniff,park Bluez developers claim that with bluez4 all stuff like that is always done automatically and correctly, that's why there're no more options like that in config, probably even these hciconfig commands are nops now. That may be the claim, but the commands worked on shr-u a month or two ago. mplayer went from skipping regularly every few seconds to skipping only when CPU or SD activity spiked. Has there been an update to bluez4 in shr-u that might have corrected this? I don't think so. In this case probably this issue should have been discussed with upstream (and it's not too late to do it now for a one who can reproduce, i lack a2dp headset so i can't do that). -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
2009/10/31 Nikita V. Youshchenko yo...@debian.org Starting playback... [AO_ALSA] Write error: Broken pipe ??,?% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 75.3% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 77.6% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 80.1% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 83.1% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 86.4% [AO_ALSA] Trying to reset soundcard. [AO_ALSA] Write error: Broken pipe 84.1% [AO_ALSA] Trying to reset soundcard. A: 5.3 (05.2) of 244.0 (04:04.0) 84.3% How can I solve this problem... This is caused by mplayer not keeping with audio decoding in time. 1. Make mplayer to use integer decoder, not floating point one. 2. Make mplayer to output on lower bitrate. For mp3, try '-ac ffmp3 -af resample=22050' ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland thank you!, now all work perfectly!! Why, without option and bluetooth, mplayer work well? -- A.A. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: bluez-alsa debian sid
This is caused by mplayer not keeping with audio decoding in time. 1. Make mplayer to use integer decoder, not floating point one. 2. Make mplayer to output on lower bitrate. For mp3, try '-ac ffmp3 -af resample=22050' thank you!, now all work perfectly!! Why, without option and bluetooth, mplayer work well? I don't know for sure. Probably bluetooth audio has smaller driver-level buffer, or something like that. signature.asc Description: This is a digitally signed message part. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland