how to load a modue (lp) at start up 12.2.0
Lo,
I'm having trouble loading a module at startup. it's the lp module. parport and parport_pc load. When I modprobe lp it loads and I can then print. Now, back in the olden days, all I'd do is edit rc.modules and all would be fine. However rc.modules appears to be deprecated (indeed, I don't have one) and I'm under the impression that one is to use udev. udev seems hellish complicated for getting a parallel printer to run. ISTR tackling it before to get my scsi scanner to work and it wasn't a nice experience. So, should I just create an rc.modules script or put it in rc.local or could some kind soul let me know what the udev rule should look like please? Thanks John |
If you installed a kernel-modules package in Slackware 12.2, you should have a file /etc/rc.d/rc.modules. It is a symbolic link to another file in the same directory called rc.modules-<something>.
So all you have to do is uncomment the relevant lines. Of course you need to chmod +x /etc/rc.d/rc.modules* |
Hmm. Perhaps I missed that day in school, but my 12.2 setup has an rc.modules file. Actually, rc.modules is soft link to rc.modules-2.6.27.7-smp. I also have an rc.modules-2.6.27.7 file.
The rc.modules files are installed from the a/kernel-modules-smp-2.6.27.7_smp-i686-1 and a/kernel-modules-2.6.27.7-i486-1 packages. Perhaps try reinstalling those packages. From within those rc.modules files, I still enable the lp kernel module. Just like previously, delete the comment hash mark and ensure the rc.modules file is executable. |
Quote:
It looks like some lamebrain has deleted it (That'd be me). Either that or the upgrade fubard, which is highly unlikely. Thank you both for your time. John |
All times are GMT -5. The time now is 09:55 PM. |