[Bug 49752] Mikster MPC4 System: 'Selected serial port not exist'

WineHQ Bugzilla wine-bugs at winehq.org
Mon Dec 28 06:34:54 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=49752

Roman Pišl <rpisl at seznam.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rpisl at seznam.cz

--- Comment #11 from Roman Pišl <rpisl at seznam.cz> ---
> P.S. The installer will silently install FirebirdSQL 1.5 and enable Firebird
> Guardian, it does not work well with winehq-devel.
> Unpack the installmpc482ENG.exe and rename the included
> installmpc482ENG/firebird/FirebirdWin32.exe before continuing with the
> installation.
> Install the renamed FirebirdWin32.exe manually (uncheck the 'Use the
> Guardian to control the server?' option during the installation).

This didn't work for me and not installing FirebirdWin32.exe caused mpc.exe to
crash on startup. Without this workaround, the installation finishes without
error and mpc.exe starts. Tested on Wine 6.0-rc4.

The problem is in in ioctl IOCTL_SERIAL_SET_HANDFLOW which returns
STATUS_NOT_SUPPORTED.

That is because unsupported combination of flags is provided, see the first
condition in set_handflow() in dlls/ntdll/unix/serial.c:

 597 static NTSTATUS set_handflow(int fd, const SERIAL_HANDFLOW* shf)
 598 {
 599     struct termios port;
 600
 601     if ((shf->FlowReplace & (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE))
==
 602         (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE))
 603         return STATUS_NOT_SUPPORTED;

The program shows "Device not responding" if this condition is removed, however
I can't test it further because I don't have any device.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list