public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Sailer <sailer@scs.ch>
To: Sam Vilain <sam@vilain.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Thomas Sailer <sailer@ife.ee.ethz.ch>,
	linux-kernel@vger.kernel.org
Subject: Re: USB audio device - ABIT UA11 dual toslink I/O
Date: Tue, 09 Apr 2002 20:49:24 +0200	[thread overview]
Message-ID: <3CB337B4.EE569F52@scs.ch> (raw)
In-Reply-To: <E16ujqZ-0000W2-00@hoffman.vilain.net>

Sam Vilain wrote:

> usbaudio: unit 8: invalid PROCESSING_UNIT descriptor

Aparently this is due to a superfluous test in the audiocontrol
parsing...

> [pid  1892] ioctl(4, SNDCTL_DSP_RESET, 0) = 0
> [pid  1892] ioctl(4, SNDCTL_DSP_SYNC, 0) = 0
> [pid  1892] ioctl(4, SNDCTL_DSP_GETFMTS, 0xbffffc04) = 0
> [pid  1892] ioctl(4, SOUND_PCM_READ_BITS, 0xbffffc04) = 0
> [pid  1892] ioctl(4, SNDCTL_DSP_STEREO, 0xbffffc04) = 0
> [pid  1892] ioctl(4, SOUND_PCM_READ_RATE, 0xbffffc04) = 0
> [pid  1892] write(2, "sox: ", 5sox: )        = 5
> [pid  1892] write(2, "Unable to set audio speed to 441"..., 45Unable to set audio speed to 44100 (set to 0)) = 45

Spooky. It doesn't even try to set the sampling rate but complains...
somehow cannot be...

> ioctl(3, SOUND_PCM_READ_BITS, 0xbffffab0) = -1 EINVAL (Invalid argument)

Again spooky, I don't see how audio.o ioctl handler could return EINVAL
at
that call. EFAULT yes, but EINVAL??

Tom

  reply	other threads:[~2002-04-09 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09  0:50 USB audio device - ABIT UA11 dual toslink I/O Sam Vilain
2002-04-09 18:49 ` Thomas Sailer [this message]
2002-04-14 11:14   ` Sam Vilain

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=3CB337B4.EE569F52@scs.ch \
    --to=sailer@scs.ch \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sailer@ife.ee.ethz.ch \
    --cc=sam@vilain.net \
    --cc=t.sailer@alumni.ethz.ch \
    /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