Drumfix / motu-avb-usb

Linux USB driver for the MOTU AVB series interfaces
GNU General Public License v2.0
66 stars 9 forks source link

Could not load module motu-avb #14

Open flocentblack opened 11 months ago

flocentblack commented 11 months ago

Motu 8pre-ES / AVLinux / Freshly compiled Liquorix kernel 6.6.2 with card.c and config.c edits for vendor mode.

When attempting to set module to low bandwidth mode, I discovered that the system could not find motu-avb.ko.

The motu is listed as a module. Playback is on correct channels but with severe bitcrushing. I have tried both motu devices shown in Jack.

Any ideas what I did wrong?

` AV Linux MX Edition

foo@bar:~ $ sudo cp -r motu-avb-usb /usr/src/motu-avb-usb-1.0 foo@bar:~ $ sudo dkms add motu-avb-usb/1.0 Creating symlink /var/lib/dkms/motu-avb-usb/1.0/source -> /usr/src/motu-avb-usb-1.0 foo@bar:~ $ sudo dkms build motu-avb-usb/1.0 --verbose

Building module: make clean make -C /lib/modules/6.6.2-lqx1-motu/build M=/var/lib/dkms/motu-avb-usb/1.0/build clean make[1]: Entering directory '/home/foo/Liquorix-6.6.2/zen-kernel-6.6.2-lqx1' make[1]: Leaving directory '/home/foo/Liquorix-6.6.2/zen-kernel-6.6.2-lqx1'

{ make -j8 KERNELRELEASE=6.6.2-lqx1-motu all KVERSION=6.6.2-lqx1-motu; } >> /var/lib/dkms/motu-avb-usb/1.0/build/make.log 2>&1

make clean make -C /lib/modules/6.6.2-lqx1-motu/build M=/var/lib/dkms/motu-avb-usb/1.0/build clean make[1]: Entering directory '/home/foo/Liquorix-6.6.2/zen-kernel-6.6.2-lqx1' CLEAN /var/lib/dkms/motu-avb-usb/1.0/build/Module.symvers make[1]: Leaving directory '/home/foo/Liquorix-6.6.2/zen-kernel-6.6.2-lqx1'

foo@bar:~ $ sudo dkms install motu-avb-usb/1.0

motu.ko.xz: Running module version sanity check.

foo@bar:~ $ sudo rmmod snd_usb-audio motu foo@bar:~ $ sudo modprobe motu samplerate=44100 midi=0 vendor=1 && sudo modprobe snd_usb-audio foo@bar:~ foo@bar:~ $ sudo insmod motu-avb.ko samplerate=44100 vendor=1 ins=32 outs=32 insmod: ERROR: could not load module motu-avb.ko: No such file or directory foo@bar:~ $ lsmod Module Size Used by snd_usb_audio 405504 0 motu 32768 0 ...

foo@bar:~ $ lsusb -t | grep motu | Port 3: Dev 2, If 0, Class=Audio, Driver=motu, 480M | Port 3: Dev 2, If 5, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 2, If 3, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 2, If 1, Class=Audio, Driver=motu, 480M | Port 3: Dev 2, If 4, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 2, If 2, Class=Audio, Driver=motu, 480M foo@bar:~ $ lsusb -t | grep motu | Port 3: Dev 8, If 0, Class=Audio, Driver=motu, 480M | Port 3: Dev 8, If 5, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 8, If 3, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 8, If 1, Class=Audio, Driver=motu, 480M | Port 3: Dev 8, If 4, Class=Vendor Specific Class, Driver=motu, 480M | Port 3: Dev 8, If 2, Class=Audio, Driver=motu, 480M

`