http://bugs.winehq.org/show_bug.cgi?id=11811
--- Comment #31 from RBEmerson n5470@pinefields.com 2008-03-19 21:22:34 --- Things started working, with a COM port, as expected.
(In reply to comment #30)
It's a volatile key so you have to keep some app running in the background:
$ notepad & $ regedit ~/Documents/Serialcomm_02.reg $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com4 $ wine CE.exe
Where com4 should match what's in the registry file for your Keyspan device and /dev/ttyS0 should be the com port that your GPS device is attached to.
The registry patch was changed to COM5 to avoid a collision with COM4, defined earlier. The link was adjusted to link /dev/ttyUSB0 to [...]/com5 - note the use of the USB system in place of a standard serial port.
CE's automatic port detection process found COM3 and COM5 (expected results). The port definition tool showed COM5 to be a "listener" operating in "NMEA0183" format at 4800 baud. CE has a NMEA input logging tool and I was able to capture the input stream and later play it back (<SHIFT>right-click in the chart area, choose NMEA Log Playback in the resulting menu, follow the file selector prompts). I hope to collect a much richer NMEA stream in the next couple of days, and play it back to see how CE responds to a full data stream.
CE has a "Troubleshooter" function that displays NMEA data seen and sent on any one port. I was able to see data moving in both directions (i.e., GPS data in, autopilot steering commands out). Note that the Troubleshooter window is almost the same size as the Instruments window and Troubleshooter appears behind Instruments. Drag the Instruments window to see the Troubleshooter enough to raise it to the top of the window stack. (this will be reported in a new Bug)
- - -
The next step, it seems to me, is to be able to create, dynamically (as the number of serial/USB ports in use by CE changes - as it very realistically can) the needed registry entries when CE alone launches, without another, background app (e.e., notepad) running to keep transient patches in place.