Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: mark@undertone.org
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: btw
Date: Thu, 17 Oct 2002 10:26:48 +0200	[thread overview]
Message-ID: <s5h8z0x5v3r.wl@alsa2.suse.de> (raw)
In-Reply-To: <20021016194055.GA11982@undertone.org>

At Wed, 16 Oct 2002 14:40:55 -0500,
mark@undertone.org wrote:
> 
> atrophy:~# aplay -Dhw:1,0 foo.wav 
> Playing raw data 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
> aplay: set_params:785: Sample format non available
> atrophy:~# aplay -c1 sexy.wav 
> Playing raw data 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
>   <<<< it ran for a bit here, seemed to be cool with it
> Aborted...

ah, since 8000Hz 8 bit is not supported on this device.
please use plughw instead of hw, that is,

	% aplay -Dplughw:1,0 foo.wav

> atrophy:~# amixer -Dhw:1,0
> ALSA lib conf.c:3816:(parse_args) Unknown parameter 1
> ALSA lib conf.c:3938:(snd_config_expand) Parse arguments error: No such file or directory
> ALSA lib control.c:601:(snd_ctl_open_noupdate) Invalid CTL hw:1,0
> amixer: Mixer attach hw:1,0 error: No such file or directory

for the control (mixer) interface, no second zero, that is, use
'-Dhw:1'.  (btw, it's equitvalent "amixer -c 1").

> 
> > hmm, strangely, now you got only one playback, although there were
> > more at the previous time.
> > which usb control module are you using?
> > for example, i found that the behavior of device is different between
> > usb-uhci and uhci modules...
> 
> I compiled both controler modules and have tried using them
> interchangably. Same result. There is no difference in the stream0
> file - checked with a diff.

you can check this also via the output of 'lsusb -v'.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm

  reply	other threads:[~2002-10-17  8:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021014191214.GB6704@undertone.org>
     [not found] ` <20021014192959.GA6792@undertone.org>
     [not found]   ` <20021014193407.GA6821@undertone.org>
     [not found]     ` <s5h8z106km8.wl@alsa2.suse.de>
2002-10-15 17:57       ` btw mark
2002-10-16 10:15         ` btw Takashi Iwai
2002-10-16 19:40           ` btw mark
2002-10-17  8:26             ` Takashi Iwai [this message]
2002-10-17 13:42               ` btw mark
2002-10-17 14:30                 ` btw Takashi Iwai
2002-10-17 15:20                   ` btw mark
2002-10-17 16:56                     ` btw Takashi Iwai
2002-10-17 14:44                 ` btw mark
2002-10-17 16:31                   ` Patrick Shirkey
2002-10-17 16:32                   ` Patrick Shirkey
2002-10-17 17:08                   ` Takashi Iwai
2002-11-25 13:37                     ` Extigy testing mark
2002-11-25 13:50                       ` Jaroslav Kysela
2002-11-25 14:35                         ` mark

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=s5h8z0x5v3r.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mark@undertone.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox