https://bugs.winehq.org/show_bug.cgi?id=39152
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|monitor test 3.2 fails to |Monitor Test 3.2 fails to |read registery |enumerate video | |devices/drivers in registry | |('HKLM\HARDWARE\DeviceMap | |\VIDEO', PnP Manager) Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/MonitorTest
$ WINEDEBUG=+tid,+seh,+relay wine ./MonitorTest.exe >>log.txt 2>&1 ... 0027:Call advapi32.RegOpenKeyExA(80000002,00547460 "HARDWARE\DESCRIPTION\System",00000000,00000001,0032eb10) ret=004b925c 0027:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=004b925c 0027:Call advapi32.RegQueryValueExA(0000005c,005474c4 "VideoBiosdate",00000000,00000000,001570f4,0032eb08) ret=004b92a8 0027:Ret advapi32.RegQueryValueExA() retval=00000002 ret=004b92a8 0027:Call advapi32.RegQueryValueExA(0000005c,005474d4 "VideoBiosVersion",00000000,00000000,001571f4,0032eb08) ret=004b92ec 0027:Ret advapi32.RegQueryValueExA() retval=00000002 ret=004b92ec 0027:Call advapi32.RegCloseKey(0000005c) ret=004b9312 0027:Ret advapi32.RegCloseKey() retval=00000000 ret=004b9312 0027:Call advapi32.RegOpenKeyExA(80000002,005474f8 "HARDWARE\DEVICEMAP\VIDEO",00000000,00000001,0032eb10) ret=004b9348 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=004b9348 0027:Call advapi32.RegOpenKeyExA(80000002,005474f8 "HARDWARE\DEVICEMAP\VIDEO",00000000,00000001,0032eb10) ret=004b9534 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=004b9534 0027:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032e93c) ret=004dca50 0027:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845d61 ip=7b845d61 tid=0027 0027:trace:seh:raise_exception info[0]=19930520 0027:trace:seh:raise_exception info[1]=0032e974 0027:trace:seh:raise_exception info[2]=005856f8 0027:trace:seh:raise_exception eax=7b832afd ebx=00000000 ecx=0000000c edx=0032e874 esi=0032e920 edi=0032e8e0 0027:trace:seh:raise_exception ebp=0032e8b8 esp=0032e854 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200202 0027:trace:seh:call_stack_handlers calling handler at 0x53fbb0 code=e06d7363 flags=1 ... 0027:Call user32.MessageBoxA(00000000,00547564 "Error opening registry key HKEY_LOCAL_MACHINE\key_path",005467c0 "Error",00000010) ret=004b9761 --- snip ---
The keys under HARDWARE are managed by Plug and Play (PnP) manager. Same problem domain such as serial ports, SCSI devices where already bug reports exist.
The registry hacks that already present are just workarounds due to Wine lacking PnP Manager component.
$ sha1sum montest.exe f1ae35a66a206f7b9d69fe386c3d448f9b4d2863 montest.exe
$ du -sh montest.exe 1.9M montest.exe
$ wine --version wine-1.7.50-53-gbdaa571c5
Regards