From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard.Bialas@t-online.de (Bernhard Bialas) Subject: Re: Serial communication not working! Date: Sun, 16 Jan 2005 18:30:39 +0100 Message-ID: <200501161830.39403.bernhard.bialas@t-online.de> References: <41E8F822.6070709@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41E8F822.6070709@aknet.ru> Content-Disposition: inline Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org Hello I have started to make some tests with the CVS-Version from 07.january 2005. A bad surprise was: the serial communication from the chess programs with my chessboard is in the CVS-Version from 07.01.2005 not working. The 1.3.1 version works fine. I have made a debug file and there is a error message (last line)which probably explains the problem. Should I open a bug report? Best regards Bernhard Here a short part of the debug output (-D9+s): DOSEMU-1.3.1.1 is coming up on Linux version 2.6.5-7.111.19-default CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K)) CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area) CPU: Stack bottom 0xbffeb000, top 0xc0000000, esp=0xbffeef40 major = 136 minor = 1 CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory) SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.14 2004/12/06 18:05:50 stsp Exp $ SER: Running serial_init, 2 serial ports registering /dev/ttyS0 for serial SER0: enabling interrupt 12 SER0: COM1, intlevel=12, base=0x3f8, device=/dev/ttyS0 registering /dev/ttyS1 for serial SER1: enabling interrupt 11 SER1: COM2, intlevel=11, base=0x2f8, device=/dev/ttyS1 CONF: reserving 12Kb at 0xC0000 for 'V' (VGAEMU Video BIOS) PKT: Cannot allocate TAP device (dynamic): Keine Berechtigung CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame) CONF: reserving 116Kb at 0xC3000 for 'U' (Upper Memory Block (UMB, XMS 3.0)) SER0: BIOS memory location 0x400 has value of 0x3f8 SER1: BIOS memory location 0x402 has value of 0x2f8 TIME: using 9154 usec for updating ALRM timer SER1: INT14 0x0: Initialize port 1, AL=0xa3 SER1: Running ser_open, fd=-1 SER1: Clear FIFO. SER1: tmp=0 int_cond=0 int_req=0 int=0 fifo=0 SER1: do_ser_init: running ser_termios SER1: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30 SER1: Read LCR = 0x3 SER1: MCR = 0x3 SER1: MCR: DTR -> 1 SER1: MCR: RTS -> 2 SER1: LCR = 0x83, DLAB high. SER1: Divisor LSB = 0x30 SER1: Divisor MSB = 0x0 SER1: LCR = 0x3, DLAB low. SER1: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30 SER1: Read LSR = 0x60 SER1: tmp=0 int_cond=0 int_req=0 int=0 fifo=0 SER1: Read MSR = 0x0 SER1: INT14 0x0: Return with AL=0x0 AH=0x60 SER0: INT14 0x0: Initialize port 0, AL=0xa3 SER0: Running ser_open, fd=-1 SER0: Clear FIFO. SER0: tmp=0 int_cond=0 int_req=0 int=0 fifo=0 SER0: do_ser_init: running ser_termios SER0: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30 SER0: Modem Status Change: MSR -> 0xf0 SER0: Func modstat_engine requesting MS_INTR SER0: tmp=0 int_cond=8 int_req=0 int=8 fifo=0 SER0: Interrupt 12 (8) cannot be requested: enable=0 IER=0x0 ############################################################