diff mbox

add Steinberg UR44 USB Audio Interface support to quirks-table

Message ID 54674E72.4070607@ladisch.de (mailing list archive)
State New, archived
Headers show

Commit Message

Clemens Ladisch Nov. 15, 2014, 1 p.m. UTC
(Sorry for the delay.)

Cyrus Harmon wrote:
> [    2.978159] snd-usb-audio 3-3.2:1.1: probe step 2
> [    2.978334] snd-usb-audio 3-3.2:1.1: probe failed

Still mysterious.  Please try with this patch instead.


Regards,
Clemens

Comments

Cyrus Harmon Feb. 3, 2015, 7:14 a.m. UTC | #1
On 11/15/2014 05:00 AM, Clemens Ladisch wrote:
> (Sorry for the delay.) Cyrus Harmon wrote:
>> [ 2.978159] snd-usb-audio 3-3.2:1.1: probe step 2 [ 2.978334] 
>> snd-usb-audio 3-3.2:1.1: probe failed
> Still mysterious. Please try with this patch instead.

(Sorry for yet another delay)

I'm not sure the debugging patch here was properly applied/installed, 
but I think so. In any event, perhaps with this patch, and definitely 
for your previous 2 patches, updated for the 3.19-rc7 sources, I get the 
following errors when I try to load snd-usb-aduio:

[  294.270316] snd-usb-audio 1-3.2:1.0: checking PCM interface
[  294.270319] snd-usb-audio 1-3.2:1.0: quirk return code: -19
[  294.270321] snd-usb-audio 1-3.2:1.0: probe failed
[  294.270773] snd-usb-audio 1-3.2:1.1: checking PCM interface
[  294.270775] snd-usb-audio 1-3.2:1.1: altsets found
[  294.270776] snd-usb-audio 1-3.2:1.1: endpoint found
[  294.270778] snd-usb-audio 1-3.2:1.1: iso found
[  294.270779] snd-usb-audio 1-3.2:1.1: descriptors found
[  294.272941] snd-usb-audio 1-3.2:1.1: first interface successful
[  294.272943] usb 1-3.2:1.0: checking PCM interface
[  294.272945] usb 1-3.2:1.2: checking PCM interface
[  294.272946] usb 1-3.2:1.2: altsets found
[  294.272947] usb 1-3.2:1.2: endpoint found
[  294.272948] usb 1-3.2:1.2: iso found
[  294.272949] usb 1-3.2:1.2: descriptors found
[  294.275044] snd-usb-audio 1-3.2:1.2: interface 2 successful
[  294.275047] usb 1-3.2:1.3: checking PCM interface
[  294.275056] snd-usb-audio 1-3.2:1.3: interface 3 successful
[  294.275057] usb 1-3.2:1.4: checking PCM interface
[  294.275065] snd-usb-audio 1-3.2:1.4: interface 4 successful
[  294.275066] snd-usb-audio 1-3.2:1.4: create_autodetect_quirks successful
[  294.275067] snd-usb-audio 1-3.2:1.1: quirk return code: 0
[  294.275068] snd-usb-audio 1-3.2:1.1: probe step 2
[  294.275297] snd-usb-audio 1-3.2:1.1: probe failed
[  294.275465] snd-usb-audio: probe of 1-3.2:1.1 failed with error -16
[  294.275490] usbcore: registered new interface driver snd-usb-audio
[  294.276043] systemd-udevd[4350]: Failed to apply ACL on 
/dev/snd/pcmC3D0p: No such file or directory
[  294.276047] systemd-udevd[4350]: Failed to apply ACL on 
/dev/snd/pcmC3D0p: No such file or directory
[  294.276164] systemd-udevd[4348]: Failed to apply ACL on 
/dev/snd/controlC3: No such file or directory
[  294.276169] systemd-udevd[4348]: Failed to apply ACL on 
/dev/snd/controlC3: No such file or directory
[  294.276219] systemd-udevd[4353]: Failed to apply ACL on 
/dev/snd/pcmC3D0c: No such file or directory
[  294.276223] systemd-udevd[4353]: Failed to apply ACL on 
/dev/snd/pcmC3D0c: No such file or directory
[  294.276802] systemd-udevd[4354]: Failed to apply ACL on 
/dev/snd/midiC3D0: No such file or directory
[  294.276806] systemd-udevd[4354]: Failed to apply ACL on 
/dev/snd/midiC3D0: No such file or directory


So the call that must be failing is:

     err = snd_card_register(chip->card);

and of course this all works with the quirks table modified for the 
ur44. I'm at a loss. Any further debugging suggestions would be greatly 
appreciated.

thanks,

Cyrus



> Regards, Clemens --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ 
> -1086,6 +1086,7 @@ static int snd_pcm_dev_register(struct snd_device 
> *device) mutex_lock(&register_mutex); err = snd_pcm_add(pcm); if (err) 
> { + printk(KERN_ERR "snd_pcm_add(%d) failed\n", pcm->device); 
> mutex_unlock(&register_mutex); return err; } @@ -1115,6 +1116,7 @@ 
> static int snd_pcm_dev_register(struct snd_device *device) 
> &snd_pcm_f_ops[cidx], pcm, str, dev); if (err < 0) { + dev_err(dev, 
> "snd_register_device_for_dev failed: %d\n", err); 
> list_del(&pcm->list); mutex_unlock(&register_mutex); return err;
diff mbox

Patch

--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -1086,6 +1086,7 @@  static int snd_pcm_dev_register(struct snd_device *device)
 	mutex_lock(&register_mutex);
 	err = snd_pcm_add(pcm);
 	if (err) {
+		printk(KERN_ERR "snd_pcm_add(%d) failed\n", pcm->device);
 		mutex_unlock(&register_mutex);
 		return err;
 	}
@@ -1115,6 +1116,7 @@  static int snd_pcm_dev_register(struct snd_device *device)
 						  &snd_pcm_f_ops[cidx],
 						  pcm, str, dev);
 		if (err < 0) {
+			dev_err(dev, "snd_register_device_for_dev failed: %d\n", err);
 			list_del(&pcm->list);
 			mutex_unlock(&register_mutex);
 			return err;