Subject: Re: Problems
To: None <port-i386@NetBSD.ORG, reed@engr.orst.edu>
From: Max Bell <mbell@teleport.com>
List: port-i386
Date: 01/21/1995 10:38:50
}From: Alaric <reed@engr.orst.edu>
}Subject: Problems
[. . .]
}I've been trying to get NetBSD 1.0 to recognize my printer port
}the default setup for building the kernel doesn't work
}On bootup it never recognizes "lpt0" 
[. . .]
}It is correctly compiled into the kernel though.
}There's nothing wrong with the port either, I can show you lots of
}stuff I've printed from MS-DOS/WINDOWS and the bios recognizes it too.
}but NetBSD just seems to ignore it. I hate havng to reboot to DOS just to 
}print out some text file. It also makes ghostscript kinda useless.
}As far as I can tell there's no reason for it to be acting this way.

I had the same problem on my system.  I also tried recompiling a few
kernels before delving into the lpt.c device driver code.  I fixed the
problem by changing the bitmask used by the control port test -- it
included bits like "paper out" which my printer apparently didn't allow
to be driven from the computer's side of the line.  With my new mask value,
it is recognized at boot and prints fine as lpa0 (lpt0 works mostly, but
drops characters every so often [which is a real pain when printing
GhostScript :-]).  I will check the code this evening and email the new
value and the involved source line.

[. . .]
}Why does the keyboard driver take my backspace key as a ^?

I don't know about this one.  Have you tried 'stty erase ^h'?  One thing I'd
like to see is the ability to format floppies under NetBSD (yes, I know you
can buy them preformatted, that's not the point).

}[. . .]
}Alaric,           | Archery: A deeply seated hatred of paper with bright
}Mka Brandon Reed  |  coloured circles printed on it.
}reed@engr.orst.edu|
}http://www.engr.orst.edu:80/~reed

http://www.teleport.com/~mbell