How to load a kernel module automatically?

Bill Nottingham notting at redhat.com
Mon Apr 16 17:57:22 UTC 2007


Julian Sikorski (belegdol at gmail.com) said: 
> > If you want to do it directly in udev, instead, something like:
> > 
> > BUS=="usb", SYSFS{idProduct}=="0483", SYSFS{idVendor}=="2016", RUN+="/sbin/modprobe uinput"
> > 
> > in a /etc/udev/rules.d rules file should work.
> 
> You think it a better idea than /etc/sysconfig/modules scriptlet? If so,
> I will switch to this solution.

Yes, because it will tie it to the particular hardware piece, rather
than anyone who installs thinkfinger. Please test it to make sure
I didn't botch the udev syntax, though :)

Bill




More information about the Fedora-maintainers mailing list