[Bug 19416] New: WINE doesn't recognize pseudo tty's

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 22 10:26:47 CDT 2009


           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 at winehq.org
        ReportedBy: blackshell at 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.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list