On Wed, 10 May 2000, Andreas Mohr wrote:

> Hi all,
>
> here's some mail Mike McCormack sent me, along with my answers.
>
> On Tue, May 09, 2000 at 11:46:53PM +1000, Mike McCormack wrote:
> >
> > Hello Andreas,
> >
> > i had a look into serial port support in wine about a half year
ago...
> > you are right, it is a bit of a mess! i was trying to support the
> > Nikon Coolpix 600... it worked eventually, but not too well.
> Wow !
> Obviously you got further than me...
> My changes should have made it work, but they didn't ;-\

Last time I checked, the 32 bit comm stuff didn't actually touch the
termios, so you could set that behind the scene with stty or so.  I
don't know exactly what the windows timeouts are supposed to time, but
you might get close with stty -icanon min 0 time <n>, in a crude sort of
way.
>
> > These are the conclusions that i came to:
> >
> > 1) The hardest things to support are Asynchronous I/O to serial
ports,
> > timeouts and use of WaitCommEvent.
> >
> > To support WaitCommEvent you need to improve the linux serial port
> > driver, so that you can wait on almost any event that the serial port
> > can detect using the Linux "select" call. Ofcourse it needs to remain
> > compatible with the current serial port driver!
> Ouch !
> One would have thought that Linux is a techie OS, so it ought to have
> *damn* good serial support ??

It does.  Just ask Ted Ts'o.  :-)

Lawson

<< Sardines of the world unite! <<
>> You have nothing to lose but your cans. >>




________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

Reply via email to