[alsa-devel] trying to get an eleven rack to work
Clemens Ladisch
clemens at ladisch.de
Thu Mar 29 09:08:26 CEST 2012
David Alexander wrote:
> kernel: [ 74.128035] usb 2-4: new high speed USB device number 2
> kernel: [ 74.634592] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
> kernel: [ 74.634606] snd-usb-audio: probe of 2-4:1.0 failed with error -5
0x09 is UAC2's EXTENSION_UNIT, which should not be a reason for failing.
Please try the patch below.
Regards,
Clemens
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -1926,7 +1926,7 @@ static int parse_audio_unit(struct mixer_build *state, int unitid)
return parse_audio_processing_unit(state, unitid, p1);
default:
snd_printk(KERN_ERR "usbaudio: unit %u: unexpected type 0x%02x\n", unitid, p1[2]);
- return -EINVAL;
+ return 0;
}
}
More information about the Alsa-devel
mailing list