From: Cyrus Harmon <cyrus@bobobeach.com>
To: alsa-devel@alsa-project.org
Subject: Re: [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table
Date: Wed, 05 Nov 2014 10:16:28 -0800 [thread overview]
Message-ID: <545A697C.5070800@bobobeach.com> (raw)
In-Reply-To: <545895AD.7020004@ladisch.de>
Hi Clemens,
When I try that, I see the following in the dmesg log:
[ 2.963091] usb 3-3.2: New USB device found, idVendor=0499,
idProduct=150e
[ 2.963093] usb 3-3.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 2.963094] usb 3-3.2: Product: Steinberg UR44
[ 2.963095] usb 3-3.2: Manufacturer: Yamaha Corporation
[ 2.963988] nvidia 0000:01:00.0: irq 31 for MSI/MSI-X
[ 2.964094] snd-usb-audio 3-3.2:1.0: checking PCM interface
[ 2.964104] snd-usb-audio: probe of 3-3.2:1.0 failed with error -5
[ 2.966339] snd-usb-audio 3-3.2:1.1: checking PCM interface
[ 2.966341] snd-usb-audio 3-3.2:1.1: altsets found
[ 2.966342] snd-usb-audio 3-3.2:1.1: endpoint found
[ 2.966343] snd-usb-audio 3-3.2:1.1: iso found
[ 2.966344] snd-usb-audio 3-3.2:1.1: descriptors found
[ 2.968544] usb 3-3.2:1.0: checking PCM interface
[ 2.968546] usb 3-3.2:1.2: checking PCM interface
[ 2.968547] usb 3-3.2:1.2: altsets found
[ 2.968547] usb 3-3.2:1.2: endpoint found
[ 2.968548] usb 3-3.2:1.2: iso found
[ 2.968549] usb 3-3.2:1.2: descriptors found
[ 2.970657] usb 3-3.2:1.3: checking PCM interface
[ 2.970666] usb 3-3.2:1.4: checking PCM interface
[ 2.970930] snd-usb-audio: probe of 3-3.2:1.1 failed with error -5
[ 2.974643] systemd-udevd[569]: Failed to apply ACL on
/dev/snd/pcmC3D0p: No such file or directory
[ 2.974694] systemd-udevd[568]: error opening
ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2:1.1/sound/card3/controlC3/../uev
ent} for writing: No such file or directory
[ 2.974710] systemd-udevd[571]: Failed to apply ACL on
/dev/snd/midiC3D0: No such file or directory
[ 2.974779] systemd-udevd[568]: Failed to apply ACL on
/dev/snd/controlC3: No such file or directory
[ 2.975019] systemd-udevd[570]: Failed to apply ACL on
/dev/snd/pcmC3D0c: No such file or directory
Thanks,
Cyrus
On 11/04/2014 01:00 AM, Clemens Ladisch wrote:
> Cyrus Harmon wrote:
>> On Mar 11, 2014, at 1:31 AM, Clemens Ladisch wrote:
>>> Strange; in theory, the driver should be able to pick up these
>>> descriptors.
>>>
>>> Are there any error messages in the system log when you plug it in or
>>> reload the unpatch snd-usb-audio driver?
>> Mar 11 02:25:11 cbox kernel: [ 82.426640] usb 2-1.6: new high-speed USB device number 4 using ehci-pci
>> Mar 11 02:25:12 cbox kernel: [ 82.515364] usb 2-1.6: New USB device found, idVendor=0499, idProduct=150e
>> Mar 11 02:25:12 cbox kernel: [ 82.515368] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
>> Mar 11 02:25:12 cbox kernel: [ 82.515370] usb 2-1.6: Product: Steinberg UR44
>> Mar 11 02:25:12 cbox kernel: [ 82.515372] usb 2-1.6: Manufacturer: Yamaha Corporation
>> Mar 11 02:25:12 cbox kernel: [ 82.518134] snd-usb-audio: probe of 2-1.6:1.0 failed with error -5
>> Mar 11 02:25:12 cbox kernel: [ 82.523317] snd-usb-audio: probe of 2-1.6:1.1 failed with error -5
> Please try the patch below to get more information in the log.
>
>
> Regards,
> Clemens
>
>
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -196,19 +196,23 @@
> * future ones might change, so ensure that we fail silently if the
> * interface doesn't look exactly right.
> */
> + dev_info(&iface->dev, "checking PCM interface\n");
>
> /* must have a non-zero altsetting for streaming */
> if (iface->num_altsetting < 2)
> return -ENODEV;
> + dev_info(&iface->dev, "altsets found\n");
> alts = &iface->altsetting[1];
> altsd = get_iface_desc(alts);
>
> /* must have an isochronous endpoint for streaming */
> if (altsd->bNumEndpoints < 1)
> return -ENODEV;
> + dev_info(&iface->dev, "endpoint found\n");
> epd = get_endpoint(alts, 0);
> if (!usb_endpoint_xfer_isoc(epd))
> return -ENODEV;
> + dev_info(&iface->dev, "iso found\n");
>
> /* must have format descriptors */
> ashd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL,
> @@ -219,6 +223,7 @@
> !fmtd || fmtd->bLength < 8)
> return -ENODEV;
>
> + dev_info(&iface->dev, "descriptors found\n");
> return create_standard_audio_quirk(chip, iface, driver, NULL);
> }
>
next prev parent reply other threads:[~2014-11-05 18:16 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-09 18:12 [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table Cyrus Harmon
2014-03-10 9:42 ` Takashi Iwai
2014-03-10 12:07 ` Clemens Ladisch
2014-03-10 15:26 ` Cyrus Harmon
2014-03-10 15:30 ` Takashi Iwai
2014-03-10 15:40 ` Clemens Ladisch
2014-03-11 6:33 ` Cyrus Harmon
2014-03-11 8:31 ` Clemens Ladisch
2014-03-11 9:30 ` Cyrus Harmon
2014-03-17 16:29 ` Cyrus Harmon
2014-11-04 0:36 ` Cyrus Harmon
2014-11-04 6:28 ` Takashi Iwai
2014-11-04 8:55 ` Cyrus Harmon
2014-11-05 23:14 ` Takashi Iwai
2014-11-06 4:39 ` Cyrus Harmon
2014-11-06 5:28 ` Vlad Catoi
2014-11-06 5:32 ` Cyrus Harmon
2014-11-06 13:46 ` Vlad Catoi
2014-11-04 8:59 ` Clemens Ladisch
2014-11-04 9:00 ` Clemens Ladisch
2014-11-05 18:16 ` Cyrus Harmon [this message]
2014-11-05 21:17 ` Clemens Ladisch
2014-11-06 5:47 ` Cyrus Harmon
2014-11-15 13:00 ` Clemens Ladisch
2015-02-03 7:14 ` Cyrus Harmon
2014-11-06 16:05 ` Cyrus Harmon
2014-11-06 16:49 ` Takashi Iwai
2014-11-06 16:54 ` Cyrus Harmon
2014-11-08 4:24 ` Vlad Catoi
2014-11-08 4:25 ` Vlad Catoi
2015-02-03 6:56 ` Cyrus Harmon
2015-02-03 9:02 ` Takashi Iwai
2014-11-06 17:32 ` Clemens Ladisch
-- strict thread matches above, loose matches on Subject: below --
2014-03-10 15:37 Cyrus Harmon
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=545A697C.5070800@bobobeach.com \
--to=cyrus@bobobeach.com \
--cc=alsa-devel@alsa-project.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox