Linux MS DOS discussions
 help / color / mirror / Atom feed
From: Maurilio Longo <maurilio.longo@libero.it>
To: Stas Sergeev <stsp@aknet.ru>
Cc: linux-msdos@vger.kernel.org
Subject: Re: 1.3.1 and data carrier detect
Date: Mon, 29 Nov 2004 09:32:54 +0100	[thread overview]
Message-ID: <41AADEB5.E40CE5AF@libero.it> (raw)
In-Reply-To: 41AA1CAE.8050208@aknet.ru

Stas,

Stas Sergeev ha scritto:

> Hello.
>
> Maurilio Longo wrote:
> > If I switch from 1.2.2 to 1.3.1 my dos app (no other changes to dosemu.conf or
> > any other files) stops detecting DCD when a connection is established
> > via modem.
> Thats odd, I can't recall anything
> that could cause this.
>
> > What can I do?
> Open the bug-report and attach the
> -D9+s logs from both the 1.2.2 and
> 1.3.1 sessions.

I've opened bug id 1075068 adding three logs, if you want I can send them to you,
they're 20kb in size.


> > PS. Adding the RTC patch from sourceforge helps a lot serial sending
> How exactly it helps? Making it faster?

Making it smoother (I have a serial printer and a modem to handle) and making it
able to sustain a serial transmission.

>
> Have you tried setting $_hogthreshold=(0)
> and see if that helps either?

Yes, hogthreshold to 0 does not make it faster nor smoother. I've also redefined
INT2F_ and INT15_ defines to INT28_ which is a lot smaller, this help serial
receiving.

I think that there should be a thread which handles serial I/O and which never sleep
but blocks on receiving from real serial port ( /dev/ttySx) not to consume cpu
(receiving is the most demanding task), the current implementation which usleep()s
here and there isn't able to cope with a 19200 baud transmission on a 3Ghz P4 if I
don't change those two defines from timers.h.

Note that telepathy comm library of my clipper app writes directly to the serial
hardware and does not use bios.

regards.

--
 __________
|  |  | |__| md2520@mclink.it
|_|_|_|____| Team OS/2 Italia



  reply	other threads:[~2004-11-29  8:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-28 18:45 1.3.1 and data carrier detect Stas Sergeev
2004-11-29  8:32 ` Maurilio Longo [this message]
2004-12-01 11:15 ` Maurilio Longo
2004-12-02 17:00   ` Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2004-11-28 17:38 Maurilio Longo

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=41AADEB5.E40CE5AF@libero.it \
    --to=maurilio.longo@libero.it \
    --cc=linux-msdos@vger.kernel.org \
    --cc=stsp@aknet.ru \
    /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