Date: Tue, 1 Jan 2002 15:27:34 +0100 From: Willem van Engen <wvengen@stack.nl> To: freebsd-questions@freebsd.org Subject: ifhp: F_SETFL failed on /dev/lpt0 Message-ID: <20020101152734.0118512a.wvengen@stack.nl>
index | next in thread | raw e-mail
Hello,
I just installed lprng and ifhp, but ifhp doesn't work:
# uname -a
FreeBSD temp 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Dec 31 15:56:51 CET 2001
wvengen@temp:/usr/src/sys/compile/TEMP i386
# /usr/local/libexec/filters/ifhp -Tdev=/dev/lpt0,trace,debug=1,model=pcl,status@ </etc/motd
ifhp 15:19:25.723 [5664] main: scanning Topts for model
ifhp 15:19:25.723 [5664] Select_model_info: id '<NULL>', list->count 5, model->count 0
ifhp 15:19:25.724 [5664] Select_model_info: state 0 doing 'debug=1', id '<NULL>'
[snip]
ifhp 15:20:30.876 [5668] Dump_line_list: Topts - count 0, max 0, list 0x0
ifhp 15:20:30.877 [5668] Version $Id: ifhp.c,v 1.30 1999/10/05 23:13:56 papowell Exp papowell $ VERSION ifhp-3.3.10
ifhp 15:20:30.877 [5668] Open_device: device '/dev/lpt0'
ifhp 15:20:30.877 [5668] Open_device: device '/dev/lpt0', attempt 1
ifhp 15:20:31.119 [5668] ifhp: fcntl fd 1 F_SETFL failed - Operation not supported by device
# dmesg | grep 'lpt\|ppc'
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
lpt0: switched to polled standard mode
What am I missing??
- Willem van Engen
P.S. Please CC me since I'm not on the list.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020101152734.0118512a.wvengen>
