[Wine] COM port not accessible

Marco Aurélio Carvalho maurelioc at astrotec.com.br
Tue May 15 20:40:29 CDT 2007


Em Seg 14 Mai 2007, Christian Schmitz escreveu:
> El Lunes, 14 de Mayo de 2007 06:55, Declan Moriarty escribió:
> > On Sun, 2007-05-13 at 16:32 -0300, Marco Aurélio Carvalho wrote:
> > > Em Dom 13 Mai 2007, você escreveu:
> > > > >>>>> "Marco" == Marco Aurélio Carvalho <maurelioc at astrotec.com.br>
> > > > >>>>> writes:
> > > >
> > > >     Marco> Hi folks, I need to use a program that access a serial
> > > > port. The
> > >
> > > The program do not crash, but it does not write or read from the serial
> > > port. It presents an error message and continues but does not work. The
> > > program was compiled with Borland C builder (do not know the version). 
> > > I have the sorce code but not the compiler. It was created by a friend
> > > many years ago to help me test a electronic board.
> > > I tried to use hyperterminal to test the serial port access, but I
> > > could not setup it properly or it does not work under wine.
> > > I also tried to install an old terminal program called PROCOMM but the
> > > SETUP program complains that  a SHELL.DLL was not found and aborts.
> > > I am triyng to find a simple terminal that uses a serial port to test
> > > it.
> >
> > Am I correct in thinking that this port has to communicate with a cpu on
> > your test board which is talking via i2c boosted to rs-232 levels? Your
> > firmware will have the baud rate set, along with parity, and error bits.
> > Do you know what these settings should be? And some of the older
> > circuits for this are inadequate, not meeting RS232 specs.
> >
> > Probably it is smartest to try to talk or listen in linux first, to get
> > past those errors.
> > man setserial is your friend.
>
> Group and owner of /dev/ttyS0 are rigth? Try
>
> chmod youruser.yourgroup /dev/ttyS0
>
> This can grant permission.
>
> Regards

No problem with permissions. I am already the owner of the serial port.
That was the first thing I confirmed. I also have a script that runs on boot 
to set permissions to serial and parallel ports. I use chip programmers on 
parallel port and the serial port is used to talk to external boards.

 In my office I also use a 2 serial/1 parallel port expansion board. I have 
there 2 types of programmers there, one tied to a main parallel port and 
another tied to the expansion parallel port.

-- 
Marco Aurélio



More information about the wine-users mailing list