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
leniviy wrote:> 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 thereThese are both GUIDs for comports. They have something like this under them: Code: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{86e0d1e0-8089-11d0-9ce4-08003e301f73}] [..\##?#ACPI#PNP0501#1#{86e0d1e0-8089-11d0-9ce4-08003e301f73}] "DeviceInstance"="ACPI\\PNP0501\\1" [..\##?#ACPI#PNP0501#1#{86e0d1e0-8089-11d0-9ce4-08003e301f73}\#] "SymbolicLink"="\\\\?\\ACPI#PNP0501#1#{86e0d1e0-8089-11d0-9ce4-08003e301f73}" [..\##?#ACPI#PNP0501#1#{86e0d1e0-8089-11d0-9ce4-08003e301f73}\#\Control] "Linked"=dword:00000001 [..\##?#ACPI#PNP0501#1#{86e0d1e0-8089-11d0-9ce4-08003e301f73}\Control] "ReferenceCount"=dword:00000001 Same for the other GUID. Dunno if it will help or not. None of these link to the COM? names. So it might try to open the strange device names...
On Sat, 2009-07-18 at 10:38 -0500, leniviy wrote:> 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. >My installation finds all my six installed COM ports (COM1/2 on the mobo, COM2-6 on a PCI card. OS: fully patched Fedora 8 WINE: 1.1.9 Prog: EW Windows Uploader Windows version: Win 98 .wine/dosdevices contains: c: d: e:: f: f:: g: g:: h:: This version of WINE has never been able to see USB-to-serial adapters. The uploader talks to a specialised gliding flight recorder to download flight logs, clear memory, set the date, etc. HTH, Martin
Martin, do you have anything here: HKEY_LOCAL_MACHINE\Hardware\DEVICEMAP\SERIALCOMM or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{86e0d1e0-8089-11d0-9ce4-08003e301f73} ? I guess there are several ways for a program to detect com ports. Some don't work under wine though. For example, I launched hyperterm from XP and it showed me the ports I manually added to HKEY_LOCAL_MACHINE\Hardware\DEVICEMAP\SERIALCOMM, but it crushes when SERIALCOMM key is empty I wonder whether LG PC Sync uses some windows API or scans the registry itself. When less busy, will try to recreate all the needed keys.