http://bugs.winehq.org/show_bug.cgi?id=31898
Bug #: 31898 Summary: Netgear Powerline Utility cannot detect HomePlug devices Product: Wine Version: 1.5.14 Platform: x86-64 URL: http://www.downloads.netgear.com/files/GDC/XAV1004/Win dows%20Powerline%20Utility%20Version%202.0.0.14.zip OS/Version: Linux Status: NEW Keywords: download, win64 Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: kennybobs@o2.co.uk Classification: Unclassified
Created attachment 41987 --> http://bugs.winehq.org/attachment.cgi?id=41987 wine-1.5.14-184-ga4ea28f console output
Netgear Powerline Utility cannot detect HomePlug devices.
Tried running as root in case it was a raw socket problem but it made no difference.
NEVER RUN WINE AS ROOT.
This may be related (from the log):
Installing PcaSp50 Protocol Driver...
http://bugs.winehq.org/show_bug.cgi?id=31898
--- Comment #1 from Austin English austinenglish@gmail.com 2012-10-09 02:23:28 CDT --- Does it work in 32-bit wine?
http://bugs.winehq.org/show_bug.cgi?id=31898
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|win64 |
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2012-10-09 10:04:19 CDT --- No, sorry, I don't know why I added win64 to the keywords.
http://bugs.winehq.org/show_bug.cgi?id=31898
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2013-07-12 06:07:38 CDT --- Still present in wine-1.6-rc4-99-g94c7806.
http://bugs.winehq.org/show_bug.cgi?id=31898
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Still present in wine-1.7.11-306-g8f289c8
http://bugs.winehq.org/show_bug.cgi?id=31898
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Netgear Powerline Utility |Netgear Powerline Utility |cannot detect HomePlug |cannot detect HomePlug |devices |devices (PNP device manager | |'Network Card' device | |interface class GUID | |'{ad498944-762f-11d0-8dcb-0 | |0c04fc3358c}' missing)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
the app installs an NDIS 5.0 SPR protocol driver (http://www.pcausa.com/Utilities/ndistools.htm). The service/driver loads but is non-functional for obvious reasons. That part is hardly going to work in near future.
Anyway, the app queries PNP device manager data using SetupDiXxx() API and fails.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/NETGEAR/NETGEAR Powerline Utility
$ WINEDEBUG=+tid,+seh,+relay wine ./NETGEAR_Powerline_Utility.exe >>log.txt 2>&1 ... 0036:Call setupapi.SetupDiGetClassDevsA(10013a30,00000000,00000000,0000001a) ret=10004111 ... 0036:Call advapi32.RegOpenKeyExW(80000002,7d2d6460 L"System\CurrentControlSet\Control\DeviceClasses",00000000,00020019,0032e5f4) ret=7d2b118e 0036:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=7d2b118e ... 0036:Ret setupapi.SetupDiGetClassDevsA() retval=00153900 ret=10004111 ... 0036:Call setupapi.SetupDiEnumDeviceInterfaces(00153900,00000000,0032e820,00000000,008e6c80) ret=1000420f 0036:Ret setupapi.SetupDiEnumDeviceInterfaces() retval=00000000 ret=1000420f ... 0036:Call setupapi.SetupDiDestroyDeviceInfoList(00153900) ret=100040d0 ... 0036:Ret setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=100040d0 ... --- snip ---
It's looking for 'Network Card' device interface class GUID '{ad498944-762f-11d0-8dcb-00c04fc3358c}' to search list of device instances living there using SetupDiXxx() API.
Providing that data would be part of PNP device manager functionality which is a larger work package in Wine (needs a proper design first).
I briefly talked about it here: https://bugs.winehq.org/show_bug.cgi?id=35224#c4
$ sha1sum Windows\ Powerline\ Utility\ Version\ 2.0.0.14.zip dc77c7b0cd22cac9da6704d6bb5fa6777b3f679b Windows Powerline Utility Version 2.0.0.14.zip
$ du -sh Windows\ Powerline\ Utility\ Version\ 2.0.0.14.zip 12M Windows Powerline Utility Version 2.0.0.14.zip
$ wine --version wine-1.7.11-306-g8f289c8
Regards
https://bugs.winehq.org/show_bug.cgi?id=31898
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- No change in wine-1.7.44-199-g714abcb
https://bugs.winehq.org/show_bug.cgi?id=31898
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.downloads.netgea |https://web.archive.org/web |r.com/files/GDC/XAV1004/Win |/20200624091624/https://www |dows%20Powerline%20Utility% |.downloads.netgear.com/file |20Version%202.0.0.14.zip |s/GDC/XAV1004/Windows%20Pow | |erline%20Utility%20Version% | |202.0.0.14.zip
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Stable link via Internet Archive:
https://web.archive.org/web/20200624091624/https://www.downloads.netgear.com...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/NETGEAR/NETGEAR Powerline Utility
$ WINEDEBUG=+seh,+relay,+setupapi wine ./NETGEAR_Powerline_Utility.exe
log.txt 2>&1
... 00bc:Call setupapi.SetupDiGetClassDevsA(10013a30,00000000,00000000,0000001a) ret=10004111 00bc:trace:setupapi:SetupDiGetClassDevsExW {ad498944-762f-11d0-8dcb-00c04fc3358c} (null) 00000000 0x0000001a 00000000 (null) 00000000 00bc:warn:setupapi:SetupDiGetClassDevsExW unsupported flags 00000008 00bc:trace:setupapi:SetupDiCreateDeviceInfoListExW (null) 00000000 (null) 00000000 ... 00bc:Call advapi32.RegOpenKeyExW(80000002,0034c022 L"System\CurrentControlSet\Control\DeviceClasses",00000000,00020019,0031e6a4) ret=003260d3 ... 00bc:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=003260d3 00bc:Call advapi32.RegOpenKeyExW(00000088,0031e63a L"{AD498944-762F-11D0-8DCB-00C04FC3358C}",00000000,00020019,0031e6a0) ret=0032616d ... 00bc:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=0032616d ... 00bc:trace:setupapi:SETUPDI_EnumerateInterfaces 013FB630, {ad498944-762f-11d0-8dcb-00c04fc3358c}, (null), 0000001a ... 00bc:Ret setupapi.SetupDiGetClassDevsA() retval=013fb630 ret=10004111 ... 00bc:Call setupapi.SetupDiEnumDeviceInterfaces(013fb630,00000000,0031e980,00000000,01400df0) ret=1000420f 00bc:trace:setupapi:SetupDiEnumDeviceInterfaces devinfo 013FB630, device_data 00000000, class {ad498944-762f-11d0-8dcb-00c04fc3358c}, index 0, iface_data 01400DF0. 00bc:Ret setupapi.SetupDiEnumDeviceInterfaces() retval=00000000 ret=1000420f ... 00bc:Call setupapi.SetupDiDestroyDeviceInfoList(013fb630) ret=100040d0 00bc:trace:setupapi:SetupDiDestroyDeviceInfoList devinfo 013FB630. ... 00bc:Ret setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=100040d0 ... --- snip ---
$ wine --version wine-5.11-81-gbc282905d9
Regards