All of lore.kernel.org
 help / color / mirror / Atom feed
From: mark@undertone.org
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: btw
Date: Thu, 17 Oct 2002 08:42:35 -0500	[thread overview]
Message-ID: <20021017134235.GA14241@undertone.org> (raw)
In-Reply-To: <s5h8z0x5v3r.wl@alsa2.suse.de>

On Thu, Oct 17, 2002 at 10:26:48AM +0200, Takashi Iwai wrote:
> 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:~# aplay -Dplughw:1,0 foo.wav
Playing raw data 'foo.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
ALSA lib pcm_hw.c:428:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed: Invalid argument
aplay: set_params:813: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  U8
SUBFORMAT:  STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: (124988 124989)
PERIOD_SIZE: (999 1000)
PERIOD_BYTES: (999 1000)
PERIODS: (4 5)
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 4000
TICK_TIME: 10000
atrophy:~# 

I've tried an entire array of different wav's in different formats,
all with similar debugging output.

I've also tried installing various modules and drivers in a vain and
blind attempt to just get it to play the stream. What "is supported"
natively by the driver?

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

Yes, I've been able to mix the thing properly now. Thanks. Uh, I'm
guessing the code is the best place to actually get a decent
description why this is?

> > 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'.

Only differences were fairly cosmetic:

atrophy:~/alsa# diff uhci usb-uhci 
15c15
<   iProduct                2 USB UHCI-alt Root Hub
---
>   iProduct                2 USB UHCI Root Hub
50c50
< Bus 001 Device 002: ID 041e:3000 Creative Labs 
---
> Bus 001 Device 005: ID 041e:3000 Creative Labs 

I had to disconnect my minihub and connect only the extigy by itself
in order to use the usb-uhci driver. I normally only use uhci, as I
need to use a usb mouse and the extigy, which requires a hub that
doesnt like usb-uhci.

Given the output above, I'm probably doing something rather silly
again with regards to some kind of random compatibility issue. I am
still running the mixer with the debug hack you put in.

-mark


-------------------------------------------------------
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 13:42 UTC|newest]

Thread overview: 17+ 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             ` btw Takashi Iwai
2002-10-17 13:42               ` mark [this message]
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
     [not found] <20041020214305.4dc40449.davem@davemloft.net>
2004-10-27  7:43 ` BTW Harald Welte
2004-10-27  8:28   ` BTW Herbert Xu

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=20021017134235.GA14241@undertone.org \
    --to=mark@undertone.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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.