Lines Matching refs:vendor
19 * - the vendor and product Ids match with the ones in our list
23 * - added auto device name detection if only product and vendor id<br>
36 * - 0.47 - added special handling with 0x400 vendor ID and model override
46 * - 0.51 - added Syscan to the vendor list
186 usb_initDev( Plustek_Device *dev, int idx, int handle, int vendor )
197 idx, vendor, dev->initialized );
262 /* well now we patch the vendor string...
263 * if not found, the default vendor will be Plustek
267 if( usbVendors[i].id == vendor ) {
268 dev->sane.vendor = usbVendors[i].desc;
271 dev->sane.vendor = usbVendors[i].desc_alt;
272 DBG( _DBG_INFO, "Vendor adjusted to: >%s<\n", dev->sane.vendor );
300 dev->sane.vendor, dev->usbDev.ModelStr );
395 usb_initDev( dev, i, handle, dev->usbDev.vendor );
437 * string(vendor and product ID), is support by this backend or not
439 * @param usbIdStr - string consisting out of product and vendor ID
513 /* check if this vendor- and product-ID has already been added, needed
570 SANE_Word vendor, product;
597 vendor = strtol( &dev->usbId[0], 0, 0 );
602 if( tmp->vendor_id == vendor && tmp->device_id == product ) {
657 result = sanei_usb_get_vendor_product( handle, &vendor, &product );
661 sprintf( devStr, "0x%04X-0x%04X", vendor, product );
663 DBG(_DBG_INFO,"Vendor ID=0x%04X, Product ID=0x%04X\n",vendor,product);
676 sprintf( dev->usbId, "0x%04X-0x%04X", vendor, product );
682 DBG( _DBG_INFO, "Can't get vendor & product ID from driver...\n" );
695 vendor = strtol( &dev->usbId[0], 0, 0 );
698 "0x%04X-0x%04X\n", vendor, product );
730 dev->usbDev.vendor = vendor;
733 DBG( _DBG_INFO, "Detected vendor & product ID: "
734 "0x%04X-0x%04X\n", vendor, product );
741 if( 0x07B3 == vendor ) {
761 if( 0x400 == vendor ) {
780 usb_initDev( dev, i, handle, vendor );