http://bugs.winehq.org/show_bug.cgi?id=19416
Summary: WINE doesn't recognize pseudo tty's Product: Wine Version: 1.1.26 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: blackshell@gmail.com
I'm using a software called 'remserial' ( http://lpccomp.bc.ca/remserial/ ) to remotely access a fiscal printer. The program creaters a pseudo-tty in the 'client' redirecting to the printer in 'server'. I can connect to the printer with any other application, except WINE.
I read that WINE uses 'setserial' to grab serial port information, perhaps this is the source of my problems as 'setserial' doesn't work with pseudo tty's.
Here's the output when i try to run setserial on the pty port:
bash-3.1# setserial /dev/pts/2 Cannot get serial info: Invalid argument
When I try to access the port with WINE, I keep getting EscapeCommFunction()== FALSE errors.
I also tryed to edit kernel32/comm.c and comment out the lines in the EscapeCommFunction section that tries to obtain serial information. Now the error doesn't happen but the application doesn't work neither.
Hope it helps. Ricardo A. Moura Rubio NCS Sistema Inteligentes.