Hi,
I have 2 questions about the serial port handling under Wine:
1) I see a very annoying latency in an application which talks to a controller over RS232. Under Windows, the traffic is "fluent", under Wine each command has a turnaround time of almost a second. Since there are many commands, this gets useless. I sthere anything known, some settings I can try?
2) Is it possible to map the e.g. COM1 port traffic to another device, or is it firmly assigned to matching RS232 interfaces of the Linux box? Ideally, I'd like to have the Windows app talk to an XPort device (remote RS232) connected over network. A program called "socat" (http://www.dest-unreach.org/socat) can be used to create a device and tunnel the traffic over a TCP port. I'd like to map that device to a windows-emulated COM port. Maybe this even eliminates problem 1).
I hope I was able to explain especially 2) and kindly wait for answers, thanks!
Jörg
- Is it possible to map the e.g. COM1 port traffic to another device, or
is it firmly assigned to matching RS232 interfaces of the Linux box? Ideally, I'd like to have the Windows app talk to an XPort device (remote RS232) connected over network. A program called "socat" (http://www.dest-unreach.org/socat) can be used to create a device and tunnel the traffic over a TCP port. I'd like to map that device to a windows-emulated COM port. Maybe this even eliminates problem 1).
I think you can redirect it to any file, no matter if it is a serial port, a file, a pipe, stdout, ...
No idea about the other problem though. I have never used that functionality of wine
- Is it possible to map the e.g. COM1 port traffic to another device,
or
is it firmly assigned to matching RS232 interfaces of the Linux box?
I think you can redirect it to any file, no matter if it is a serial port, a file, a pipe, stdout, ...
Ok, RTFM got me here: http://www.winehq.com/site/docs/wineusr-guide/misc-things-to-configure#AEN40...
Will try that and bother you how it works out. ;-)
Jörg
Ok, RTFM got me here: http://www.winehq.com/site/docs/wineusr-guide/misc-things-to-configure#AEN40...
Will try that and bother you how it works out. ;-)
I managed the redirection to my XPort device.
However, the problem with the slow turnaround remains. When I start the application, I always get the following message, regardless of redirection or not: "fixme:comm:set_queue_size insize 32768 outsize 32768 unimplemented stub" Is that perhaps related?
Jörg
[IDC]Dragon a écrit :
Hi,
I have 2 questions about the serial port handling under Wine:
- I see a very annoying latency in an application which talks to a controller over RS232. Under Windows, the traffic is "fluent", under Wine each command has a turnaround time of almost a second. Since there are many commands, this gets useless. I sthere anything known, some settings I can try?
please open a bug report in bugzilla and add a +comm trace A+