From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Crawford Subject: Re: Serial port slow on Linux dosemu Date: Tue, 10 Jan 2012 15:47:05 +0000 Message-ID: <4F0C5D79.4030907@sat.dundee.ac.uk> References: <4F0B631A.1070109@compro.net> <4F0C55AF.30600@compro.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F0C55AF.30600@compro.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: markh@compro.net Cc: linux-msdos@vger.kernel.org > When using the 2 config entries below "and" the -s option "as root" the > serial port speeds up to almost what it should be. It now takes 2 > seconds to test the cable. That is good however, using the -s option > seems to force some sort of full screen and the "ega" graphics is then > broken. Without the -s option my window is as I define it in the config > file and "ega" graphics works OK. > > > $_ports = " device /dev/null range 0x3f8 0x3ff fast" > # $_com1 = "/dev/ttyS0" > > Please help If you attempt to get direct hardware access to any of the PC's I/O ports (such as the UART for this case) you need to use -s for dosemu and have it running with root privileges (e.g. adding it to sudo list, etc). Just using '-s' should not break the graphics as such, unless your software is also trying direct graphics card I/O access and that is being passed through. Regards, Paul