All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Pook <linux-bluetooth4@pook.es>
To: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: bluez-4.30: aplay: pcm_write:1269: write error: Input/output error
Date: Sun, 15 Feb 2009 00:11:08 +0100	[thread overview]
Message-ID: <49974F8C.2080603@pook.es> (raw)

hello

I have just installed bluez-4.30 on my machine running linux 2.6.28-rc6 and have found that aplay no longer works every time. As you can see it worked once in five attempts.

:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: pcm_write:1269: write error: Input/output error
:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: pcm_write:1269: write error: Input/output error
:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: pcm_write:1269: write error: Input/output error
:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: pcm_write:1269: write error: Input/output error

Once I got a bit of music then a different message

:; aplay -d 6 -D JX10 /home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav
Playing WAVE '/home/stuart/ws/music_test/Rebecca_Pidgeon-You_Got_Me-8000-mono.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
ALSA lib pcm_bluetooth.c:245:(playback_hw_thread) poll fd 0 revents 32

Sometimes it works until the end of the song.  I have a Jabra JX10 headset and a Belkin F8T017 Bluetooth adapter.

bluetoothd[6036]: Accepted new client connection on unix socket (fd=14)
bluetoothd[6036]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[6036]: Audio API: BT_RESPONSE -> BT_GET_CAPABILITIES
bluetoothd[6036]: Audio API: BT_REQUEST <- BT_SET_CONFIGURATION
bluetoothd[6036]: config sco - device = 00:1A:45:2F:49:98 access_mode = 2
bluetoothd[6036]: /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: Connecting to 00:1A:45:2F:49:98 channel 1
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
bluetoothd[6036]: /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: Connected to 00:1A:45:2F:49:98
bluetoothd[6036]: Received AT+BRSF=27
bluetoothd[6036]: HFP HF features: "EC and/or NR function" "Call waiting and 3-way calling" "Voice recognition activation" "Remote volume control" 
bluetoothd[6036]: Received AT+CIND=?
bluetoothd[6036]: Received AT+CIND?
bluetoothd[6036]: Received AT+CMER=3, 0, 0, 1
bluetoothd[6036]: Event reporting (CMER): mode=3, ind=1
bluetoothd[6036]: HFP Service Level Connection established
bluetoothd[6036]: telephony-dummy: device 0xb99582f8 connected
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_CONNECT_IN_PROGRESS -> HEADSET_STATE_CONNECTED
bluetoothd[6036]: Audio API: BT_RESPONSE -> BT_SET_CONFIGURATION
bluetoothd[6036]: Audio API: BT_REQUEST <- BT_START_STREAM
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_CONNECTED -> HEADSET_STATE_PLAY_IN_PROGRESS
bluetoothd[6036]: Received AT+VGS=15
bluetoothd[6036]: SCO socket opened for headset /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98
bluetoothd[6036]: SCO fd=20
bluetoothd[6036]: Audio API: BT_RESPONSE -> BT_START_STREAM
bluetoothd[6036]: Audio API: BT_INDICATION -> BT_NEW_STREAM
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_PLAY_IN_PROGRESS -> HEADSET_STATE_PLAYING
bluetoothd[6036]: Unix client disconnected (fd=14)
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_PLAYING -> HEADSET_STATE_CONNECTED
bluetoothd[6036]: No matching connection found for handle 6
bluetoothd[6036]: telephony-dummy: device 0xb99582f8 disconnected
bluetoothd[6036]: State changed /org/bluez/6036/hci0/dev_00_1A_45_2F_49_98: HEADSET_STATE_CONNECTED -> HEADSET_STATE_DISCONNECTED


This is all part of my attempts to get bluez (>4.19) and twinkle http://twinklephone.com/ to talk to each other!

Stuart

                 reply	other threads:[~2009-02-14 23:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49974F8C.2080603@pook.es \
    --to=linux-bluetooth4@pook.es \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.