Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2007 20:25:34 +0100
From:      Milan Knizek <knizek@volny.cz>
To:        freebsd-questions@freebsd.org
Subject:   Epson P2100 parallel port mode
Message-ID:  <200703092025.34406.knizek@volny.cz>

next in thread | raw e-mail | index | archive | help
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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
=2E..
lpt0: <Printer> 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



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