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.
http://bugs.winehq.org/show_bug.cgi?id=19416
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-07-22 11:12:13 --- Not critical: http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=19416
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WINE doesn't recognize |Pseudo tty's are not |pseudo tty's |recognized Alias|Pseudo-tty |
http://bugs.winehq.org/show_bug.cgi?id=19416
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-23 00:23:22 --- This is not a bug at all. You requesting something that doesn't even exist on windows. Please provide the same links to proposed patches you mentioned on forum.
http://bugs.winehq.org/show_bug.cgi?id=19416
--- Comment #3 from Ricardo A. Moura Rubio blackshell@gmail.com 2009-07-23 10:38:01 --- (In reply to comment #2)
This is not a bug at all. You requesting something that doesn't even exist on windows. Please provide the same links to proposed patches you mentioned on forum.
perhaps you should learn about Windows 'net use' command.
http://bugs.winehq.org/show_bug.cgi?id=19416
--- Comment #4 from Ricardo A. Moura Rubio blackshell@gmail.com 2009-07-23 11:11:58 --- (In reply to comment #2)
This is not a bug at all. You requesting something that doesn't even exist on windows. Please provide the same links to proposed patches you mentioned on forum.
Here's the patch:
http://www.mail-archive.com/wine-devel%40winehq.org/msg07055.html
http://bugs.winehq.org/show_bug.cgi?id=19416
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-07-23 22:52:13 --- (In reply to comment #3)
perhaps you should learn about Windows 'net use' command.
Please point me to where it says anything about ptty.
Com port (or other network device redirection) the way it works on windows has nothing to do, not even close to what ptty is and how it works.
http://bugs.winehq.org/show_bug.cgi?id=19416
--- Comment #6 from Ricardo A. Moura Rubio blackshell@gmail.com 2009-07-27 12:30:45 --- (In reply to comment #5)
(In reply to comment #3)
perhaps you should learn about Windows 'net use' command.
Please point me to where it says anything about ptty.
Com port (or other network device redirection) the way it works on windows has nothing to do, not even close to what ptty is and how it works.
First of all pty concept doesn't even exist on *NT plataforms. I mentioned 'net use' cause it make possible to access a printer (even I/O information) remotely.
FYI: Only WINE cannot print on the remote printer, any other application works flawlessly.
As I said on the first post, this is probably because WINE uses 'setserial' to catch port information, then this is more a feature request than a bug at all.
http://bugs.winehq.org/show_bug.cgi?id=19416
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware, printing
http://bugs.winehq.org/show_bug.cgi?id=19416
--- Comment #7 from butraxz@gmail.com 2013-05-25 09:30:40 CDT --- No update for over 900 days. Is this still and issue in 1.5.31 or higher or is this abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=19416
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=19416
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |winetest@luukku.com
--- Comment #8 from winetest@luukku.com --- Last reply 2009-07-27 12:30:45 CDT.
Needinfo/abandoned. Without such a hardware impossible to test. Does the patch have value?
https://bugs.winehq.org/show_bug.cgi?id=19416
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- i can't reproduce this, it works fine in 1.1.44, 1.2.3, 1.4.1 and 2.0-rc4. Testing is very boring so instructions if I ever need to do this again:
#launch server in a console waiting connection and printing stuff to screen socat TCP-LISTEN:23000 -
#launch remserial to create the "virtual com" and connect to server ./remserial -d -r 127.0.0.1 -p 23000 -l /dev/remserial2 /dev/ptmx
Ok, now create wine prefix, symlink /dev/remserial2 to com1 and install/open realterm. Now what you type in realterm appears in socat screen and vice-versa.
https://bugs.winehq.org/show_bug.cgi?id=19416
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.