https://bugs.winehq.org/show_bug.cgi?id=48977
Bug ID: 48977 Summary: PowerChute Personal Edition v3.1 (.NET 4.0 app) installer fails to detect APC (usb hid) device Product: Wine Version: 5.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says.
--- snip --- $ WINEDEBUG=+seh,+relay,+snoop,+setupapi,+hid wine ./PCPE_3.1.0.exe >>log.txt 2>&1 ... 002d:Call KERNEL32.LoadLibraryA(01a4d140 "drvutil.dll") ret=016e20ef ... 002d:Ret PE DLL (proc=0x1d52dec,module=0x1d50000 L"drvutil.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 ... 002d:Ret KERNEL32.LoadLibraryA() retval=01d50000 ret=016e20ef 002d:Call KERNEL32.GetProcAddress(01d50000,01a4d540 "IsUPSPresent") ret=016e15d4 002d:Ret KERNEL32.GetProcAddress() retval=020a0110 ret=016e15d4 ... 002d:CALL drvutil.IsUPSPresent(<unknown, check return>) ret=016e2a81 002d:CALL UpsControl.?CreateNewUPSControl@CUPSControl@@SA?AVErrCode@@PAPAV1@IJ@Z(01d3f8c4,01d3f8cc,00000000,0000051d) ret=01d5dcc9 ... 002d:CALL UpsDevice.?GetDeviceByIndex@CUpsDevice@@SAPAXKKPAD@Z(00000000,0000051d,01d3f5d8) ret=01de0d4f 002d:CALL pdcdll._OpenPowerDevice@12(<unknown, check return>) ret=01e96e2b 002d:Call hid.HidD_GetHidGuid(01d3f184) ret=01f97624 ... 002d:Ret hid.HidD_GetHidGuid() retval=01f154cc ret=01f97624 002d:Call setupapi.SetupDiGetClassDevsA(01d3f184,00000000,00000000,00000012) ret=01f97634 002d:trace:setupapi:SetupDiGetClassDevsExW {4d1e55b2-f16f-11cf-88cb-001111000030} (null) 00000000 0x00000012 00000000 (null) 00000000 002d:trace:setupapi:SetupDiCreateDeviceInfoListExW (null) 00000000 (null) 00000000 ... 002d:Ret setupapi.SetupDiGetClassDevsA() retval=01a60b60 ret=01f97634 002d:Call setupapi.SetupDiEnumDeviceInterfaces(01a60b60,00000000,01d3f184,00000000,01d3f168) ret=01f97676 ... 002d:Ret setupapi.SetupDiGetDeviceInterfaceDetailA() retval=00000000 ret=01f976b1 ... 002d:Ret setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=01f9773c 002d:Call hid.HidD_GetAttributes(00000090,01d3f21c) ret=01f995ad 002d:trace:hid:HidD_GetAttributes (00000090 01D3F21C) ... 002d:Ret hid.HidD_GetAttributes() retval=00000001 ret=01f995ad ... 002d:Call hid.HidD_GetHidGuid(01d3f184) ret=01f97624 002d:trace:hid:HidD_GetHidGuid (01D3F184) 002d:Ret hid.HidD_GetHidGuid() retval=01f154cc ret=01f97624 ... 002d:Ret setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=01f97689 002d:RET pdcdll._OpenPowerDevice@12(00000000,0000051d,01d3f5d8) retval=ffffffff ret=01e96e2b 002d:RET UpsDevice.?GetDeviceByIndex@CUpsDevice@@SAPAXKKPAD@Z() retval=00000000 ret=01de0d4f 002d:RET UpsControl.?CreateNewUPSControl@CUPSControl@@SA?AVErrCode@@PAPAV1@IJ@Z() retval=01d3f8c4 ret=01d5dcc9 ... 002d:Call shell32.ShellExecuteExA(01d3f764) ret=01d5a0e6 ... 002d:Call KERNEL32.CreateProcessW(00000000,01a60ce8 L""C:\Program Files (x86)\APC\PowerChute Personal Edition\\ApcRun.exe" Local\IDD_NOCOMMS_ON_INSTALL",00000000,00000000,00000000,00000410,00000000,01a60c68 L"C:\Program Files (x86)\APC\PowerChute Personal Edition\",01d3d418,01d3d408) ret=7dbac867 --- snip ---
$ sha1sum PCPE_3.1.0.exe e9a10abb4af842a7c98db1aff2e1e00d3f74b749 PCPE_3.1.0.exe
$ du -sh PCPE_3.1.0.exe 36M PCPE_3.1.0.exe
$ wine --version wine-5.6-193-g59987bc9ec
Regards
https://bugs.winehq.org/show_bug.cgi?id=48977
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20200103074730/https://dow | |nload.schneider-electric.co | |m/files?p_enDocType=Softwar | |e+-+Released&p_Doc_Ref=APC_ | |PCPE_310&p_File_Name=PCPE_3 | |.1.0.exe Keywords| |download, Installer
https://bugs.winehq.org/show_bug.cgi?id=48977
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PowerChute Personal Edition |PowerChute Personal Edition |v3.1 (.NET 4.0 app) |v3.1 (.NET 4.0 app) |installer fails to detect |installer fails to detect |APC (usb hid) device |UPS (usb hid) device
https://bugs.winehq.org/show_bug.cgi?id=48977
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- What is the relevant device (VID and PID, ideally?) Do you have it connected? Is it loaded with the usbhid driver? `lsusb -t` would help answer this.
If it's not being enumerated through setupapi, the problem is probably that winebus can't see it—which could be the fault of winebus or the underlying OS—or (maybe?) that hidclass doesn't know how to parse its descriptor. A log with WINEDEBUG=+pid,+setupapi,+hid,+plugplay would help elucidate.