wineboot: Create serial comm registry keys

André Hentschel nerv at dawncrow.de
Fri Feb 12 13:15:35 CST 2016


Am 12.02.2016 um 09:46 schrieb Sebastian Lackner:
> On 12.02.2016 00:32, André Hentschel wrote:
>> Signed-off-by: André Hentschel <nerv at dawncrow.de>
>> ---
>>
>> For https://bugs.winehq.org/show_bug.cgi?id=11811
>>
>>
>>  programs/wineboot/wineboot.c | 39 +++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 39 insertions(+)
>>
> 
> Are you sure there are no keys for com ports >= 10? In general, such serial ports are
> also possible.

In other places the symlink method seems to be limited from 1 to 9 (e.g. QueryDosDeviceW)

> Nevertheless, more important: If I don't miss anything, the user still has to manually
> create a symlink in dosdevices/, otherwise this method will not work. Accessing serial
> ports on the other hand doesn't require any manual configuration when
> get_default_com_device() recognizes them (and the user has access). What is the benefit
> when it still requires manual user interaction?

I think get_default_com_device() isn't a normal way to use com ports in Wine.
For example, I have /dev/ttyS0 to 31, most likely announced by my laptop motherboard, but would never intend to use those ports, which are not wired out.
Normal usecase would be to plug in a USB-Serial-Adapter and make a symlink to e.g. /dev/ttyUSB0





More information about the wine-devel mailing list