[cups.general] Re: Missing /dev/lp1

Kaze kaze at packhouse.org
Mon Feb 21 09:54:56 PST 2005


Actually, editing the rc.modules is just a matter of removing the '#' 
from the beginning of the lines I pointed out earlier.  Here is the 
edited version of the rc.modules script.

Anonymous wrote:

>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
>>
>>
>>    
>>
>
>
>_______________________________________________
>cups mailing list
>cups at easysw.com
>http://lists.easysw.com/mailman/listinfo/cups
>  
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc.modules
URL: <https://lists.cups.org/pipermail/cups/attachments/20050221/40133103/attachment-0001.ksh>


More information about the cups mailing list