How to load a kernel module automatically?
Julian Sikorski
belegdol at gmail.com
Sat Apr 14 10:34:40 UTC 2007
Bill Nottingham napisał(a):
> Julian Sikorski (belegdol at gmail.com) said:
>> Sounds good. Can you shed some more light?
>
> It was sort of a joke, but if you want uinput to load automatically,
> you could add something like the attached. It's a pretty gross layering
> violation, though.
>
> 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.
>
> Bill
>
You think it a better idea than /etc/sysconfig/modules scriptlet? If so,
I will switch to this solution.
Regards,
Julian
More information about the Fedora-maintainers
mailing list