From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:25:59 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 2C4CF16A401 for ; Fri, 9 Mar 2007 19:25:59 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id A7C0313C4AC for ; Fri, 9 Mar 2007 19:25:58 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 718CE64CB6 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 5EBD066C005 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id J6ynA42h5fw8 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from smtp-out3.iol.cz (mta-out3 [192.168.30.28]) by antivir5.iol.cz (Postfix) with ESMTP id 3EA7A66C006 for ; Fri, 9 Mar 2007 20:25:53 +0100 (CET) Received: from [192.168.1.23] (unknown [88.103.7.126]) by smtp-out3.iol.cz (Postfix) with ESMTP id 0FAE557EFE for ; Fri, 9 Mar 2007 20:25:48 +0100 (CET) From: Milan Knizek To: freebsd-questions@freebsd.org Date: Fri, 9 Mar 2007 20:25:34 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703092025.34406.knizek@volny.cz> Subject: 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 19:25:59 -0000 Hello list! I have spent some time installing Epson P2100 (aka P2200 in the U.S.) - the= =20 USB connection did not work (printer was recognised, but any access to it=20 caused only a quick double-tick of the printing head and nothing more). The= =20 good thing was that it supports also the parallel connection. Once connected via /dev/lpt0, the printer worked, but printed _very_ slowly= =20 (and /var/log/messages announced irq storm on irq7). 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. "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. My question: how do I set the default port mode to "extended polling" inste= ad=20 of "iterrupt driven" during the boot process? Thanks for ideas, Milan P.S. 6.2-STABLE FreeBSD 6.2-STABLE i386 on ASUS P5LD2 Deluxe with Pentium D. dmesg: ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 = on=20 acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 =2E.. lpt0: on ppbus0 lpt0: Interrupt-driven port =2D-=20 Milan Kn=C3=AD=C5=BEek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz