When interfacing with a USB HID, you must first locate the device -- the HID could be plugged into any USB port, or could have been moved to another port during use. We locate the correct HID by iterating through attached USB devices, until we find one that matches the Vendor ID (VID) and Product ID (PID) in which we are interested.
How do I find the USB HID Vendor ID and Product ID?
- Open the Windows Device Manager
- Expand the Human Interface Devices node
- Double-click the device of interest -- the USB Human Interface Device Properties window appears
- Click the Details tab
- In the Property drop-down box, select Hardware Ids
USB\VID_0A81&PID_0701&REV_0001
USB\VID_0A81&PID_0701
The hexadecimal Vendor ID is highlighted in red, Product ID in green, and product revision number in blue. Other details obtained through a USB monitoring application:
DEVICE DESCRIPTOR
- USB Version 1.10
- Device class; 0x0 (defined at interface level)
- Device subclass: 0x0 (Unknown)
- Device protocol: 0x0 (Unknown)
- Control pipe max size: 8 bytes
- Vendor ID: 0xA81 (Chesen Electronics Corp.)
- Product ID: 0x701 (USB Missile Launcher)
- Product version: 0.1
- Manufacturer: Dream Link
- Product: USB Missile Launcher v1.0
- Serial number: not specified
- Configurations: 1
- Number of interfaces: 1
- Configuration value: 0x1
- Attributes: Remote wakeup, Bus powered
- Max power: 100 mA
- Number of endpoints: 1
- Interface class: 0x3 (Human Interface Device)
- Interface subclass: 0x0 (None)
- Interface protocol: 0x0 (None)
- Endpont address 0x1, Input, Interrupt, max packet size: 1 bytes, update interval: 16 1-millisecond frames
what if my device / vendor information is USB\VID_1A40&PID_0201\5&221832C9&0&2
ReplyDeleteSo how can i find proper driver?
Thanks.
naxaba1@gmail.com
Performing a quick Internet search reveals this is a "Generic USB Hub". Generic USB hubs and other devices don't require specialized drivers. The general drivers included with the operating system will work just fine. Almost every device that requires custom drivers for optimal performance (video adapters with 3D GPUs, for example) provide basic functions, using generic drivers.
DeleteIf you DO NOT have an external USB hub attached to your computer (it may be built in to your monitor, keyboard, printer, or even extra USB ports on the front panel of the machine), I suggest updating the mainboard/motherboard drivers. In this case, you are likely seeing an integrated USB device that powers the many USB ports on your computer.
I located the following driver, that matches your device. I do not recommend installing it, unless you know you need it, installing mainboard drivers does not help, and you are certain that you really REALLY need a non-generic driver.
http://www.ixitools.com/hwcat/usb_vid_1a40_pid_0201/devinfo4248.html
I know this article is over three years old, but I wanted to thank you for posting it. I found it helpful today!
ReplyDeleteThe Internet is timeless! The thing I really find annoying is when someone poses the question you have, something mysterious happens, and then they reply with, "Thanks, that works perfectly!" WHAT HAPPENED?!
DeleteThe other intolerable thing is when a post is made about a technology without indicating its version, or other time-sensitive issue, and there is no post date displayed.
Thanks! Helped me to locate the actual vendor in this list: http://www.pcidatabase.com/vendors.php?sort=id
ReplyDeleteWhen i connect my usb interfaced with pic18f2550 i could not find the device in device manager.. can anyone say me the solution? Should i write driver for the device to be detected
ReplyDelete