https://bugs.winehq.org/show_bug.cgi?id=49394
Bug ID: 49394 Summary: CED1401 USB function driver fails to install Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usb Assignee: wine-bugs@winehq.org Reporter: alois.schloegl@gmail.com Distribution: ---
Created attachment 67461 --> https://bugs.winehq.org/attachment.cgi?id=67461 WINEDEBUG=+wineusb,+setupapi,+ntoskrnl,+plugplay,+pid,+msgbox ./wine winsupp.exe
I'm try to test the fix for bug 35903. In order to do so, I compiled wine from source (commit 634cb775c27b61ad6ce1fbe3e9972b0edfa31dcb), and used wine from the build directory.
Now the installation of winsupp.exe is failing (this has been working before) with this error:
0020:0024:err:module:__wine_process_init L"Z:\home\schloegl\src\wineapps\winsupp.8081a20bbc0c9b99f37b98a823ce07ab25f15e9d.exe" not supported on this system
The log file is attached.
https://bugs.winehq.org/show_bug.cgi?id=49394
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- (In reply to Alois Schlögl from comment #0)
0020:0024:err:module:__wine_process_init L"Z:\home\schloegl\src\wineapps\winsupp. 8081a20bbc0c9b99f37b98a823ce07ab25f15e9d.exe" not supported on this system
I suspect this means you built a 64-bit only Wine, which unfortunately won't work generally. Even 64-bit applications often have 32-bit installers (because 32-bit Windows systems still exist, and you want your application to do *something* if run on one...)
You'll need to build a WoW64 installation, as described in https://wiki.winehq.org/Building_Wine. Please don't hesitate to reach out if you have questions; the documentation is never great.
https://bugs.winehq.org/show_bug.cgi?id=49394
Alois Schlögl alois.schloegl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67461|0 |1 is obsolete| |
--- Comment #2 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 67470 --> https://bugs.winehq.org/attachment.cgi?id=67470 log when running try1432
Thanks for the hint on building wow64. It took me some time to figure out the correct setting of PKG_CONFIG_PATH on Debian10. Its PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/ maybe you can add this to the documentation.
After that, winsupp installed fine. And it was possible to run try1432.exe.
When running the self test (Select "Self test" and press "Run Once"), it displays now a different error message than before:
Pass 0 - Failure opening 1401 - communication with driver failed (code -610) at 19:26:56 16/Jun/20
Pressing it again, shows the error we know already.
Pass 0 - Failure opening 1401 - device driver not installed or not loaded (code -581) at 19:27:02 16/Jun/20
Attached is the log file when running try1432.
https://bugs.winehq.org/show_bug.cgi?id=49394
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |5.10 Summary|CED1401 USB function driver |CED1401 USB function driver |fails to install |needs | |ntoskrnl.exe.KeInsertQueueD | |pc() Component|usb |ntoskrnl
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Thanks. From the log:
wine: Call from 0x7b01133e to unimplemented function ntoskrnl.exe.KeInsertQueueDpc, aborting
That'll be the next problem.
https://bugs.winehq.org/show_bug.cgi?id=49394
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=49394
Etaash Mathamsetty etaash.mathamsetty@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |etaash.mathamsetty@gmail.co | |m
--- Comment #4 from Etaash Mathamsetty etaash.mathamsetty@gmail.com --- I have stubbed the function with https://gitlab.winehq.org/wine/wine/-/commit/92d74369c89aaedd2fa13bfaa036c62...
Has the issue been fixed?
https://bugs.winehq.org/show_bug.cgi?id=49394
--- Comment #5 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 73301 --> https://bugs.winehq.org/attachment.cgi?id=73301 log file when running try1432.exe with wine 7.19
This is the output log when the CED1401 is connected and turned on while running the try1432.exe test program, and selecting Menu->Tests->Run Once
The first three calls to ntoskrnl:KeInitializeDpc happen during the start of the try1432 test program, the last two calls happen when selecting "Menu->Tests->Run Once"
For comparision when no ced1401 device is connected (or powered off), I'll all add the log file as well
https://bugs.winehq.org/show_bug.cgi?id=49394
--- Comment #6 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 73302 --> https://bugs.winehq.org/attachment.cgi?id=73302 log file when running try1432.exe when ced1401 device is not connected (i.e. powered off)
https://bugs.winehq.org/show_bug.cgi?id=49394
--- Comment #7 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 73313 --> https://bugs.winehq.org/attachment.cgi?id=73313 log file when running the ced1401 installer
The log file when running the installer of ced1401 suggests that some driver components (like c:\1401\windrv\ced_1401.inf) are not or not correctly installed.
https://bugs.winehq.org/show_bug.cgi?id=49394
--- Comment #8 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 73412 --> https://bugs.winehq.org/attachment.cgi?id=73412 patch to display content of *.inf file (w/o comments) when trying to install some driver.
The attached patch displays the content of *.inf file, when installing the driver.
This information might be helpful for improving the support for hardware (like the ced1401) that require additional drivers.
https://bugs.winehq.org/show_bug.cgi?id=49394
--- Comment #9 from Etaash Mathamsetty etaash.mathamsetty@gmail.com --- I think this bug should be closed now, the problem with ntoskrnl has been fixed as far as I can tell
https://bugs.winehq.org/show_bug.cgi?id=49394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |92d74369c89aaedd2fa13bfaa03 | |6c62bbb079884 Status|UNCONFIRMED |RESOLVED
--- Comment #10 from Austin English austinenglish@gmail.com --- (In reply to Etaash Mathamsetty from comment #9)
I think this bug should be closed now, the problem with ntoskrnl has been fixed as far as I can tell
https://gitlab.winehq.org/wine/wine/-/commit/92d74369c89aaedd2fa13bfaa036c62...
https://bugs.winehq.org/show_bug.cgi?id=49394
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc2.