Ports
May 22, 2013, 07:40:54 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: When is a VID and PID required?  (Read 2282 times)
hawk
Member
*
Posts: 4


« on: July 01, 2010, 04:59:42 pm »

Hi,

First of all, thanks for this site and the great books.

We're adding USB communication between a custom PC application and several
devices and are trying to determine if it's necessary to obtain a VID and PID.
We plan to enumerate the devices as Vendor-Specific and use the WinUSB driver.
The discussion of the idVendor member of the device descriptor in USB Complete
indicates that, for devices used only in house, the VID may not be required.
We want the devices to be PnP. I know we need to provide a .inf file for the
devices but do we need VID and PID in order to have PnP and device discovery?

Thanks
« Last Edit: July 01, 2010, 07:24:09 pm by hawk » Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1629


WWW
« Reply #1 on: July 02, 2010, 09:35:21 am »

For WinUSB, you need an INF file that contains a GUID and a VID and PID. If you're keeping the device in house, the VID/PID can be any values that don't match the VID/PIDs in other INF files on your system.

Also see:

http://www.lvr.com/development_tools.htm#vendor_id

Jan
Logged
Ron Hemphill
Member
***
Posts: 16


« Reply #2 on: July 02, 2010, 09:36:49 am »

I don't remember the discussion in USB Complete, but Jan also discusses it here:
http://www.lvr.com/development_tools.htm

Basically, if you know that you're never going to release the device to the public, then you probably don't need to have a VID (Jan even allows researchers to use her VID in these cases, see the link above).  Windows (and I'm assuming Windows only because you mention PnP), or any other OS for that matter, generally don't care which VID is used unless it happens to conflict with some other device on the system and as long as it can find the matching VID in the .inf file.

Also, some USB chip vendors allow use of their VID with assigned (by them) PIDs in certain cases on products using their chips.  This is very manufacturer dependent and you'd have to check directly with them.

In a nutshell, if you plan to market this device, you really do need your own VID.
http://www.usb.org/developers/vendor/
Logged
hawk
Member
*
Posts: 4


« Reply #3 on: July 02, 2010, 12:34:34 pm »

Thanks Jan and Ron. Very helpful.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!