de     

This is an old revision of the document!


USB ID's and device identification

Usually USB products are identified using two ID's, the vendor ID and the product ID. The vendor ID must be purchased from the USB Implementers Forum (USB-IF). The product ID is assigned by the vendor. According to the USB-IF rules the vendor ID must only be used by the manufacturer of a product.

In order to avoid that customers of ZTEX boards need to purchase their own vendor ID, the product ID 0x100 (ZTEX vendor ID is 0x221a) is reserved for ZTEX boards that support the ZTEX Descriptor 1. This descriptor is generated automatically by the Firmware Kit of the ZTEX SDK and contains a second product ID which is used to identify different products. These product ID's or ranges of them may be reserved free of charge.

Windows

Under Windows a driver has to be assigned to USB ID's, see Running an example tutorial. This driver provides a general purpose interface which is used by the host software to access the USB device.

Linux

Under Linux no driver is required. The hardware can be accessed directly using the libusb library. To grant access to the usb device to all users, add the following UDEV rule by creating /etc/udev/rules.d/99-ztex.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="221a", ATTR{idProduct}=="0100", ACTION=="add", MODE="0666"
 
en/software/usb_ids.1473928714.txt.gz · Last modified: 2016/09/15 08:38 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]