All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: linux-bluetooth@vger.kernel.org
Subject: aplay: set_params:966: Channels count non available
Date: Fri, 03 Jul 2009 08:29:57 -0400	[thread overview]
Message-ID: <1246624197.3410.415.camel@pc.interlinx.bc.ca> (raw)

[-- Attachment #1: Type: text/plain, Size: 2530 bytes --]

I am ultimately, trying to get my Jabra BT 125 headset to work with
pulseaudio, but given that I am having problems with that, I thought I
would take a step back and see if I could just get basic BT headset
functionality working first.

I am using linux 2.6.30, and bluez 0.41 and this BT dongle:

Bus 002 Device 008: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth

I have the headset paired with my workstation but when I try to play a
file with it I get an error:

$ aplay -D bluetoothraw /mnt/mp3/bad_mouth.wav 
Playing WAVE '/mnt/mp3/bad_mouth.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:966: Channels count non available

When I try this, bluetoothd -d reports:

bluetoothd[21210]: Accepted new client connection on unix socket (fd=24)
bluetoothd[21210]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[21210]: Audio API: BT_RESPONSE -> BT_GET_CAPABILITIES
bluetoothd[21210]: Unix client disconnected (fd=24)
bluetoothd[21210]: client_free(0x130f7d0)

In my ~/.asoundrc I have:

pcm.bluetoothraw {
   type bluetooth
   device 00:1A:45:1B:19:89
   #profile "auto" #optional, supported profiles are: auto, hifi and voice
}

Uncommenting that profile doesn't seem to help.

Additionally, when I try to record from the headset:

$ arecord -D bluetooth -f S16_LE | paplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
ALSA lib pcm_bluetooth.c:1607:(audioservice_expect) BT_OPEN failed : Invalid argument(22)
arecord: set_params:1022: 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

and bluetoothd -d says:

bluetoothd[21210]: Accepted new client connection on unix socket (fd=24)
bluetoothd[21210]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[21210]: Audio API: BT_RESPONSE -> BT_GET_CAPABILITIES
bluetoothd[21210]: Audio API: BT_REQUEST <- BT_OPEN
bluetoothd[21210]: open sco - object=ANY source=ANY destination=ANY lock=read
bluetoothd[21210]: Unable to open seid 64
bluetoothd[21210]: Audio API: BT_ERROR -> BT_OPEN
bluetoothd[21210]: Unix client disconnected (fd=24)
bluetoothd[21210]: client_free(0x130f7d0)

Something is definitely awry, but I'm not really sure where to go from
here in debugging.

Any help would be appreciated.

Thanx,
b.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

                 reply	other threads:[~2009-07-03 12:29 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=1246624197.3410.415.camel@pc.interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --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.