Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

USB devices

0 views
Skip to first unread message

Remo

unread,
Nov 3, 2003, 1:59:15 AM11/3/03
to
Hi
With the answer from Torgeir Bakken, I can get the following useful info
from the USB Port (many thanks). But now for example an USB Disk has more
than one entry, how can I find out, that they belong together to one
physical device?
I want to have a list of Physical devices.

regards remo

Example of output from scripts

BEGIN usbdevice
USB Device 4
Select * From Win32_PnPEntity where
DeviceID="USB\\VID_0C45&PID_1060\\6&291DD001&0&4"
BEGIN usb description
USB Mass Storage Device
END usb description
END usbdevice

BEGIN usbdevice
USB Device 5
Select * From Win32_PnPEntity where
DeviceID="USBSTOR\\DISK&VEN_USB_NAND&PROD_FLASH_DISK&REV_0.20\\7&1CDC1E5F&0"
BEGIN usb description
USB NAND FLASH DISK USB Device
END usb description
END usbdevice

BEGIN usbdevice
USB Device 6
Select * From Win32_PnPEntity where
DeviceID="STORAGE\\REMOVABLEMEDIA\\8&37937FE9&0&RM"
BEGIN usb description
Generic volume
END usb description
END usbdevice

Duke Sun

unread,
Nov 3, 2003, 8:03:10 AM11/3/03
to
Could you provide more details on your original issue and the information
that Torgeir Bakken provided to you? It will help us to understand your
issue.

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Duke Sun

unread,
Nov 4, 2003, 8:07:09 AM11/4/03
to
You can judge it from the device ID string of the device.

The device ID should be in the format
USB\VID_046D&PID_0850\...
Which means a USB device, vendor ID 046D, product ID 0850.

If a product has several devices, the vendor ID and the product ID of these
devices should be the same.

Remo

unread,
Nov 4, 2003, 10:38:59 AM11/4/03
to
Thanks for this info, but as you see in my first post, this is one USB
Memory Stick, and it has one ID with your defined format:
USB\\VID_0C45&PID_1060\\6&291DD001&0&4
But the other entries are:
USBSTOR\\DISK&VEN_USB_NAND....
STORAGE\\REMOVABLEMEDIA\\8&37937FE9....
so I cannot see there any same data in the DeviceID

Do you have any other idea?

regards remo


"Duke Sun" <qua...@online.microsoft.com> wrote in message
news:Xgh3SSto...@cpmsftngxa06.phx.gbl...

Duke Sun

unread,
Nov 5, 2003, 1:37:44 AM11/5/03
to
Could you provide the full device ID strings of the product? It will help
us on troubleshooting the issue.

Remo

unread,
Nov 7, 2003, 7:53:09 AM11/7/03
to
Hi
I've found, that one Device could set more than one
Win32_USBControllerDevice (for example Memory stick has 3 entrys) but just
one is interesting to find out HW changes. Every HW change has the one
"DeviceID="USB\\VID_" string. so I will just look devices, that have this
string.

for me thats problem is solved

thanks and regards remo

"Duke Sun" <qua...@online.microsoft.com> wrote in message

news:C6EkTd2o...@cpmsftngxa06.phx.gbl...

Duke

unread,
Nov 8, 2003, 6:09:44 AM11/8/03
to
That's cool!
0 new messages