All of lore.kernel.org
 help / color / mirror / Atom feed
* 1.3.1 and data carrier detect
@ 2004-11-28 17:38 Maurilio Longo
  0 siblings, 0 replies; 5+ messages in thread
From: Maurilio Longo @ 2004-11-28 17:38 UTC (permalink / raw)
  To: dosemu

Hi,

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.

serial com1 on /dev/ttyS0 kernel 2.4.28.

What can I do?

regards.

maurilio.


PS. Adding the RTC patch from sourceforge helps a lot serial sending (that is
making chars go out of the serial port towards the modem) while seems not to
have any impact on serial receiving (which still is not working so good).

Mi app is a protect mode clipper app using telepathy as serial comm. library.

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 1.3.1 and data carrier detect
@ 2004-11-28 18:45 Stas Sergeev
  2004-11-29  8:32 ` Maurilio Longo
  2004-12-01 11:15 ` Maurilio Longo
  0 siblings, 2 replies; 5+ messages in thread
From: Stas Sergeev @ 2004-11-28 18:45 UTC (permalink / raw)
  To: linux-msdos

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.

> PS. Adding the RTC patch from sourceforge helps a lot serial sending
How exactly it helps? Making it faster?
Have you tried setting $_hogthreshold=(0)
and see if that helps either?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 1.3.1 and data carrier detect
  2004-11-28 18:45 1.3.1 and data carrier detect Stas Sergeev
@ 2004-11-29  8:32 ` Maurilio Longo
  2004-12-01 11:15 ` Maurilio Longo
  1 sibling, 0 replies; 5+ messages in thread
From: Maurilio Longo @ 2004-11-29  8:32 UTC (permalink / raw)
  To: Stas Sergeev; +Cc: linux-msdos

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 1.3.1 and data carrier detect
  2004-11-28 18:45 1.3.1 and data carrier detect Stas Sergeev
  2004-11-29  8:32 ` Maurilio Longo
@ 2004-12-01 11:15 ` Maurilio Longo
  2004-12-02 17:00   ` Stas Sergeev
  1 sibling, 1 reply; 5+ messages in thread
From: Maurilio Longo @ 2004-12-01 11:15 UTC (permalink / raw)
  To: Stas Sergeev; +Cc: linux-msdos

Stas,

After you latest fix CDC is again handled correctly.

Serial transmission, though, is still not as good as it should (IMHO), in particular
serial sending has problem even at 9600 baud while serial receiving shows crc errors
which, I fear, comes from a too slow incoming chars handling.

Since my app writes directly to the harware I think there is something wrong there
as well, how can I show you this fact?

Which kind of log do I have to send?

thanks a lot for your help so far.

maurilio.



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.
>
> > PS. Adding the RTC patch from sourceforge helps a lot serial sending
> How exactly it helps? Making it faster?
> Have you tried setting $_hogthreshold=(0)
> and see if that helps either?
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 1.3.1 and data carrier detect
  2004-12-01 11:15 ` Maurilio Longo
@ 2004-12-02 17:00   ` Stas Sergeev
  0 siblings, 0 replies; 5+ messages in thread
From: Stas Sergeev @ 2004-12-02 17:00 UTC (permalink / raw)
  To: Maurilio Longo; +Cc: linux-msdos

Hello.

Maurilio Longo wrote:
> Since my app writes directly to the harware I think there is something wrong there
> as well, how can I show you this fact?
> Which kind of log do I have to send?
Try starting with the bug-report and -D9+sr
log to it, and we'll see. Another similar
log but with the RTC path may also help.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-02 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-28 18:45 1.3.1 and data carrier detect Stas Sergeev
2004-11-29  8:32 ` Maurilio Longo
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.