From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 21:56:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E7D216A402 for ; Fri, 9 Mar 2007 21:56:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8536213C47E for ; Fri, 9 Mar 2007 21:56:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l29Lu9BQ065320; Fri, 9 Mar 2007 22:56:10 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2182BB82D; Fri, 9 Mar 2007 22:56:09 +0100 (CET) Date: Fri, 9 Mar 2007 22:56:09 +0100 From: Roland Smith To: Milan Knizek Message-ID: <20070309215608.GA6874@slackbox.xs4all.nl> Mail-Followup-To: Milan Knizek , freebsd-questions@freebsd.org References: <200703092025.34406.knizek@volny.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <200703092025.34406.knizek@volny.cz> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 21:56:12 -0000 --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--