Re: USB audio device - ABIT UA11 dual toslink I/O

From: Thomas Sailer (sailer@scs.ch)
Date: Tue Apr 09 2002 - 13:49:24 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:13 EST