You are not logged in.

#1 2023-07-08 15:49:47

stefano
Member
Registered: 2011-04-09
Posts: 269

[SOLVED] How to create a virtual MIDI port (under pipewire)?

Hello,

I'm trying to run jjazzlab on my laptop and it requires a virtual midi port. The docs say to crate some virtual midi with

modprobe snd-virmidi

however, that command fails because the relevant module cannot be found on my system. An online search both within the Arch docs and elsewhere, but I can't figure out where (in which package) this module is located.
I am using pipewire and jack, and everythin else sound- and media-related works fine (e.g my DAWs, Zoom, music apps, and so on).

Suggestions appreciated.

Last edited by stefano (2023-07-10 08:21:54)

Offline

#2 2023-07-09 11:08:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,213

Re: [SOLVED] How to create a virtual MIDI port (under pipewire)?

$ modinfo snd-virmidi
filename:       /lib/modules/6.4.2-arch1-1/kernel/sound/drivers/snd-virmidi.ko.zst
license:        GPL
description:    Dummy soundcard for virtual rawmidi devices
author:         Takashi Iwai <tiwai@suse.de>
srcversion:     703D4D96FA311CBD00B2E10
depends:        snd-seq-virmidi,snd
retpoline:      Y
intree:         Y
name:           snd_virmidi
vermagic:       6.4.2-arch1-1 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        07:3B:BE:10:D9:F4:63:E6:C9:F4:41:61:94:27:6E:EA:09:6B:DE:95
sig_hashalgo:   sha512
signature:      30:65:02:31:00:DF:8B:A9:98:1A:16:23:8E:AE:B6:B5:9C:14:BC:FB:
                2B:E9:C2:E2:83:34:B8:8E:50:93:9B:63:B7:0B:EF:47:DB:60:BF:B0:
                0E:B2:E6:47:4D:41:AA:3E:C0:F5:46:85:0C:02:30:2A:94:E0:8B:B5:
                12:96:38:E7:88:3B:0B:F7:B1:6A:23:B4:77:6E:0C:21:2A:45:E1:88:
                A9:DB:97:73:D3:38:AC:6C:33:16:37:3A:14:D5:DD:82:59:17:99:E0:
                39:09:6D
parm:           index:Index value for virmidi soundcard. (array of int)
parm:           id:ID string for virmidi soundcard. (array of charp)
parm:           enable:Enable this soundcard. (array of bool)
parm:           midi_devs:MIDI devices # (1-4) (array of int)

$ pacman -F snd-virmidi.ko.zst
core/linux 6.4.2.arch1-1 [installed]
    usr/lib/modules/6.4.2-arch1-1/kernel/sound/drivers/snd-virmidi.ko.zst
core/linux-lts 6.1.38-1
    usr/lib/modules/6.1.38-1-lts/kernel/sound/drivers/snd-virmidi.ko.zst
extra/linux-hardened 6.1.38.hardened1-1
    usr/lib/modules/6.1.38-hardened1-1-hardened/kernel/sound/drivers/snd-virmidi.ko.zst
extra/linux-rt 6.3.3.15.realtime2-1
    usr/lib/modules/6.3.3.15.realtime2-1-rt/kernel/sound/drivers/snd-virmidi.ko.zst
extra/linux-rt-lts 6.1.33.11.realtime1-1
    usr/lib/modules/6.1.33.11.realtime1-1-rt-lts/kernel/sound/drivers/snd-virmidi.ko.zst
extra/linux-zen 6.4.2.zen1-1
    usr/lib/modules/6.4.2-zen1-1-zen/kernel/sound/drivers/snd-virmidi.ko.zst
$ 

That module is included in the kernel. What kernel are you using ?

Please post

$ uname -a

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-07-10 08:23:38

stefano
Member
Registered: 2011-04-09
Posts: 269

Re: [SOLVED] How to create a virtual MIDI port (under pipewire)?

My bad, I had forgotten to reboot after a (long overdue) kernel update, that is why the module wasn't found.
Sorry for the noise, and thanks to  @Lone_Wolf for pointing me in the right direction

Offline

Board footer

Powered by FluxBB