Kernel: FreeBSD bogushost2 5.1-CURRENT FreeBSD 5.1-CURRENT
#0: Sat Jul 19 23:38:13 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARL5KERNEL
i386
Since I kept on getting "stray irq 7"'s with my laserjet 4,
I decided to set my parallel port to use polled mode at boottime.
While I guess I could add a special script in /usr/local/etc/rc.d
to run 'lptcontrol -p', this sucks because it doesn't exit if the
printer isn't on, even though it works otherwise.
So I added to /boot/device.hints the following three lines:
hint.ppc.0.at="isa"
# hint.ppc.0.irq="7"
hint.ppc.0.flags="0x20"
According to the manual setting bit 4 of the flag to one should
set it to polling mode, but it doesn't work. I know for a fact
that the loader is reading the hints file, too.
Here's dmesg:
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on 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
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
Is there something that I overlooked?
Thanks,
Andrew Lankford
PS Apart from some annoyances with ghostscript ps to pcl translation, nothing beats a
vintage HP laser printer :)
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"