| Summary: | Users of some printers find that lpt0 malfunctions | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Stephen Montgomery-Smith <stephen> |
| Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.4-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
On Wed, 26 Jan 2000 stephen@math.missouri.edu wrote: > >Fix: > > Add a comment inside the file /sys/i386/conf/GENERIC (and maybe a > similar one in LINT) just before the offending line, that says: > > # For certain kinds of printers (for example HP 4L), you will need > # to change the word "net" to "tty" in the following line. > device ppc0 at isa? port? flags 0x40 net irq 7 > > This simple, harmless fix will save many users much grief. "net" is wrong for _all_ printers. It is only right for plip. I think GENERIC uses "net" because it wants to support installation using plip, but this breaks the usual case. Kludges hide the problem in some cases. E.g., configuring slip makes net == tty. This is for RELENG_3. The problem is a little different in -current. I think it is fixed for lpt and lpt but came back for slip. Bruce State Changed From-To: open->closed This only applied to RELENG_3, and those following the tag will presumably understand this. (and read the kernel instructions). 4.0 and later deals with this differently. |
Many users using certain kinds of printers, like the HP 4L, have many problems with printing postscript files. After asking around in news groups, the finally find out that the line in /sys/i386/conf/GENERIC that says device ppc0 at isa? port? flags 0x40 net irq 7 should be changed to device ppc0 at isa? port? flags 0x40 tty irq 7 Fix: Add a comment inside the file /sys/i386/conf/GENERIC (and maybe a similar one in LINT) just before the offending line, that says: # For certain kinds of printers (for example HP 4L), you will need # to change the word "net" to "tty" in the following line. device ppc0 at isa? port? flags 0x40 net irq 7 This simple, harmless fix will save many users much grief.