[Bug 35224] Rocksmith 2014 fails to detect USB Rocksmith Real Tone cable (needs Win32_PnPEntity WMI class)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 27 12:11:03 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=35224

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello Luke,

I've seen your post to wine-devel (I'm not subscribed but watch it).

Implementing 'Win32_PnPEntity' WMI class alone doesn't solve your problem.
It's just another representation of information that is typically managed by
the Windows Plug and Play (PnP) manager.

The information is maintained in registry:

HKLM\System\CurrentControlSet\Enum\<enumerator>\<deviceID>\<instanceID>

To give you an overview how this information is created on Windows:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff540535%28v=vs.85%29.aspx
("Adding a PnP Device to a Running System")

Implementing PNP manager and other needed infrastructure is obviously out of
scope for now.

If you fake the registry data manually you need a proper way to retrieve it.
This is typically done using setupapi's SetupDiXXX API.

There are many articles, blog posts etc. how to use that API.

Wine source for reference:
http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/setupapi/devinst.c

Regards

-- 
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.



More information about the wine-bugs mailing list