http://bugs.winehq.org/show_bug.cgi?id=8783
--- Comment #55 from annacegu@yahoo.com.au 2010-02-07 16:48:33 --- Hi,
Thanks for your response. I checked the 4DGL.ini file and it already contains COM1 as the port.
Also yes, I have confirmed that /dev/ttyUSB0 is the correct name for the device. I have tested it using minicom and I can see messages being received from the device.
Regards, Anna.
(In reply to comment #54)
Hi,
I use a program (LG Contents Bank) to get pics from my Cell Phone. It uses a virtual serial port (those USB -> Serial converters). So, I create a link named "com1" pointing to ttyUSB0 in dosdevices.
Just like you said, I'm not able to list the serial ports on the app running over wine (An old issue, I guess). But, if edit the app's .ini file, and set manually the desired COM port, it works properly.
This program you're trying to use (4DGL-WorkShop2) has also a config file (4DGL.ini, in Dep directory) and a parameter with the COM port to use ( Section [plataform], parameter port ). Maybe if you set it manually, maybe it works.
Other thing: I know this may look obvious, but your create device is really ttyUSB0 right? You can confirm this pluging it and typing "dmesg" in terminal
Best regards, pstglia
(In reply to comment #51)
Hi,
I have tried the following program in wine 1.1.37 (which works in Windows Vista natively) and it is not showing the list of com ports as expected: http://www.4dsystems.com.au/downloads/Software/4DGL-Workshop2-IDE/4DGL_Works...
I tried making the symbolic link in ~/.wine/dosdevices/com1 -> /dev/ttyUSB0
I also tried changing ~/.wine/system.reg to have the following lines (as per http://wiki.jswindle.com/index.php/Wine_Registry#The_Registry_Settings): [Hardware\Devicemap\Serialcomm] 1231984861 @="" "Serial0"="COM1"
The last thing allowed me to see the COM port, but when I try to download from 4DGL workshop to my display module, it gives the following error: Port: COM1 No hardware detected.
What am I doing wrong, or is this a wine bug?
Thanks, Anna.