# Path: umap2/apps/vsscan.py
# class DBEntry(object):
#     '''
#     DBEnrty describes a vid, pid.
#     '''
# 
#     def __init__(self, vid, pid, vendor_name='', product_name='', drivers={}, constraints=[], info={}):
#         self.vid = vid
#         self.pid = pid
#         self.vendor_name = vendor_name
#         self.product_name = product_name
#         self.drivers = drivers
#         self.constraints = constraints
#         self.info = info
#         self.os = None
# 
#     def __str__(self):
#         s = 'vid:pid %04x:%04x' % (self.vid, self.pid)
#         if self.vendor_name:
#             s += ', vendor: %s' % self.vendor_name
#         if self.product_name:
#             s += ', product: %s' % self.product_name
#         if self.drivers:
#             if self.os and self.os in self.drivers:
#                 s += ', driver: %s' % self.drivers[self.os]
#             else:
#                 s += ', drivers: %s' % self.drivers
#         if self.constraints:
#             s += ', constraints: %s' % self.constraints
#         if self.info:
#             s += ', info: %s' % self.info
#         return s
# 
#     def vidpid(self):
#         return '%04x:%04x' % (self.vid, self.pid)
# 
# class OS(object):
#     LINUX = 'Linux'
#     WINDOWS = 'Windows'
#     OSX = 'OSX'
#     QNX = 'QNX'


from umap2.apps.vsscan import DBEntry, OS
import sys
    DBEntry(0x3340, 0x2326, 'Yakumo', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3340, 0x3326, 'Yakumo', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3708, 0x20ce, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3708, 0x21ce, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0210, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0211, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0400, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0410, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4001, 'Dell Computer Corp.', 'Axim X5', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4002, 'Dell Computer Corp.', 'Axim X3', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4003, 'Dell Computer Corp.', 'Axim X30', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4004, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4005, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4006, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4007, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4008, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4009, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4505, 0x0010, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x5e04, 0xce00, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x045b, 0x0053, 'Hitachi, Ltd', 'RX610 RX-Stick', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0471, 0x066a, 'Philips (or NXP)', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0489, 0xe000, 'Foxconn / Hon Hai', 'T-Com TC 300', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0489, 0xe003, 'Foxconn / Hon Hai', 'Pirelli DP-L10', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0745, 0x1000, 'Syntech Information Co., Ltd', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0846, 0x1100, 'NetGear, Inc.', 'Managed Switch M4100 series, M5300 series, M7100 series', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x08e6, 0x5501, 'Gemalto (was Gemplus)', 'GemProx-PU Contactless Smart Card Reader', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x08fd, 0x000a, 'Digianswer A/S', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0908, 0x01ff, 'Siemens AG', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0bed, 0x1101, 'MEI', 'Series 2000 Combo Acceptor', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0fcf, 0x1003, 'Dynastream Innovations, Inc.', 'ANT Development Board', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),

# Path: umap2/apps/vsscan.py
# class DBEntry(object):
#     '''
#     DBEnrty describes a vid, pid.
#     '''
# 
#     def __init__(self, vid, pid, vendor_name='', product_name='', drivers={}, constraints=[], info={}):
#         self.vid = vid
#         self.pid = pid
#         self.vendor_name = vendor_name
#         self.product_name = product_name
#         self.drivers = drivers
#         self.constraints = constraints
#         self.info = info
#         self.os = None
# 
#     def __str__(self):
#         s = 'vid:pid %04x:%04x' % (self.vid, self.pid)
#         if self.vendor_name:
#             s += ', vendor: %s' % self.vendor_name
#         if self.product_name:
#             s += ', product: %s' % self.product_name
#         if self.drivers:
#             if self.os and self.os in self.drivers:
#                 s += ', driver: %s' % self.drivers[self.os]
#             else:
#                 s += ', drivers: %s' % self.drivers
#         if self.constraints:
#             s += ', constraints: %s' % self.constraints
#         if self.info:
#             s += ', info: %s' % self.info
#         return s
# 
#     def vidpid(self):
#         return '%04x:%04x' % (self.vid, self.pid)
# 
# class OS(object):
#     LINUX = 'Linux'
#     WINDOWS = 'Windows'
#     OSX = 'OSX'
#     QNX = 'QNX'


# Path: data/vid_pid_db.py
from umap2.apps.vsscan import DBEntry, OS
import sys

    DBEntry(0x3340, 0x2326, 'Yakumo', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3340, 0x3326, 'Yakumo', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3708, 0x20ce, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x3708, 0x21ce, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0210, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0211, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0400, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4113, 0x0410, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4001, 'Dell Computer Corp.', 'Axim X5', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4002, 'Dell Computer Corp.', 'Axim X3', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4003, 'Dell Computer Corp.', 'Axim X30', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4004, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4005, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4006, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4007, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4008, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x413c, 0x4009, 'Dell Computer Corp.', 'Axim Sync', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x4505, 0x0010, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x5e04, 0xce00, '', '', drivers={OS.LINUX: 'drivers/usb/serial/ipaq.c'}),
    DBEntry(0x045b, 0x0053, 'Hitachi, Ltd', 'RX610 RX-Stick', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0471, 0x066a, 'Philips (or NXP)', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0489, 0xe000, 'Foxconn / Hon Hai', 'T-Com TC 300', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0489, 0xe003, 'Foxconn / Hon Hai', 'Pirelli DP-L10', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0745, 0x1000, 'Syntech Information Co., Ltd', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0846, 0x1100, 'NetGear, Inc.', 'Managed Switch M4100 series, M5300 series, M7100 series', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x08e6, 0x5501, 'Gemalto (was Gemplus)', 'GemProx-PU Contactless Smart Card Reader', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x08fd, 0x000a, 'Digianswer A/S', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0908, 0x01ff, 'Siemens AG', '', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0bed, 0x1101, 'MEI', 'Series 2000 Combo Acceptor', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),
    DBEntry(0x0fcf, 0x1003, 'Dynastream Innovations, Inc.', 'ANT Development Board', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),

    DBEntry(0x0fcf, 0x1004, 'Dynastream Innovations, Inc.', 'ANTUSB Stick', drivers={OS.LINUX: 'drivers/usb/serial/cp210x.c'}),