Return-Path: Date: Fri, 5 Sep 2008 17:26:54 +0100 From: martin f krafft To: BlueZ development Message-ID: <20080905162654.GA17843@lapse.rw.madduck.net> References: <20080822073628.GA5989@piper.oerlikon.madduck.net> <1219394015.7591.441.camel@violet.holtmann.net> <20080826163544.GA5068@lapse.rw.madduck.net> <8C64B784-7758-40B0-AE1B-C15F475693D4@holtmann.org> MIME-Version: 1.0 In-Reply-To: <8C64B784-7758-40B0-AE1B-C15F475693D4@holtmann.org> Subject: [Bluez-devel] "unable to install hw params" to bluetooth (SCO) headset (was: btusb+sco failing to play sound through Jabra BT500v headset) Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0657236474==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0657236474== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Marcel Holtmann [2008.08.26.1819 +0100]: > don't use headsetd. Use the audio stuff that comes with bluez-utils. So I am trying, and I got a little further, installing the right lines into .asoundrc as per http://wiki.bluez.org/wiki/HOWTO/AudioDevices. I have gotten beyond issues of bt_audio_service_open: connect() failed: Connection refused (111) aplay: main:564: audio open error: Connection refused=20 but it still doesn't want to work. If I execute arecord -D bt500v -f S16_LE | aplay -D bt500v -f S16_LE then the headset makes a noise, the bluetooth LED flashes and arecord prints Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono But then after about 30 or 40 seconds, it all fails: ALSA lib pcm_bluetooth.c:464:(bluetooth_hsp_hw_params) BT_SETCONFIGURATIO= N failed : Input/output error(5) arecord: set_params:979: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 16 CHANNELS: 1 RATE: 8000 PERIOD_TIME: 125000 PERIOD_SIZE: 1000 PERIOD_BYTES: 2000 PERIODS: 4 BUFFER_TIME: 500000 BUFFER_SIZE: 4000 BUFFER_BYTES: 8000 TICK_TIME: [0 0] aplay: playback:2019: read error I have bluez-audio installed, but /etc/bluetooth/audio.conf is default. No PulseAudio or anything other than plain ALSA here... Any clues? --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "alas, i am dying beyond my means." -- oscar wilde =20 spamtraps: madduck.bogus@madduck.net --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/) Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjBXc0ACgkQIgvIgzMMSnX49QCgvf4xnsUtB7qtlPQcyY5kdUkp 2KIAn30WuRYTae8nJe84bvdMYkznpvkA =HuTR -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- --===============0657236474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ --===============0657236474== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0657236474==--