[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printing with kernel 2.1.94



On Fri, Apr 10, 1998 at 11:25:36PM -0400, Christopher Jason Morrone wrote:
> On Thu, 9 Apr 1998, James Dietrich wrote:
> 
> > This one has me stumped:
> > 
> > I have been experimenting with the latest kernels--versions 2.1.92 and
> > now 2.1.94.  However, I have had difficulties configuring my soundcard
> > and parallel printer to work with the new kernels.  After reading the
> 
> OK.  I might be able to help you with the printer problem.  For some
> STRANGE reason, it seems that the lp device numbers changed between the
> kernel versions!  For example, under 2.0.33 my printer device was
> /dev/lp1, but when I started using the 2.1.9x kernels, I had to go through
> my /etc/printcap and change all /dev/lp1 entries into /dev/lp0 !!

Thanks for this pointer!  It was the very piece of information I needed.

For anyone else who has been following this thread, here's what I had to
do to get my printer to work with kernel 2.1.95:

I changed the reference to /dev/lp1 in /etc/printcap to /dev/lp0
I added the lines
alias char-major-6 lp
options parport_pc io=0x378
options lp parport=0
to /etc/conf.modules.
I also changed
/lib/modules/2.1.95/misc/lp.o: /lib/modules/2.1.95/misc/parport.o
to
/lib/modules/2.1.95/misc/lp.o: /lib/modules/2.1.95/misc/parport_pc.o
in /lib/modules/2.1.95/modules.dep. 

Hopefully I'll someday find a way to do without that last change.
For some reason, 
post-install parport modprobe "-k" "-s" "parport_pc"
doesn't work for me.

Thanks again to all who helped.

James


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: