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

next in thread | previous in thread | raw e-mail | index | archive | help
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

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.
>



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?008001c08d91$62c9a390$0100a8c0>