M-audio keyrig 49 is not seen by QJackCtrl

Post fully complete "how to" guides and tutorials here. This is a great place to get feedback on stuff you might put in the wiki.

Moderators: MattKingUSA, khz

Post Reply
stratojaune
Established Member
Posts: 6
Joined: Sat Apr 11, 2009 3:11 pm
Location: Marseille

M-audio keyrig 49 is not seen by QJackCtrl

Post by stratojaune »

Hi,

Since update to Debian 6.0.1, everything from the stable repos, the usb midi kbd don't work anymore. Have search the web and here, but can't find anything. It seems that the kbd is seen by the machine, but not in QJack. Have tried with and without the midisport-firmware and it's the same. dmesg says it has a problem with snd_usb_audio, but my limit is just here, before the modules and kernel stuff...

Any help really appreciate !

some console outputs :

f@f:~$ dmesg | grep usb
.....
[ 1582.752027] usb 4-1: new full speed USB device using uhci_hcd and address 2
[ 1582.956967] usb 4-1: New USB device found, idVendor=0763, idProduct=019b
[ 1582.956972] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1582.956976] usb 4-1: Product: KeyRig 49
[ 1582.956978] usb 4-1: Manufacturer: M-Audio
[ 1582.957137] usb 4-1: configuration #1 chosen from 1 choice
[ 1583.050111] snd-usb-audio: probe of 4-1:1.0 failed with error -5
[ 1583.050132] snd-usb-audio: probe of 4-1:1.1 failed with error -5
[ 1583.050166] usbcore: registered new interface driver snd-usb-audio
[ 5713.096042] usb 4-1: USB disconnect, address 2
[ 5716.496030] usb 4-1: new full speed USB device using uhci_hcd and address 3
[ 5716.700980] usb 4-1: New USB device found, idVendor=0763, idProduct=019b
[ 5716.700986] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5716.700990] usb 4-1: Product: KeyRig 49
[ 5716.700992] usb 4-1: Manufacturer: M-Audio
[ 5716.701139] usb 4-1: configuration #1 chosen from 1 choice
[ 5716.706076] snd-usb-audio: probe of 4-1:1.0 failed with error -5
[ 5716.706124] snd-usb-audio: probe of 4-1:1.1 failed with error -5
[ 6235.136048] usb 4-1: USB disconnect, address 3
[ 6237.848032] usb 4-1: new full speed USB device using uhci_hcd and address 4
[ 6238.052252] usb 4-1: New USB device found, idVendor=0763, idProduct=019b
[ 6238.052258] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6238.052262] usb 4-1: Product: KeyRig 49
[ 6238.052264] usb 4-1: Manufacturer: M-Audio
[ 6238.052412] usb 4-1: configuration #1 chosen from 1 choice
[ 6238.057348] snd-usb-audio: probe of 4-1:1.0 failed with error -5
[ 6238.057396] snd-usb-audio: probe of 4-1:1.1 failed with error -5


f@f:~$ lsmod |grep usb
snd_usb_audio 50634 0
snd_usb_lib 11156 1 snd_usb_audio
snd_hwdep 4054 1 snd_usb_audio
snd_pcm 47226 4 snd_usb_audio,snd_ice1712,snd_ac97_codec,snd_pcm_oss
snd_rawmidi 12513 3 snd_usb_lib,snd_mpu401_uart,snd_seq_midi
snd 34387 18 snd_usb_audio,snd_hwdep,snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usbcore 98541 5 snd_usb_audio,snd_usb_lib,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore


f@f:~$ lsmod |grep audio
snd_usb_audio 50634 0
snd_usb_lib 11156 1 snd_usb_audio
snd_hwdep 4054 1 snd_usb_audio
snd_pcm 47226 4 snd_usb_audio,snd_ice1712,snd_ac97_codec,snd_pcm_oss
snd 34387 18 snd_usb_audio,snd_hwdep,snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usbcore 98541 5 snd_usb_audio,snd_usb_lib,uhci_hcd,ehci_hcd
f@f:~$
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: M-audio keyrig 49 is not seen by QJackCtrl

Post by raboof »

stratojaune wrote:It seems that the kbd is seen by the machine, but not in QJack.
Do you see it being 'seen by the machine' beyond lsusb and the logging quoted below?
some console outputs :
Is this logging from connecting/disconnecting the device 3 times?

Code: Select all

[ 1583.050111] snd-usb-audio: probe of 4-1:1.0 failed with error -5
[ 1583.050132] snd-usb-audio: probe of 4-1:1.1 failed with error -5
Ok, looks like this is a pretty generic error message when a device was 'matched' but could not be 'probed': http://git.kernel.org/?p=linux/kernel/g ... =HEAD#l147 . This is not necessarily a problem if a next driver can pick up the device instead, but I guess that doesn't happen here.

I guess the 'probe' function being called is http://git.kernel.org/?p=linux/kernel/g ... =HEAD#l584 . Looks like error -5 is -EIO ( http://git.kernel.org/?p=linux/kernel/g ... hb=HEAD#l8 ), which is returned when snd_usb_audio_probe returns NULL.

This happens when one of the following is true:
* a 'quirk' was found for this device ID that specified another interface number. Not sure, but probably not it.
* applying the quirk failed. There's no quirk for your card ( http://git.kernel.org/?p=linux/kernel/g ... =HEAD#l513 ), so this isn't it.
* another error occurred. Most errors also show an error message, so it must be one of:
** snd_usb_audio_create returned <0
** snd_usb_create_quirk returned <0 (unlikely)
** snd_usb_create_streams or snd_usb_create_mixer returned <0
** snd_card_register returned <0
Post Reply