Quote:
Originally posted by jjge
I fixed it in a similar way. In make menuconfig I set the following entries from <M> to <*>:
Character devices -> parallel printer support
Parallel port support and PC-style hardware.
I have not tried to figure out which one is really necessary, but with this mod, it works.
|
Another possibility for some of these problems is to modprobe the necessary modules, in my case parport_pc wasn't being loaded automatically, though both parport and lp (once I went back and reconfigured the kernel conf with it!) were loaded when rc.cups (slackware 9.1) ran.
Here is the patch for rc.cups:
--- ./rc.cups.orig 2003-08-25 23:42:39.000000000 +0000
+++ ./rc.cups 2004-08-17 01:17:53.000000000 +0000
@@ -159,6 +159,8 @@
case $1 in
start | restart | reload)
+ modprobe -q parport_pc &>/dev/null
+ modprobe -q lp &>/dev/null
if $IS_ON cups; then
if test "$pid" != ""; then
kill -HUP $pid
@@ -183,6 +185,9 @@
$ECHO_OK
$ECHO "cups: stopped scheduler."
fi
+ modprobe -qr lp &>/dev/null
+ modprobe -qr parport_pc &>/dev/null
+ modprobe -qr parport &>/dev/null
;;
status)
-----snip here-----
Hope this helps someone. It won't help anyone who can already cat a file to /dev/lp0 though, because if you can do that either the modules are already loaded or the kernel has the support built in.