All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@zonque.org>
To: shal@free.fr, Alsa-devel@alsa-project.org
Subject: Re: BUG: Edirol UA-1000 failed parsing interface
Date: Mon, 06 Oct 2014 11:41:04 +0200	[thread overview]
Message-ID: <543263B0.4030404@zonque.org> (raw)
In-Reply-To: <1215173971.300117484.1412441706066.JavaMail.root@spooler2-g27.priv.proxad.net>

Hi,

On 10/04/2014 06:55 PM, shal@free.fr wrote:
> I have a Edirol UA-1000 that is supported by Linux using the
> snd-ua101 module.

...

> The "cat /sys/kernel/debug/usb/devices" for my sound card : 
> http://pastebin.com/j4ab9ekZ

Shows:

  P:  Vendor=0582 ProdID=0044 Rev= 1.07

> So I found that the problem is in the quirk.c In the function
> create_auto_pcm_quirk() There is a check : /* * Most Roland/Yamaha
> audio streaming interfaces have more or less * standard descriptors,
> but older devices might lack descriptors, and * future ones might
> change, so ensure that we fail silently if the * interface doesn't
> look exactly right. */
> 
> /* must have a non-zero altsetting for streaming */ if
> (iface->num_altsetting < 2) return -ENODEV;
> 
> 
> And the iface->num_altsetting value for my card is 1. So The function
> return an ENODEV. So the caller function snd_usb_audio_probe return
> an -EIO
> 
> In dmesg:
> 
> [ 2747.573923] snd-usb-audio: probe of 2-1.3:1.0 failed with error

Your device should not be handled by the generic snd-usb-audio but by
the ua101 driver. Are you sure you have CONFIG_SND_USB_UA101 set in your
kernel config? What else does dmesg show when you plug in the card?


Daniel

      reply	other threads:[~2014-10-06  9:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <767941624.300016873.1412440447063.JavaMail.root@spooler2-g27.priv.proxad.net>
2014-10-04 16:55 ` BUG: Edirol UA-1000 failed parsing interface shal
2014-10-06  9:41   ` Daniel Mack [this message]

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=543263B0.4030404@zonque.org \
    --to=daniel@zonque.org \
    --cc=Alsa-devel@alsa-project.org \
    --cc=shal@free.fr \
    /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.