TheOldFellow wrote:
Andrew Benton wrote:
Ilja wrote:
Hi,
Does anybody know how I can get the lp (parport printer) module to load at
boottime?
I thought that the kernel should detect it automatically, but thats not the
case.
I thought if you stuck a feather in the ground it would grow a chicken.
To load a module on boot add it to /etc/sysconfig/modules
The real question is why you built it as a module? Were you not expecting to have a printer?
Perhaps the op:
1) needed to reduce the size of the kernel to get in on a rescue floppy?
2) wanted to learn how modules worked?
3) is building for a laptop with a small memory that only occasionally needs to drive a printer.
there are other reasons, but icbbtlta :-)
Personally I use modules all the time, but I do it for fun, it's the challenge of getting 'hotpig' and 'uduck' to work, you know.
I haven't done a printer yet - no requirement has come up - but I'd be interested in the hotplug/udev solution, if there is one.
R.
Thanks for the quick reply.
I like to swap hd's around different machines. Not all with the same features. Therefore, modules are convinient.
I did it with my 2.4 kernel. And I'm quite sure it used to load ld automatically.
Normally putting the modules in /etc/modules.conf is enough. but I no luck with ld. I must admit that I didn't know about the /etc/sysconfig/modules feature of the new lfs.
Likely the first question I didn't take effort to explore and investigate myself first. I'm a bit tired and I see so many do it, I thought, let's ask a quicky myself.
regards,
ilja -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page