Hi Gerald
Low level IO control - One area that I have been forced into on another project... There are a couple of ways round this that may or may not work. First option. Disable /dev/ttyS1 and redirect DOSemu to use this as COM1: Second option. Recompile the DOS app to run under linux without having to rely on an emulation layer.
Final option. Ports such as ttySx and lpx are registered with the kernel when the driver modules are loaded (or at boot time if they are compiled in). To unregister the IO port without unloading the driver will require a little bit of C coding and a degree of savy with kernel sources. (Unless Ted's suggestion works...)
Regards, Paul.
On Saturday 08 November 2003 11:52 am, Edenyard wrote:
Anyway, as Adam says, it would help to know why you want Linux not to know about /dev/ttys0
I still need /dev/ttyS1 to work, since that's where my modem is connected, so disabling serial support altogether isn't really an option.