[LAU] MIDI-controller treated as audio device

Ben Bell bjb-linux-audio-user at deus.net
Fri Dec 4 12:01:49 CET 2020


What is your jackd command line?

ALSA is responsible for MIDI as well as audio, and they are all (slightly
confusingly perhaps) handled by the snd-usb-audio module. What you need
to do is make sure Jack is trying to use the appropriate card.

If you're not using something graphical like qjackctl or cadence to launch
jack, you can specify this on the command line, e.g.
	jackd ... -dalsa -dhw:DSP,0 ...

(or possibly -dhw:2)

bjb


On Fri, Dec 04, 2020 at 11:39:56AM +0100, Michael Jarosch wrote:
> Hi!
> 
> Installed a new kernel on my Debian Testing machine with
> kxstudio-"extension"
> 
> :~$ uname -a
> Linux mmmaschine 5.9.0-4-rt-amd64 #1 SMP PREEMPT_RT Debian 5.9.11-1
> (2020-11-27) x86_64 GNU/Linux
> 
> and had a new problem that jack couldn't launched - which bever had been a
> problem, so far. Dived into journalctl -f and stumbled upon
> 
> Dez 04 11:18:17 machine pulseaudio[1852]: E: [pulseaudio]
> module-alsa-card.c: Failed to find a working profile.
> Dez 04 11:18:17 machine pulseaudio[1852]: E: [pulseaudio] module.c: Failed
> to load module "module-alsa-card" (argument: "device_id="3"
> name="usb-KORG_INC._KONTROL49-00"
> card_name="alsa_card.usb-KORG_INC._KONTROL49-00" namereg_fail=false
> tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes
> use_ucm=yes avoid_resampling=no
> card_properties="module-udev-detect.discovered=1""): initialization failed.
> 
> Knowing, that the Korg has no audio-abilities, I checked
> 
> :~$ cat /proc/asound/cards
> 
>  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                       HDA Intel PCH at 0x4001110000 irq 134
>  1 [Loopback       ]: Loopback - Loopback
>                       Loopback 1
>  2 [DSP            ]: H-DSP - Hammerfall DSP
>                       RME Hammerfall HDSP 9652 at 0xa0100000, irq 17
>  3 [KONTROL49      ]: USB-Audio - KONTROL49
>                       KORG INC. KONTROL49 at usb-0000:00:14.0-2, full speed
> 
> Unplugging the Korg Kontrol49 made it possible to launch jackd, again.
> 
> My questions:
> How can I force my system not to handle the Korg as an audio but a MIDI
> device?
> Is this something happening on kernel level, so *someone*™ has to fix stuff
> here?
> 
> Greets!
> Mitsch
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user


More information about the Linux-audio-user mailing list