Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2007 22:56:09 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Milan Knizek <knizek@volny.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Epson P2100 parallel port mode
Message-ID:  <20070309215608.GA6874@slackbox.xs4all.nl>
In-Reply-To: <200703092025.34406.knizek@volny.cz>
References:  <200703092025.34406.knizek@volny.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 09, 2007 at 08:25:34PM +0100, Milan Knizek wrote:
> A search on google revealed that it is possible to switch the port mode=
=20
> to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the=
=20
> printer worked normally.
>=20
> "ltpcontrol" supports only connected (and powered on) printers, which is=
=20
> usually not the case during boot, and it must be run with root privileges.
>=20
> My question: how do I set the default port mode to "extended polling" ins=
tead=20
> of "iterrupt driven" during the boot process?

You have to add the setting to /boot/device.hints. See=20
http://www.xs4all.nl/~rsmith/freebsd/#parport

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFF8df4EnfvsMMhpyURAkgMAJ0drYz4piPCpQj4a60gqeH9WLEwngCfV/1A
lrufs7j0cL+cliJjnNKTX+Q=
=nEso
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--



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