[Wine] program fails to enumerate COM ports
leniviy
wineforum-user at winehq.org
Sat Jul 18 10:38:44 CDT 2009
Hi. LG PC Sync can work with ~/.wine/dosdevices/com1 but fails to enumerate com ports. I cannot select port other than COM1 and the combo box that would allow me to do that is blank.
I did:
# ln -s /dev/ttyACM0 ~/.wine/dosdevices/com5
# sudo chmod g+rw,o+rw /dev/ttyACM0
and added to registry:
[HKEY_LOCAL_MACHINE\Hardware\DEVICEMAP\SERIALCOMM]
"COM5"="COM5"
env WINEDEBUG=+reg wine "C:\Program Files\LGGSM\LGPCSync\LGPCSync.exe" &
then open "options" dialog:
Code:
trace:reg:NtOpenKey (0x28,L"System\\CurrentControlSet\\Control\\DeviceClasses",20019,0x32e1a4)
trace:reg:NtOpenKey <- (nil)
trace:reg:NtOpenKey (0x28,L"SYSTEM\\CurrentControlSet\\Services\\Modem\\Enum",20019,0x32e51c)
trace:reg:NtOpenKey <- (nil)
If you create "DeviceClasses" then it scans 2 keys inside:
{4D36E978-E325-11CE-BFC1-08002BE10318}
{86E0D1E0-8089-11D0-9CE4-08003E301F73}
I don't know what to put there
wine-1.1.25
More information about the wine-users
mailing list