public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: zz <duszabar@klub.chip.pl>
To: linux-msdos@vger.kernel.org
Subject: cache register on serial port
Date: Fri, 27 Aug 2004 11:31:38 +0200	[thread overview]
Message-ID: <412EFF7A.2080807@klub.chip.pl> (raw)

Hi.
Im have a  communicate problem "timeout"  on serial port with cash 
register on /dev/ttyS1
in dosemu >> com2
log  D+s

CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu.conf
CONF: closed include file /etc/dosemu.conf
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 386
CONF: 8192k bytes XMS memory
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: PM DOS API Translator on
CONF: dosemu running on _xterm
SER: directory /var/lock namestub LCK.. binary No
SER: /dev/ttyS0 port 0 int 0
SER: /dev/ttyS1 port 0 int 0
MOUSE: /dev/mouse type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
ERROR: Unable to open console to evaluate the keyboard map.
Please specify your keyboard map explicitly via the $_layout option
CONF: Keyboard-layout us
CONF: **** Warning: floppy /dev/fd0 not accessable, disabled
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr  o: -Plp  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr  o: ''  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /home/mariusz/.dosemu/drives/c type 4 h: -1  s: -1   t: -1 drive C:
CONF: config variable c_system unset
debug flags: +s
CONF: mostly running as USER: uid=502 (cached 502) gid=502 (cached 502)
DBG_FD already set
DOSEMU-1.3.0.0 is coming up on Linux version 2.4.22-1.2194.nptl_50.rhfc1.at
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
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.7 2004/01/24 19:33:33 bartoldeman 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
SER0: BIOS memory location 0x400 has value of 0x3f8
registering /dev/ttyS1 for serial
SER1: enabling interrupt 11
SER1: COM2, intlevel=11, base=0x2f8, device=/dev/ttyS1
SER1: BIOS memory location 0x402 has value of 0x2f8
Slang:S-Lang Error: Inconsistency in define key.
Slang:S-Lang Error: Inconsistency in define key.
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
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
SER0: do_ser_init: running ser_termios
SER0: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30
SER0: Read LCR = 0x3
SER0: MCR = 0x3
SER0: MCR: DTR -> 1
SER0: MCR: RTS -> 2
SER0: LCR = 0x83, DLAB high.
SER0: Divisor LSB = 0x30
SER0: Divisor MSB = 0x0
SER0: LCR = 0x3, DLAB low.
SER0: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30
SER0: Read LSR = 0x60
SER0: tmp=0 int_cond=0 int_req=0 int=0
SER0: Read MSR = 0x0
SER0: INT14 0x0: Return with AL=0x0 AH=0x60
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
SER1: do_ser_init: running ser_termios
SER1: LCR = 0x3, 8N1, bps = 2400, divisor 0x30 -> 0x30
SER1: Modem Status Change: MSR -> 0x30
SER1: Func modstat_engine requesting MS_INTR
SER1: tmp=0 int_cond=8 int_req=0 int=8
SER1: Interrupt 11 (8) cannot be requested: enable=0 IER=0x0
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
SER1: Read MSR = 0x33
SER1: INT14 0x0: Return with AL=0x33 AH=0x60

SER1: INT14 0x0: Initialize port 1, AL=0xfb
SER1: Read LCR = 0x3
SER1: MCR = 0x3
SER1: MCR: DTR -> 1
SER1: MCR: RTS -> 2
SER1: LCR = 0x9b, DLAB high.
SER1: Divisor LSB = 0x0c
SER1: Divisor MSB = 0x0
SER1: LCR = 0x1b, DLAB low.
SER1: LCR = 0x1b, 8E1, bps = 9600, divisor 0xc -> 0xc
SER1: Read LSR = 0x60
SER1: tmp=0 int_cond=0 int_req=0 int=0
SER1: Read MSR = 0x30
SER1: INT14 0x0: Return with AL=0x30 AH=0x60
SER1: Read LCR = 0x1b
SER1: LCR = 0x9b, DLAB high.
SER1: Divisor LSB = 0x0c
SER1: Divisor MSB = 0x0
SER1: Read LCR = 0x9b
SER1: LCR = 0x1b, DLAB low.
SER1: LCR = 0x1b, 8E1, bps = 9600, divisor 0xc -> 0xc
SER1: Read MCR = 0x3
SER1: MCR = 0x3
SER1: MCR: DTR -> 1
SER1: MCR: RTS -> 2
SER1: Read MCR = 0x3
SER1: MCR = 0x2
SER1: MCR: DTR -> 0
SER1: MCR: RTS -> 2
SER1: Read LSR = 0x60
SER1: Receive 0x0
SER1: Read LSR = 0x60
SER1: tmp=0 int_cond=0 int_req=0 int=0
SER1: Read MSR = 0x30
SER1: Func transmit_engine requesting TX_INTR
SER1: tmp=0 int_cond=2 int_req=0 int=2
SER1: Interrupt 11 (2) cannot be requested: enable=0 IER=0x0
SER1: Transmit 0x1b
SER1: Receive 0x0
SER1: Read LSR = 0x60
SER1: tmp=0 int_cond=2 int_req=0 int=0
SER1: Read MSR = 0x30
SER1: Func transmit_engine requesting TX_INTR
SER1: tmp=0 int_cond=2 int_req=0 int=2
SER1: Interrupt 11 (2) cannot be requested: enable=0 IER=0x0
SER1: Transmit 0xc0
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60
SER1: Read LSR = 0x60...............
SER1: Read LSR = 0x60


dosemu.conf
$_com2 = "/dev/ttyS1"



Mariusz



             reply	other threads:[~2004-08-27  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27  9:31 zz [this message]
2004-08-27 10:34 ` cache register on serial port zz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=412EFF7A.2080807@klub.chip.pl \
    --to=duszabar@klub.chip.pl \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox