https://bugs.winehq.org/show_bug.cgi?id=40121
Bug ID: 40121 Summary: serial port issues with .NET applications Product: Wine Version: 1.9.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winebugzilla@k2c42.dy.fi Distribution: ---
Created attachment 53604 --> https://bugs.winehq.org/attachment.cgi?id=53604 Output of NovaLCT Mars and MiniComPort
I tried to run NovaLCT Mars in wine (added it to appdb). http://novastar-led.com/down/software/Sync/NovaLCT-MarsV4.4.0Setup.zip
It didn't find any serial ports.
I was using dotnet20 and dotnet40 from winetricks.
Then I tried this: https://code.msdn.microsoft.com/windowsapps/SerialPort-Sample-in-VBNET-fb040...
When starting the serial port sample (MiniComPort.exe) it throws IndexOutOfRangeException.
By looking at the source code it seems that System.IO.Ports.SerialPort.GetPortNames returns an empty list.
If I ignore the exception, the rest of the MiniComPort program works. It can send and receive some bytes.
Inotifywait revealed that NovaLCT Mars doesn't open the ttyUSB device like the MiniComPort.exe does.
I also tried with wine-mono-4.5.6 but neither of those programs starts that way.