You are not logged in.
Pages: 1
I'm trying to get a USB audio module to autostart on boot. Following the Kernel Modules wiki I created the file:
/etc/modules-load.d/snd_usb_hiface.conf
# Load snd_usb_hiface.ko at boot
snd_usb_hiface
However, the module does not load on boot. The only way I'm able to use it is to go to the directory with the file and run insmod.
cd /home/jaguar/snd-usb-hiface/src/snd-usb-asyncaudio
sudo insmod snd-usb-hiface.ko
Last edited by forkenbrock (2014-03-02 19:30:59)
Offline
Try placing the module in /usr/lib/modules/<yourkernel>/extramodules/ and running "depmod -a" afterwards to regenerate the database.
Your home directory will not be checked as a location for custom kernel modules.
Burninate!
Offline
Or put it to MODULES in /etc/mkinitcpio.conf and compile it into the kernel with
mkinitcpio -p linux Offline
halimbo, that's incorrect - mkinitcpio manages the initramfs image required at boot time. It does not affect the kernel in any way.
More details in the wiki.
forkenbrock - why is snd-usb-hiface in your home dir anyway? it's provided by the stock Arch kernel.
Last edited by tomk (2014-02-28 15:52:33)
Offline
Okay sorry, learned something. But this are kernel modules though? Or is that a misconception too?
Offline
Offline
forkenbrock - why is snd-usb-hiface in your home dir anyway? it's provided by the stock Arch kernel.
I couldn't tell it's part of the kernel. There's a separate package for hiface / async on the AUR and it doesn't automatically load with the many other snd kernels, so it appeared to be an add on.
One more question, when I copy the module to the extra folder does it have to be copied again when the kernel updates or does that happen automatically?
Last edited by forkenbrock (2014-03-01 02:13:09)
Offline
One more question, when I copy the module to the extra folder does it have to be copied again when the kernel updates or does that happen automatically?
You would have to copy it over manually each time, yes.
Burninate!
Offline
Pages: 1