Re: [PATCH v2 00/37] ALSA: Add MIDI 2.0 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That was indeed worth a lot. Built this sound.git on two machines:

make menuconfig
enabled:
* MIDI 2.0 Support by USB audio driver
* Support for UMP Events
Save to .config
make

Found to .ko files in usb folder:
snd-usb-audio.ko
sndmidi-lib.ko

Ubuntu 22.04 LTS (Linux H3 5.19.0-43-generic #44~22.04.1-Ubuntu) with 5.19 HWE Stack Option
sudo insmod snd-usb-audio.ko
insmod: ERROR: could not insert module snd-usb-audio.ko: Invalid module format

Ubuntu 23.04 (runs in KVM)  (Linux Ubuntu 6.2.0-20-generic)
sudo insmod snd-usb-audio.ko
insmod: ERROR: could not insert module snd-usb-audio.ko: Unknown symbol in module
[37207.309239] snd_usb_audio: Unknown symbol snd_ump_receive (err -2)
[37207.309275] snd_usb_audio: Unknown symbol media_entity_pads_init (err -2)
[37207.309289] snd_usb_audio: Unknown symbol media_remove_intf_link (err -2)
[37207.309311] snd_usb_audio: Unknown symbol snd_usbmidi_resume (err -2)
[37207.309420] snd_usb_audio: Unknown symbol media_device_delete (err -2)
[37207.309434] snd_usb_audio: Unknown symbol snd_ump_endpoint_new (err -2)
[37207.309440] snd_usb_audio: Unknown symbol media_devnode_create (err -2)
[37207.309449] snd_usb_audio: Unknown symbol media_device_unregister_entity (err -2)
[37207.309460] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect (err -2)
[37207.309468] snd_usb_audio: Unknown symbol media_device_usb_allocate (err -2)

Can it be done on 6.2 or 5.15 ?

How to insert the new module or build it so it can be used with a current kernel ?
How to proceed in case the existing module is use (rmmod) ?  Canoncial does not provide kernel sources for newer kernels than 6.2 , like 6.4.0.rc2 of this sound.git, at least could not find them, but I did successfully built the 6.2 and 5.15 Ubuntu distro kernels already from their respective sources. Just copy the sound/usb and sound/core files over the current kernel sources, recompile it (of-course with and updated version number).



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux