All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: David Alexander <lidxv0n@gmail.com>, Daniel Mack <daniel@zonque.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: trying to get an eleven rack to work
Date: Thu, 29 Mar 2012 09:08:26 +0200	[thread overview]
Message-ID: <4F740A6A.3030608@ladisch.de> (raw)
In-Reply-To: <CAOyn=DFig0m1zFRWyTE6Neimrcy12PPAoNL8BdFVaAUrYEYbGw@mail.gmail.com>

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;
 	}
 }

  parent reply	other threads:[~2012-03-29  7:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17 23:17 trying to get an eleven rack to work David Alexander
2012-03-19  7:19 ` Grant Diffey
2012-03-20 13:19 ` Clemens Ladisch
     [not found]   ` <CAOyn=DE6adyJA25wgy-NraAjkPUP2HC6FQ0m8p84XATXQphcrw@mail.gmail.com>
2012-03-22 15:13     ` Clemens Ladisch
2012-03-23  5:57   ` Grant Diffey
     [not found]     ` <4F718114.5020602@ladisch.de>
     [not found]       ` <CAOyn=DFig0m1zFRWyTE6Neimrcy12PPAoNL8BdFVaAUrYEYbGw@mail.gmail.com>
2012-03-28 16:53         ` David Alexander
2012-03-29  7:08         ` Clemens Ladisch [this message]
2012-03-29 14:02           ` David Alexander
2012-03-30 17:27             ` David Alexander
     [not found]               ` <CACckToX-kqDyM6sFW_9in64cgO5RQekA-J=EEHSXxgsxEuMk=Q@mail.gmail.com>
2012-04-02 17:50                 ` David Alexander
2012-04-03 15:36                   ` David Alexander
2012-04-03 19:20                     ` Clemens Ladisch
2012-04-03 19:37                       ` David Alexander
2012-04-04  4:33                         ` Grant Diffey
2012-04-04 13:49                         ` Clemens Ladisch

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=4F740A6A.3030608@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=daniel@zonque.org \
    --cc=lidxv0n@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.