[Bug 56579] New: Setupapi fails to read correct class GUID and name from INF file containing %strkey% tokens
https://bugs.winehq.org/show_bug.cgi?id=56579 Bug ID: 56579 Summary: Setupapi fails to read correct class GUID and name from INF file containing %strkey% tokens Product: Wine Version: 9.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs(a)winehq.org Reporter: bugzilla-wine(a)opinsys.fi Distribution: --- Example: Vernier's LoggerPro 3.16.2 installed and LabQuest Mini (08f7:0008) USB device hotplugged LoggerPro brings INF files for various USB devices. A stripped example of such file: [Strings] Date = "12/01/2020" Version = "1.4.0.0" DeviceName = "Vernier LabQuest Mini" CatFileName = "LabQuestMini_WinUSB.cat" DeviceGUID = "{56150077-B844-49e6-B562-88498BFA2C2F}" DeviceClassGUID = "{6B8429BF-10AD-4b66-9FBA-2FE72B891721}" ClassName = "VST_WinUSB" [Version] DriverVer = %Date%,%Version% Signature = "$Windows NT$" Class = %ClassName% ClassGuid = %DeviceClassGUID% WHen the device is hotplugged, following error message is logged: fixme:setupapi:SetupDiGetINFClassW failed to convert "L"%DeviceClassGUID"" into a guid This happens because SetupDiGetINFClassW(), which is called by SetupDiBuildDriverInfoList(), does not correctly parse the INF file. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 --- Comment #1 from Opinsys Developers <bugzilla-wine(a)opinsys.fi> --- My attempt to fix the issue: https://gitlab.winehq.org/wine/wine/-/merge_requests/5519 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 --- Comment #2 from Opinsys Developers <bugzilla-wine(a)opinsys.fi> --- The driving force behind this bug is to make LoggerPro's drivers for USB devices work. I don't know if there's even hope, but looking at the code base, it looks like the driver installation should work. Perhaps some can confirm or refute this? Anyways, this bug was the first obstacle I crashed into when looking at this. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware, patch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- Seeing how the MR is merged, is this fixed? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Opinsys Developers <bugzilla-wine(a)opinsys.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Opinsys Developers <bugzilla-wine(a)opinsys.fi> --- The MR fixed the issue, it's merged and is released in 9.8. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Opinsys Developers <bugzilla-wine(a)opinsys.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |987695a427868e77704bb19c3e2 | |cf9d6069364d2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56579 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56579 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.0.x |--- --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 9.0.x milestone from bug fixes included in 9.0.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla