l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Nov 30 13:04

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Slack 10 print problem solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Slack 10 print problem solved

On Monday 29 November 2004 11:32 am, Shwaine wrote:
> On Tue, 23 Nov 2004, wild bill wrote:
> > Thanks again to all for their time, effort and input.
> > Thanks especially to Ken Bloom for persevering with finding
> > the ultimate solution.
> >
> > I don't know why uncommenting the required entries in the
> > rc.modprobe file did not work;  but, as Ken suggested, I
> > put the modprobe parport_pc and modprobe lp where Slackware
> > would find them on startup.  I chose rc.local since it is
> > my hack of the problem and it seems to me to be a logical
> > choice.
> >
> > Manually editing the /edit/cups/printers.conf failed to
> > produce print output.  And, the parallel port choice still
> > does not show in the http://localhost:631/admin Device
> > screen.  However, the KDE printer setup was able to do its
> > magic and produced the Cups Printer Test Page.
> I was on vacation, so apologies for the late reply, but it seems to me
> that you did not edit /etc/rc.d/rc.modules properly. I also have a Slack
> 10.0 install and had no issues with loading the lp module via that file.
> The section you need should appear as such, starting at line 62:
> #### 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
> Note the line /sbin/modprobe lp. If it is not working on your system,
> then the if statement to fine the module is failing for some reason.
> RELEASE is set to uname -r. I am still using the default kernel and
> kernel modules that came with Slackware and it works fine. The module is
> found in /lib/modules/2.4.26/kernel/drivers/char/lp.o.gz.
I am running the 2.6.7 kernel 
> > Are you running  
> a custom kernel? If so, did you remember to make modules and make
> modules-install? If you aren't, did you install the kernel modules
> package? Can you find the lp module in one of the above locations
> substituting the output of uname -r for RELEASE?
> The above section of rc.modules gets the modules loaded before CUPS loads
> so CUPS sees the parallel port. The rc.local file executes last in the
> rc.M script, so that's probably why CUPS is still not seeing the parallel
> port in your solution. I actually avoid putting any modprobes in rc.local
> for this reason (and for compatability with hotplug). rc.modules is the
> place for modprobes. Plus rc.modules gets called from rc.S, while
> rc.local only gets called from rc.M, which means you'd only get printer
> support in multi-user init mode and would lose it in single user init
> mode using your current solution. Perhaps not vital for the printer, but
> could be a problem with other drivers, so I thought I'd point out the
> differences between the two files.
> Shwaine
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!