Missing /dev/lp1

Anonymous anonymous at easysw.com
Mon Feb 21 08:43:10 PST 2005


Thank you, thank you, thank you "Anonymous." Your help has solved my problem.
Direct parallel:/dev/lp0 now appears prominently in the output of
lpinfo -v. I have a sneaking supicion that the adding my deskjet as a CUPS printer will be a hell of a lot easier than editing my rc.modules script.

Thanks again to all the people who helped,

-roza9000



> Slackware 10, by default, does *not* load the parallel port drivers.
> Under /etc/rc.d/rc.modules, uncomment the following lines (lines 46-73):
>
> ### PC parallel port support ###
> if cat /proc/ksyms | grep "\[parport_pc\]" 1> /dev/null 2> /dev/null ; then
>   echo "parport0 is built-in, not loading module" > /dev/null
> else
>   if [ -r /lib/modules/$RELEASE/misc/parport_pc.o \
>        -o -r /lib/modules/$RELEASE/misc/parport_pc.o.gz \
>        -o -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o \
>        -o -r
> /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o.gz ]; then
>     # Generic setup example:
>     /sbin/modprobe parport_pc
>     # Hardware specific setup example (required for PLIP and better
>     # performance in general):
>     #/sbin/modprobe parport_pc io=0x378 irq=7
>   fi
> fi
>
> ### Parallel printer support ###
> if cat /proc/ksyms | grep "\[lp\]" 1> /dev/null 2> /dev/null ; then
>   echo "lp support built-in, not loading module" > /dev/null
> else
>   if [ -r /lib/modules/$RELEASE/misc/lp.o \
>        -o -r /lib/modules/$RELEASE/misc/lp.o.gz \
>        -o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o \
>        -o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o.gz ]; then
>     /sbin/modprobe lp
>   fi
> fi
>
>






More information about the cups mailing list