[alsa-devel] Zoom R16 (USB), will a quirk make it work

Clemens Ladisch clemens at ladisch.de
Tue Feb 2 08:59:26 CET 2010


Jani Frilander wrote:
> I have a Zoom R16 which audio interface part doesn't work with linux.
> 
> lsusb -v:

Thanks.  Please try the following quirk entry:

{
	/* ZOOM R16 in USB 2.0 mode */
	USB_DEVICE(0x1686, 0x00dd),
	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
		.ifnum = QUIRK_ANY_INTERFACE,
		.type = QUIRK_COMPOSITE,
		.data = (const struct snd_usb_audio_quirk[]) {
			{
				.ifnum = 1,
				.type = QUIRK_AUDIO_STANDARD_INTERFACE
			},
			{
				.ifnum = 2,
				.type = QUIRK_AUDIO_STANDARD_INTERFACE
			},
			{
				.ifnum = 3,
				.type = QUIRK_MIDI_STANDARD_INTERFACE
			},
			{
				.ifnum = .1
			},
		}
	}
},

> If I try to play a file with mplayer:
> 
> $ mplayer -msglevel ao=9 -ao alsa:device=hw=2 piisi.mp3
> ...
> [AO_ALSA] Format s16le is not supported by hardware, trying default.

I don't know why there was an audio device at all (in theory, your quirk
entry shouldn't have worked), but the device supports only 24-bit
samples, so use "plughw" instead of "hw" (or better "default" for
software mixing).


HTH
Clemens


More information about the Alsa-devel mailing list