[alsa-devel] trying to get an eleven rack to work
David Alexander
lidxv0n at gmail.com
Thu Mar 29 16:02:44 CEST 2012
Here is what I am getting after having changed the line in mixer.c:
[ 92.284035] usb 2-4: new high speed USB device number 2 using ehci_hcd
[ 92.815354] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
[ 92.815382] snd-usb-audio: probe of 2-4:1.0 failed with error -5
[ 92.816352] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
[ 92.816372] snd-usb-audio: probe of 2-4:1.1 failed with error -5
[ 92.816966] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
[ 92.816980] snd-usb-audio: probe of 2-4:1.2 failed with error -5
[ 92.817960] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
[ 92.817972] snd-usb-audio: probe of 2-4:1.3 failed with error -5
[ 92.818587] ALSA mixer.c:1938 usbaudio: unit 32: unexpected type 0x09
[ 92.818598] snd-usb-audio: probe of 2-4:1.4 failed with error -5
[ 92.818638] usbcore: registered new interface driver snd-usb-audio
I noticed that I am not getting an entry under /proc/asound that I had
before. Before I got an entry called "Rack" with a sym link to card1:
/proc/asound$ ls -l
total 0
dr-xr-xr-x 5 root root 0 2012-03-29 09:52 card0
-r--r--r-- 1 root root 0 2012-03-29 10:01 cards
-r--r--r-- 1 root root 0 2012-03-29 10:01 devices
-r--r--r-- 1 root root 0 2012-03-29 10:01 hwdep
lrwxrwxrwx 1 root root 5 2012-03-29 10:01 Intel -> card0
-r--r--r-- 1 root root 0 2012-03-29 10:01 modules
-r--r--r-- 1 root root 0 2012-03-29 10:01 pcm
dr-xr-xr-x 2 root root 0 2012-03-29 10:01 seq
-r--r--r-- 1 root root 0 2012-03-29 10:01 timers
-r--r--r-- 1 root root 0 2012-03-29 10:01 version
Thank you,
David
On Thu, Mar 29, 2012 at 3:08 AM, Clemens Ladisch <clemens at ladisch.de> wrote:
> 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