[Elecraft] K3 Firmware Updater under Linux / Wine
Simon Brown (HB9DRV)
simon at hb9drv.ch
Sun Jan 27 17:58:06 EST 2008
The very best way to determine the list of COM ports is to use
GetDefaultCommConfig(). If you can get info, it exists, that's it.
There are more advanced solutions, these require functions in SETUPAPI.DLL
such as SetupDiEnumDeviceInfo() and is not for the faint of heart. With this
interface you can get all the information shown in the Device Manager applet
including drivers and physical location.
Don't dig in the registry, this is not recommended, especially when
documented interfaces exist.
Simon Brown, HB9DRV
----- Original Message -----
From: "G4ILO" <julian.g4ilo at gmail.com>
>>
>> The Windows K3 Utility, like many Windows programs that obtain the
>> machine's
>> inventory of serial ports, enumerates the registry values under
>> HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM.
>>
> Yep, that's the way I did it, too. That registry key does not exist under
> wine, and attempts to manually create it result in an error message.
>
More information about the Elecraft
mailing list