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

Re: How to load a kernel module automatically?



Julian Sikorski (belegdol 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


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