diff options
author | Sami Kerola | 2017-07-29 17:35:30 +0200 |
---|---|---|
committer | Karel Zak | 2017-07-31 13:48:04 +0200 |
commit | d52eb4bd9062081c8420b22c029c694f29d036c7 (patch) | |
tree | fe045b3d7507e12c025f3bab59844bf1b4619139 /sys-utils/tunelp.8 | |
parent | fstab(5): mention how tabs are escaped (diff) | |
download | kernel-qcow2-util-linux-d52eb4bd9062081c8420b22c029c694f29d036c7.tar.gz kernel-qcow2-util-linux-d52eb4bd9062081c8420b22c029c694f29d036c7.tar.xz kernel-qcow2-util-linux-d52eb4bd9062081c8420b22c029c694f29d036c7.zip |
tunelp: use linux header
Remove use of LPTRUSTIRQ in same go. The LPTRUSTIRQ provided --trust-irq
option, but it has not worked in nearly 20 years.
Reference: http://repo.or.cz/davej-history.git/blobdiff/1f58336fe0515bc929e4de227eb44b12a4a18998..ac5579c68db87bc21630676c167ee8224267f32c:/include/linux/lp.h
Reference: http://repo.or.cz/davej-history.git/blobdiff/1f58336fe0515bc929e4de227eb44b12a4a18998..ac5579c68db87bc21630676c167ee8224267f32c:/drivers/char/lp.c
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/tunelp.8')
-rw-r--r-- | sys-utils/tunelp.8 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys-utils/tunelp.8 b/sys-utils/tunelp.8 index 1798ec978..90db83491 100644 --- a/sys-utils/tunelp.8 +++ b/sys-utils/tunelp.8 @@ -96,22 +96,6 @@ This option returns the current printer status, both as a decimal number from 0..255, and as a list of active flags. When this option is specified, \-q off, turning off the display of the current IRQ, is implied. .TP -\fB\-T\fR, \fB\-\-trust\-irq\fR \fI<on|off>\fR -This option is obsolete. It was added in Linux 2.1.131, and removed again in -Linux 2.3.10. The below is for these old kernels only. -.IP -This option tells the lp driver to trust or not the IRQ. This option makes -sense only if you are using interrupts. If you tell the lp driver to trust -the irq, then, when the lp driver will get an irq, it will send the next -pending character to the printer unconditionally, even if the printer still -claims to be BUSY. This is the only way to sleep on interrupt (and so the -handle the irq printing efficiently) at least on Epson Stylus Color Printers. -The lp driver automagically detects if you could get improved performance by -setting this flag, and in such case it will warn you with a kernel message. -.IP -NOTE: Trusting the irq is reported to corrupt the printing on some hardware, -you must try to know if your printer will work or not... -.TP \fB\-r\fR, \fB\-\-reset\fR This option resets the port. It requires a Linux kernel version of 1.1.80 or later. @@ -127,14 +111,6 @@ all require a Linux kernel version of 1.1.76 or later. .PP .B \-C requires a Linux version prior to 2.1.131. -.PP -.B \-T -requires a Linux version of 2.1.131 or later. -.SH BUGS -By some unfortunate coincidence the ioctl LPSTRICT of 2.0.36 has the same -number as the ioctl LPTRUSTIRQ introduced in 2.1.131. So, use of the \-T -option on a 2.0.36 kernel with an tunelp compiled under 2.1.131 or later may -have unexpected effects. .SH FILES .I /dev/lp? .br |