Plug & Play registry update for USB device?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
msunderwd
Newbie
Newbie
Posts: 2
Joined: Wed Jul 30, 2008 1:31 pm

Plug & Play registry update for USB device?

Post by msunderwd »

Hullo.

I'm running Darwine 1.0 on a MB-Pro with OSX 10.5.1..

We have an in-house developed Windows test tool. It runs OK, except...

One of the (important) things it does is query the windows registry for all USB-connected devices with a particular GUID under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\blahblahblah...

The guy who wrote the tool tells me that he queries for devices with this GUID. Then he populates a tree and lets the user choose a device to interact with from this tree. The interaction bypasses any drivers and talks directly to the (USB) device.

When I run the tool, it pops up the device selection dialog, but reports that there are no devices available, even though one is plugged in (and the Mac driver can see it!).

I'm guessing the problem is that Wine is not updating the registry when the device is plugged in (i.e. plug&play not supported??). Any clue what might be going on here? I ran several google & forum searches, and while I found plenty on how to get drivers to work (or not), I didn't see anything like this...
penna

Plug & Play registry update for USB device?

Post by penna »

Hi,

Maybe you can try making the USB device being seen as a serial
device !?!?
Take a look at this message:

http://www.winehq.org/pipermail/wine-us ... 24224.html

Regards.
---------------------------------------------------------
Ulisses de Sousa Penna
Analista de TI - Banco do Brasil
Fone: +55-61-3310-6320
---------------------------------------------------------
msunderwd
Newbie
Newbie
Posts: 2
Joined: Wed Jul 30, 2008 1:31 pm

Post by msunderwd »

Naah. Won't work, for a couple of reasons. First, it would mean using the serial driver to talk to the device... and the device isn't a serial port. Second, it would mean changing the tool... and I don't have access to the tool to change it.

I really need to have the registry updated with the proper entry for the device when the device is attached. I have a feeling this will mean "manually" updating the registry when I plug in the device, then running the tool... since the tool is depending on the Windows P&P logic to have added the device to the registry...
Locked