Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2001 21:44:11 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        "Ilya" <maillist@krel.org>
Cc:        "Mike Meyer" <mwm@mired.org>, <questions@freebsd.org>
Subject:   Re: printer in bsd
Message-ID:  <14971.32395.86754.378912@guru.mired.org>
In-Reply-To: <008001c08d91$62c9a390$0100a8c0@ilya>
References:  <14970.59925.566265.399149@guru.mired.org> <008001c08d91$62c9a390$0100a8c0@ilya>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilya <maillist@krel.org> types:
> sorry, its FreeBSD 4.2S
> I changed kernel to this - exactly from generic:
> # Parallel port
> device          ppc0    at isa? irq 7
> device          ppbus           # Parallel port bus (required)
> device          lpt             # Printer
> 
> this is from boot dmesg:
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

What do you get when you grep for lpt in the dmesg boot? Mine looks
like this:

ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

And if you rean't seeing that, what is the BIOS setting for your
parallel port?

	<mike

> this is in /dev
>  crw-------  1 root  wheel   16,   0 Feb  2 22:27 /dev/lpt0
> crw-------  1 root  wheel   16,   1 Feb  2 22:27 /dev/lpt1
> 
> but lptest gives:
>  lptest >/dev/lpt0
> bash: /dev/lpt0: Device busy
> 
> 
> ----- Original Message -----
> From: "Mike Meyer" <mwm@mired.org>
> To: "Ilya" <maillist@krel.org>
> Cc: <questions@freebsd.org>
> Sent: Friday, February 02, 2001 12:10 PM
> Subject: Re: printer in bsd
> 
> 
> > Ilya <maillist@krel.org> types:
> > > Hi. I am trying to use my bubble jet on FreeBSD
> > > I recompiled kernel with this info:
> > > device          ppc0    at isa? irq 7
> > > device          ppbus           # Parallel port bus (required)
> > > device          lpt0 at isa? port? tty irq 7 vector lptintr
> > >
> > > and during boot I get this:
> > > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> > > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> > >
> > > nothing about lpt1
> > >
> > > any suggestions?
> >
> > Yes - tell us which version of the OS you're running. For recent
> > releases, it's "device lpt", not the thing you have. You can also look
> > in the GENERIC config to see how they have lpt0 set up, as it should
> > have it enabled.
> >
> > Finally, if what you gave from the config is right, you should be
> > looking for lpt0, not lpt1. And you need to make sure it's configured
> > to use irq 7 in the BIOS.
> >
> > <mike
> > --
> > Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/
> > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more
> information.
> >
> 
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14971.32395.86754.378912>