diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-23 16:35:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-23 16:35:19 -0500 |
commit | 17a3be341e55b49e4579634281b86f1eb0bad8e8 (patch) | |
tree | 7c2857db7afb9b0fca2a15b1602333b2c5125780 | |
parent | f793067eb91afa37904d33075bd44fd8b2774b8a (diff) | |
parent | 37e9066b2f85480d99d3795373f5ef0b00ac1189 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (30 commits)
USB: Fix a bug on appledisplay.c regarding signedness
USB: option: support hi speed for modem Haier CE100
USB: audio gadget: free alsa devices when unloading
USB: audio gadget: fix wTotalLength calculation
usb: otg: isp1301_omap: fix compile error
USB: musb: workaround Blackfin FIFO anomalies
USB: musb: Fix array index out of bounds issue
USB: musb: Fix null pointer dereference issue
USB: musb: correct DMA address for tx
USB: musb: gadget_ep0: avoid SetupEnd interrupt
USB: musb: fix for crash in DM646x USB when (CPPI)DMA is enabled
USB: musb: do not work if no gadget driver is loaded
USB: musb: gadget: set otg tranceiver to idle when registering gadget
USB: musb: Populate the VBUS GPIO with the correct GPIO number
USB: musb: MAINTAINERS: Fix my tree's address
USB: musb: fix compiling warning with min() macro
USB: musb: move musb_remove to __exit
USB: musb_gadget: fix kernel oops in txstate()
USB: ftdi_sio: sort PID/VID entries in new ftdi_sio_ids.h header
USB: ftdi_sio: isolate all device IDs to new ftdi_sio_ids.h header
...
28 files changed, 1226 insertions, 1097 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index deb6b489e4e5..a07c0f366f91 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -21,25 +21,27 @@ Contact: Alan Stern <stern@rowland.harvard.edu> | |||
21 | Description: | 21 | Description: |
22 | Each USB device directory will contain a file named | 22 | Each USB device directory will contain a file named |
23 | power/level. This file holds a power-level setting for | 23 | power/level. This file holds a power-level setting for |
24 | the device, one of "on", "auto", or "suspend". | 24 | the device, either "on" or "auto". |
25 | 25 | ||
26 | "on" means that the device is not allowed to autosuspend, | 26 | "on" means that the device is not allowed to autosuspend, |
27 | although normal suspends for system sleep will still | 27 | although normal suspends for system sleep will still |
28 | be honored. "auto" means the device will autosuspend | 28 | be honored. "auto" means the device will autosuspend |
29 | and autoresume in the usual manner, according to the | 29 | and autoresume in the usual manner, according to the |
30 | capabilities of its driver. "suspend" means the device | 30 | capabilities of its driver. |
31 | is forced into a suspended state and it will not autoresume | ||
32 | in response to I/O requests. However remote-wakeup requests | ||
33 | from the device may still be enabled (the remote-wakeup | ||
34 | setting is controlled separately by the power/wakeup | ||
35 | attribute). | ||
36 | 31 | ||
37 | During normal use, devices should be left in the "auto" | 32 | During normal use, devices should be left in the "auto" |
38 | level. The other levels are meant for administrative uses. | 33 | level. The "on" level is meant for administrative uses. |
39 | If you want to suspend a device immediately but leave it | 34 | If you want to suspend a device immediately but leave it |
40 | free to wake up in response to I/O requests, you should | 35 | free to wake up in response to I/O requests, you should |
41 | write "0" to power/autosuspend. | 36 | write "0" to power/autosuspend. |
42 | 37 | ||
38 | Device not capable of proper suspend and resume should be | ||
39 | left in the "on" level. Although the USB spec requires | ||
40 | devices to support suspend/resume, many of them do not. | ||
41 | In fact so many don't that by default, the USB core | ||
42 | initializes all non-hub devices in the "on" level. Some | ||
43 | drivers may change this setting when they are bound. | ||
44 | |||
43 | What: /sys/bus/usb/devices/.../power/persist | 45 | What: /sys/bus/usb/devices/.../power/persist |
44 | Date: May 2007 | 46 | Date: May 2007 |
45 | KernelVersion: 2.6.23 | 47 | KernelVersion: 2.6.23 |
diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index c7c1dc2f8017..3bf6818c8cf5 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt | |||
@@ -71,12 +71,10 @@ being accessed through sysfs, then it definitely is idle. | |||
71 | Forms of dynamic PM | 71 | Forms of dynamic PM |
72 | ------------------- | 72 | ------------------- |
73 | 73 | ||
74 | Dynamic suspends can occur in two ways: manual and automatic. | 74 | Dynamic suspends occur when the kernel decides to suspend an idle |
75 | "Manual" means that the user has told the kernel to suspend a device, | 75 | device. This is called "autosuspend" for short. In general, a device |
76 | whereas "automatic" means that the kernel has decided all by itself to | 76 | won't be autosuspended unless it has been idle for some minimum period |
77 | suspend a device. Automatic suspend is called "autosuspend" for | 77 | of time, the so-called idle-delay time. |
78 | short. In general, a device won't be autosuspended unless it has been | ||
79 | idle for some minimum period of time, the so-called idle-delay time. | ||
80 | 78 | ||
81 | Of course, nothing the kernel does on its own initiative should | 79 | Of course, nothing the kernel does on its own initiative should |
82 | prevent the computer or its devices from working properly. If a | 80 | prevent the computer or its devices from working properly. If a |
@@ -96,10 +94,11 @@ idle. | |||
96 | We can categorize power management events in two broad classes: | 94 | We can categorize power management events in two broad classes: |
97 | external and internal. External events are those triggered by some | 95 | external and internal. External events are those triggered by some |
98 | agent outside the USB stack: system suspend/resume (triggered by | 96 | agent outside the USB stack: system suspend/resume (triggered by |
99 | userspace), manual dynamic suspend/resume (also triggered by | 97 | userspace), manual dynamic resume (also triggered by userspace), and |
100 | userspace), and remote wakeup (triggered by the device). Internal | 98 | remote wakeup (triggered by the device). Internal events are those |
101 | events are those triggered within the USB stack: autosuspend and | 99 | triggered within the USB stack: autosuspend and autoresume. Note that |
102 | autoresume. | 100 | all dynamic suspend events are internal; external agents are not |
101 | allowed to issue dynamic suspends. | ||
103 | 102 | ||
104 | 103 | ||
105 | The user interface for dynamic PM | 104 | The user interface for dynamic PM |
@@ -145,9 +144,9 @@ relevant attribute files are: wakeup, level, and autosuspend. | |||
145 | number of seconds the device should remain idle before | 144 | number of seconds the device should remain idle before |
146 | the kernel will autosuspend it (the idle-delay time). | 145 | the kernel will autosuspend it (the idle-delay time). |
147 | The default is 2. 0 means to autosuspend as soon as | 146 | The default is 2. 0 means to autosuspend as soon as |
148 | the device becomes idle, and -1 means never to | 147 | the device becomes idle, and negative values mean |
149 | autosuspend. You can write a number to the file to | 148 | never to autosuspend. You can write a number to the |
150 | change the autosuspend idle-delay time. | 149 | file to change the autosuspend idle-delay time. |
151 | 150 | ||
152 | Writing "-1" to power/autosuspend and writing "on" to power/level do | 151 | Writing "-1" to power/autosuspend and writing "on" to power/level do |
153 | essentially the same thing -- they both prevent the device from being | 152 | essentially the same thing -- they both prevent the device from being |
@@ -377,9 +376,9 @@ the device hasn't been idle for long enough, a delayed workqueue | |||
377 | routine is automatically set up to carry out the operation when the | 376 | routine is automatically set up to carry out the operation when the |
378 | autosuspend idle-delay has expired. | 377 | autosuspend idle-delay has expired. |
379 | 378 | ||
380 | Autoresume attempts also can fail. This will happen if power/level is | 379 | Autoresume attempts also can fail, although failure would mean that |
381 | set to "suspend" or if the device doesn't manage to resume properly. | 380 | the device is no longer present or operating properly. Unlike |
382 | Unlike autosuspend, there's no delay for an autoresume. | 381 | autosuspend, there's no delay for an autoresume. |
383 | 382 | ||
384 | 383 | ||
385 | Other parts of the driver interface | 384 | Other parts of the driver interface |
@@ -527,13 +526,3 @@ succeed, it may still remain active and thus cause the system to | |||
527 | resume as soon as the system suspend is complete. Or the remote | 526 | resume as soon as the system suspend is complete. Or the remote |
528 | wakeup may fail and get lost. Which outcome occurs depends on timing | 527 | wakeup may fail and get lost. Which outcome occurs depends on timing |
529 | and on the hardware and firmware design. | 528 | and on the hardware and firmware design. |
530 | |||
531 | More interestingly, a device might undergo a manual resume or | ||
532 | autoresume during system suspend. With current kernels this shouldn't | ||
533 | happen, because manual resumes must be initiated by userspace and | ||
534 | autoresumes happen in response to I/O requests, but all user processes | ||
535 | and I/O should be quiescent during a system suspend -- thanks to the | ||
536 | freezer. However there are plans to do away with the freezer, which | ||
537 | would mean these things would become possible. If and when this comes | ||
538 | about, the USB core will carefully arrange matters so that either type | ||
539 | of resume will block until the entire system has resumed. | ||
diff --git a/MAINTAINERS b/MAINTAINERS index d5244f1580bc..745643b8c344 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -3679,7 +3679,7 @@ F: include/linux/isicom.h | |||
3679 | MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER | 3679 | MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER |
3680 | M: Felipe Balbi <felipe.balbi@nokia.com> | 3680 | M: Felipe Balbi <felipe.balbi@nokia.com> |
3681 | L: linux-usb@vger.kernel.org | 3681 | L: linux-usb@vger.kernel.org |
3682 | T: git git://gitorious.org/musb/mainline.git | 3682 | T: git git://gitorious.org/usb/usb.git |
3683 | S: Maintained | 3683 | S: Maintained |
3684 | F: drivers/usb/musb/ | 3684 | F: drivers/usb/musb/ |
3685 | 3685 | ||
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 473aa1a20de9..be3c9b80bc9f 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile | |||
@@ -44,5 +44,3 @@ obj-y += early/ | |||
44 | 44 | ||
45 | obj-$(CONFIG_USB_ATM) += atm/ | 45 | obj-$(CONFIG_USB_ATM) += atm/ |
46 | obj-$(CONFIG_USB_SPEEDTOUCH) += atm/ | 46 | obj-$(CONFIG_USB_SPEEDTOUCH) += atm/ |
47 | |||
48 | obj-$(CONFIG_USB_ULPI) += otg/ | ||
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 6dac3b802d41..0495fa651225 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -1597,7 +1597,9 @@ rescan: | |||
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | /** | 1599 | /** |
1600 | * Check whether a new bandwidth setting exceeds the bus bandwidth. | 1600 | * usb_hcd_alloc_bandwidth - check whether a new bandwidth setting exceeds |
1601 | * the bus bandwidth | ||
1602 | * @udev: target &usb_device | ||
1601 | * @new_config: new configuration to install | 1603 | * @new_config: new configuration to install |
1602 | * @cur_alt: the current alternate interface setting | 1604 | * @cur_alt: the current alternate interface setting |
1603 | * @new_alt: alternate interface setting that is being installed | 1605 | * @new_alt: alternate interface setting that is being installed |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 06af970e1064..0cec6caf6e9b 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -1658,12 +1658,12 @@ static inline void announce_device(struct usb_device *udev) { } | |||
1658 | #endif | 1658 | #endif |
1659 | 1659 | ||
1660 | /** | 1660 | /** |
1661 | * usb_configure_device_otg - FIXME (usbcore-internal) | 1661 | * usb_enumerate_device_otg - FIXME (usbcore-internal) |
1662 | * @udev: newly addressed device (in ADDRESS state) | 1662 | * @udev: newly addressed device (in ADDRESS state) |
1663 | * | 1663 | * |
1664 | * Do configuration for On-The-Go devices | 1664 | * Finish enumeration for On-The-Go devices |
1665 | */ | 1665 | */ |
1666 | static int usb_configure_device_otg(struct usb_device *udev) | 1666 | static int usb_enumerate_device_otg(struct usb_device *udev) |
1667 | { | 1667 | { |
1668 | int err = 0; | 1668 | int err = 0; |
1669 | 1669 | ||
@@ -1734,7 +1734,7 @@ fail: | |||
1734 | 1734 | ||
1735 | 1735 | ||
1736 | /** | 1736 | /** |
1737 | * usb_configure_device - Detect and probe device intfs/otg (usbcore-internal) | 1737 | * usb_enumerate_device - Read device configs/intfs/otg (usbcore-internal) |
1738 | * @udev: newly addressed device (in ADDRESS state) | 1738 | * @udev: newly addressed device (in ADDRESS state) |
1739 | * | 1739 | * |
1740 | * This is only called by usb_new_device() and usb_authorize_device() | 1740 | * This is only called by usb_new_device() and usb_authorize_device() |
@@ -1745,7 +1745,7 @@ fail: | |||
1745 | * the string descriptors, as they will be errored out by the device | 1745 | * the string descriptors, as they will be errored out by the device |
1746 | * until it has been authorized. | 1746 | * until it has been authorized. |
1747 | */ | 1747 | */ |
1748 | static int usb_configure_device(struct usb_device *udev) | 1748 | static int usb_enumerate_device(struct usb_device *udev) |
1749 | { | 1749 | { |
1750 | int err; | 1750 | int err; |
1751 | 1751 | ||
@@ -1769,7 +1769,7 @@ static int usb_configure_device(struct usb_device *udev) | |||
1769 | udev->descriptor.iManufacturer); | 1769 | udev->descriptor.iManufacturer); |
1770 | udev->serial = usb_cache_string(udev, udev->descriptor.iSerialNumber); | 1770 | udev->serial = usb_cache_string(udev, udev->descriptor.iSerialNumber); |
1771 | } | 1771 | } |
1772 | err = usb_configure_device_otg(udev); | 1772 | err = usb_enumerate_device_otg(udev); |
1773 | fail: | 1773 | fail: |
1774 | return err; | 1774 | return err; |
1775 | } | 1775 | } |
@@ -1779,8 +1779,8 @@ fail: | |||
1779 | * usb_new_device - perform initial device setup (usbcore-internal) | 1779 | * usb_new_device - perform initial device setup (usbcore-internal) |
1780 | * @udev: newly addressed device (in ADDRESS state) | 1780 | * @udev: newly addressed device (in ADDRESS state) |
1781 | * | 1781 | * |
1782 | * This is called with devices which have been enumerated, but not yet | 1782 | * This is called with devices which have been detected but not fully |
1783 | * configured. The device descriptor is available, but not descriptors | 1783 | * enumerated. The device descriptor is available, but not descriptors |
1784 | * for any device configuration. The caller must have locked either | 1784 | * for any device configuration. The caller must have locked either |
1785 | * the parent hub (if udev is a normal device) or else the | 1785 | * the parent hub (if udev is a normal device) or else the |
1786 | * usb_bus_list_lock (if udev is a root hub). The parent's pointer to | 1786 | * usb_bus_list_lock (if udev is a root hub). The parent's pointer to |
@@ -1803,8 +1803,8 @@ int usb_new_device(struct usb_device *udev) | |||
1803 | if (udev->parent) | 1803 | if (udev->parent) |
1804 | usb_autoresume_device(udev->parent); | 1804 | usb_autoresume_device(udev->parent); |
1805 | 1805 | ||
1806 | usb_detect_quirks(udev); /* Determine quirks */ | 1806 | usb_detect_quirks(udev); |
1807 | err = usb_configure_device(udev); /* detect & probe dev/intfs */ | 1807 | err = usb_enumerate_device(udev); /* Read descriptors */ |
1808 | if (err < 0) | 1808 | if (err < 0) |
1809 | goto fail; | 1809 | goto fail; |
1810 | dev_dbg(&udev->dev, "udev %d, busnum %d, minor = %d\n", | 1810 | dev_dbg(&udev->dev, "udev %d, busnum %d, minor = %d\n", |
@@ -1849,21 +1849,23 @@ fail: | |||
1849 | */ | 1849 | */ |
1850 | int usb_deauthorize_device(struct usb_device *usb_dev) | 1850 | int usb_deauthorize_device(struct usb_device *usb_dev) |
1851 | { | 1851 | { |
1852 | unsigned cnt; | ||
1853 | usb_lock_device(usb_dev); | 1852 | usb_lock_device(usb_dev); |
1854 | if (usb_dev->authorized == 0) | 1853 | if (usb_dev->authorized == 0) |
1855 | goto out_unauthorized; | 1854 | goto out_unauthorized; |
1855 | |||
1856 | usb_dev->authorized = 0; | 1856 | usb_dev->authorized = 0; |
1857 | usb_set_configuration(usb_dev, -1); | 1857 | usb_set_configuration(usb_dev, -1); |
1858 | |||
1859 | kfree(usb_dev->product); | ||
1858 | usb_dev->product = kstrdup("n/a (unauthorized)", GFP_KERNEL); | 1860 | usb_dev->product = kstrdup("n/a (unauthorized)", GFP_KERNEL); |
1861 | kfree(usb_dev->manufacturer); | ||
1859 | usb_dev->manufacturer = kstrdup("n/a (unauthorized)", GFP_KERNEL); | 1862 | usb_dev->manufacturer = kstrdup("n/a (unauthorized)", GFP_KERNEL); |
1863 | kfree(usb_dev->serial); | ||
1860 | usb_dev->serial = kstrdup("n/a (unauthorized)", GFP_KERNEL); | 1864 | usb_dev->serial = kstrdup("n/a (unauthorized)", GFP_KERNEL); |
1861 | kfree(usb_dev->config); | 1865 | |
1862 | usb_dev->config = NULL; | 1866 | usb_destroy_configuration(usb_dev); |
1863 | for (cnt = 0; cnt < usb_dev->descriptor.bNumConfigurations; cnt++) | ||
1864 | kfree(usb_dev->rawdescriptors[cnt]); | ||
1865 | usb_dev->descriptor.bNumConfigurations = 0; | 1867 | usb_dev->descriptor.bNumConfigurations = 0; |
1866 | kfree(usb_dev->rawdescriptors); | 1868 | |
1867 | out_unauthorized: | 1869 | out_unauthorized: |
1868 | usb_unlock_device(usb_dev); | 1870 | usb_unlock_device(usb_dev); |
1869 | return 0; | 1871 | return 0; |
@@ -1873,15 +1875,11 @@ out_unauthorized: | |||
1873 | int usb_authorize_device(struct usb_device *usb_dev) | 1875 | int usb_authorize_device(struct usb_device *usb_dev) |
1874 | { | 1876 | { |
1875 | int result = 0, c; | 1877 | int result = 0, c; |
1878 | |||
1876 | usb_lock_device(usb_dev); | 1879 | usb_lock_device(usb_dev); |
1877 | if (usb_dev->authorized == 1) | 1880 | if (usb_dev->authorized == 1) |
1878 | goto out_authorized; | 1881 | goto out_authorized; |
1879 | kfree(usb_dev->product); | 1882 | |
1880 | usb_dev->product = NULL; | ||
1881 | kfree(usb_dev->manufacturer); | ||
1882 | usb_dev->manufacturer = NULL; | ||
1883 | kfree(usb_dev->serial); | ||
1884 | usb_dev->serial = NULL; | ||
1885 | result = usb_autoresume_device(usb_dev); | 1883 | result = usb_autoresume_device(usb_dev); |
1886 | if (result < 0) { | 1884 | if (result < 0) { |
1887 | dev_err(&usb_dev->dev, | 1885 | dev_err(&usb_dev->dev, |
@@ -1894,10 +1892,18 @@ int usb_authorize_device(struct usb_device *usb_dev) | |||
1894 | "authorization: %d\n", result); | 1892 | "authorization: %d\n", result); |
1895 | goto error_device_descriptor; | 1893 | goto error_device_descriptor; |
1896 | } | 1894 | } |
1895 | |||
1896 | kfree(usb_dev->product); | ||
1897 | usb_dev->product = NULL; | ||
1898 | kfree(usb_dev->manufacturer); | ||
1899 | usb_dev->manufacturer = NULL; | ||
1900 | kfree(usb_dev->serial); | ||
1901 | usb_dev->serial = NULL; | ||
1902 | |||
1897 | usb_dev->authorized = 1; | 1903 | usb_dev->authorized = 1; |
1898 | result = usb_configure_device(usb_dev); | 1904 | result = usb_enumerate_device(usb_dev); |
1899 | if (result < 0) | 1905 | if (result < 0) |
1900 | goto error_configure; | 1906 | goto error_enumerate; |
1901 | /* Choose and set the configuration. This registers the interfaces | 1907 | /* Choose and set the configuration. This registers the interfaces |
1902 | * with the driver core and lets interface drivers bind to them. | 1908 | * with the driver core and lets interface drivers bind to them. |
1903 | */ | 1909 | */ |
@@ -1912,8 +1918,10 @@ int usb_authorize_device(struct usb_device *usb_dev) | |||
1912 | } | 1918 | } |
1913 | } | 1919 | } |
1914 | dev_info(&usb_dev->dev, "authorized to connect\n"); | 1920 | dev_info(&usb_dev->dev, "authorized to connect\n"); |
1915 | error_configure: | 1921 | |
1922 | error_enumerate: | ||
1916 | error_device_descriptor: | 1923 | error_device_descriptor: |
1924 | usb_autosuspend_device(usb_dev); | ||
1917 | error_autoresume: | 1925 | error_autoresume: |
1918 | out_authorized: | 1926 | out_authorized: |
1919 | usb_unlock_device(usb_dev); // complements locktree | 1927 | usb_unlock_device(usb_dev); // complements locktree |
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c index 15477008b631..485edf937f25 100644 --- a/drivers/usb/core/sysfs.c +++ b/drivers/usb/core/sysfs.c | |||
@@ -82,9 +82,13 @@ static ssize_t show_##name(struct device *dev, \ | |||
82 | struct device_attribute *attr, char *buf) \ | 82 | struct device_attribute *attr, char *buf) \ |
83 | { \ | 83 | { \ |
84 | struct usb_device *udev; \ | 84 | struct usb_device *udev; \ |
85 | int retval; \ | ||
85 | \ | 86 | \ |
86 | udev = to_usb_device(dev); \ | 87 | udev = to_usb_device(dev); \ |
87 | return sprintf(buf, "%s\n", udev->name); \ | 88 | usb_lock_device(udev); \ |
89 | retval = sprintf(buf, "%s\n", udev->name); \ | ||
90 | usb_unlock_device(udev); \ | ||
91 | return retval; \ | ||
88 | } \ | 92 | } \ |
89 | static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL); | 93 | static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL); |
90 | 94 | ||
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 2fb42043b305..0daff0d968ba 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c | |||
@@ -66,9 +66,9 @@ MODULE_PARM_DESC(autosuspend, "default autosuspend delay"); | |||
66 | /** | 66 | /** |
67 | * usb_find_alt_setting() - Given a configuration, find the alternate setting | 67 | * usb_find_alt_setting() - Given a configuration, find the alternate setting |
68 | * for the given interface. | 68 | * for the given interface. |
69 | * @config - the configuration to search (not necessarily the current config). | 69 | * @config: the configuration to search (not necessarily the current config). |
70 | * @iface_num - interface number to search in | 70 | * @iface_num: interface number to search in |
71 | * @alt_num - alternate interface setting number to search for. | 71 | * @alt_num: alternate interface setting number to search for. |
72 | * | 72 | * |
73 | * Search the configuration's interface cache for the given alt setting. | 73 | * Search the configuration's interface cache for the given alt setting. |
74 | */ | 74 | */ |
diff --git a/drivers/usb/early/ehci-dbgp.c b/drivers/usb/early/ehci-dbgp.c index 1206a26ef893..2958a1271b20 100644 --- a/drivers/usb/early/ehci-dbgp.c +++ b/drivers/usb/early/ehci-dbgp.c | |||
@@ -613,7 +613,7 @@ err: | |||
613 | } | 613 | } |
614 | EXPORT_SYMBOL_GPL(dbgp_external_startup); | 614 | EXPORT_SYMBOL_GPL(dbgp_external_startup); |
615 | 615 | ||
616 | static int __init ehci_reset_port(int port) | 616 | static int ehci_reset_port(int port) |
617 | { | 617 | { |
618 | u32 portsc; | 618 | u32 portsc; |
619 | u32 delay_time, delay; | 619 | u32 delay_time, delay; |
diff --git a/drivers/usb/gadget/audio.c b/drivers/usb/gadget/audio.c index 58f220323847..a62af7b59094 100644 --- a/drivers/usb/gadget/audio.c +++ b/drivers/usb/gadget/audio.c | |||
@@ -158,6 +158,7 @@ fail: | |||
158 | 158 | ||
159 | static int __exit audio_unbind(struct usb_composite_dev *cdev) | 159 | static int __exit audio_unbind(struct usb_composite_dev *cdev) |
160 | { | 160 | { |
161 | gaudio_cleanup(); | ||
161 | return 0; | 162 | return 0; |
162 | } | 163 | } |
163 | 164 | ||
diff --git a/drivers/usb/gadget/f_audio.c b/drivers/usb/gadget/f_audio.c index c43c89ffa2c8..df77f6131c73 100644 --- a/drivers/usb/gadget/f_audio.c +++ b/drivers/usb/gadget/f_audio.c | |||
@@ -56,13 +56,16 @@ static struct usb_interface_descriptor ac_interface_desc __initdata = { | |||
56 | DECLARE_UAC_AC_HEADER_DESCRIPTOR(2); | 56 | DECLARE_UAC_AC_HEADER_DESCRIPTOR(2); |
57 | 57 | ||
58 | #define UAC_DT_AC_HEADER_LENGTH UAC_DT_AC_HEADER_SIZE(F_AUDIO_NUM_INTERFACES) | 58 | #define UAC_DT_AC_HEADER_LENGTH UAC_DT_AC_HEADER_SIZE(F_AUDIO_NUM_INTERFACES) |
59 | /* 1 input terminal, 1 output terminal and 1 feature unit */ | ||
60 | #define UAC_DT_TOTAL_LENGTH (UAC_DT_AC_HEADER_LENGTH + UAC_DT_INPUT_TERMINAL_SIZE \ | ||
61 | + UAC_DT_OUTPUT_TERMINAL_SIZE + UAC_DT_FEATURE_UNIT_SIZE(0)) | ||
59 | /* B.3.2 Class-Specific AC Interface Descriptor */ | 62 | /* B.3.2 Class-Specific AC Interface Descriptor */ |
60 | static struct uac_ac_header_descriptor_2 ac_header_desc = { | 63 | static struct uac_ac_header_descriptor_2 ac_header_desc = { |
61 | .bLength = UAC_DT_AC_HEADER_LENGTH, | 64 | .bLength = UAC_DT_AC_HEADER_LENGTH, |
62 | .bDescriptorType = USB_DT_CS_INTERFACE, | 65 | .bDescriptorType = USB_DT_CS_INTERFACE, |
63 | .bDescriptorSubtype = UAC_HEADER, | 66 | .bDescriptorSubtype = UAC_HEADER, |
64 | .bcdADC = __constant_cpu_to_le16(0x0100), | 67 | .bcdADC = __constant_cpu_to_le16(0x0100), |
65 | .wTotalLength = __constant_cpu_to_le16(UAC_DT_AC_HEADER_LENGTH), | 68 | .wTotalLength = __constant_cpu_to_le16(UAC_DT_TOTAL_LENGTH), |
66 | .bInCollection = F_AUDIO_NUM_INTERFACES, | 69 | .bInCollection = F_AUDIO_NUM_INTERFACES, |
67 | .baInterfaceNr = { | 70 | .baInterfaceNr = { |
68 | [0] = F_AUDIO_AC_INTERFACE, | 71 | [0] = F_AUDIO_AC_INTERFACE, |
@@ -252,12 +255,12 @@ static struct f_audio_buf *f_audio_buffer_alloc(int buf_size) | |||
252 | 255 | ||
253 | copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); | 256 | copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); |
254 | if (!copy_buf) | 257 | if (!copy_buf) |
255 | return (struct f_audio_buf *)-ENOMEM; | 258 | return ERR_PTR(-ENOMEM); |
256 | 259 | ||
257 | copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); | 260 | copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); |
258 | if (!copy_buf->buf) { | 261 | if (!copy_buf->buf) { |
259 | kfree(copy_buf); | 262 | kfree(copy_buf); |
260 | return (struct f_audio_buf *)-ENOMEM; | 263 | return ERR_PTR(-ENOMEM); |
261 | } | 264 | } |
262 | 265 | ||
263 | return copy_buf; | 266 | return copy_buf; |
@@ -332,7 +335,7 @@ static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) | |||
332 | list_add_tail(©_buf->list, &audio->play_queue); | 335 | list_add_tail(©_buf->list, &audio->play_queue); |
333 | schedule_work(&audio->playback_work); | 336 | schedule_work(&audio->playback_work); |
334 | copy_buf = f_audio_buffer_alloc(audio_buf_size); | 337 | copy_buf = f_audio_buffer_alloc(audio_buf_size); |
335 | if (copy_buf < 0) | 338 | if (IS_ERR(copy_buf)) |
336 | return -ENOMEM; | 339 | return -ENOMEM; |
337 | } | 340 | } |
338 | 341 | ||
@@ -576,6 +579,8 @@ static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) | |||
576 | usb_ep_enable(out_ep, audio->out_desc); | 579 | usb_ep_enable(out_ep, audio->out_desc); |
577 | out_ep->driver_data = audio; | 580 | out_ep->driver_data = audio; |
578 | audio->copy_buf = f_audio_buffer_alloc(audio_buf_size); | 581 | audio->copy_buf = f_audio_buffer_alloc(audio_buf_size); |
582 | if (IS_ERR(audio->copy_buf)) | ||
583 | return -ENOMEM; | ||
579 | 584 | ||
580 | /* | 585 | /* |
581 | * allocate a bunch of read buffers | 586 | * allocate a bunch of read buffers |
@@ -787,7 +792,7 @@ int __init audio_bind_config(struct usb_configuration *c) | |||
787 | return status; | 792 | return status; |
788 | 793 | ||
789 | add_fail: | 794 | add_fail: |
790 | gaudio_cleanup(&audio->card); | 795 | gaudio_cleanup(); |
791 | setup_fail: | 796 | setup_fail: |
792 | kfree(audio); | 797 | kfree(audio); |
793 | return status; | 798 | return status; |
diff --git a/drivers/usb/gadget/u_audio.c b/drivers/usb/gadget/u_audio.c index 8252595d619d..35e0930f5bbb 100644 --- a/drivers/usb/gadget/u_audio.c +++ b/drivers/usb/gadget/u_audio.c | |||
@@ -288,6 +288,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) | |||
288 | return 0; | 288 | return 0; |
289 | } | 289 | } |
290 | 290 | ||
291 | static struct gaudio *the_card; | ||
291 | /** | 292 | /** |
292 | * gaudio_setup - setup ALSA interface and preparing for USB transfer | 293 | * gaudio_setup - setup ALSA interface and preparing for USB transfer |
293 | * | 294 | * |
@@ -303,6 +304,9 @@ int __init gaudio_setup(struct gaudio *card) | |||
303 | if (ret) | 304 | if (ret) |
304 | ERROR(card, "we need at least one control device\n"); | 305 | ERROR(card, "we need at least one control device\n"); |
305 | 306 | ||
307 | if (!the_card) | ||
308 | the_card = card; | ||
309 | |||
306 | return ret; | 310 | return ret; |
307 | 311 | ||
308 | } | 312 | } |
@@ -312,9 +316,11 @@ int __init gaudio_setup(struct gaudio *card) | |||
312 | * | 316 | * |
313 | * This is called to free all resources allocated by @gaudio_setup(). | 317 | * This is called to free all resources allocated by @gaudio_setup(). |
314 | */ | 318 | */ |
315 | void gaudio_cleanup(struct gaudio *card) | 319 | void gaudio_cleanup(void) |
316 | { | 320 | { |
317 | if (card) | 321 | if (the_card) { |
318 | gaudio_close_snd_dev(card); | 322 | gaudio_close_snd_dev(the_card); |
323 | the_card = NULL; | ||
324 | } | ||
319 | } | 325 | } |
320 | 326 | ||
diff --git a/drivers/usb/gadget/u_audio.h b/drivers/usb/gadget/u_audio.h index cc8d159c648a..08ffce3298e6 100644 --- a/drivers/usb/gadget/u_audio.h +++ b/drivers/usb/gadget/u_audio.h | |||
@@ -51,6 +51,6 @@ struct gaudio { | |||
51 | }; | 51 | }; |
52 | 52 | ||
53 | int gaudio_setup(struct gaudio *card); | 53 | int gaudio_setup(struct gaudio *card); |
54 | void gaudio_cleanup(struct gaudio *card); | 54 | void gaudio_cleanup(void); |
55 | 55 | ||
56 | #endif /* __U_AUDIO_H */ | 56 | #endif /* __U_AUDIO_H */ |
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index 1d8e39a557d9..1eb9e4162cc6 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c | |||
@@ -60,6 +60,7 @@ | |||
60 | static struct usb_device_id appledisplay_table [] = { | 60 | static struct usb_device_id appledisplay_table [] = { |
61 | { APPLEDISPLAY_DEVICE(0x9218) }, | 61 | { APPLEDISPLAY_DEVICE(0x9218) }, |
62 | { APPLEDISPLAY_DEVICE(0x9219) }, | 62 | { APPLEDISPLAY_DEVICE(0x9219) }, |
63 | { APPLEDISPLAY_DEVICE(0x921c) }, | ||
63 | { APPLEDISPLAY_DEVICE(0x921d) }, | 64 | { APPLEDISPLAY_DEVICE(0x921d) }, |
64 | 65 | ||
65 | /* Terminating entry */ | 66 | /* Terminating entry */ |
@@ -72,8 +73,8 @@ struct appledisplay { | |||
72 | struct usb_device *udev; /* usb device */ | 73 | struct usb_device *udev; /* usb device */ |
73 | struct urb *urb; /* usb request block */ | 74 | struct urb *urb; /* usb request block */ |
74 | struct backlight_device *bd; /* backlight device */ | 75 | struct backlight_device *bd; /* backlight device */ |
75 | char *urbdata; /* interrupt URB data buffer */ | 76 | u8 *urbdata; /* interrupt URB data buffer */ |
76 | char *msgdata; /* control message data buffer */ | 77 | u8 *msgdata; /* control message data buffer */ |
77 | 78 | ||
78 | struct delayed_work work; | 79 | struct delayed_work work; |
79 | int button_pressed; | 80 | int button_pressed; |
diff --git a/drivers/usb/misc/emi62.c b/drivers/usb/misc/emi62.c index 602ee05ba9ff..59860b328534 100644 --- a/drivers/usb/misc/emi62.c +++ b/drivers/usb/misc/emi62.c | |||
@@ -167,7 +167,7 @@ static int emi62_load_firmware (struct usb_device *dev) | |||
167 | err("%s - error loading firmware: error = %d", __func__, err); | 167 | err("%s - error loading firmware: error = %d", __func__, err); |
168 | goto wraperr; | 168 | goto wraperr; |
169 | } | 169 | } |
170 | } while (i > 0); | 170 | } while (rec); |
171 | 171 | ||
172 | /* Assert reset (stop the CPU in the EMI) */ | 172 | /* Assert reset (stop the CPU in the EMI) */ |
173 | err = emi62_set_reset(dev,1); | 173 | err = emi62_set_reset(dev,1); |
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index fe4934d9602c..ad26e6569665 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -29,6 +29,8 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) | |||
29 | { | 29 | { |
30 | void __iomem *fifo = hw_ep->fifo; | 30 | void __iomem *fifo = hw_ep->fifo; |
31 | void __iomem *epio = hw_ep->regs; | 31 | void __iomem *epio = hw_ep->regs; |
32 | u8 epnum = hw_ep->epnum; | ||
33 | u16 dma_reg = 0; | ||
32 | 34 | ||
33 | prefetch((u8 *)src); | 35 | prefetch((u8 *)src); |
34 | 36 | ||
@@ -39,67 +41,113 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) | |||
39 | 41 | ||
40 | dump_fifo_data(src, len); | 42 | dump_fifo_data(src, len); |
41 | 43 | ||
42 | if (unlikely((unsigned long)src & 0x01)) | 44 | if (!ANOMALY_05000380 && epnum != 0) { |
43 | outsw_8((unsigned long)fifo, src, | 45 | flush_dcache_range((unsigned int)src, |
44 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | 46 | (unsigned int)(src + len)); |
45 | else | 47 | |
46 | outsw((unsigned long)fifo, src, | 48 | /* Setup DMA address register */ |
47 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | 49 | dma_reg = (u16) ((u32) src & 0xFFFF); |
48 | } | 50 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_LOW), dma_reg); |
51 | SSYNC(); | ||
52 | |||
53 | dma_reg = (u16) (((u32) src >> 16) & 0xFFFF); | ||
54 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_HIGH), dma_reg); | ||
55 | SSYNC(); | ||
56 | |||
57 | /* Setup DMA count register */ | ||
58 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_LOW), len); | ||
59 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_HIGH), 0); | ||
60 | SSYNC(); | ||
61 | |||
62 | /* Enable the DMA */ | ||
63 | dma_reg = (epnum << 4) | DMA_ENA | INT_ENA | DIRECTION; | ||
64 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg); | ||
65 | SSYNC(); | ||
66 | |||
67 | /* Wait for compelete */ | ||
68 | while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum))) | ||
69 | cpu_relax(); | ||
70 | |||
71 | /* acknowledge dma interrupt */ | ||
72 | bfin_write_USB_DMA_INTERRUPT(1 << epnum); | ||
73 | SSYNC(); | ||
74 | |||
75 | /* Reset DMA */ | ||
76 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), 0); | ||
77 | SSYNC(); | ||
78 | } else { | ||
79 | SSYNC(); | ||
80 | |||
81 | if (unlikely((unsigned long)src & 0x01)) | ||
82 | outsw_8((unsigned long)fifo, src, | ||
83 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | ||
84 | else | ||
85 | outsw((unsigned long)fifo, src, | ||
86 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | ||
49 | 87 | ||
88 | } | ||
89 | } | ||
50 | /* | 90 | /* |
51 | * Unload an endpoint's FIFO | 91 | * Unload an endpoint's FIFO |
52 | */ | 92 | */ |
53 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) | 93 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) |
54 | { | 94 | { |
55 | void __iomem *fifo = hw_ep->fifo; | 95 | void __iomem *fifo = hw_ep->fifo; |
56 | |||
57 | #ifdef CONFIG_BF52x | ||
58 | u8 epnum = hw_ep->epnum; | 96 | u8 epnum = hw_ep->epnum; |
59 | u16 dma_reg = 0; | 97 | u16 dma_reg = 0; |
60 | 98 | ||
61 | invalidate_dcache_range((unsigned int)dst, | 99 | if (ANOMALY_05000467 && epnum != 0) { |
62 | (unsigned int)(dst + len)); | ||
63 | 100 | ||
64 | /* Setup DMA address register */ | 101 | invalidate_dcache_range((unsigned int)dst, |
65 | dma_reg = (u16) ((u32) dst & 0xFFFF); | 102 | (unsigned int)(dst + len)); |
66 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_LOW), dma_reg); | ||
67 | SSYNC(); | ||
68 | 103 | ||
69 | dma_reg = (u16) (((u32) dst >> 16) & 0xFFFF); | 104 | /* Setup DMA address register */ |
70 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_HIGH), dma_reg); | 105 | dma_reg = (u16) ((u32) dst & 0xFFFF); |
71 | SSYNC(); | 106 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_LOW), dma_reg); |
107 | SSYNC(); | ||
72 | 108 | ||
73 | /* Setup DMA count register */ | 109 | dma_reg = (u16) (((u32) dst >> 16) & 0xFFFF); |
74 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_LOW), len); | 110 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_ADDR_HIGH), dma_reg); |
75 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_HIGH), 0); | 111 | SSYNC(); |
76 | SSYNC(); | ||
77 | 112 | ||
78 | /* Enable the DMA */ | 113 | /* Setup DMA count register */ |
79 | dma_reg = (epnum << 4) | DMA_ENA | INT_ENA; | 114 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_LOW), len); |
80 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg); | 115 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_COUNT_HIGH), 0); |
81 | SSYNC(); | 116 | SSYNC(); |
82 | 117 | ||
83 | /* Wait for compelete */ | 118 | /* Enable the DMA */ |
84 | while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum))) | 119 | dma_reg = (epnum << 4) | DMA_ENA | INT_ENA; |
85 | cpu_relax(); | 120 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg); |
121 | SSYNC(); | ||
86 | 122 | ||
87 | /* acknowledge dma interrupt */ | 123 | /* Wait for compelete */ |
88 | bfin_write_USB_DMA_INTERRUPT(1 << epnum); | 124 | while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum))) |
89 | SSYNC(); | 125 | cpu_relax(); |
90 | 126 | ||
91 | /* Reset DMA */ | 127 | /* acknowledge dma interrupt */ |
92 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), 0); | 128 | bfin_write_USB_DMA_INTERRUPT(1 << epnum); |
93 | SSYNC(); | 129 | SSYNC(); |
94 | #else | ||
95 | if (unlikely((unsigned long)dst & 0x01)) | ||
96 | insw_8((unsigned long)fifo, dst, | ||
97 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | ||
98 | else | ||
99 | insw((unsigned long)fifo, dst, | ||
100 | len & 0x01 ? (len >> 1) + 1 : len >> 1); | ||
101 | #endif | ||
102 | 130 | ||
131 | /* Reset DMA */ | ||
132 | bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), 0); | ||
133 | SSYNC(); | ||
134 | } else { | ||
135 | SSYNC(); | ||
136 | /* Read the last byte of packet with odd size from address fifo + 4 | ||
137 | * to trigger 1 byte access to EP0 FIFO. | ||
138 | */ | ||
139 | if (len == 1) | ||
140 | *dst = (u8)inw((unsigned long)fifo + 4); | ||
141 | else { | ||
142 | if (unlikely((unsigned long)dst & 0x01)) | ||
143 | insw_8((unsigned long)fifo, dst, len >> 1); | ||
144 | else | ||
145 | insw((unsigned long)fifo, dst, len >> 1); | ||
146 | |||
147 | if (len & 0x01) | ||
148 | *(dst + len - 1) = (u8)inw((unsigned long)fifo + 4); | ||
149 | } | ||
150 | } | ||
103 | DBG(4, "%cX ep%d fifo %p count %d buf %p\n", | 151 | DBG(4, "%cX ep%d fifo %p count %d buf %p\n", |
104 | 'R', hw_ep->epnum, fifo, len, dst); | 152 | 'R', hw_ep->epnum, fifo, len, dst); |
105 | 153 | ||
diff --git a/drivers/usb/musb/blackfin.h b/drivers/usb/musb/blackfin.h index 10b7d7584f4b..bd9352a2ef2a 100644 --- a/drivers/usb/musb/blackfin.h +++ b/drivers/usb/musb/blackfin.h | |||
@@ -69,7 +69,6 @@ static void dump_fifo_data(u8 *buf, u16 len) | |||
69 | #define dump_fifo_data(buf, len) do {} while (0) | 69 | #define dump_fifo_data(buf, len) do {} while (0) |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | #ifdef CONFIG_BF52x | ||
73 | 72 | ||
74 | #define USB_DMA_BASE USB_DMA_INTERRUPT | 73 | #define USB_DMA_BASE USB_DMA_INTERRUPT |
75 | #define USB_DMAx_CTRL 0x04 | 74 | #define USB_DMAx_CTRL 0x04 |
@@ -79,7 +78,6 @@ static void dump_fifo_data(u8 *buf, u16 len) | |||
79 | #define USB_DMAx_COUNT_HIGH 0x14 | 78 | #define USB_DMAx_COUNT_HIGH 0x14 |
80 | 79 | ||
81 | #define USB_DMA_REG(ep, reg) (USB_DMA_BASE + 0x20 * ep + reg) | 80 | #define USB_DMA_REG(ep, reg) (USB_DMA_BASE + 0x20 * ep + reg) |
82 | #endif | ||
83 | 81 | ||
84 | /* Almost 1 second */ | 82 | /* Almost 1 second */ |
85 | #define TIMER_DELAY (1 * HZ) | 83 | #define TIMER_DELAY (1 * HZ) |
diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index ef2332a9941d..a44a450c860d 100644 --- a/drivers/usb/musb/cppi_dma.c +++ b/drivers/usb/musb/cppi_dma.c | |||
@@ -1154,8 +1154,11 @@ irqreturn_t cppi_interrupt(int irq, void *dev_id) | |||
1154 | struct musb_hw_ep *hw_ep = NULL; | 1154 | struct musb_hw_ep *hw_ep = NULL; |
1155 | u32 rx, tx; | 1155 | u32 rx, tx; |
1156 | int i, index; | 1156 | int i, index; |
1157 | unsigned long flags; | ||
1157 | 1158 | ||
1158 | cppi = container_of(musb->dma_controller, struct cppi, controller); | 1159 | cppi = container_of(musb->dma_controller, struct cppi, controller); |
1160 | if (cppi->irq) | ||
1161 | spin_lock_irqsave(&musb->lock, flags); | ||
1159 | 1162 | ||
1160 | tibase = musb->ctrl_base; | 1163 | tibase = musb->ctrl_base; |
1161 | 1164 | ||
@@ -1285,6 +1288,9 @@ irqreturn_t cppi_interrupt(int irq, void *dev_id) | |||
1285 | /* write to CPPI EOI register to re-enable interrupts */ | 1288 | /* write to CPPI EOI register to re-enable interrupts */ |
1286 | musb_writel(tibase, DAVINCI_CPPI_EOI_REG, 0); | 1289 | musb_writel(tibase, DAVINCI_CPPI_EOI_REG, 0); |
1287 | 1290 | ||
1291 | if (cppi->irq) | ||
1292 | spin_unlock_irqrestore(&musb->lock, flags); | ||
1293 | |||
1288 | return IRQ_HANDLED; | 1294 | return IRQ_HANDLED; |
1289 | } | 1295 | } |
1290 | 1296 | ||
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index e16ff605c458..66913811af5e 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "musb_core.h" | 42 | #include "musb_core.h" |
43 | 43 | ||
44 | #ifdef CONFIG_MACH_DAVINCI_EVM | 44 | #ifdef CONFIG_MACH_DAVINCI_EVM |
45 | #define GPIO_nVBUS_DRV 144 | 45 | #define GPIO_nVBUS_DRV 160 |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #include "davinci.h" | 48 | #include "davinci.h" |
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index bfe08f4975a3..5eb9318cff77 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -1319,7 +1319,7 @@ static int __init musb_core_init(u16 musb_type, struct musb *musb) | |||
1319 | #endif | 1319 | #endif |
1320 | u8 reg; | 1320 | u8 reg; |
1321 | char *type; | 1321 | char *type; |
1322 | char aInfo[78], aRevision[32], aDate[12]; | 1322 | char aInfo[90], aRevision[32], aDate[12]; |
1323 | void __iomem *mbase = musb->mregs; | 1323 | void __iomem *mbase = musb->mregs; |
1324 | int status = 0; | 1324 | int status = 0; |
1325 | int i; | 1325 | int i; |
@@ -1521,6 +1521,14 @@ irqreturn_t musb_interrupt(struct musb *musb) | |||
1521 | (devctl & MUSB_DEVCTL_HM) ? "host" : "peripheral", | 1521 | (devctl & MUSB_DEVCTL_HM) ? "host" : "peripheral", |
1522 | musb->int_usb, musb->int_tx, musb->int_rx); | 1522 | musb->int_usb, musb->int_tx, musb->int_rx); |
1523 | 1523 | ||
1524 | #ifdef CONFIG_USB_GADGET_MUSB_HDRC | ||
1525 | if (is_otg_enabled(musb) || is_peripheral_enabled(musb)) | ||
1526 | if (!musb->gadget_driver) { | ||
1527 | DBG(5, "No gadget driver loaded\n"); | ||
1528 | return IRQ_HANDLED; | ||
1529 | } | ||
1530 | #endif | ||
1531 | |||
1524 | /* the core can interrupt us for multiple reasons; docs have | 1532 | /* the core can interrupt us for multiple reasons; docs have |
1525 | * a generic interrupt flowchart to follow | 1533 | * a generic interrupt flowchart to follow |
1526 | */ | 1534 | */ |
@@ -2139,7 +2147,7 @@ static int __init musb_probe(struct platform_device *pdev) | |||
2139 | return musb_init_controller(dev, irq, base); | 2147 | return musb_init_controller(dev, irq, base); |
2140 | } | 2148 | } |
2141 | 2149 | ||
2142 | static int __devexit musb_remove(struct platform_device *pdev) | 2150 | static int __exit musb_remove(struct platform_device *pdev) |
2143 | { | 2151 | { |
2144 | struct musb *musb = dev_to_musb(&pdev->dev); | 2152 | struct musb *musb = dev_to_musb(&pdev->dev); |
2145 | void __iomem *ctrl_base = musb->ctrl_base; | 2153 | void __iomem *ctrl_base = musb->ctrl_base; |
@@ -2231,7 +2239,7 @@ static struct platform_driver musb_driver = { | |||
2231 | .owner = THIS_MODULE, | 2239 | .owner = THIS_MODULE, |
2232 | .pm = MUSB_DEV_PM_OPS, | 2240 | .pm = MUSB_DEV_PM_OPS, |
2233 | }, | 2241 | }, |
2234 | .remove = __devexit_p(musb_remove), | 2242 | .remove = __exit_p(musb_remove), |
2235 | .shutdown = musb_shutdown, | 2243 | .shutdown = musb_shutdown, |
2236 | }; | 2244 | }; |
2237 | 2245 | ||
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index c49b9ba025ab..cbcf14a236e6 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -309,7 +309,7 @@ static void txstate(struct musb *musb, struct musb_request *req) | |||
309 | size_t request_size; | 309 | size_t request_size; |
310 | 310 | ||
311 | /* setup DMA, then program endpoint CSR */ | 311 | /* setup DMA, then program endpoint CSR */ |
312 | request_size = min(request->length, | 312 | request_size = min_t(size_t, request->length, |
313 | musb_ep->dma->max_len); | 313 | musb_ep->dma->max_len); |
314 | if (request_size < musb_ep->packet_sz) | 314 | if (request_size < musb_ep->packet_sz) |
315 | musb_ep->dma->desired_mode = 0; | 315 | musb_ep->dma->desired_mode = 0; |
@@ -319,7 +319,7 @@ static void txstate(struct musb *musb, struct musb_request *req) | |||
319 | use_dma = use_dma && c->channel_program( | 319 | use_dma = use_dma && c->channel_program( |
320 | musb_ep->dma, musb_ep->packet_sz, | 320 | musb_ep->dma, musb_ep->packet_sz, |
321 | musb_ep->dma->desired_mode, | 321 | musb_ep->dma->desired_mode, |
322 | request->dma, request_size); | 322 | request->dma + request->actual, request_size); |
323 | if (use_dma) { | 323 | if (use_dma) { |
324 | if (musb_ep->dma->desired_mode == 0) { | 324 | if (musb_ep->dma->desired_mode == 0) { |
325 | /* | 325 | /* |
@@ -515,12 +515,12 @@ void musb_g_tx(struct musb *musb, u8 epnum) | |||
515 | if (csr & MUSB_TXCSR_FIFONOTEMPTY) | 515 | if (csr & MUSB_TXCSR_FIFONOTEMPTY) |
516 | return; | 516 | return; |
517 | 517 | ||
518 | if (!musb_ep->desc) { | 518 | request = musb_ep->desc ? next_request(musb_ep) : NULL; |
519 | if (!request) { | ||
519 | DBG(4, "%s idle now\n", | 520 | DBG(4, "%s idle now\n", |
520 | musb_ep->end_point.name); | 521 | musb_ep->end_point.name); |
521 | return; | 522 | return; |
522 | } else | 523 | } |
523 | request = next_request(musb_ep); | ||
524 | } | 524 | } |
525 | 525 | ||
526 | txstate(musb, to_musb_request(request)); | 526 | txstate(musb, to_musb_request(request)); |
@@ -746,6 +746,8 @@ void musb_g_rx(struct musb *musb, u8 epnum) | |||
746 | musb_ep_select(mbase, epnum); | 746 | musb_ep_select(mbase, epnum); |
747 | 747 | ||
748 | request = next_request(musb_ep); | 748 | request = next_request(musb_ep); |
749 | if (!request) | ||
750 | return; | ||
749 | 751 | ||
750 | csr = musb_readw(epio, MUSB_RXCSR); | 752 | csr = musb_readw(epio, MUSB_RXCSR); |
751 | dma = is_dma_capable() ? musb_ep->dma : NULL; | 753 | dma = is_dma_capable() ? musb_ep->dma : NULL; |
@@ -1731,6 +1733,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) | |||
1731 | spin_lock_irqsave(&musb->lock, flags); | 1733 | spin_lock_irqsave(&musb->lock, flags); |
1732 | 1734 | ||
1733 | otg_set_peripheral(musb->xceiv, &musb->g); | 1735 | otg_set_peripheral(musb->xceiv, &musb->g); |
1736 | musb->xceiv->state = OTG_STATE_B_IDLE; | ||
1734 | musb->is_active = 1; | 1737 | musb->is_active = 1; |
1735 | 1738 | ||
1736 | /* FIXME this ignores the softconnect flag. Drivers are | 1739 | /* FIXME this ignores the softconnect flag. Drivers are |
diff --git a/drivers/usb/musb/musb_gadget_ep0.c b/drivers/usb/musb/musb_gadget_ep0.c index 8fba3f11e473..53d06451f820 100644 --- a/drivers/usb/musb/musb_gadget_ep0.c +++ b/drivers/usb/musb/musb_gadget_ep0.c | |||
@@ -664,7 +664,7 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb) | |||
664 | musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; | 664 | musb->ep0_state = MUSB_EP0_STAGE_STATUSIN; |
665 | break; | 665 | break; |
666 | default: | 666 | default: |
667 | ERR("SetupEnd came in a wrong ep0stage %s", | 667 | ERR("SetupEnd came in a wrong ep0stage %s\n", |
668 | decode_ep0stage(musb->ep0_state)); | 668 | decode_ep0stage(musb->ep0_state)); |
669 | } | 669 | } |
670 | csr = musb_readw(regs, MUSB_CSR0); | 670 | csr = musb_readw(regs, MUSB_CSR0); |
@@ -787,12 +787,18 @@ setup: | |||
787 | handled = service_zero_data_request( | 787 | handled = service_zero_data_request( |
788 | musb, &setup); | 788 | musb, &setup); |
789 | 789 | ||
790 | /* | ||
791 | * We're expecting no data in any case, so | ||
792 | * always set the DATAEND bit -- doing this | ||
793 | * here helps avoid SetupEnd interrupt coming | ||
794 | * in the idle stage when we're stalling... | ||
795 | */ | ||
796 | musb->ackpend |= MUSB_CSR0_P_DATAEND; | ||
797 | |||
790 | /* status stage might be immediate */ | 798 | /* status stage might be immediate */ |
791 | if (handled > 0) { | 799 | if (handled > 0) |
792 | musb->ackpend |= MUSB_CSR0_P_DATAEND; | ||
793 | musb->ep0_state = | 800 | musb->ep0_state = |
794 | MUSB_EP0_STAGE_STATUSIN; | 801 | MUSB_EP0_STAGE_STATUSIN; |
795 | } | ||
796 | break; | 802 | break; |
797 | 803 | ||
798 | /* sequence #1 (IN to host), includes GET_STATUS | 804 | /* sequence #1 (IN to host), includes GET_STATUS |
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c index d54460a88173..78a209709260 100644 --- a/drivers/usb/otg/isp1301_omap.c +++ b/drivers/usb/otg/isp1301_omap.c | |||
@@ -843,7 +843,7 @@ static irqreturn_t omap_otg_irq(int irq, void *_isp) | |||
843 | 843 | ||
844 | static struct platform_device *otg_dev; | 844 | static struct platform_device *otg_dev; |
845 | 845 | ||
846 | static int otg_init(struct isp1301 *isp) | 846 | static int isp1301_otg_init(struct isp1301 *isp) |
847 | { | 847 | { |
848 | u32 l; | 848 | u32 l; |
849 | 849 | ||
@@ -1275,7 +1275,7 @@ static int __exit isp1301_remove(struct i2c_client *i2c) | |||
1275 | static int isp1301_otg_enable(struct isp1301 *isp) | 1275 | static int isp1301_otg_enable(struct isp1301 *isp) |
1276 | { | 1276 | { |
1277 | power_up(isp); | 1277 | power_up(isp); |
1278 | otg_init(isp); | 1278 | isp1301_otg_init(isp); |
1279 | 1279 | ||
1280 | /* NOTE: since we don't change this, this provides | 1280 | /* NOTE: since we don't change this, this provides |
1281 | * a few more interrupts than are strictly needed. | 1281 | * a few more interrupts than are strictly needed. |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index f99498fca99a..216f187582ab 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/serial.h> | 44 | #include <linux/serial.h> |
45 | #include <linux/usb/serial.h> | 45 | #include <linux/usb/serial.h> |
46 | #include "ftdi_sio.h" | 46 | #include "ftdi_sio.h" |
47 | #include "ftdi_sio_ids.h" | ||
47 | 48 | ||
48 | /* | 49 | /* |
49 | * Version Information | 50 | * Version Information |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 4586a24fafb0..b0e0d64f822e 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -1,7 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * Definitions for the FTDI USB Single Port Serial Converter - | 2 | * Driver definitions for the FTDI USB Single Port Serial Converter - |
3 | * known as FTDI_SIO (Serial Input/Output application of the chipset) | 3 | * known as FTDI_SIO (Serial Input/Output application of the chipset) |
4 | * | 4 | * |
5 | * For USB vendor/product IDs (VID/PID), please see ftdi_sio_ids.h | ||
6 | * | ||
7 | * | ||
5 | * The example I have is known as the USC-1000 which is available from | 8 | * The example I have is known as the USC-1000 which is available from |
6 | * http://www.dse.co.nz - cat no XH4214 It looks similar to this: | 9 | * http://www.dse.co.nz - cat no XH4214 It looks similar to this: |
7 | * http://www.dansdata.com/usbser.htm but I can't be sure There are other | 10 | * http://www.dansdata.com/usbser.htm but I can't be sure There are other |
@@ -17,880 +20,7 @@ | |||
17 | * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the | 20 | * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the |
18 | * FTDI_SIO implementation. | 21 | * FTDI_SIO implementation. |
19 | * | 22 | * |
20 | * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais | ||
21 | * from Rudolf Gugler | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #define FTDI_VID 0x0403 /* Vendor Id */ | ||
26 | #define FTDI_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */ | ||
27 | #define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */ | ||
28 | #define FTDI_8U232AM_ALT_PID 0x6006 /* FTDI's alternate PID for above */ | ||
29 | #define FTDI_8U2232C_PID 0x6010 /* Dual channel device */ | ||
30 | #define FTDI_232RL_PID 0xFBFA /* Product ID for FT232RL */ | ||
31 | #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ | ||
32 | #define FTDI_RELAIS_PID 0xFA10 /* Relais device from Rudolf Gugler */ | ||
33 | #define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */ | ||
34 | #define FTDI_NF_RIC_PID 0x0001 /* Product Id */ | ||
35 | #define FTDI_USBX_707_PID 0xF857 /* ADSTech IR Blaster USBX-707 */ | ||
36 | |||
37 | /* Larsen and Brusgaard AltiTrack/USBtrack */ | ||
38 | #define LARSENBRUSGAARD_VID 0x0FD8 | ||
39 | #define LB_ALTITRACK_PID 0x0001 | ||
40 | |||
41 | /* www.canusb.com Lawicel CANUSB device */ | ||
42 | #define FTDI_CANUSB_PID 0xFFA8 /* Product Id */ | ||
43 | |||
44 | /* AlphaMicro Components AMC-232USB01 device */ | ||
45 | #define FTDI_AMC232_PID 0xFF00 /* Product Id */ | ||
46 | |||
47 | /* www.candapter.com Ewert Energy Systems CANdapter device */ | ||
48 | #define FTDI_CANDAPTER_PID 0x9F80 /* Product Id */ | ||
49 | |||
50 | /* SCS HF Radio Modems PID's (http://www.scs-ptc.com) */ | ||
51 | /* the VID is the standard ftdi vid (FTDI_VID) */ | ||
52 | #define FTDI_SCS_DEVICE_0_PID 0xD010 /* SCS PTC-IIusb */ | ||
53 | #define FTDI_SCS_DEVICE_1_PID 0xD011 /* SCS Tracker / DSP TNC */ | ||
54 | #define FTDI_SCS_DEVICE_2_PID 0xD012 | ||
55 | #define FTDI_SCS_DEVICE_3_PID 0xD013 | ||
56 | #define FTDI_SCS_DEVICE_4_PID 0xD014 | ||
57 | #define FTDI_SCS_DEVICE_5_PID 0xD015 | ||
58 | #define FTDI_SCS_DEVICE_6_PID 0xD016 | ||
59 | #define FTDI_SCS_DEVICE_7_PID 0xD017 | ||
60 | |||
61 | /* ACT Solutions HomePro ZWave interface (http://www.act-solutions.com/HomePro.htm) */ | ||
62 | #define FTDI_ACTZWAVE_PID 0xF2D0 | ||
63 | |||
64 | |||
65 | /* www.starting-point-systems.com µChameleon device */ | ||
66 | #define FTDI_MICRO_CHAMELEON_PID 0xCAA0 /* Product Id */ | ||
67 | |||
68 | /* www.irtrans.de device */ | ||
69 | #define FTDI_IRTRANS_PID 0xFC60 /* Product Id */ | ||
70 | |||
71 | |||
72 | /* www.thoughttechnology.com/ TT-USB provide with procomp use ftdi_sio */ | ||
73 | #define FTDI_TTUSB_PID 0xFF20 /* Product Id */ | ||
74 | |||
75 | /* iPlus device */ | ||
76 | #define FTDI_IPLUS_PID 0xD070 /* Product Id */ | ||
77 | #define FTDI_IPLUS2_PID 0xD071 /* Product Id */ | ||
78 | |||
79 | /* DMX4ALL DMX Interfaces */ | ||
80 | #define FTDI_DMX4ALL 0xC850 | ||
81 | |||
82 | /* OpenDCC (www.opendcc.de) product id */ | ||
83 | #define FTDI_OPENDCC_PID 0xBFD8 | ||
84 | #define FTDI_OPENDCC_SNIFFER_PID 0xBFD9 | ||
85 | #define FTDI_OPENDCC_THROTTLE_PID 0xBFDA | ||
86 | #define FTDI_OPENDCC_GATEWAY_PID 0xBFDB | ||
87 | |||
88 | /* Sprog II (Andrew Crosland's SprogII DCC interface) */ | ||
89 | #define FTDI_SPROG_II 0xF0C8 | ||
90 | |||
91 | /* www.crystalfontz.com devices - thanx for providing free devices for evaluation ! */ | ||
92 | /* they use the ftdi chipset for the USB interface and the vendor id is the same */ | ||
93 | #define FTDI_XF_632_PID 0xFC08 /* 632: 16x2 Character Display */ | ||
94 | #define FTDI_XF_634_PID 0xFC09 /* 634: 20x4 Character Display */ | ||
95 | #define FTDI_XF_547_PID 0xFC0A /* 547: Two line Display */ | ||
96 | #define FTDI_XF_633_PID 0xFC0B /* 633: 16x2 Character Display with Keys */ | ||
97 | #define FTDI_XF_631_PID 0xFC0C /* 631: 20x2 Character Display */ | ||
98 | #define FTDI_XF_635_PID 0xFC0D /* 635: 20x4 Character Display */ | ||
99 | #define FTDI_XF_640_PID 0xFC0E /* 640: Two line Display */ | ||
100 | #define FTDI_XF_642_PID 0xFC0F /* 642: Two line Display */ | ||
101 | |||
102 | /* Video Networks Limited / Homechoice in the UK use an ftdi-based device for their 1Mb */ | ||
103 | /* broadband internet service. The following PID is exhibited by the usb device supplied */ | ||
104 | /* (the VID is the standard ftdi vid (FTDI_VID) */ | ||
105 | #define FTDI_VNHCPCUSB_D_PID 0xfe38 /* Product Id */ | ||
106 | |||
107 | /* | ||
108 | * PCDJ use ftdi based dj-controllers. The following PID is for their DAC-2 device | ||
109 | * http://www.pcdjhardware.com/DAC2.asp (PID sent by Wouter Paesen) | ||
110 | * (the VID is the standard ftdi vid (FTDI_VID) */ | ||
111 | #define FTDI_PCDJ_DAC2_PID 0xFA88 | ||
112 | |||
113 | /* | ||
114 | * The following are the values for the Matrix Orbital LCD displays, | ||
115 | * which are the FT232BM ( similar to the 8U232AM ) | ||
116 | */ | ||
117 | #define FTDI_MTXORB_0_PID 0xFA00 /* Matrix Orbital Product Id */ | ||
118 | #define FTDI_MTXORB_1_PID 0xFA01 /* Matrix Orbital Product Id */ | ||
119 | #define FTDI_MTXORB_2_PID 0xFA02 /* Matrix Orbital Product Id */ | ||
120 | #define FTDI_MTXORB_3_PID 0xFA03 /* Matrix Orbital Product Id */ | ||
121 | #define FTDI_MTXORB_4_PID 0xFA04 /* Matrix Orbital Product Id */ | ||
122 | #define FTDI_MTXORB_5_PID 0xFA05 /* Matrix Orbital Product Id */ | ||
123 | #define FTDI_MTXORB_6_PID 0xFA06 /* Matrix Orbital Product Id */ | ||
124 | |||
125 | /* OOCDlink by Joern Kaipf <joernk@web.de> | ||
126 | * (http://www.joernonline.de/dw/doku.php?id=start&idx=projects:oocdlink) */ | ||
127 | #define FTDI_OOCDLINK_PID 0xbaf8 /* Amontec JTAGkey */ | ||
128 | |||
129 | /* | ||
130 | * The following are the values for the Matrix Orbital FTDI Range | ||
131 | * Anything in this range will use an FT232RL. | ||
132 | */ | ||
133 | #define MTXORB_VID 0x1B3D | ||
134 | #define MTXORB_FTDI_RANGE_0100_PID 0x0100 | ||
135 | #define MTXORB_FTDI_RANGE_0101_PID 0x0101 | ||
136 | #define MTXORB_FTDI_RANGE_0102_PID 0x0102 | ||
137 | #define MTXORB_FTDI_RANGE_0103_PID 0x0103 | ||
138 | #define MTXORB_FTDI_RANGE_0104_PID 0x0104 | ||
139 | #define MTXORB_FTDI_RANGE_0105_PID 0x0105 | ||
140 | #define MTXORB_FTDI_RANGE_0106_PID 0x0106 | ||
141 | #define MTXORB_FTDI_RANGE_0107_PID 0x0107 | ||
142 | #define MTXORB_FTDI_RANGE_0108_PID 0x0108 | ||
143 | #define MTXORB_FTDI_RANGE_0109_PID 0x0109 | ||
144 | #define MTXORB_FTDI_RANGE_010A_PID 0x010A | ||
145 | #define MTXORB_FTDI_RANGE_010B_PID 0x010B | ||
146 | #define MTXORB_FTDI_RANGE_010C_PID 0x010C | ||
147 | #define MTXORB_FTDI_RANGE_010D_PID 0x010D | ||
148 | #define MTXORB_FTDI_RANGE_010E_PID 0x010E | ||
149 | #define MTXORB_FTDI_RANGE_010F_PID 0x010F | ||
150 | #define MTXORB_FTDI_RANGE_0110_PID 0x0110 | ||
151 | #define MTXORB_FTDI_RANGE_0111_PID 0x0111 | ||
152 | #define MTXORB_FTDI_RANGE_0112_PID 0x0112 | ||
153 | #define MTXORB_FTDI_RANGE_0113_PID 0x0113 | ||
154 | #define MTXORB_FTDI_RANGE_0114_PID 0x0114 | ||
155 | #define MTXORB_FTDI_RANGE_0115_PID 0x0115 | ||
156 | #define MTXORB_FTDI_RANGE_0116_PID 0x0116 | ||
157 | #define MTXORB_FTDI_RANGE_0117_PID 0x0117 | ||
158 | #define MTXORB_FTDI_RANGE_0118_PID 0x0118 | ||
159 | #define MTXORB_FTDI_RANGE_0119_PID 0x0119 | ||
160 | #define MTXORB_FTDI_RANGE_011A_PID 0x011A | ||
161 | #define MTXORB_FTDI_RANGE_011B_PID 0x011B | ||
162 | #define MTXORB_FTDI_RANGE_011C_PID 0x011C | ||
163 | #define MTXORB_FTDI_RANGE_011D_PID 0x011D | ||
164 | #define MTXORB_FTDI_RANGE_011E_PID 0x011E | ||
165 | #define MTXORB_FTDI_RANGE_011F_PID 0x011F | ||
166 | #define MTXORB_FTDI_RANGE_0120_PID 0x0120 | ||
167 | #define MTXORB_FTDI_RANGE_0121_PID 0x0121 | ||
168 | #define MTXORB_FTDI_RANGE_0122_PID 0x0122 | ||
169 | #define MTXORB_FTDI_RANGE_0123_PID 0x0123 | ||
170 | #define MTXORB_FTDI_RANGE_0124_PID 0x0124 | ||
171 | #define MTXORB_FTDI_RANGE_0125_PID 0x0125 | ||
172 | #define MTXORB_FTDI_RANGE_0126_PID 0x0126 | ||
173 | #define MTXORB_FTDI_RANGE_0127_PID 0x0127 | ||
174 | #define MTXORB_FTDI_RANGE_0128_PID 0x0128 | ||
175 | #define MTXORB_FTDI_RANGE_0129_PID 0x0129 | ||
176 | #define MTXORB_FTDI_RANGE_012A_PID 0x012A | ||
177 | #define MTXORB_FTDI_RANGE_012B_PID 0x012B | ||
178 | #define MTXORB_FTDI_RANGE_012C_PID 0x012C | ||
179 | #define MTXORB_FTDI_RANGE_012D_PID 0x012D | ||
180 | #define MTXORB_FTDI_RANGE_012E_PID 0x012E | ||
181 | #define MTXORB_FTDI_RANGE_012F_PID 0x012F | ||
182 | #define MTXORB_FTDI_RANGE_0130_PID 0x0130 | ||
183 | #define MTXORB_FTDI_RANGE_0131_PID 0x0131 | ||
184 | #define MTXORB_FTDI_RANGE_0132_PID 0x0132 | ||
185 | #define MTXORB_FTDI_RANGE_0133_PID 0x0133 | ||
186 | #define MTXORB_FTDI_RANGE_0134_PID 0x0134 | ||
187 | #define MTXORB_FTDI_RANGE_0135_PID 0x0135 | ||
188 | #define MTXORB_FTDI_RANGE_0136_PID 0x0136 | ||
189 | #define MTXORB_FTDI_RANGE_0137_PID 0x0137 | ||
190 | #define MTXORB_FTDI_RANGE_0138_PID 0x0138 | ||
191 | #define MTXORB_FTDI_RANGE_0139_PID 0x0139 | ||
192 | #define MTXORB_FTDI_RANGE_013A_PID 0x013A | ||
193 | #define MTXORB_FTDI_RANGE_013B_PID 0x013B | ||
194 | #define MTXORB_FTDI_RANGE_013C_PID 0x013C | ||
195 | #define MTXORB_FTDI_RANGE_013D_PID 0x013D | ||
196 | #define MTXORB_FTDI_RANGE_013E_PID 0x013E | ||
197 | #define MTXORB_FTDI_RANGE_013F_PID 0x013F | ||
198 | #define MTXORB_FTDI_RANGE_0140_PID 0x0140 | ||
199 | #define MTXORB_FTDI_RANGE_0141_PID 0x0141 | ||
200 | #define MTXORB_FTDI_RANGE_0142_PID 0x0142 | ||
201 | #define MTXORB_FTDI_RANGE_0143_PID 0x0143 | ||
202 | #define MTXORB_FTDI_RANGE_0144_PID 0x0144 | ||
203 | #define MTXORB_FTDI_RANGE_0145_PID 0x0145 | ||
204 | #define MTXORB_FTDI_RANGE_0146_PID 0x0146 | ||
205 | #define MTXORB_FTDI_RANGE_0147_PID 0x0147 | ||
206 | #define MTXORB_FTDI_RANGE_0148_PID 0x0148 | ||
207 | #define MTXORB_FTDI_RANGE_0149_PID 0x0149 | ||
208 | #define MTXORB_FTDI_RANGE_014A_PID 0x014A | ||
209 | #define MTXORB_FTDI_RANGE_014B_PID 0x014B | ||
210 | #define MTXORB_FTDI_RANGE_014C_PID 0x014C | ||
211 | #define MTXORB_FTDI_RANGE_014D_PID 0x014D | ||
212 | #define MTXORB_FTDI_RANGE_014E_PID 0x014E | ||
213 | #define MTXORB_FTDI_RANGE_014F_PID 0x014F | ||
214 | #define MTXORB_FTDI_RANGE_0150_PID 0x0150 | ||
215 | #define MTXORB_FTDI_RANGE_0151_PID 0x0151 | ||
216 | #define MTXORB_FTDI_RANGE_0152_PID 0x0152 | ||
217 | #define MTXORB_FTDI_RANGE_0153_PID 0x0153 | ||
218 | #define MTXORB_FTDI_RANGE_0154_PID 0x0154 | ||
219 | #define MTXORB_FTDI_RANGE_0155_PID 0x0155 | ||
220 | #define MTXORB_FTDI_RANGE_0156_PID 0x0156 | ||
221 | #define MTXORB_FTDI_RANGE_0157_PID 0x0157 | ||
222 | #define MTXORB_FTDI_RANGE_0158_PID 0x0158 | ||
223 | #define MTXORB_FTDI_RANGE_0159_PID 0x0159 | ||
224 | #define MTXORB_FTDI_RANGE_015A_PID 0x015A | ||
225 | #define MTXORB_FTDI_RANGE_015B_PID 0x015B | ||
226 | #define MTXORB_FTDI_RANGE_015C_PID 0x015C | ||
227 | #define MTXORB_FTDI_RANGE_015D_PID 0x015D | ||
228 | #define MTXORB_FTDI_RANGE_015E_PID 0x015E | ||
229 | #define MTXORB_FTDI_RANGE_015F_PID 0x015F | ||
230 | #define MTXORB_FTDI_RANGE_0160_PID 0x0160 | ||
231 | #define MTXORB_FTDI_RANGE_0161_PID 0x0161 | ||
232 | #define MTXORB_FTDI_RANGE_0162_PID 0x0162 | ||
233 | #define MTXORB_FTDI_RANGE_0163_PID 0x0163 | ||
234 | #define MTXORB_FTDI_RANGE_0164_PID 0x0164 | ||
235 | #define MTXORB_FTDI_RANGE_0165_PID 0x0165 | ||
236 | #define MTXORB_FTDI_RANGE_0166_PID 0x0166 | ||
237 | #define MTXORB_FTDI_RANGE_0167_PID 0x0167 | ||
238 | #define MTXORB_FTDI_RANGE_0168_PID 0x0168 | ||
239 | #define MTXORB_FTDI_RANGE_0169_PID 0x0169 | ||
240 | #define MTXORB_FTDI_RANGE_016A_PID 0x016A | ||
241 | #define MTXORB_FTDI_RANGE_016B_PID 0x016B | ||
242 | #define MTXORB_FTDI_RANGE_016C_PID 0x016C | ||
243 | #define MTXORB_FTDI_RANGE_016D_PID 0x016D | ||
244 | #define MTXORB_FTDI_RANGE_016E_PID 0x016E | ||
245 | #define MTXORB_FTDI_RANGE_016F_PID 0x016F | ||
246 | #define MTXORB_FTDI_RANGE_0170_PID 0x0170 | ||
247 | #define MTXORB_FTDI_RANGE_0171_PID 0x0171 | ||
248 | #define MTXORB_FTDI_RANGE_0172_PID 0x0172 | ||
249 | #define MTXORB_FTDI_RANGE_0173_PID 0x0173 | ||
250 | #define MTXORB_FTDI_RANGE_0174_PID 0x0174 | ||
251 | #define MTXORB_FTDI_RANGE_0175_PID 0x0175 | ||
252 | #define MTXORB_FTDI_RANGE_0176_PID 0x0176 | ||
253 | #define MTXORB_FTDI_RANGE_0177_PID 0x0177 | ||
254 | #define MTXORB_FTDI_RANGE_0178_PID 0x0178 | ||
255 | #define MTXORB_FTDI_RANGE_0179_PID 0x0179 | ||
256 | #define MTXORB_FTDI_RANGE_017A_PID 0x017A | ||
257 | #define MTXORB_FTDI_RANGE_017B_PID 0x017B | ||
258 | #define MTXORB_FTDI_RANGE_017C_PID 0x017C | ||
259 | #define MTXORB_FTDI_RANGE_017D_PID 0x017D | ||
260 | #define MTXORB_FTDI_RANGE_017E_PID 0x017E | ||
261 | #define MTXORB_FTDI_RANGE_017F_PID 0x017F | ||
262 | #define MTXORB_FTDI_RANGE_0180_PID 0x0180 | ||
263 | #define MTXORB_FTDI_RANGE_0181_PID 0x0181 | ||
264 | #define MTXORB_FTDI_RANGE_0182_PID 0x0182 | ||
265 | #define MTXORB_FTDI_RANGE_0183_PID 0x0183 | ||
266 | #define MTXORB_FTDI_RANGE_0184_PID 0x0184 | ||
267 | #define MTXORB_FTDI_RANGE_0185_PID 0x0185 | ||
268 | #define MTXORB_FTDI_RANGE_0186_PID 0x0186 | ||
269 | #define MTXORB_FTDI_RANGE_0187_PID 0x0187 | ||
270 | #define MTXORB_FTDI_RANGE_0188_PID 0x0188 | ||
271 | #define MTXORB_FTDI_RANGE_0189_PID 0x0189 | ||
272 | #define MTXORB_FTDI_RANGE_018A_PID 0x018A | ||
273 | #define MTXORB_FTDI_RANGE_018B_PID 0x018B | ||
274 | #define MTXORB_FTDI_RANGE_018C_PID 0x018C | ||
275 | #define MTXORB_FTDI_RANGE_018D_PID 0x018D | ||
276 | #define MTXORB_FTDI_RANGE_018E_PID 0x018E | ||
277 | #define MTXORB_FTDI_RANGE_018F_PID 0x018F | ||
278 | #define MTXORB_FTDI_RANGE_0190_PID 0x0190 | ||
279 | #define MTXORB_FTDI_RANGE_0191_PID 0x0191 | ||
280 | #define MTXORB_FTDI_RANGE_0192_PID 0x0192 | ||
281 | #define MTXORB_FTDI_RANGE_0193_PID 0x0193 | ||
282 | #define MTXORB_FTDI_RANGE_0194_PID 0x0194 | ||
283 | #define MTXORB_FTDI_RANGE_0195_PID 0x0195 | ||
284 | #define MTXORB_FTDI_RANGE_0196_PID 0x0196 | ||
285 | #define MTXORB_FTDI_RANGE_0197_PID 0x0197 | ||
286 | #define MTXORB_FTDI_RANGE_0198_PID 0x0198 | ||
287 | #define MTXORB_FTDI_RANGE_0199_PID 0x0199 | ||
288 | #define MTXORB_FTDI_RANGE_019A_PID 0x019A | ||
289 | #define MTXORB_FTDI_RANGE_019B_PID 0x019B | ||
290 | #define MTXORB_FTDI_RANGE_019C_PID 0x019C | ||
291 | #define MTXORB_FTDI_RANGE_019D_PID 0x019D | ||
292 | #define MTXORB_FTDI_RANGE_019E_PID 0x019E | ||
293 | #define MTXORB_FTDI_RANGE_019F_PID 0x019F | ||
294 | #define MTXORB_FTDI_RANGE_01A0_PID 0x01A0 | ||
295 | #define MTXORB_FTDI_RANGE_01A1_PID 0x01A1 | ||
296 | #define MTXORB_FTDI_RANGE_01A2_PID 0x01A2 | ||
297 | #define MTXORB_FTDI_RANGE_01A3_PID 0x01A3 | ||
298 | #define MTXORB_FTDI_RANGE_01A4_PID 0x01A4 | ||
299 | #define MTXORB_FTDI_RANGE_01A5_PID 0x01A5 | ||
300 | #define MTXORB_FTDI_RANGE_01A6_PID 0x01A6 | ||
301 | #define MTXORB_FTDI_RANGE_01A7_PID 0x01A7 | ||
302 | #define MTXORB_FTDI_RANGE_01A8_PID 0x01A8 | ||
303 | #define MTXORB_FTDI_RANGE_01A9_PID 0x01A9 | ||
304 | #define MTXORB_FTDI_RANGE_01AA_PID 0x01AA | ||
305 | #define MTXORB_FTDI_RANGE_01AB_PID 0x01AB | ||
306 | #define MTXORB_FTDI_RANGE_01AC_PID 0x01AC | ||
307 | #define MTXORB_FTDI_RANGE_01AD_PID 0x01AD | ||
308 | #define MTXORB_FTDI_RANGE_01AE_PID 0x01AE | ||
309 | #define MTXORB_FTDI_RANGE_01AF_PID 0x01AF | ||
310 | #define MTXORB_FTDI_RANGE_01B0_PID 0x01B0 | ||
311 | #define MTXORB_FTDI_RANGE_01B1_PID 0x01B1 | ||
312 | #define MTXORB_FTDI_RANGE_01B2_PID 0x01B2 | ||
313 | #define MTXORB_FTDI_RANGE_01B3_PID 0x01B3 | ||
314 | #define MTXORB_FTDI_RANGE_01B4_PID 0x01B4 | ||
315 | #define MTXORB_FTDI_RANGE_01B5_PID 0x01B5 | ||
316 | #define MTXORB_FTDI_RANGE_01B6_PID 0x01B6 | ||
317 | #define MTXORB_FTDI_RANGE_01B7_PID 0x01B7 | ||
318 | #define MTXORB_FTDI_RANGE_01B8_PID 0x01B8 | ||
319 | #define MTXORB_FTDI_RANGE_01B9_PID 0x01B9 | ||
320 | #define MTXORB_FTDI_RANGE_01BA_PID 0x01BA | ||
321 | #define MTXORB_FTDI_RANGE_01BB_PID 0x01BB | ||
322 | #define MTXORB_FTDI_RANGE_01BC_PID 0x01BC | ||
323 | #define MTXORB_FTDI_RANGE_01BD_PID 0x01BD | ||
324 | #define MTXORB_FTDI_RANGE_01BE_PID 0x01BE | ||
325 | #define MTXORB_FTDI_RANGE_01BF_PID 0x01BF | ||
326 | #define MTXORB_FTDI_RANGE_01C0_PID 0x01C0 | ||
327 | #define MTXORB_FTDI_RANGE_01C1_PID 0x01C1 | ||
328 | #define MTXORB_FTDI_RANGE_01C2_PID 0x01C2 | ||
329 | #define MTXORB_FTDI_RANGE_01C3_PID 0x01C3 | ||
330 | #define MTXORB_FTDI_RANGE_01C4_PID 0x01C4 | ||
331 | #define MTXORB_FTDI_RANGE_01C5_PID 0x01C5 | ||
332 | #define MTXORB_FTDI_RANGE_01C6_PID 0x01C6 | ||
333 | #define MTXORB_FTDI_RANGE_01C7_PID 0x01C7 | ||
334 | #define MTXORB_FTDI_RANGE_01C8_PID 0x01C8 | ||
335 | #define MTXORB_FTDI_RANGE_01C9_PID 0x01C9 | ||
336 | #define MTXORB_FTDI_RANGE_01CA_PID 0x01CA | ||
337 | #define MTXORB_FTDI_RANGE_01CB_PID 0x01CB | ||
338 | #define MTXORB_FTDI_RANGE_01CC_PID 0x01CC | ||
339 | #define MTXORB_FTDI_RANGE_01CD_PID 0x01CD | ||
340 | #define MTXORB_FTDI_RANGE_01CE_PID 0x01CE | ||
341 | #define MTXORB_FTDI_RANGE_01CF_PID 0x01CF | ||
342 | #define MTXORB_FTDI_RANGE_01D0_PID 0x01D0 | ||
343 | #define MTXORB_FTDI_RANGE_01D1_PID 0x01D1 | ||
344 | #define MTXORB_FTDI_RANGE_01D2_PID 0x01D2 | ||
345 | #define MTXORB_FTDI_RANGE_01D3_PID 0x01D3 | ||
346 | #define MTXORB_FTDI_RANGE_01D4_PID 0x01D4 | ||
347 | #define MTXORB_FTDI_RANGE_01D5_PID 0x01D5 | ||
348 | #define MTXORB_FTDI_RANGE_01D6_PID 0x01D6 | ||
349 | #define MTXORB_FTDI_RANGE_01D7_PID 0x01D7 | ||
350 | #define MTXORB_FTDI_RANGE_01D8_PID 0x01D8 | ||
351 | #define MTXORB_FTDI_RANGE_01D9_PID 0x01D9 | ||
352 | #define MTXORB_FTDI_RANGE_01DA_PID 0x01DA | ||
353 | #define MTXORB_FTDI_RANGE_01DB_PID 0x01DB | ||
354 | #define MTXORB_FTDI_RANGE_01DC_PID 0x01DC | ||
355 | #define MTXORB_FTDI_RANGE_01DD_PID 0x01DD | ||
356 | #define MTXORB_FTDI_RANGE_01DE_PID 0x01DE | ||
357 | #define MTXORB_FTDI_RANGE_01DF_PID 0x01DF | ||
358 | #define MTXORB_FTDI_RANGE_01E0_PID 0x01E0 | ||
359 | #define MTXORB_FTDI_RANGE_01E1_PID 0x01E1 | ||
360 | #define MTXORB_FTDI_RANGE_01E2_PID 0x01E2 | ||
361 | #define MTXORB_FTDI_RANGE_01E3_PID 0x01E3 | ||
362 | #define MTXORB_FTDI_RANGE_01E4_PID 0x01E4 | ||
363 | #define MTXORB_FTDI_RANGE_01E5_PID 0x01E5 | ||
364 | #define MTXORB_FTDI_RANGE_01E6_PID 0x01E6 | ||
365 | #define MTXORB_FTDI_RANGE_01E7_PID 0x01E7 | ||
366 | #define MTXORB_FTDI_RANGE_01E8_PID 0x01E8 | ||
367 | #define MTXORB_FTDI_RANGE_01E9_PID 0x01E9 | ||
368 | #define MTXORB_FTDI_RANGE_01EA_PID 0x01EA | ||
369 | #define MTXORB_FTDI_RANGE_01EB_PID 0x01EB | ||
370 | #define MTXORB_FTDI_RANGE_01EC_PID 0x01EC | ||
371 | #define MTXORB_FTDI_RANGE_01ED_PID 0x01ED | ||
372 | #define MTXORB_FTDI_RANGE_01EE_PID 0x01EE | ||
373 | #define MTXORB_FTDI_RANGE_01EF_PID 0x01EF | ||
374 | #define MTXORB_FTDI_RANGE_01F0_PID 0x01F0 | ||
375 | #define MTXORB_FTDI_RANGE_01F1_PID 0x01F1 | ||
376 | #define MTXORB_FTDI_RANGE_01F2_PID 0x01F2 | ||
377 | #define MTXORB_FTDI_RANGE_01F3_PID 0x01F3 | ||
378 | #define MTXORB_FTDI_RANGE_01F4_PID 0x01F4 | ||
379 | #define MTXORB_FTDI_RANGE_01F5_PID 0x01F5 | ||
380 | #define MTXORB_FTDI_RANGE_01F6_PID 0x01F6 | ||
381 | #define MTXORB_FTDI_RANGE_01F7_PID 0x01F7 | ||
382 | #define MTXORB_FTDI_RANGE_01F8_PID 0x01F8 | ||
383 | #define MTXORB_FTDI_RANGE_01F9_PID 0x01F9 | ||
384 | #define MTXORB_FTDI_RANGE_01FA_PID 0x01FA | ||
385 | #define MTXORB_FTDI_RANGE_01FB_PID 0x01FB | ||
386 | #define MTXORB_FTDI_RANGE_01FC_PID 0x01FC | ||
387 | #define MTXORB_FTDI_RANGE_01FD_PID 0x01FD | ||
388 | #define MTXORB_FTDI_RANGE_01FE_PID 0x01FE | ||
389 | #define MTXORB_FTDI_RANGE_01FF_PID 0x01FF | ||
390 | |||
391 | |||
392 | |||
393 | /* Interbiometrics USB I/O Board */ | ||
394 | /* Developed for Interbiometrics by Rudolf Gugler */ | ||
395 | #define INTERBIOMETRICS_VID 0x1209 | ||
396 | #define INTERBIOMETRICS_IOBOARD_PID 0x1002 | ||
397 | #define INTERBIOMETRICS_MINI_IOBOARD_PID 0x1006 | ||
398 | |||
399 | /* | ||
400 | * The following are the values for the Perle Systems | ||
401 | * UltraPort USB serial converters | ||
402 | */ | ||
403 | #define FTDI_PERLE_ULTRAPORT_PID 0xF0C0 /* Perle UltraPort Product Id */ | ||
404 | |||
405 | /* | ||
406 | * The following are the values for the Sealevel SeaLINK+ adapters. | ||
407 | * (Original list sent by Tuan Hoang. Ian Abbott renamed the macros and | ||
408 | * removed some PIDs that don't seem to match any existing products.) | ||
409 | */ | ||
410 | #define SEALEVEL_VID 0x0c52 /* Sealevel Vendor ID */ | ||
411 | #define SEALEVEL_2101_PID 0x2101 /* SeaLINK+232 (2101/2105) */ | ||
412 | #define SEALEVEL_2102_PID 0x2102 /* SeaLINK+485 (2102) */ | ||
413 | #define SEALEVEL_2103_PID 0x2103 /* SeaLINK+232I (2103) */ | ||
414 | #define SEALEVEL_2104_PID 0x2104 /* SeaLINK+485I (2104) */ | ||
415 | #define SEALEVEL_2106_PID 0x9020 /* SeaLINK+422 (2106) */ | ||
416 | #define SEALEVEL_2201_1_PID 0x2211 /* SeaPORT+2/232 (2201) Port 1 */ | ||
417 | #define SEALEVEL_2201_2_PID 0x2221 /* SeaPORT+2/232 (2201) Port 2 */ | ||
418 | #define SEALEVEL_2202_1_PID 0x2212 /* SeaPORT+2/485 (2202) Port 1 */ | ||
419 | #define SEALEVEL_2202_2_PID 0x2222 /* SeaPORT+2/485 (2202) Port 2 */ | ||
420 | #define SEALEVEL_2203_1_PID 0x2213 /* SeaPORT+2 (2203) Port 1 */ | ||
421 | #define SEALEVEL_2203_2_PID 0x2223 /* SeaPORT+2 (2203) Port 2 */ | ||
422 | #define SEALEVEL_2401_1_PID 0x2411 /* SeaPORT+4/232 (2401) Port 1 */ | ||
423 | #define SEALEVEL_2401_2_PID 0x2421 /* SeaPORT+4/232 (2401) Port 2 */ | ||
424 | #define SEALEVEL_2401_3_PID 0x2431 /* SeaPORT+4/232 (2401) Port 3 */ | ||
425 | #define SEALEVEL_2401_4_PID 0x2441 /* SeaPORT+4/232 (2401) Port 4 */ | ||
426 | #define SEALEVEL_2402_1_PID 0x2412 /* SeaPORT+4/485 (2402) Port 1 */ | ||
427 | #define SEALEVEL_2402_2_PID 0x2422 /* SeaPORT+4/485 (2402) Port 2 */ | ||
428 | #define SEALEVEL_2402_3_PID 0x2432 /* SeaPORT+4/485 (2402) Port 3 */ | ||
429 | #define SEALEVEL_2402_4_PID 0x2442 /* SeaPORT+4/485 (2402) Port 4 */ | ||
430 | #define SEALEVEL_2403_1_PID 0x2413 /* SeaPORT+4 (2403) Port 1 */ | ||
431 | #define SEALEVEL_2403_2_PID 0x2423 /* SeaPORT+4 (2403) Port 2 */ | ||
432 | #define SEALEVEL_2403_3_PID 0x2433 /* SeaPORT+4 (2403) Port 3 */ | ||
433 | #define SEALEVEL_2403_4_PID 0x2443 /* SeaPORT+4 (2403) Port 4 */ | ||
434 | #define SEALEVEL_2801_1_PID 0X2811 /* SeaLINK+8/232 (2801) Port 1 */ | ||
435 | #define SEALEVEL_2801_2_PID 0X2821 /* SeaLINK+8/232 (2801) Port 2 */ | ||
436 | #define SEALEVEL_2801_3_PID 0X2831 /* SeaLINK+8/232 (2801) Port 3 */ | ||
437 | #define SEALEVEL_2801_4_PID 0X2841 /* SeaLINK+8/232 (2801) Port 4 */ | ||
438 | #define SEALEVEL_2801_5_PID 0X2851 /* SeaLINK+8/232 (2801) Port 5 */ | ||
439 | #define SEALEVEL_2801_6_PID 0X2861 /* SeaLINK+8/232 (2801) Port 6 */ | ||
440 | #define SEALEVEL_2801_7_PID 0X2871 /* SeaLINK+8/232 (2801) Port 7 */ | ||
441 | #define SEALEVEL_2801_8_PID 0X2881 /* SeaLINK+8/232 (2801) Port 8 */ | ||
442 | #define SEALEVEL_2802_1_PID 0X2812 /* SeaLINK+8/485 (2802) Port 1 */ | ||
443 | #define SEALEVEL_2802_2_PID 0X2822 /* SeaLINK+8/485 (2802) Port 2 */ | ||
444 | #define SEALEVEL_2802_3_PID 0X2832 /* SeaLINK+8/485 (2802) Port 3 */ | ||
445 | #define SEALEVEL_2802_4_PID 0X2842 /* SeaLINK+8/485 (2802) Port 4 */ | ||
446 | #define SEALEVEL_2802_5_PID 0X2852 /* SeaLINK+8/485 (2802) Port 5 */ | ||
447 | #define SEALEVEL_2802_6_PID 0X2862 /* SeaLINK+8/485 (2802) Port 6 */ | ||
448 | #define SEALEVEL_2802_7_PID 0X2872 /* SeaLINK+8/485 (2802) Port 7 */ | ||
449 | #define SEALEVEL_2802_8_PID 0X2882 /* SeaLINK+8/485 (2802) Port 8 */ | ||
450 | #define SEALEVEL_2803_1_PID 0X2813 /* SeaLINK+8 (2803) Port 1 */ | ||
451 | #define SEALEVEL_2803_2_PID 0X2823 /* SeaLINK+8 (2803) Port 2 */ | ||
452 | #define SEALEVEL_2803_3_PID 0X2833 /* SeaLINK+8 (2803) Port 3 */ | ||
453 | #define SEALEVEL_2803_4_PID 0X2843 /* SeaLINK+8 (2803) Port 4 */ | ||
454 | #define SEALEVEL_2803_5_PID 0X2853 /* SeaLINK+8 (2803) Port 5 */ | ||
455 | #define SEALEVEL_2803_6_PID 0X2863 /* SeaLINK+8 (2803) Port 6 */ | ||
456 | #define SEALEVEL_2803_7_PID 0X2873 /* SeaLINK+8 (2803) Port 7 */ | ||
457 | #define SEALEVEL_2803_8_PID 0X2883 /* SeaLINK+8 (2803) Port 8 */ | ||
458 | |||
459 | /* | ||
460 | * The following are the values for two KOBIL chipcard terminals. | ||
461 | */ | ||
462 | #define KOBIL_VID 0x0d46 /* KOBIL Vendor ID */ | ||
463 | #define KOBIL_CONV_B1_PID 0x2020 /* KOBIL Konverter for B1 */ | ||
464 | #define KOBIL_CONV_KAAN_PID 0x2021 /* KOBIL_Konverter for KAAN */ | ||
465 | |||
466 | /* | ||
467 | * Icom ID-1 digital transceiver | ||
468 | */ | ||
469 | |||
470 | #define ICOM_ID1_VID 0x0C26 | ||
471 | #define ICOM_ID1_PID 0x0004 | ||
472 | |||
473 | /* | ||
474 | * ASK.fr devices | ||
475 | */ | ||
476 | #define FTDI_ASK_RDR400_PID 0xC991 /* ASK RDR 400 series card reader */ | ||
477 | |||
478 | /* | ||
479 | * FTDI USB UART chips used in construction projects from the | ||
480 | * Elektor Electronics magazine (http://elektor-electronics.co.uk) | ||
481 | */ | ||
482 | #define ELEKTOR_VID 0x0C7D | ||
483 | #define ELEKTOR_FT323R_PID 0x0005 /* RFID-Reader, issue 09-2006 */ | ||
484 | |||
485 | /* | ||
486 | * DSS-20 Sync Station for Sony Ericsson P800 | ||
487 | */ | ||
488 | #define FTDI_DSS20_PID 0xFC82 | ||
489 | |||
490 | /* | ||
491 | * Home Electronics (www.home-electro.com) USB gadgets | ||
492 | */ | ||
493 | #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ | ||
494 | |||
495 | /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ | ||
496 | /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */ | ||
497 | #define FTDI_USB_UIRT_PID 0xF850 /* Product Id */ | ||
498 | |||
499 | /* TNC-X USB-to-packet-radio adapter, versions prior to 3.0 (DLP module) */ | ||
500 | |||
501 | #define FTDI_TNC_X_PID 0xEBE0 | ||
502 | |||
503 | /* | ||
504 | * ELV USB devices submitted by Christian Abt of ELV (www.elv.de). | ||
505 | * All of these devices use FTDI's vendor ID (0x0403). | ||
506 | * | ||
507 | * The previously included PID for the UO 100 module was incorrect. | ||
508 | * In fact, that PID was for ELV's UR 100 USB-RS232 converter (0xFB58). | ||
509 | * | ||
510 | * Armin Laeuger originally sent the PID for the UM 100 module. | ||
511 | */ | ||
512 | #define FTDI_R2000KU_TRUE_RNG 0xFB80 /* R2000KU TRUE RNG */ | ||
513 | #define FTDI_ELV_UR100_PID 0xFB58 /* USB-RS232-Umsetzer (UR 100) */ | ||
514 | #define FTDI_ELV_UM100_PID 0xFB5A /* USB-Modul UM 100 */ | ||
515 | #define FTDI_ELV_UO100_PID 0xFB5B /* USB-Modul UO 100 */ | ||
516 | #define FTDI_ELV_ALC8500_PID 0xF06E /* ALC 8500 Expert */ | ||
517 | /* Additional ELV PIDs that default to using the FTDI D2XX drivers on | ||
518 | * MS Windows, rather than the FTDI Virtual Com Port drivers. | ||
519 | * Maybe these will be easier to use with the libftdi/libusb user-space | ||
520 | * drivers, or possibly the Comedi drivers in some cases. */ | ||
521 | #define FTDI_ELV_CLI7000_PID 0xFB59 /* Computer-Light-Interface (CLI 7000) */ | ||
522 | #define FTDI_ELV_PPS7330_PID 0xFB5C /* Processor-Power-Supply (PPS 7330) */ | ||
523 | #define FTDI_ELV_TFM100_PID 0xFB5D /* Temperartur-Feuchte Messgeraet (TFM 100) */ | ||
524 | #define FTDI_ELV_UDF77_PID 0xFB5E /* USB DCF Funkurh (UDF 77) */ | ||
525 | #define FTDI_ELV_UIO88_PID 0xFB5F /* USB-I/O Interface (UIO 88) */ | ||
526 | #define FTDI_ELV_UAD8_PID 0xF068 /* USB-AD-Wandler (UAD 8) */ | ||
527 | #define FTDI_ELV_UDA7_PID 0xF069 /* USB-DA-Wandler (UDA 7) */ | ||
528 | #define FTDI_ELV_USI2_PID 0xF06A /* USB-Schrittmotoren-Interface (USI 2) */ | ||
529 | #define FTDI_ELV_T1100_PID 0xF06B /* Thermometer (T 1100) */ | ||
530 | #define FTDI_ELV_PCD200_PID 0xF06C /* PC-Datenlogger (PCD 200) */ | ||
531 | #define FTDI_ELV_ULA200_PID 0xF06D /* USB-LCD-Ansteuerung (ULA 200) */ | ||
532 | #define FTDI_ELV_FHZ1000PC_PID 0xF06F /* FHZ 1000 PC */ | ||
533 | #define FTDI_ELV_CSI8_PID 0xE0F0 /* Computer-Schalt-Interface (CSI 8) */ | ||
534 | #define FTDI_ELV_EM1000DL_PID 0xE0F1 /* PC-Datenlogger fuer Energiemonitor (EM 1000 DL) */ | ||
535 | #define FTDI_ELV_PCK100_PID 0xE0F2 /* PC-Kabeltester (PCK 100) */ | ||
536 | #define FTDI_ELV_RFP500_PID 0xE0F3 /* HF-Leistungsmesser (RFP 500) */ | ||
537 | #define FTDI_ELV_FS20SIG_PID 0xE0F4 /* Signalgeber (FS 20 SIG) */ | ||
538 | #define FTDI_ELV_WS300PC_PID 0xE0F6 /* PC-Wetterstation (WS 300 PC) */ | ||
539 | #define FTDI_ELV_FHZ1300PC_PID 0xE0E8 /* FHZ 1300 PC */ | ||
540 | #define FTDI_ELV_WS500_PID 0xE0E9 /* PC-Wetterstation (WS 500) */ | ||
541 | #define FTDI_ELV_HS485_PID 0xE0EA /* USB to RS-485 adapter */ | ||
542 | #define FTDI_ELV_EM1010PC_PID 0xE0EF /* Engery monitor EM 1010 PC */ | ||
543 | #define FTDI_PHI_FISCO_PID 0xE40B /* PHI Fisco USB to Serial cable */ | ||
544 | |||
545 | /* | ||
546 | * Definitions for ID TECH (www.idt-net.com) devices | ||
547 | */ | ||
548 | #define IDTECH_VID 0x0ACD /* ID TECH Vendor ID */ | ||
549 | #define IDTECH_IDT1221U_PID 0x0300 /* IDT1221U USB to RS-232 adapter */ | ||
550 | |||
551 | /* | ||
552 | * Definitions for Omnidirectional Control Technology, Inc. devices | ||
553 | */ | ||
554 | #define OCT_VID 0x0B39 /* OCT vendor ID */ | ||
555 | /* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */ | ||
556 | /* Also rebadged as Dick Smith Electronics (Aus) XH6451 */ | ||
557 | /* Also rebadged as SIIG Inc. model US2308 hardware version 1 */ | ||
558 | #define OCT_US101_PID 0x0421 /* OCT US101 USB to RS-232 */ | ||
559 | |||
560 | /* an infrared receiver for user access control with IR tags */ | ||
561 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ | ||
562 | |||
563 | /* | ||
564 | * Definitions for Artemis astronomical USB based cameras | ||
565 | * Check it at http://www.artemisccd.co.uk/ | ||
566 | */ | ||
567 | #define FTDI_ARTEMIS_PID 0xDF28 /* All Artemis Cameras */ | ||
568 | |||
569 | /* | ||
570 | * Definitions for ATIK Instruments astronomical USB based cameras | ||
571 | * Check it at http://www.atik-instruments.com/ | ||
572 | */ | ||
573 | #define FTDI_ATIK_ATK16_PID 0xDF30 /* ATIK ATK-16 Grayscale Camera */ | ||
574 | #define FTDI_ATIK_ATK16C_PID 0xDF32 /* ATIK ATK-16C Colour Camera */ | ||
575 | #define FTDI_ATIK_ATK16HR_PID 0xDF31 /* ATIK ATK-16HR Grayscale Camera */ | ||
576 | #define FTDI_ATIK_ATK16HRC_PID 0xDF33 /* ATIK ATK-16HRC Colour Camera */ | ||
577 | #define FTDI_ATIK_ATK16IC_PID 0xDF35 /* ATIK ATK-16IC Grayscale Camera */ | ||
578 | |||
579 | /* | ||
580 | * Protego product ids | ||
581 | */ | ||
582 | #define PROTEGO_SPECIAL_1 0xFC70 /* special/unknown device */ | ||
583 | #define PROTEGO_R2X0 0xFC71 /* R200-USB TRNG unit (R210, R220, and R230) */ | ||
584 | #define PROTEGO_SPECIAL_3 0xFC72 /* special/unknown device */ | ||
585 | #define PROTEGO_SPECIAL_4 0xFC73 /* special/unknown device */ | ||
586 | |||
587 | /* | ||
588 | * Gude Analog- und Digitalsysteme GmbH | ||
589 | */ | ||
590 | #define FTDI_GUDEADS_E808_PID 0xE808 | ||
591 | #define FTDI_GUDEADS_E809_PID 0xE809 | ||
592 | #define FTDI_GUDEADS_E80A_PID 0xE80A | ||
593 | #define FTDI_GUDEADS_E80B_PID 0xE80B | ||
594 | #define FTDI_GUDEADS_E80C_PID 0xE80C | ||
595 | #define FTDI_GUDEADS_E80D_PID 0xE80D | ||
596 | #define FTDI_GUDEADS_E80E_PID 0xE80E | ||
597 | #define FTDI_GUDEADS_E80F_PID 0xE80F | ||
598 | #define FTDI_GUDEADS_E888_PID 0xE888 /* Expert ISDN Control USB */ | ||
599 | #define FTDI_GUDEADS_E889_PID 0xE889 /* USB RS-232 OptoBridge */ | ||
600 | #define FTDI_GUDEADS_E88A_PID 0xE88A | ||
601 | #define FTDI_GUDEADS_E88B_PID 0xE88B | ||
602 | #define FTDI_GUDEADS_E88C_PID 0xE88C | ||
603 | #define FTDI_GUDEADS_E88D_PID 0xE88D | ||
604 | #define FTDI_GUDEADS_E88E_PID 0xE88E | ||
605 | #define FTDI_GUDEADS_E88F_PID 0xE88F | ||
606 | |||
607 | /* | ||
608 | * Linx Technologies product ids | ||
609 | */ | ||
610 | #define LINX_SDMUSBQSS_PID 0xF448 /* Linx SDM-USB-QS-S */ | ||
611 | #define LINX_MASTERDEVEL2_PID 0xF449 /* Linx Master Development 2.0 */ | ||
612 | #define LINX_FUTURE_0_PID 0xF44A /* Linx future device */ | ||
613 | #define LINX_FUTURE_1_PID 0xF44B /* Linx future device */ | ||
614 | #define LINX_FUTURE_2_PID 0xF44C /* Linx future device */ | ||
615 | |||
616 | /* CCS Inc. ICDU/ICDU40 product ID - the FT232BM is used in an in-circuit-debugger */ | ||
617 | /* unit for PIC16's/PIC18's */ | ||
618 | #define FTDI_CCSICDU20_0_PID 0xF9D0 | ||
619 | #define FTDI_CCSICDU40_1_PID 0xF9D1 | ||
620 | #define FTDI_CCSMACHX_2_PID 0xF9D2 | ||
621 | #define FTDI_CCSLOAD_N_GO_3_PID 0xF9D3 | ||
622 | #define FTDI_CCSICDU64_4_PID 0xF9D4 | ||
623 | #define FTDI_CCSPRIME8_5_PID 0xF9D5 | ||
624 | |||
625 | /* Inside Accesso contactless reader (http://www.insidefr.com) */ | ||
626 | #define INSIDE_ACCESSO 0xFAD0 | ||
627 | |||
628 | /* | ||
629 | * Intrepid Control Systems (http://www.intrepidcs.com/) ValueCAN and NeoVI | ||
630 | */ | ||
631 | #define INTREPID_VID 0x093C | ||
632 | #define INTREPID_VALUECAN_PID 0x0601 | ||
633 | #define INTREPID_NEOVI_PID 0x0701 | ||
634 | |||
635 | /* | ||
636 | * Falcom Wireless Communications GmbH | ||
637 | */ | ||
638 | #define FALCOM_VID 0x0F94 /* Vendor Id */ | ||
639 | #define FALCOM_TWIST_PID 0x0001 /* Falcom Twist USB GPRS modem */ | ||
640 | #define FALCOM_SAMBA_PID 0x0005 /* Falcom Samba USB GPRS modem */ | ||
641 | |||
642 | /* | ||
643 | * SUUNTO product ids | ||
644 | */ | ||
645 | #define FTDI_SUUNTO_SPORTS_PID 0xF680 /* Suunto Sports instrument */ | ||
646 | |||
647 | /* | ||
648 | * Oceanic product ids | ||
649 | */ | ||
650 | #define FTDI_OCEANIC_PID 0xF460 /* Oceanic dive instrument */ | ||
651 | |||
652 | /* | ||
653 | * TTi (Thurlby Thandar Instruments) | ||
654 | */ | ||
655 | #define TTI_VID 0x103E /* Vendor Id */ | ||
656 | #define TTI_QL355P_PID 0x03E8 /* TTi QL355P power supply */ | ||
657 | |||
658 | /* | ||
659 | * Definitions for B&B Electronics products. | ||
660 | */ | ||
661 | #define BANDB_VID 0x0856 /* B&B Electronics Vendor ID */ | ||
662 | #define BANDB_USOTL4_PID 0xAC01 /* USOTL4 Isolated RS-485 Converter */ | ||
663 | #define BANDB_USTL4_PID 0xAC02 /* USTL4 RS-485 Converter */ | ||
664 | #define BANDB_USO9ML2_PID 0xAC03 /* USO9ML2 Isolated RS-232 Converter */ | ||
665 | #define BANDB_USOPTL4_PID 0xAC11 | ||
666 | #define BANDB_USPTL4_PID 0xAC12 | ||
667 | #define BANDB_USO9ML2DR_2_PID 0xAC16 | ||
668 | #define BANDB_USO9ML2DR_PID 0xAC17 | ||
669 | #define BANDB_USOPTL4DR2_PID 0xAC18 /* USOPTL4R-2 2-port Isolated RS-232 Converter */ | ||
670 | #define BANDB_USOPTL4DR_PID 0xAC19 | ||
671 | #define BANDB_485USB9F_2W_PID 0xAC25 | ||
672 | #define BANDB_485USB9F_4W_PID 0xAC26 | ||
673 | #define BANDB_232USB9M_PID 0xAC27 | ||
674 | #define BANDB_485USBTB_2W_PID 0xAC33 | ||
675 | #define BANDB_485USBTB_4W_PID 0xAC34 | ||
676 | #define BANDB_TTL5USB9M_PID 0xAC49 | ||
677 | #define BANDB_TTL3USB9M_PID 0xAC50 | ||
678 | #define BANDB_ZZ_PROG1_USB_PID 0xBA02 | ||
679 | |||
680 | /* | ||
681 | * RM Michaelides CANview USB (http://www.rmcan.com) | ||
682 | * CAN fieldbus interface adapter, added by port GmbH www.port.de) | ||
683 | * Ian Abbott changed the macro names for consistency. | ||
684 | */ | ||
685 | #define FTDI_RM_CANVIEW_PID 0xfd60 /* Product Id */ | ||
686 | |||
687 | /* | ||
688 | * EVER Eco Pro UPS (http://www.ever.com.pl/) | ||
689 | */ | ||
690 | |||
691 | #define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */ | ||
692 | |||
693 | /* | ||
694 | * 4N-GALAXY.DE PIDs for CAN-USB, USB-RS232, USB-RS422, USB-RS485, | ||
695 | * USB-TTY activ, USB-TTY passiv. Some PIDs are used by several devices | ||
696 | * and I'm not entirely sure which are used by which. | ||
697 | */ | ||
698 | #define FTDI_4N_GALAXY_DE_1_PID 0xF3C0 | ||
699 | #define FTDI_4N_GALAXY_DE_2_PID 0xF3C1 | ||
700 | |||
701 | /* | ||
702 | * Mobility Electronics products. | ||
703 | */ | ||
704 | #define MOBILITY_VID 0x1342 | ||
705 | #define MOBILITY_USB_SERIAL_PID 0x0202 /* EasiDock USB 200 serial */ | ||
706 | |||
707 | /* | ||
708 | * microHAM product IDs (http://www.microham.com). | ||
709 | * Submitted by Justin Burket (KL1RL) <zorton@jtan.com> | ||
710 | * and Mike Studer (K6EEP) <k6eep@hamsoftware.org>. | ||
711 | * Ian Abbott <abbotti@mev.co.uk> added a few more from the driver INF file. | ||
712 | */ | ||
713 | #define FTDI_MHAM_KW_PID 0xEEE8 /* USB-KW interface */ | ||
714 | #define FTDI_MHAM_YS_PID 0xEEE9 /* USB-YS interface */ | ||
715 | #define FTDI_MHAM_Y6_PID 0xEEEA /* USB-Y6 interface */ | ||
716 | #define FTDI_MHAM_Y8_PID 0xEEEB /* USB-Y8 interface */ | ||
717 | #define FTDI_MHAM_IC_PID 0xEEEC /* USB-IC interface */ | ||
718 | #define FTDI_MHAM_DB9_PID 0xEEED /* USB-DB9 interface */ | ||
719 | #define FTDI_MHAM_RS232_PID 0xEEEE /* USB-RS232 interface */ | ||
720 | #define FTDI_MHAM_Y9_PID 0xEEEF /* USB-Y9 interface */ | ||
721 | |||
722 | /* | ||
723 | * Active Robots product ids. | ||
724 | */ | ||
725 | #define FTDI_ACTIVE_ROBOTS_PID 0xE548 /* USB comms board */ | ||
726 | |||
727 | /* | ||
728 | * Xsens Technologies BV products (http://www.xsens.com). | ||
729 | */ | ||
730 | #define XSENS_CONVERTER_0_PID 0xD388 | ||
731 | #define XSENS_CONVERTER_1_PID 0xD389 | ||
732 | #define XSENS_CONVERTER_2_PID 0xD38A | ||
733 | #define XSENS_CONVERTER_3_PID 0xD38B | ||
734 | #define XSENS_CONVERTER_4_PID 0xD38C | ||
735 | #define XSENS_CONVERTER_5_PID 0xD38D | ||
736 | #define XSENS_CONVERTER_6_PID 0xD38E | ||
737 | #define XSENS_CONVERTER_7_PID 0xD38F | ||
738 | |||
739 | /* | ||
740 | * Teratronik product ids. | ||
741 | * Submitted by O. Wölfelschneider. | ||
742 | */ | ||
743 | #define FTDI_TERATRONIK_VCP_PID 0xEC88 /* Teratronik device (preferring VCP driver on windows) */ | ||
744 | #define FTDI_TERATRONIK_D2XX_PID 0xEC89 /* Teratronik device (preferring D2XX driver on windows) */ | ||
745 | |||
746 | /* | ||
747 | * Evolution Robotics products (http://www.evolution.com/). | ||
748 | * Submitted by Shawn M. Lavelle. | ||
749 | */ | ||
750 | #define EVOLUTION_VID 0xDEEE /* Vendor ID */ | ||
751 | #define EVOLUTION_ER1_PID 0x0300 /* ER1 Control Module */ | ||
752 | #define EVO_8U232AM_PID 0x02FF /* Evolution robotics RCM2 (FT232AM)*/ | ||
753 | #define EVO_HYBRID_PID 0x0302 /* Evolution robotics RCM4 PID (FT232BM)*/ | ||
754 | #define EVO_RCM4_PID 0x0303 /* Evolution robotics RCM4 PID */ | ||
755 | |||
756 | /* Pyramid Computer GmbH */ | ||
757 | #define FTDI_PYRAMID_PID 0xE6C8 /* Pyramid Appliance Display */ | ||
758 | |||
759 | /* | ||
760 | * NDI (www.ndigital.com) product ids | ||
761 | */ | ||
762 | #define FTDI_NDI_HUC_PID 0xDA70 /* NDI Host USB Converter */ | ||
763 | #define FTDI_NDI_SPECTRA_SCU_PID 0xDA71 /* NDI Spectra SCU */ | ||
764 | #define FTDI_NDI_FUTURE_2_PID 0xDA72 /* NDI future device #2 */ | ||
765 | #define FTDI_NDI_FUTURE_3_PID 0xDA73 /* NDI future device #3 */ | ||
766 | #define FTDI_NDI_AURORA_SCU_PID 0xDA74 /* NDI Aurora SCU */ | ||
767 | |||
768 | /* | ||
769 | * Posiflex inc retail equipment (http://www.posiflex.com.tw) | ||
770 | */ | ||
771 | #define POSIFLEX_VID 0x0d3a /* Vendor ID */ | ||
772 | #define POSIFLEX_PP7000_PID 0x0300 /* PP-7000II thermal printer */ | ||
773 | |||
774 | /* | ||
775 | * Westrex International devices submitted by Cory Lee | ||
776 | */ | ||
777 | #define FTDI_WESTREX_MODEL_777_PID 0xDC00 /* Model 777 */ | ||
778 | #define FTDI_WESTREX_MODEL_8900F_PID 0xDC01 /* Model 8900F */ | ||
779 | |||
780 | /* | ||
781 | * RR-CirKits LocoBuffer USB (http://www.rr-cirkits.com) | ||
782 | */ | ||
783 | #define FTDI_RRCIRKITS_LOCOBUFFER_PID 0xc7d0 /* LocoBuffer USB */ | ||
784 | |||
785 | /* | ||
786 | * Eclo (http://www.eclo.pt/) product IDs. | ||
787 | * PID 0xEA90 submitted by Martin Grill. | ||
788 | */ | ||
789 | #define FTDI_ECLO_COM_1WIRE_PID 0xEA90 /* COM to 1-Wire USB adaptor */ | ||
790 | |||
791 | /* | ||
792 | * Papouch products (http://www.papouch.com/) | ||
793 | * Submitted by Folkert van Heusden | ||
794 | */ | ||
795 | |||
796 | #define PAPOUCH_VID 0x5050 /* Vendor ID */ | ||
797 | #define PAPOUCH_TMU_PID 0x0400 /* TMU USB Thermometer */ | ||
798 | #define PAPOUCH_QUIDO4x4_PID 0x0900 /* Quido 4/4 Module */ | ||
799 | |||
800 | /* | ||
801 | * ACG Identification Technologies GmbH products (http://www.acg.de/). | ||
802 | * Submitted by anton -at- goto10 -dot- org. | ||
803 | */ | 23 | */ |
804 | #define FTDI_ACG_HFDUAL_PID 0xDD20 /* HF Dual ISO Reader (RFID) */ | ||
805 | |||
806 | /* | ||
807 | * Yost Engineering, Inc. products (www.yostengineering.com). | ||
808 | * PID 0xE050 submitted by Aaron Prose. | ||
809 | */ | ||
810 | #define FTDI_YEI_SERVOCENTER31_PID 0xE050 /* YEI ServoCenter3.1 USB */ | ||
811 | |||
812 | /* | ||
813 | * ThorLabs USB motor drivers | ||
814 | */ | ||
815 | #define FTDI_THORLABS_PID 0xfaf0 /* ThorLabs USB motor drivers */ | ||
816 | |||
817 | /* | ||
818 | * Testo products (http://www.testo.com/) | ||
819 | * Submitted by Colin Leroy | ||
820 | */ | ||
821 | #define TESTO_VID 0x128D | ||
822 | #define TESTO_USB_INTERFACE_PID 0x0001 | ||
823 | |||
824 | /* | ||
825 | * Gamma Scout (http://gamma-scout.com/). Submitted by rsc@runtux.com. | ||
826 | */ | ||
827 | #define FTDI_GAMMA_SCOUT_PID 0xD678 /* Gamma Scout online */ | ||
828 | |||
829 | /* | ||
830 | * Tactrix OpenPort (ECU) devices. | ||
831 | * OpenPort 1.3M submitted by Donour Sizemore. | ||
832 | * OpenPort 1.3S and 1.3U submitted by Ian Abbott. | ||
833 | */ | ||
834 | #define FTDI_TACTRIX_OPENPORT_13M_PID 0xCC48 /* OpenPort 1.3 Mitsubishi */ | ||
835 | #define FTDI_TACTRIX_OPENPORT_13S_PID 0xCC49 /* OpenPort 1.3 Subaru */ | ||
836 | #define FTDI_TACTRIX_OPENPORT_13U_PID 0xCC4A /* OpenPort 1.3 Universal */ | ||
837 | |||
838 | /* | ||
839 | * Telldus Technologies | ||
840 | */ | ||
841 | #define TELLDUS_VID 0x1781 /* Vendor ID */ | ||
842 | #define TELLDUS_TELLSTICK_PID 0x0C30 /* RF control dongle 433 MHz using FT232RL */ | ||
843 | |||
844 | /* | ||
845 | * IBS elektronik product ids | ||
846 | * Submitted by Thomas Schleusener | ||
847 | */ | ||
848 | #define FTDI_IBS_US485_PID 0xff38 /* IBS US485 (USB<-->RS422/485 interface) */ | ||
849 | #define FTDI_IBS_PICPRO_PID 0xff39 /* IBS PIC-Programmer */ | ||
850 | #define FTDI_IBS_PCMCIA_PID 0xff3a /* IBS Card reader for PCMCIA SRAM-cards */ | ||
851 | #define FTDI_IBS_PK1_PID 0xff3b /* IBS PK1 - Particel counter */ | ||
852 | #define FTDI_IBS_RS232MON_PID 0xff3c /* IBS RS232 - Monitor */ | ||
853 | #define FTDI_IBS_APP70_PID 0xff3d /* APP 70 (dust monitoring system) */ | ||
854 | #define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */ | ||
855 | #define FTDI_IBS_PROD_PID 0xff3f /* future device */ | ||
856 | |||
857 | /* | ||
858 | * MaxStream devices www.maxstream.net | ||
859 | */ | ||
860 | #define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */ | ||
861 | |||
862 | /* Olimex */ | ||
863 | #define OLIMEX_VID 0x15BA | ||
864 | #define OLIMEX_ARM_USB_OCD_PID 0x0003 | ||
865 | |||
866 | /* Luminary Micro Stellaris Boards, VID = FTDI_VID */ | ||
867 | /* FTDI 2332C Dual channel device, side A=245 FIFO (JTAG), Side B=RS232 UART */ | ||
868 | #define LMI_LM3S_DEVEL_BOARD_PID 0xbcd8 | ||
869 | #define LMI_LM3S_EVAL_BOARD_PID 0xbcd9 | ||
870 | |||
871 | /* www.elsterelectricity.com Elster Unicom III Optical Probe */ | ||
872 | #define FTDI_ELSTER_UNICOM_PID 0xE700 /* Product Id */ | ||
873 | |||
874 | /* | ||
875 | * The Mobility Lab (TML) | ||
876 | * Submitted by Pierre Castella | ||
877 | */ | ||
878 | #define TML_VID 0x1B91 /* Vendor ID */ | ||
879 | #define TML_USB_SERIAL_PID 0x0064 /* USB - Serial Converter */ | ||
880 | |||
881 | /* Propox devices */ | ||
882 | #define FTDI_PROPOX_JTAGCABLEII_PID 0xD738 | ||
883 | |||
884 | /* Rig Expert Ukraine devices */ | ||
885 | #define FTDI_REU_TINY_PID 0xED22 /* RigExpert Tiny */ | ||
886 | |||
887 | /* Domintell products http://www.domintell.com */ | ||
888 | #define FTDI_DOMINTELL_DGQG_PID 0xEF50 /* Master */ | ||
889 | #define FTDI_DOMINTELL_DUSB_PID 0xEF51 /* DUSB01 module */ | ||
890 | |||
891 | /* Alti-2 products http://www.alti-2.com */ | ||
892 | #define ALTI2_VID 0x1BC9 | ||
893 | #define ALTI2_N3_PID 0x6001 /* Neptune 3 */ | ||
894 | 24 | ||
895 | /* Commands */ | 25 | /* Commands */ |
896 | #define FTDI_SIO_RESET 0 /* Reset the port */ | 26 | #define FTDI_SIO_RESET 0 /* Reset the port */ |
@@ -910,86 +40,6 @@ | |||
910 | #define INTERFACE_C 3 | 40 | #define INTERFACE_C 3 |
911 | #define INTERFACE_D 4 | 41 | #define INTERFACE_D 4 |
912 | 42 | ||
913 | /* | ||
914 | * FIC / OpenMoko, Inc. http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v3 | ||
915 | * Submitted by Harald Welte <laforge@openmoko.org> | ||
916 | */ | ||
917 | #define FIC_VID 0x1457 | ||
918 | #define FIC_NEO1973_DEBUG_PID 0x5118 | ||
919 | |||
920 | /* | ||
921 | * RATOC REX-USB60F | ||
922 | */ | ||
923 | #define RATOC_VENDOR_ID 0x0584 | ||
924 | #define RATOC_PRODUCT_ID_USB60F 0xb020 | ||
925 | |||
926 | /* | ||
927 | * DIEBOLD BCS SE923 | ||
928 | */ | ||
929 | #define DIEBOLD_BCS_SE923_PID 0xfb99 | ||
930 | |||
931 | /* | ||
932 | * Atmel STK541 | ||
933 | */ | ||
934 | #define ATMEL_VID 0x03eb /* Vendor ID */ | ||
935 | #define STK541_PID 0x2109 /* Zigbee Controller */ | ||
936 | |||
937 | /* | ||
938 | * Dresden Elektronic Sensor Terminal Board | ||
939 | */ | ||
940 | #define DE_VID 0x1cf1 /* Vendor ID */ | ||
941 | #define STB_PID 0x0001 /* Sensor Terminal Board */ | ||
942 | #define WHT_PID 0x0004 /* Wireless Handheld Terminal */ | ||
943 | |||
944 | /* | ||
945 | * Blackfin gnICE JTAG | ||
946 | * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice | ||
947 | */ | ||
948 | #define ADI_VID 0x0456 | ||
949 | #define ADI_GNICE_PID 0xF000 | ||
950 | #define ADI_GNICEPLUS_PID 0xF001 | ||
951 | |||
952 | /* | ||
953 | * JETI SPECTROMETER SPECBOS 1201 | ||
954 | * http://www.jeti.com/products/sys/scb/scb1201.php | ||
955 | */ | ||
956 | #define JETI_VID 0x0c6c | ||
957 | #define JETI_SPC1201_PID 0x04b2 | ||
958 | |||
959 | /* | ||
960 | * Marvell SheevaPlug | ||
961 | */ | ||
962 | #define MARVELL_VID 0x9e88 | ||
963 | #define MARVELL_SHEEVAPLUG_PID 0x9e8f | ||
964 | |||
965 | #define FTDI_TURTELIZER_PID 0xBDC8 /* JTAG/RS-232 adapter by egnite GmBH */ | ||
966 | |||
967 | /* | ||
968 | * GN Otometrics (http://www.otometrics.com) | ||
969 | * Submitted by Ville Sundberg. | ||
970 | */ | ||
971 | #define GN_OTOMETRICS_VID 0x0c33 /* Vendor ID */ | ||
972 | #define AURICAL_USB_PID 0x0010 /* Aurical USB Audiometer */ | ||
973 | |||
974 | /* | ||
975 | * Bayer Ascensia Contour blood glucose meter USB-converter cable. | ||
976 | * http://winglucofacts.com/cables/ | ||
977 | */ | ||
978 | #define BAYER_VID 0x1A79 | ||
979 | #define BAYER_CONTOUR_CABLE_PID 0x6001 | ||
980 | |||
981 | /* | ||
982 | * Marvell OpenRD Base, Client | ||
983 | * http://www.open-rd.org | ||
984 | * OpenRD Base, Client use VID 0x0403 | ||
985 | */ | ||
986 | #define MARVELL_OPENRD_PID 0x9e90 | ||
987 | |||
988 | /* | ||
989 | * Hameg HO820 and HO870 interface (using VID 0x0403) | ||
990 | */ | ||
991 | #define HAMEG_HO820_PID 0xed74 | ||
992 | #define HAMEG_HO870_PID 0xed71 | ||
993 | 43 | ||
994 | /* | 44 | /* |
995 | * BmRequestType: 1100 0000b | 45 | * BmRequestType: 1100 0000b |
@@ -1504,4 +554,3 @@ typedef enum { | |||
1504 | * B2..7 Length of message - (not including Byte 0) | 554 | * B2..7 Length of message - (not including Byte 0) |
1505 | * | 555 | * |
1506 | */ | 556 | */ |
1507 | |||
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h new file mode 100644 index 000000000000..da92b4952ffb --- /dev/null +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -0,0 +1,986 @@ | |||
1 | /* | ||
2 | * vendor/product IDs (VID/PID) of devices using FTDI USB serial converters. | ||
3 | * Please keep numerically sorted within individual areas, thanks! | ||
4 | * | ||
5 | * Philipp G�hring - pg@futureware.at - added the Device ID of the USB relais | ||
6 | * from Rudolf Gugler | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | |||
11 | /**********************************/ | ||
12 | /***** devices using FTDI VID *****/ | ||
13 | /**********************************/ | ||
14 | |||
15 | |||
16 | #define FTDI_VID 0x0403 /* Vendor Id */ | ||
17 | |||
18 | |||
19 | /*** "original" FTDI device PIDs ***/ | ||
20 | |||
21 | #define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */ | ||
22 | #define FTDI_8U232AM_ALT_PID 0x6006 /* FTDI's alternate PID for above */ | ||
23 | #define FTDI_8U2232C_PID 0x6010 /* Dual channel device */ | ||
24 | #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ | ||
25 | #define FTDI_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */ | ||
26 | #define FTDI_232RL_PID 0xFBFA /* Product ID for FT232RL */ | ||
27 | |||
28 | |||
29 | /*** third-party PIDs (using FTDI_VID) ***/ | ||
30 | |||
31 | /* | ||
32 | * Marvell OpenRD Base, Client | ||
33 | * http://www.open-rd.org | ||
34 | * OpenRD Base, Client use VID 0x0403 | ||
35 | */ | ||
36 | #define MARVELL_OPENRD_PID 0x9e90 | ||
37 | |||
38 | /* www.candapter.com Ewert Energy Systems CANdapter device */ | ||
39 | #define FTDI_CANDAPTER_PID 0x9F80 /* Product Id */ | ||
40 | |||
41 | /* OOCDlink by Joern Kaipf <joernk@web.de> | ||
42 | * (http://www.joernonline.de/dw/doku.php?id=start&idx=projects:oocdlink) */ | ||
43 | #define FTDI_OOCDLINK_PID 0xbaf8 /* Amontec JTAGkey */ | ||
44 | |||
45 | /* Luminary Micro Stellaris Boards, VID = FTDI_VID */ | ||
46 | /* FTDI 2332C Dual channel device, side A=245 FIFO (JTAG), Side B=RS232 UART */ | ||
47 | #define LMI_LM3S_DEVEL_BOARD_PID 0xbcd8 | ||
48 | #define LMI_LM3S_EVAL_BOARD_PID 0xbcd9 | ||
49 | |||
50 | #define FTDI_TURTELIZER_PID 0xBDC8 /* JTAG/RS-232 adapter by egnite GmBH */ | ||
51 | |||
52 | /* OpenDCC (www.opendcc.de) product id */ | ||
53 | #define FTDI_OPENDCC_PID 0xBFD8 | ||
54 | #define FTDI_OPENDCC_SNIFFER_PID 0xBFD9 | ||
55 | #define FTDI_OPENDCC_THROTTLE_PID 0xBFDA | ||
56 | #define FTDI_OPENDCC_GATEWAY_PID 0xBFDB | ||
57 | |||
58 | /* | ||
59 | * RR-CirKits LocoBuffer USB (http://www.rr-cirkits.com) | ||
60 | */ | ||
61 | #define FTDI_RRCIRKITS_LOCOBUFFER_PID 0xc7d0 /* LocoBuffer USB */ | ||
62 | |||
63 | /* DMX4ALL DMX Interfaces */ | ||
64 | #define FTDI_DMX4ALL 0xC850 | ||
65 | |||
66 | /* | ||
67 | * ASK.fr devices | ||
68 | */ | ||
69 | #define FTDI_ASK_RDR400_PID 0xC991 /* ASK RDR 400 series card reader */ | ||
70 | |||
71 | /* www.starting-point-systems.com �Chameleon device */ | ||
72 | #define FTDI_MICRO_CHAMELEON_PID 0xCAA0 /* Product Id */ | ||
73 | |||
74 | /* | ||
75 | * Tactrix OpenPort (ECU) devices. | ||
76 | * OpenPort 1.3M submitted by Donour Sizemore. | ||
77 | * OpenPort 1.3S and 1.3U submitted by Ian Abbott. | ||
78 | */ | ||
79 | #define FTDI_TACTRIX_OPENPORT_13M_PID 0xCC48 /* OpenPort 1.3 Mitsubishi */ | ||
80 | #define FTDI_TACTRIX_OPENPORT_13S_PID 0xCC49 /* OpenPort 1.3 Subaru */ | ||
81 | #define FTDI_TACTRIX_OPENPORT_13U_PID 0xCC4A /* OpenPort 1.3 Universal */ | ||
82 | |||
83 | /* SCS HF Radio Modems PID's (http://www.scs-ptc.com) */ | ||
84 | /* the VID is the standard ftdi vid (FTDI_VID) */ | ||
85 | #define FTDI_SCS_DEVICE_0_PID 0xD010 /* SCS PTC-IIusb */ | ||
86 | #define FTDI_SCS_DEVICE_1_PID 0xD011 /* SCS Tracker / DSP TNC */ | ||
87 | #define FTDI_SCS_DEVICE_2_PID 0xD012 | ||
88 | #define FTDI_SCS_DEVICE_3_PID 0xD013 | ||
89 | #define FTDI_SCS_DEVICE_4_PID 0xD014 | ||
90 | #define FTDI_SCS_DEVICE_5_PID 0xD015 | ||
91 | #define FTDI_SCS_DEVICE_6_PID 0xD016 | ||
92 | #define FTDI_SCS_DEVICE_7_PID 0xD017 | ||
93 | |||
94 | /* iPlus device */ | ||
95 | #define FTDI_IPLUS_PID 0xD070 /* Product Id */ | ||
96 | #define FTDI_IPLUS2_PID 0xD071 /* Product Id */ | ||
97 | |||
98 | /* | ||
99 | * Gamma Scout (http://gamma-scout.com/). Submitted by rsc@runtux.com. | ||
100 | */ | ||
101 | #define FTDI_GAMMA_SCOUT_PID 0xD678 /* Gamma Scout online */ | ||
102 | |||
103 | /* Propox devices */ | ||
104 | #define FTDI_PROPOX_JTAGCABLEII_PID 0xD738 | ||
105 | |||
106 | /* | ||
107 | * Xsens Technologies BV products (http://www.xsens.com). | ||
108 | */ | ||
109 | #define XSENS_CONVERTER_0_PID 0xD388 | ||
110 | #define XSENS_CONVERTER_1_PID 0xD389 | ||
111 | #define XSENS_CONVERTER_2_PID 0xD38A | ||
112 | #define XSENS_CONVERTER_3_PID 0xD38B | ||
113 | #define XSENS_CONVERTER_4_PID 0xD38C | ||
114 | #define XSENS_CONVERTER_5_PID 0xD38D | ||
115 | #define XSENS_CONVERTER_6_PID 0xD38E | ||
116 | #define XSENS_CONVERTER_7_PID 0xD38F | ||
117 | |||
118 | /* | ||
119 | * NDI (www.ndigital.com) product ids | ||
120 | */ | ||
121 | #define FTDI_NDI_HUC_PID 0xDA70 /* NDI Host USB Converter */ | ||
122 | #define FTDI_NDI_SPECTRA_SCU_PID 0xDA71 /* NDI Spectra SCU */ | ||
123 | #define FTDI_NDI_FUTURE_2_PID 0xDA72 /* NDI future device #2 */ | ||
124 | #define FTDI_NDI_FUTURE_3_PID 0xDA73 /* NDI future device #3 */ | ||
125 | #define FTDI_NDI_AURORA_SCU_PID 0xDA74 /* NDI Aurora SCU */ | ||
126 | |||
127 | /* | ||
128 | * Westrex International devices submitted by Cory Lee | ||
129 | */ | ||
130 | #define FTDI_WESTREX_MODEL_777_PID 0xDC00 /* Model 777 */ | ||
131 | #define FTDI_WESTREX_MODEL_8900F_PID 0xDC01 /* Model 8900F */ | ||
132 | |||
133 | /* | ||
134 | * ACG Identification Technologies GmbH products (http://www.acg.de/). | ||
135 | * Submitted by anton -at- goto10 -dot- org. | ||
136 | */ | ||
137 | #define FTDI_ACG_HFDUAL_PID 0xDD20 /* HF Dual ISO Reader (RFID) */ | ||
138 | |||
139 | /* | ||
140 | * Definitions for Artemis astronomical USB based cameras | ||
141 | * Check it at http://www.artemisccd.co.uk/ | ||
142 | */ | ||
143 | #define FTDI_ARTEMIS_PID 0xDF28 /* All Artemis Cameras */ | ||
144 | |||
145 | /* | ||
146 | * Definitions for ATIK Instruments astronomical USB based cameras | ||
147 | * Check it at http://www.atik-instruments.com/ | ||
148 | */ | ||
149 | #define FTDI_ATIK_ATK16_PID 0xDF30 /* ATIK ATK-16 Grayscale Camera */ | ||
150 | #define FTDI_ATIK_ATK16C_PID 0xDF32 /* ATIK ATK-16C Colour Camera */ | ||
151 | #define FTDI_ATIK_ATK16HR_PID 0xDF31 /* ATIK ATK-16HR Grayscale Camera */ | ||
152 | #define FTDI_ATIK_ATK16HRC_PID 0xDF33 /* ATIK ATK-16HRC Colour Camera */ | ||
153 | #define FTDI_ATIK_ATK16IC_PID 0xDF35 /* ATIK ATK-16IC Grayscale Camera */ | ||
154 | |||
155 | /* | ||
156 | * Yost Engineering, Inc. products (www.yostengineering.com). | ||
157 | * PID 0xE050 submitted by Aaron Prose. | ||
158 | */ | ||
159 | #define FTDI_YEI_SERVOCENTER31_PID 0xE050 /* YEI ServoCenter3.1 USB */ | ||
160 | |||
161 | /* | ||
162 | * ELV USB devices submitted by Christian Abt of ELV (www.elv.de). | ||
163 | * All of these devices use FTDI's vendor ID (0x0403). | ||
164 | * | ||
165 | * The previously included PID for the UO 100 module was incorrect. | ||
166 | * In fact, that PID was for ELV's UR 100 USB-RS232 converter (0xFB58). | ||
167 | * | ||
168 | * Armin Laeuger originally sent the PID for the UM 100 module. | ||
169 | */ | ||
170 | #define FTDI_ELV_FHZ1300PC_PID 0xE0E8 /* FHZ 1300 PC */ | ||
171 | #define FTDI_ELV_WS500_PID 0xE0E9 /* PC-Wetterstation (WS 500) */ | ||
172 | #define FTDI_ELV_HS485_PID 0xE0EA /* USB to RS-485 adapter */ | ||
173 | #define FTDI_ELV_EM1010PC_PID 0xE0EF /* Engery monitor EM 1010 PC */ | ||
174 | #define FTDI_ELV_CSI8_PID 0xE0F0 /* Computer-Schalt-Interface (CSI 8) */ | ||
175 | #define FTDI_ELV_EM1000DL_PID 0xE0F1 /* PC-Datenlogger fuer Energiemonitor (EM 1000 DL) */ | ||
176 | #define FTDI_ELV_PCK100_PID 0xE0F2 /* PC-Kabeltester (PCK 100) */ | ||
177 | #define FTDI_ELV_RFP500_PID 0xE0F3 /* HF-Leistungsmesser (RFP 500) */ | ||
178 | #define FTDI_ELV_FS20SIG_PID 0xE0F4 /* Signalgeber (FS 20 SIG) */ | ||
179 | #define FTDI_ELV_WS300PC_PID 0xE0F6 /* PC-Wetterstation (WS 300 PC) */ | ||
180 | #define FTDI_PHI_FISCO_PID 0xE40B /* PHI Fisco USB to Serial cable */ | ||
181 | #define FTDI_ELV_UAD8_PID 0xF068 /* USB-AD-Wandler (UAD 8) */ | ||
182 | #define FTDI_ELV_UDA7_PID 0xF069 /* USB-DA-Wandler (UDA 7) */ | ||
183 | #define FTDI_ELV_USI2_PID 0xF06A /* USB-Schrittmotoren-Interface (USI 2) */ | ||
184 | #define FTDI_ELV_T1100_PID 0xF06B /* Thermometer (T 1100) */ | ||
185 | #define FTDI_ELV_PCD200_PID 0xF06C /* PC-Datenlogger (PCD 200) */ | ||
186 | #define FTDI_ELV_ULA200_PID 0xF06D /* USB-LCD-Ansteuerung (ULA 200) */ | ||
187 | #define FTDI_ELV_ALC8500_PID 0xF06E /* ALC 8500 Expert */ | ||
188 | #define FTDI_ELV_FHZ1000PC_PID 0xF06F /* FHZ 1000 PC */ | ||
189 | #define FTDI_ELV_UR100_PID 0xFB58 /* USB-RS232-Umsetzer (UR 100) */ | ||
190 | #define FTDI_ELV_UM100_PID 0xFB5A /* USB-Modul UM 100 */ | ||
191 | #define FTDI_ELV_UO100_PID 0xFB5B /* USB-Modul UO 100 */ | ||
192 | /* Additional ELV PIDs that default to using the FTDI D2XX drivers on | ||
193 | * MS Windows, rather than the FTDI Virtual Com Port drivers. | ||
194 | * Maybe these will be easier to use with the libftdi/libusb user-space | ||
195 | * drivers, or possibly the Comedi drivers in some cases. */ | ||
196 | #define FTDI_ELV_CLI7000_PID 0xFB59 /* Computer-Light-Interface (CLI 7000) */ | ||
197 | #define FTDI_ELV_PPS7330_PID 0xFB5C /* Processor-Power-Supply (PPS 7330) */ | ||
198 | #define FTDI_ELV_TFM100_PID 0xFB5D /* Temperartur-Feuchte Messgeraet (TFM 100) */ | ||
199 | #define FTDI_ELV_UDF77_PID 0xFB5E /* USB DCF Funkurh (UDF 77) */ | ||
200 | #define FTDI_ELV_UIO88_PID 0xFB5F /* USB-I/O Interface (UIO 88) */ | ||
201 | |||
202 | /* | ||
203 | * EVER Eco Pro UPS (http://www.ever.com.pl/) | ||
204 | */ | ||
205 | |||
206 | #define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */ | ||
207 | |||
208 | /* | ||
209 | * Active Robots product ids. | ||
210 | */ | ||
211 | #define FTDI_ACTIVE_ROBOTS_PID 0xE548 /* USB comms board */ | ||
212 | |||
213 | /* Pyramid Computer GmbH */ | ||
214 | #define FTDI_PYRAMID_PID 0xE6C8 /* Pyramid Appliance Display */ | ||
215 | |||
216 | /* www.elsterelectricity.com Elster Unicom III Optical Probe */ | ||
217 | #define FTDI_ELSTER_UNICOM_PID 0xE700 /* Product Id */ | ||
218 | |||
219 | /* | ||
220 | * Gude Analog- und Digitalsysteme GmbH | ||
221 | */ | ||
222 | #define FTDI_GUDEADS_E808_PID 0xE808 | ||
223 | #define FTDI_GUDEADS_E809_PID 0xE809 | ||
224 | #define FTDI_GUDEADS_E80A_PID 0xE80A | ||
225 | #define FTDI_GUDEADS_E80B_PID 0xE80B | ||
226 | #define FTDI_GUDEADS_E80C_PID 0xE80C | ||
227 | #define FTDI_GUDEADS_E80D_PID 0xE80D | ||
228 | #define FTDI_GUDEADS_E80E_PID 0xE80E | ||
229 | #define FTDI_GUDEADS_E80F_PID 0xE80F | ||
230 | #define FTDI_GUDEADS_E888_PID 0xE888 /* Expert ISDN Control USB */ | ||
231 | #define FTDI_GUDEADS_E889_PID 0xE889 /* USB RS-232 OptoBridge */ | ||
232 | #define FTDI_GUDEADS_E88A_PID 0xE88A | ||
233 | #define FTDI_GUDEADS_E88B_PID 0xE88B | ||
234 | #define FTDI_GUDEADS_E88C_PID 0xE88C | ||
235 | #define FTDI_GUDEADS_E88D_PID 0xE88D | ||
236 | #define FTDI_GUDEADS_E88E_PID 0xE88E | ||
237 | #define FTDI_GUDEADS_E88F_PID 0xE88F | ||
238 | |||
239 | /* | ||
240 | * Eclo (http://www.eclo.pt/) product IDs. | ||
241 | * PID 0xEA90 submitted by Martin Grill. | ||
242 | */ | ||
243 | #define FTDI_ECLO_COM_1WIRE_PID 0xEA90 /* COM to 1-Wire USB adaptor */ | ||
244 | |||
245 | /* TNC-X USB-to-packet-radio adapter, versions prior to 3.0 (DLP module) */ | ||
246 | #define FTDI_TNC_X_PID 0xEBE0 | ||
247 | |||
248 | /* | ||
249 | * Teratronik product ids. | ||
250 | * Submitted by O. W�lfelschneider. | ||
251 | */ | ||
252 | #define FTDI_TERATRONIK_VCP_PID 0xEC88 /* Teratronik device (preferring VCP driver on windows) */ | ||
253 | #define FTDI_TERATRONIK_D2XX_PID 0xEC89 /* Teratronik device (preferring D2XX driver on windows) */ | ||
254 | |||
255 | /* Rig Expert Ukraine devices */ | ||
256 | #define FTDI_REU_TINY_PID 0xED22 /* RigExpert Tiny */ | ||
257 | |||
258 | /* | ||
259 | * Hameg HO820 and HO870 interface (using VID 0x0403) | ||
260 | */ | ||
261 | #define HAMEG_HO820_PID 0xed74 | ||
262 | #define HAMEG_HO870_PID 0xed71 | ||
263 | |||
264 | /* | ||
265 | * MaxStream devices www.maxstream.net | ||
266 | */ | ||
267 | #define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */ | ||
268 | |||
269 | /* | ||
270 | * microHAM product IDs (http://www.microham.com). | ||
271 | * Submitted by Justin Burket (KL1RL) <zorton@jtan.com> | ||
272 | * and Mike Studer (K6EEP) <k6eep@hamsoftware.org>. | ||
273 | * Ian Abbott <abbotti@mev.co.uk> added a few more from the driver INF file. | ||
274 | */ | ||
275 | #define FTDI_MHAM_KW_PID 0xEEE8 /* USB-KW interface */ | ||
276 | #define FTDI_MHAM_YS_PID 0xEEE9 /* USB-YS interface */ | ||
277 | #define FTDI_MHAM_Y6_PID 0xEEEA /* USB-Y6 interface */ | ||
278 | #define FTDI_MHAM_Y8_PID 0xEEEB /* USB-Y8 interface */ | ||
279 | #define FTDI_MHAM_IC_PID 0xEEEC /* USB-IC interface */ | ||
280 | #define FTDI_MHAM_DB9_PID 0xEEED /* USB-DB9 interface */ | ||
281 | #define FTDI_MHAM_RS232_PID 0xEEEE /* USB-RS232 interface */ | ||
282 | #define FTDI_MHAM_Y9_PID 0xEEEF /* USB-Y9 interface */ | ||
283 | |||
284 | /* Domintell products http://www.domintell.com */ | ||
285 | #define FTDI_DOMINTELL_DGQG_PID 0xEF50 /* Master */ | ||
286 | #define FTDI_DOMINTELL_DUSB_PID 0xEF51 /* DUSB01 module */ | ||
287 | |||
288 | /* | ||
289 | * The following are the values for the Perle Systems | ||
290 | * UltraPort USB serial converters | ||
291 | */ | ||
292 | #define FTDI_PERLE_ULTRAPORT_PID 0xF0C0 /* Perle UltraPort Product Id */ | ||
293 | |||
294 | /* Sprog II (Andrew Crosland's SprogII DCC interface) */ | ||
295 | #define FTDI_SPROG_II 0xF0C8 | ||
296 | |||
297 | /* an infrared receiver for user access control with IR tags */ | ||
298 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ | ||
299 | |||
300 | /* ACT Solutions HomePro ZWave interface | ||
301 | (http://www.act-solutions.com/HomePro.htm) */ | ||
302 | #define FTDI_ACTZWAVE_PID 0xF2D0 | ||
303 | |||
304 | /* | ||
305 | * 4N-GALAXY.DE PIDs for CAN-USB, USB-RS232, USB-RS422, USB-RS485, | ||
306 | * USB-TTY activ, USB-TTY passiv. Some PIDs are used by several devices | ||
307 | * and I'm not entirely sure which are used by which. | ||
308 | */ | ||
309 | #define FTDI_4N_GALAXY_DE_1_PID 0xF3C0 | ||
310 | #define FTDI_4N_GALAXY_DE_2_PID 0xF3C1 | ||
311 | |||
312 | /* | ||
313 | * Linx Technologies product ids | ||
314 | */ | ||
315 | #define LINX_SDMUSBQSS_PID 0xF448 /* Linx SDM-USB-QS-S */ | ||
316 | #define LINX_MASTERDEVEL2_PID 0xF449 /* Linx Master Development 2.0 */ | ||
317 | #define LINX_FUTURE_0_PID 0xF44A /* Linx future device */ | ||
318 | #define LINX_FUTURE_1_PID 0xF44B /* Linx future device */ | ||
319 | #define LINX_FUTURE_2_PID 0xF44C /* Linx future device */ | ||
320 | |||
321 | /* | ||
322 | * Oceanic product ids | ||
323 | */ | ||
324 | #define FTDI_OCEANIC_PID 0xF460 /* Oceanic dive instrument */ | ||
325 | |||
326 | /* | ||
327 | * SUUNTO product ids | ||
328 | */ | ||
329 | #define FTDI_SUUNTO_SPORTS_PID 0xF680 /* Suunto Sports instrument */ | ||
330 | |||
331 | /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ | ||
332 | /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */ | ||
333 | #define FTDI_USB_UIRT_PID 0xF850 /* Product Id */ | ||
334 | |||
335 | /* CCS Inc. ICDU/ICDU40 product ID - | ||
336 | * the FT232BM is used in an in-circuit-debugger unit for PIC16's/PIC18's */ | ||
337 | #define FTDI_CCSICDU20_0_PID 0xF9D0 | ||
338 | #define FTDI_CCSICDU40_1_PID 0xF9D1 | ||
339 | #define FTDI_CCSMACHX_2_PID 0xF9D2 | ||
340 | #define FTDI_CCSLOAD_N_GO_3_PID 0xF9D3 | ||
341 | #define FTDI_CCSICDU64_4_PID 0xF9D4 | ||
342 | #define FTDI_CCSPRIME8_5_PID 0xF9D5 | ||
343 | |||
344 | /* | ||
345 | * The following are the values for the Matrix Orbital LCD displays, | ||
346 | * which are the FT232BM ( similar to the 8U232AM ) | ||
347 | */ | ||
348 | #define FTDI_MTXORB_0_PID 0xFA00 /* Matrix Orbital Product Id */ | ||
349 | #define FTDI_MTXORB_1_PID 0xFA01 /* Matrix Orbital Product Id */ | ||
350 | #define FTDI_MTXORB_2_PID 0xFA02 /* Matrix Orbital Product Id */ | ||
351 | #define FTDI_MTXORB_3_PID 0xFA03 /* Matrix Orbital Product Id */ | ||
352 | #define FTDI_MTXORB_4_PID 0xFA04 /* Matrix Orbital Product Id */ | ||
353 | #define FTDI_MTXORB_5_PID 0xFA05 /* Matrix Orbital Product Id */ | ||
354 | #define FTDI_MTXORB_6_PID 0xFA06 /* Matrix Orbital Product Id */ | ||
355 | |||
356 | /* | ||
357 | * Home Electronics (www.home-electro.com) USB gadgets | ||
358 | */ | ||
359 | #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ | ||
360 | |||
361 | /* Inside Accesso contactless reader (http://www.insidefr.com) */ | ||
362 | #define INSIDE_ACCESSO 0xFAD0 | ||
363 | |||
364 | /* | ||
365 | * ThorLabs USB motor drivers | ||
366 | */ | ||
367 | #define FTDI_THORLABS_PID 0xfaf0 /* ThorLabs USB motor drivers */ | ||
368 | |||
369 | /* | ||
370 | * Protego product ids | ||
371 | */ | ||
372 | #define PROTEGO_SPECIAL_1 0xFC70 /* special/unknown device */ | ||
373 | #define PROTEGO_R2X0 0xFC71 /* R200-USB TRNG unit (R210, R220, and R230) */ | ||
374 | #define PROTEGO_SPECIAL_3 0xFC72 /* special/unknown device */ | ||
375 | #define PROTEGO_SPECIAL_4 0xFC73 /* special/unknown device */ | ||
376 | |||
377 | /* | ||
378 | * DSS-20 Sync Station for Sony Ericsson P800 | ||
379 | */ | ||
380 | #define FTDI_DSS20_PID 0xFC82 | ||
381 | |||
382 | /* www.irtrans.de device */ | ||
383 | #define FTDI_IRTRANS_PID 0xFC60 /* Product Id */ | ||
384 | |||
385 | /* | ||
386 | * RM Michaelides CANview USB (http://www.rmcan.com) (FTDI_VID) | ||
387 | * CAN fieldbus interface adapter, added by port GmbH www.port.de) | ||
388 | * Ian Abbott changed the macro names for consistency. | ||
389 | */ | ||
390 | #define FTDI_RM_CANVIEW_PID 0xfd60 /* Product Id */ | ||
391 | /* www.thoughttechnology.com/ TT-USB provide with procomp use ftdi_sio */ | ||
392 | #define FTDI_TTUSB_PID 0xFF20 /* Product Id */ | ||
393 | |||
394 | #define FTDI_USBX_707_PID 0xF857 /* ADSTech IR Blaster USBX-707 (FTDI_VID) */ | ||
395 | |||
396 | #define FTDI_RELAIS_PID 0xFA10 /* Relais device from Rudolf Gugler */ | ||
397 | |||
398 | /* | ||
399 | * PCDJ use ftdi based dj-controllers. The following PID is | ||
400 | * for their DAC-2 device http://www.pcdjhardware.com/DAC2.asp | ||
401 | * (the VID is the standard ftdi vid (FTDI_VID), PID sent by Wouter Paesen) | ||
402 | */ | ||
403 | #define FTDI_PCDJ_DAC2_PID 0xFA88 | ||
404 | |||
405 | #define FTDI_R2000KU_TRUE_RNG 0xFB80 /* R2000KU TRUE RNG (FTDI_VID) */ | ||
406 | |||
407 | /* | ||
408 | * DIEBOLD BCS SE923 (FTDI_VID) | ||
409 | */ | ||
410 | #define DIEBOLD_BCS_SE923_PID 0xfb99 | ||
411 | |||
412 | /* www.crystalfontz.com devices | ||
413 | * - thanx for providing free devices for evaluation ! | ||
414 | * they use the ftdi chipset for the USB interface | ||
415 | * and the vendor id is the same | ||
416 | */ | ||
417 | #define FTDI_XF_632_PID 0xFC08 /* 632: 16x2 Character Display */ | ||
418 | #define FTDI_XF_634_PID 0xFC09 /* 634: 20x4 Character Display */ | ||
419 | #define FTDI_XF_547_PID 0xFC0A /* 547: Two line Display */ | ||
420 | #define FTDI_XF_633_PID 0xFC0B /* 633: 16x2 Character Display with Keys */ | ||
421 | #define FTDI_XF_631_PID 0xFC0C /* 631: 20x2 Character Display */ | ||
422 | #define FTDI_XF_635_PID 0xFC0D /* 635: 20x4 Character Display */ | ||
423 | #define FTDI_XF_640_PID 0xFC0E /* 640: Two line Display */ | ||
424 | #define FTDI_XF_642_PID 0xFC0F /* 642: Two line Display */ | ||
425 | |||
426 | /* | ||
427 | * Video Networks Limited / Homechoice in the UK use an ftdi-based device | ||
428 | * for their 1Mb broadband internet service. The following PID is exhibited | ||
429 | * by the usb device supplied (the VID is the standard ftdi vid (FTDI_VID) | ||
430 | */ | ||
431 | #define FTDI_VNHCPCUSB_D_PID 0xfe38 /* Product Id */ | ||
432 | |||
433 | /* AlphaMicro Components AMC-232USB01 device (FTDI_VID) */ | ||
434 | #define FTDI_AMC232_PID 0xFF00 /* Product Id */ | ||
435 | |||
436 | /* | ||
437 | * IBS elektronik product ids (FTDI_VID) | ||
438 | * Submitted by Thomas Schleusener | ||
439 | */ | ||
440 | #define FTDI_IBS_US485_PID 0xff38 /* IBS US485 (USB<-->RS422/485 interface) */ | ||
441 | #define FTDI_IBS_PICPRO_PID 0xff39 /* IBS PIC-Programmer */ | ||
442 | #define FTDI_IBS_PCMCIA_PID 0xff3a /* IBS Card reader for PCMCIA SRAM-cards */ | ||
443 | #define FTDI_IBS_PK1_PID 0xff3b /* IBS PK1 - Particel counter */ | ||
444 | #define FTDI_IBS_RS232MON_PID 0xff3c /* IBS RS232 - Monitor */ | ||
445 | #define FTDI_IBS_APP70_PID 0xff3d /* APP 70 (dust monitoring system) */ | ||
446 | #define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */ | ||
447 | #define FTDI_IBS_PROD_PID 0xff3f /* future device */ | ||
448 | /* www.canusb.com Lawicel CANUSB device (FTDI_VID) */ | ||
449 | #define FTDI_CANUSB_PID 0xFFA8 /* Product Id */ | ||
450 | |||
451 | |||
452 | |||
453 | /********************************/ | ||
454 | /** third-party VID/PID combos **/ | ||
455 | /********************************/ | ||
456 | |||
457 | |||
458 | |||
459 | /* | ||
460 | * Atmel STK541 | ||
461 | */ | ||
462 | #define ATMEL_VID 0x03eb /* Vendor ID */ | ||
463 | #define STK541_PID 0x2109 /* Zigbee Controller */ | ||
464 | |||
465 | /* | ||
466 | * Blackfin gnICE JTAG | ||
467 | * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice | ||
468 | */ | ||
469 | #define ADI_VID 0x0456 | ||
470 | #define ADI_GNICE_PID 0xF000 | ||
471 | #define ADI_GNICEPLUS_PID 0xF001 | ||
472 | |||
473 | /* | ||
474 | * RATOC REX-USB60F | ||
475 | */ | ||
476 | #define RATOC_VENDOR_ID 0x0584 | ||
477 | #define RATOC_PRODUCT_ID_USB60F 0xb020 | ||
478 | |||
479 | /* | ||
480 | * Definitions for B&B Electronics products. | ||
481 | */ | ||
482 | #define BANDB_VID 0x0856 /* B&B Electronics Vendor ID */ | ||
483 | #define BANDB_USOTL4_PID 0xAC01 /* USOTL4 Isolated RS-485 Converter */ | ||
484 | #define BANDB_USTL4_PID 0xAC02 /* USTL4 RS-485 Converter */ | ||
485 | #define BANDB_USO9ML2_PID 0xAC03 /* USO9ML2 Isolated RS-232 Converter */ | ||
486 | #define BANDB_USOPTL4_PID 0xAC11 | ||
487 | #define BANDB_USPTL4_PID 0xAC12 | ||
488 | #define BANDB_USO9ML2DR_2_PID 0xAC16 | ||
489 | #define BANDB_USO9ML2DR_PID 0xAC17 | ||
490 | #define BANDB_USOPTL4DR2_PID 0xAC18 /* USOPTL4R-2 2-port Isolated RS-232 Converter */ | ||
491 | #define BANDB_USOPTL4DR_PID 0xAC19 | ||
492 | #define BANDB_485USB9F_2W_PID 0xAC25 | ||
493 | #define BANDB_485USB9F_4W_PID 0xAC26 | ||
494 | #define BANDB_232USB9M_PID 0xAC27 | ||
495 | #define BANDB_485USBTB_2W_PID 0xAC33 | ||
496 | #define BANDB_485USBTB_4W_PID 0xAC34 | ||
497 | #define BANDB_TTL5USB9M_PID 0xAC49 | ||
498 | #define BANDB_TTL3USB9M_PID 0xAC50 | ||
499 | #define BANDB_ZZ_PROG1_USB_PID 0xBA02 | ||
500 | |||
501 | /* | ||
502 | * Intrepid Control Systems (http://www.intrepidcs.com/) ValueCAN and NeoVI | ||
503 | */ | ||
504 | #define INTREPID_VID 0x093C | ||
505 | #define INTREPID_VALUECAN_PID 0x0601 | ||
506 | #define INTREPID_NEOVI_PID 0x0701 | ||
507 | |||
508 | /* | ||
509 | * Definitions for ID TECH (www.idt-net.com) devices | ||
510 | */ | ||
511 | #define IDTECH_VID 0x0ACD /* ID TECH Vendor ID */ | ||
512 | #define IDTECH_IDT1221U_PID 0x0300 /* IDT1221U USB to RS-232 adapter */ | ||
513 | |||
514 | /* | ||
515 | * Definitions for Omnidirectional Control Technology, Inc. devices | ||
516 | */ | ||
517 | #define OCT_VID 0x0B39 /* OCT vendor ID */ | ||
518 | /* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */ | ||
519 | /* Also rebadged as Dick Smith Electronics (Aus) XH6451 */ | ||
520 | /* Also rebadged as SIIG Inc. model US2308 hardware version 1 */ | ||
521 | #define OCT_US101_PID 0x0421 /* OCT US101 USB to RS-232 */ | ||
522 | |||
523 | /* | ||
524 | * Icom ID-1 digital transceiver | ||
525 | */ | ||
526 | |||
527 | #define ICOM_ID1_VID 0x0C26 | ||
528 | #define ICOM_ID1_PID 0x0004 | ||
529 | |||
530 | /* | ||
531 | * GN Otometrics (http://www.otometrics.com) | ||
532 | * Submitted by Ville Sundberg. | ||
533 | */ | ||
534 | #define GN_OTOMETRICS_VID 0x0c33 /* Vendor ID */ | ||
535 | #define AURICAL_USB_PID 0x0010 /* Aurical USB Audiometer */ | ||
536 | |||
537 | /* | ||
538 | * The following are the values for the Sealevel SeaLINK+ adapters. | ||
539 | * (Original list sent by Tuan Hoang. Ian Abbott renamed the macros and | ||
540 | * removed some PIDs that don't seem to match any existing products.) | ||
541 | */ | ||
542 | #define SEALEVEL_VID 0x0c52 /* Sealevel Vendor ID */ | ||
543 | #define SEALEVEL_2101_PID 0x2101 /* SeaLINK+232 (2101/2105) */ | ||
544 | #define SEALEVEL_2102_PID 0x2102 /* SeaLINK+485 (2102) */ | ||
545 | #define SEALEVEL_2103_PID 0x2103 /* SeaLINK+232I (2103) */ | ||
546 | #define SEALEVEL_2104_PID 0x2104 /* SeaLINK+485I (2104) */ | ||
547 | #define SEALEVEL_2106_PID 0x9020 /* SeaLINK+422 (2106) */ | ||
548 | #define SEALEVEL_2201_1_PID 0x2211 /* SeaPORT+2/232 (2201) Port 1 */ | ||
549 | #define SEALEVEL_2201_2_PID 0x2221 /* SeaPORT+2/232 (2201) Port 2 */ | ||
550 | #define SEALEVEL_2202_1_PID 0x2212 /* SeaPORT+2/485 (2202) Port 1 */ | ||
551 | #define SEALEVEL_2202_2_PID 0x2222 /* SeaPORT+2/485 (2202) Port 2 */ | ||
552 | #define SEALEVEL_2203_1_PID 0x2213 /* SeaPORT+2 (2203) Port 1 */ | ||
553 | #define SEALEVEL_2203_2_PID 0x2223 /* SeaPORT+2 (2203) Port 2 */ | ||
554 | #define SEALEVEL_2401_1_PID 0x2411 /* SeaPORT+4/232 (2401) Port 1 */ | ||
555 | #define SEALEVEL_2401_2_PID 0x2421 /* SeaPORT+4/232 (2401) Port 2 */ | ||
556 | #define SEALEVEL_2401_3_PID 0x2431 /* SeaPORT+4/232 (2401) Port 3 */ | ||
557 | #define SEALEVEL_2401_4_PID 0x2441 /* SeaPORT+4/232 (2401) Port 4 */ | ||
558 | #define SEALEVEL_2402_1_PID 0x2412 /* SeaPORT+4/485 (2402) Port 1 */ | ||
559 | #define SEALEVEL_2402_2_PID 0x2422 /* SeaPORT+4/485 (2402) Port 2 */ | ||
560 | #define SEALEVEL_2402_3_PID 0x2432 /* SeaPORT+4/485 (2402) Port 3 */ | ||
561 | #define SEALEVEL_2402_4_PID 0x2442 /* SeaPORT+4/485 (2402) Port 4 */ | ||
562 | #define SEALEVEL_2403_1_PID 0x2413 /* SeaPORT+4 (2403) Port 1 */ | ||
563 | #define SEALEVEL_2403_2_PID 0x2423 /* SeaPORT+4 (2403) Port 2 */ | ||
564 | #define SEALEVEL_2403_3_PID 0x2433 /* SeaPORT+4 (2403) Port 3 */ | ||
565 | #define SEALEVEL_2403_4_PID 0x2443 /* SeaPORT+4 (2403) Port 4 */ | ||
566 | #define SEALEVEL_2801_1_PID 0X2811 /* SeaLINK+8/232 (2801) Port 1 */ | ||
567 | #define SEALEVEL_2801_2_PID 0X2821 /* SeaLINK+8/232 (2801) Port 2 */ | ||
568 | #define SEALEVEL_2801_3_PID 0X2831 /* SeaLINK+8/232 (2801) Port 3 */ | ||
569 | #define SEALEVEL_2801_4_PID 0X2841 /* SeaLINK+8/232 (2801) Port 4 */ | ||
570 | #define SEALEVEL_2801_5_PID 0X2851 /* SeaLINK+8/232 (2801) Port 5 */ | ||
571 | #define SEALEVEL_2801_6_PID 0X2861 /* SeaLINK+8/232 (2801) Port 6 */ | ||
572 | #define SEALEVEL_2801_7_PID 0X2871 /* SeaLINK+8/232 (2801) Port 7 */ | ||
573 | #define SEALEVEL_2801_8_PID 0X2881 /* SeaLINK+8/232 (2801) Port 8 */ | ||
574 | #define SEALEVEL_2802_1_PID 0X2812 /* SeaLINK+8/485 (2802) Port 1 */ | ||
575 | #define SEALEVEL_2802_2_PID 0X2822 /* SeaLINK+8/485 (2802) Port 2 */ | ||
576 | #define SEALEVEL_2802_3_PID 0X2832 /* SeaLINK+8/485 (2802) Port 3 */ | ||
577 | #define SEALEVEL_2802_4_PID 0X2842 /* SeaLINK+8/485 (2802) Port 4 */ | ||
578 | #define SEALEVEL_2802_5_PID 0X2852 /* SeaLINK+8/485 (2802) Port 5 */ | ||
579 | #define SEALEVEL_2802_6_PID 0X2862 /* SeaLINK+8/485 (2802) Port 6 */ | ||
580 | #define SEALEVEL_2802_7_PID 0X2872 /* SeaLINK+8/485 (2802) Port 7 */ | ||
581 | #define SEALEVEL_2802_8_PID 0X2882 /* SeaLINK+8/485 (2802) Port 8 */ | ||
582 | #define SEALEVEL_2803_1_PID 0X2813 /* SeaLINK+8 (2803) Port 1 */ | ||
583 | #define SEALEVEL_2803_2_PID 0X2823 /* SeaLINK+8 (2803) Port 2 */ | ||
584 | #define SEALEVEL_2803_3_PID 0X2833 /* SeaLINK+8 (2803) Port 3 */ | ||
585 | #define SEALEVEL_2803_4_PID 0X2843 /* SeaLINK+8 (2803) Port 4 */ | ||
586 | #define SEALEVEL_2803_5_PID 0X2853 /* SeaLINK+8 (2803) Port 5 */ | ||
587 | #define SEALEVEL_2803_6_PID 0X2863 /* SeaLINK+8 (2803) Port 6 */ | ||
588 | #define SEALEVEL_2803_7_PID 0X2873 /* SeaLINK+8 (2803) Port 7 */ | ||
589 | #define SEALEVEL_2803_8_PID 0X2883 /* SeaLINK+8 (2803) Port 8 */ | ||
590 | |||
591 | /* | ||
592 | * JETI SPECTROMETER SPECBOS 1201 | ||
593 | * http://www.jeti.com/products/sys/scb/scb1201.php | ||
594 | */ | ||
595 | #define JETI_VID 0x0c6c | ||
596 | #define JETI_SPC1201_PID 0x04b2 | ||
597 | |||
598 | /* | ||
599 | * FTDI USB UART chips used in construction projects from the | ||
600 | * Elektor Electronics magazine (http://elektor-electronics.co.uk) | ||
601 | */ | ||
602 | #define ELEKTOR_VID 0x0C7D | ||
603 | #define ELEKTOR_FT323R_PID 0x0005 /* RFID-Reader, issue 09-2006 */ | ||
604 | |||
605 | /* | ||
606 | * Posiflex inc retail equipment (http://www.posiflex.com.tw) | ||
607 | */ | ||
608 | #define POSIFLEX_VID 0x0d3a /* Vendor ID */ | ||
609 | #define POSIFLEX_PP7000_PID 0x0300 /* PP-7000II thermal printer */ | ||
610 | |||
611 | /* | ||
612 | * The following are the values for two KOBIL chipcard terminals. | ||
613 | */ | ||
614 | #define KOBIL_VID 0x0d46 /* KOBIL Vendor ID */ | ||
615 | #define KOBIL_CONV_B1_PID 0x2020 /* KOBIL Konverter for B1 */ | ||
616 | #define KOBIL_CONV_KAAN_PID 0x2021 /* KOBIL_Konverter for KAAN */ | ||
617 | |||
618 | #define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */ | ||
619 | #define FTDI_NF_RIC_PID 0x0001 /* Product Id */ | ||
620 | |||
621 | /* | ||
622 | * Falcom Wireless Communications GmbH | ||
623 | */ | ||
624 | #define FALCOM_VID 0x0F94 /* Vendor Id */ | ||
625 | #define FALCOM_TWIST_PID 0x0001 /* Falcom Twist USB GPRS modem */ | ||
626 | #define FALCOM_SAMBA_PID 0x0005 /* Falcom Samba USB GPRS modem */ | ||
627 | |||
628 | /* Larsen and Brusgaard AltiTrack/USBtrack */ | ||
629 | #define LARSENBRUSGAARD_VID 0x0FD8 | ||
630 | #define LB_ALTITRACK_PID 0x0001 | ||
631 | |||
632 | /* | ||
633 | * TTi (Thurlby Thandar Instruments) | ||
634 | */ | ||
635 | #define TTI_VID 0x103E /* Vendor Id */ | ||
636 | #define TTI_QL355P_PID 0x03E8 /* TTi QL355P power supply */ | ||
637 | |||
638 | /* Interbiometrics USB I/O Board */ | ||
639 | /* Developed for Interbiometrics by Rudolf Gugler */ | ||
640 | #define INTERBIOMETRICS_VID 0x1209 | ||
641 | #define INTERBIOMETRICS_IOBOARD_PID 0x1002 | ||
642 | #define INTERBIOMETRICS_MINI_IOBOARD_PID 0x1006 | ||
643 | |||
644 | /* | ||
645 | * Testo products (http://www.testo.com/) | ||
646 | * Submitted by Colin Leroy | ||
647 | */ | ||
648 | #define TESTO_VID 0x128D | ||
649 | #define TESTO_USB_INTERFACE_PID 0x0001 | ||
650 | |||
651 | /* | ||
652 | * Mobility Electronics products. | ||
653 | */ | ||
654 | #define MOBILITY_VID 0x1342 | ||
655 | #define MOBILITY_USB_SERIAL_PID 0x0202 /* EasiDock USB 200 serial */ | ||
656 | |||
657 | /* | ||
658 | * FIC / OpenMoko, Inc. http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v3 | ||
659 | * Submitted by Harald Welte <laforge@openmoko.org> | ||
660 | */ | ||
661 | #define FIC_VID 0x1457 | ||
662 | #define FIC_NEO1973_DEBUG_PID 0x5118 | ||
663 | |||
664 | /* Olimex */ | ||
665 | #define OLIMEX_VID 0x15BA | ||
666 | #define OLIMEX_ARM_USB_OCD_PID 0x0003 | ||
667 | |||
668 | /* | ||
669 | * Telldus Technologies | ||
670 | */ | ||
671 | #define TELLDUS_VID 0x1781 /* Vendor ID */ | ||
672 | #define TELLDUS_TELLSTICK_PID 0x0C30 /* RF control dongle 433 MHz using FT232RL */ | ||
673 | |||
674 | /* | ||
675 | * Bayer Ascensia Contour blood glucose meter USB-converter cable. | ||
676 | * http://winglucofacts.com/cables/ | ||
677 | */ | ||
678 | #define BAYER_VID 0x1A79 | ||
679 | #define BAYER_CONTOUR_CABLE_PID 0x6001 | ||
680 | |||
681 | /* | ||
682 | * The following are the values for the Matrix Orbital FTDI Range | ||
683 | * Anything in this range will use an FT232RL. | ||
684 | */ | ||
685 | #define MTXORB_VID 0x1B3D | ||
686 | #define MTXORB_FTDI_RANGE_0100_PID 0x0100 | ||
687 | #define MTXORB_FTDI_RANGE_0101_PID 0x0101 | ||
688 | #define MTXORB_FTDI_RANGE_0102_PID 0x0102 | ||
689 | #define MTXORB_FTDI_RANGE_0103_PID 0x0103 | ||
690 | #define MTXORB_FTDI_RANGE_0104_PID 0x0104 | ||
691 | #define MTXORB_FTDI_RANGE_0105_PID 0x0105 | ||
692 | #define MTXORB_FTDI_RANGE_0106_PID 0x0106 | ||
693 | #define MTXORB_FTDI_RANGE_0107_PID 0x0107 | ||
694 | #define MTXORB_FTDI_RANGE_0108_PID 0x0108 | ||
695 | #define MTXORB_FTDI_RANGE_0109_PID 0x0109 | ||
696 | #define MTXORB_FTDI_RANGE_010A_PID 0x010A | ||
697 | #define MTXORB_FTDI_RANGE_010B_PID 0x010B | ||
698 | #define MTXORB_FTDI_RANGE_010C_PID 0x010C | ||
699 | #define MTXORB_FTDI_RANGE_010D_PID 0x010D | ||
700 | #define MTXORB_FTDI_RANGE_010E_PID 0x010E | ||
701 | #define MTXORB_FTDI_RANGE_010F_PID 0x010F | ||
702 | #define MTXORB_FTDI_RANGE_0110_PID 0x0110 | ||
703 | #define MTXORB_FTDI_RANGE_0111_PID 0x0111 | ||
704 | #define MTXORB_FTDI_RANGE_0112_PID 0x0112 | ||
705 | #define MTXORB_FTDI_RANGE_0113_PID 0x0113 | ||
706 | #define MTXORB_FTDI_RANGE_0114_PID 0x0114 | ||
707 | #define MTXORB_FTDI_RANGE_0115_PID 0x0115 | ||
708 | #define MTXORB_FTDI_RANGE_0116_PID 0x0116 | ||
709 | #define MTXORB_FTDI_RANGE_0117_PID 0x0117 | ||
710 | #define MTXORB_FTDI_RANGE_0118_PID 0x0118 | ||
711 | #define MTXORB_FTDI_RANGE_0119_PID 0x0119 | ||
712 | #define MTXORB_FTDI_RANGE_011A_PID 0x011A | ||
713 | #define MTXORB_FTDI_RANGE_011B_PID 0x011B | ||
714 | #define MTXORB_FTDI_RANGE_011C_PID 0x011C | ||
715 | #define MTXORB_FTDI_RANGE_011D_PID 0x011D | ||
716 | #define MTXORB_FTDI_RANGE_011E_PID 0x011E | ||
717 | #define MTXORB_FTDI_RANGE_011F_PID 0x011F | ||
718 | #define MTXORB_FTDI_RANGE_0120_PID 0x0120 | ||
719 | #define MTXORB_FTDI_RANGE_0121_PID 0x0121 | ||
720 | #define MTXORB_FTDI_RANGE_0122_PID 0x0122 | ||
721 | #define MTXORB_FTDI_RANGE_0123_PID 0x0123 | ||
722 | #define MTXORB_FTDI_RANGE_0124_PID 0x0124 | ||
723 | #define MTXORB_FTDI_RANGE_0125_PID 0x0125 | ||
724 | #define MTXORB_FTDI_RANGE_0126_PID 0x0126 | ||
725 | #define MTXORB_FTDI_RANGE_0127_PID 0x0127 | ||
726 | #define MTXORB_FTDI_RANGE_0128_PID 0x0128 | ||
727 | #define MTXORB_FTDI_RANGE_0129_PID 0x0129 | ||
728 | #define MTXORB_FTDI_RANGE_012A_PID 0x012A | ||
729 | #define MTXORB_FTDI_RANGE_012B_PID 0x012B | ||
730 | #define MTXORB_FTDI_RANGE_012C_PID 0x012C | ||
731 | #define MTXORB_FTDI_RANGE_012D_PID 0x012D | ||
732 | #define MTXORB_FTDI_RANGE_012E_PID 0x012E | ||
733 | #define MTXORB_FTDI_RANGE_012F_PID 0x012F | ||
734 | #define MTXORB_FTDI_RANGE_0130_PID 0x0130 | ||
735 | #define MTXORB_FTDI_RANGE_0131_PID 0x0131 | ||
736 | #define MTXORB_FTDI_RANGE_0132_PID 0x0132 | ||
737 | #define MTXORB_FTDI_RANGE_0133_PID 0x0133 | ||
738 | #define MTXORB_FTDI_RANGE_0134_PID 0x0134 | ||
739 | #define MTXORB_FTDI_RANGE_0135_PID 0x0135 | ||
740 | #define MTXORB_FTDI_RANGE_0136_PID 0x0136 | ||
741 | #define MTXORB_FTDI_RANGE_0137_PID 0x0137 | ||
742 | #define MTXORB_FTDI_RANGE_0138_PID 0x0138 | ||
743 | #define MTXORB_FTDI_RANGE_0139_PID 0x0139 | ||
744 | #define MTXORB_FTDI_RANGE_013A_PID 0x013A | ||
745 | #define MTXORB_FTDI_RANGE_013B_PID 0x013B | ||
746 | #define MTXORB_FTDI_RANGE_013C_PID 0x013C | ||
747 | #define MTXORB_FTDI_RANGE_013D_PID 0x013D | ||
748 | #define MTXORB_FTDI_RANGE_013E_PID 0x013E | ||
749 | #define MTXORB_FTDI_RANGE_013F_PID 0x013F | ||
750 | #define MTXORB_FTDI_RANGE_0140_PID 0x0140 | ||
751 | #define MTXORB_FTDI_RANGE_0141_PID 0x0141 | ||
752 | #define MTXORB_FTDI_RANGE_0142_PID 0x0142 | ||
753 | #define MTXORB_FTDI_RANGE_0143_PID 0x0143 | ||
754 | #define MTXORB_FTDI_RANGE_0144_PID 0x0144 | ||
755 | #define MTXORB_FTDI_RANGE_0145_PID 0x0145 | ||
756 | #define MTXORB_FTDI_RANGE_0146_PID 0x0146 | ||
757 | #define MTXORB_FTDI_RANGE_0147_PID 0x0147 | ||
758 | #define MTXORB_FTDI_RANGE_0148_PID 0x0148 | ||
759 | #define MTXORB_FTDI_RANGE_0149_PID 0x0149 | ||
760 | #define MTXORB_FTDI_RANGE_014A_PID 0x014A | ||
761 | #define MTXORB_FTDI_RANGE_014B_PID 0x014B | ||
762 | #define MTXORB_FTDI_RANGE_014C_PID 0x014C | ||
763 | #define MTXORB_FTDI_RANGE_014D_PID 0x014D | ||
764 | #define MTXORB_FTDI_RANGE_014E_PID 0x014E | ||
765 | #define MTXORB_FTDI_RANGE_014F_PID 0x014F | ||
766 | #define MTXORB_FTDI_RANGE_0150_PID 0x0150 | ||
767 | #define MTXORB_FTDI_RANGE_0151_PID 0x0151 | ||
768 | #define MTXORB_FTDI_RANGE_0152_PID 0x0152 | ||
769 | #define MTXORB_FTDI_RANGE_0153_PID 0x0153 | ||
770 | #define MTXORB_FTDI_RANGE_0154_PID 0x0154 | ||
771 | #define MTXORB_FTDI_RANGE_0155_PID 0x0155 | ||
772 | #define MTXORB_FTDI_RANGE_0156_PID 0x0156 | ||
773 | #define MTXORB_FTDI_RANGE_0157_PID 0x0157 | ||
774 | #define MTXORB_FTDI_RANGE_0158_PID 0x0158 | ||
775 | #define MTXORB_FTDI_RANGE_0159_PID 0x0159 | ||
776 | #define MTXORB_FTDI_RANGE_015A_PID 0x015A | ||
777 | #define MTXORB_FTDI_RANGE_015B_PID 0x015B | ||
778 | #define MTXORB_FTDI_RANGE_015C_PID 0x015C | ||
779 | #define MTXORB_FTDI_RANGE_015D_PID 0x015D | ||
780 | #define MTXORB_FTDI_RANGE_015E_PID 0x015E | ||
781 | #define MTXORB_FTDI_RANGE_015F_PID 0x015F | ||
782 | #define MTXORB_FTDI_RANGE_0160_PID 0x0160 | ||
783 | #define MTXORB_FTDI_RANGE_0161_PID 0x0161 | ||
784 | #define MTXORB_FTDI_RANGE_0162_PID 0x0162 | ||
785 | #define MTXORB_FTDI_RANGE_0163_PID 0x0163 | ||
786 | #define MTXORB_FTDI_RANGE_0164_PID 0x0164 | ||
787 | #define MTXORB_FTDI_RANGE_0165_PID 0x0165 | ||
788 | #define MTXORB_FTDI_RANGE_0166_PID 0x0166 | ||
789 | #define MTXORB_FTDI_RANGE_0167_PID 0x0167 | ||
790 | #define MTXORB_FTDI_RANGE_0168_PID 0x0168 | ||
791 | #define MTXORB_FTDI_RANGE_0169_PID 0x0169 | ||
792 | #define MTXORB_FTDI_RANGE_016A_PID 0x016A | ||
793 | #define MTXORB_FTDI_RANGE_016B_PID 0x016B | ||
794 | #define MTXORB_FTDI_RANGE_016C_PID 0x016C | ||
795 | #define MTXORB_FTDI_RANGE_016D_PID 0x016D | ||
796 | #define MTXORB_FTDI_RANGE_016E_PID 0x016E | ||
797 | #define MTXORB_FTDI_RANGE_016F_PID 0x016F | ||
798 | #define MTXORB_FTDI_RANGE_0170_PID 0x0170 | ||
799 | #define MTXORB_FTDI_RANGE_0171_PID 0x0171 | ||
800 | #define MTXORB_FTDI_RANGE_0172_PID 0x0172 | ||
801 | #define MTXORB_FTDI_RANGE_0173_PID 0x0173 | ||
802 | #define MTXORB_FTDI_RANGE_0174_PID 0x0174 | ||
803 | #define MTXORB_FTDI_RANGE_0175_PID 0x0175 | ||
804 | #define MTXORB_FTDI_RANGE_0176_PID 0x0176 | ||
805 | #define MTXORB_FTDI_RANGE_0177_PID 0x0177 | ||
806 | #define MTXORB_FTDI_RANGE_0178_PID 0x0178 | ||
807 | #define MTXORB_FTDI_RANGE_0179_PID 0x0179 | ||
808 | #define MTXORB_FTDI_RANGE_017A_PID 0x017A | ||
809 | #define MTXORB_FTDI_RANGE_017B_PID 0x017B | ||
810 | #define MTXORB_FTDI_RANGE_017C_PID 0x017C | ||
811 | #define MTXORB_FTDI_RANGE_017D_PID 0x017D | ||
812 | #define MTXORB_FTDI_RANGE_017E_PID 0x017E | ||
813 | #define MTXORB_FTDI_RANGE_017F_PID 0x017F | ||
814 | #define MTXORB_FTDI_RANGE_0180_PID 0x0180 | ||
815 | #define MTXORB_FTDI_RANGE_0181_PID 0x0181 | ||
816 | #define MTXORB_FTDI_RANGE_0182_PID 0x0182 | ||
817 | #define MTXORB_FTDI_RANGE_0183_PID 0x0183 | ||
818 | #define MTXORB_FTDI_RANGE_0184_PID 0x0184 | ||
819 | #define MTXORB_FTDI_RANGE_0185_PID 0x0185 | ||
820 | #define MTXORB_FTDI_RANGE_0186_PID 0x0186 | ||
821 | #define MTXORB_FTDI_RANGE_0187_PID 0x0187 | ||
822 | #define MTXORB_FTDI_RANGE_0188_PID 0x0188 | ||
823 | #define MTXORB_FTDI_RANGE_0189_PID 0x0189 | ||
824 | #define MTXORB_FTDI_RANGE_018A_PID 0x018A | ||
825 | #define MTXORB_FTDI_RANGE_018B_PID 0x018B | ||
826 | #define MTXORB_FTDI_RANGE_018C_PID 0x018C | ||
827 | #define MTXORB_FTDI_RANGE_018D_PID 0x018D | ||
828 | #define MTXORB_FTDI_RANGE_018E_PID 0x018E | ||
829 | #define MTXORB_FTDI_RANGE_018F_PID 0x018F | ||
830 | #define MTXORB_FTDI_RANGE_0190_PID 0x0190 | ||
831 | #define MTXORB_FTDI_RANGE_0191_PID 0x0191 | ||
832 | #define MTXORB_FTDI_RANGE_0192_PID 0x0192 | ||
833 | #define MTXORB_FTDI_RANGE_0193_PID 0x0193 | ||
834 | #define MTXORB_FTDI_RANGE_0194_PID 0x0194 | ||
835 | #define MTXORB_FTDI_RANGE_0195_PID 0x0195 | ||
836 | #define MTXORB_FTDI_RANGE_0196_PID 0x0196 | ||
837 | #define MTXORB_FTDI_RANGE_0197_PID 0x0197 | ||
838 | #define MTXORB_FTDI_RANGE_0198_PID 0x0198 | ||
839 | #define MTXORB_FTDI_RANGE_0199_PID 0x0199 | ||
840 | #define MTXORB_FTDI_RANGE_019A_PID 0x019A | ||
841 | #define MTXORB_FTDI_RANGE_019B_PID 0x019B | ||
842 | #define MTXORB_FTDI_RANGE_019C_PID 0x019C | ||
843 | #define MTXORB_FTDI_RANGE_019D_PID 0x019D | ||
844 | #define MTXORB_FTDI_RANGE_019E_PID 0x019E | ||
845 | #define MTXORB_FTDI_RANGE_019F_PID 0x019F | ||
846 | #define MTXORB_FTDI_RANGE_01A0_PID 0x01A0 | ||
847 | #define MTXORB_FTDI_RANGE_01A1_PID 0x01A1 | ||
848 | #define MTXORB_FTDI_RANGE_01A2_PID 0x01A2 | ||
849 | #define MTXORB_FTDI_RANGE_01A3_PID 0x01A3 | ||
850 | #define MTXORB_FTDI_RANGE_01A4_PID 0x01A4 | ||
851 | #define MTXORB_FTDI_RANGE_01A5_PID 0x01A5 | ||
852 | #define MTXORB_FTDI_RANGE_01A6_PID 0x01A6 | ||
853 | #define MTXORB_FTDI_RANGE_01A7_PID 0x01A7 | ||
854 | #define MTXORB_FTDI_RANGE_01A8_PID 0x01A8 | ||
855 | #define MTXORB_FTDI_RANGE_01A9_PID 0x01A9 | ||
856 | #define MTXORB_FTDI_RANGE_01AA_PID 0x01AA | ||
857 | #define MTXORB_FTDI_RANGE_01AB_PID 0x01AB | ||
858 | #define MTXORB_FTDI_RANGE_01AC_PID 0x01AC | ||
859 | #define MTXORB_FTDI_RANGE_01AD_PID 0x01AD | ||
860 | #define MTXORB_FTDI_RANGE_01AE_PID 0x01AE | ||
861 | #define MTXORB_FTDI_RANGE_01AF_PID 0x01AF | ||
862 | #define MTXORB_FTDI_RANGE_01B0_PID 0x01B0 | ||
863 | #define MTXORB_FTDI_RANGE_01B1_PID 0x01B1 | ||
864 | #define MTXORB_FTDI_RANGE_01B2_PID 0x01B2 | ||
865 | #define MTXORB_FTDI_RANGE_01B3_PID 0x01B3 | ||
866 | #define MTXORB_FTDI_RANGE_01B4_PID 0x01B4 | ||
867 | #define MTXORB_FTDI_RANGE_01B5_PID 0x01B5 | ||
868 | #define MTXORB_FTDI_RANGE_01B6_PID 0x01B6 | ||
869 | #define MTXORB_FTDI_RANGE_01B7_PID 0x01B7 | ||
870 | #define MTXORB_FTDI_RANGE_01B8_PID 0x01B8 | ||
871 | #define MTXORB_FTDI_RANGE_01B9_PID 0x01B9 | ||
872 | #define MTXORB_FTDI_RANGE_01BA_PID 0x01BA | ||
873 | #define MTXORB_FTDI_RANGE_01BB_PID 0x01BB | ||
874 | #define MTXORB_FTDI_RANGE_01BC_PID 0x01BC | ||
875 | #define MTXORB_FTDI_RANGE_01BD_PID 0x01BD | ||
876 | #define MTXORB_FTDI_RANGE_01BE_PID 0x01BE | ||
877 | #define MTXORB_FTDI_RANGE_01BF_PID 0x01BF | ||
878 | #define MTXORB_FTDI_RANGE_01C0_PID 0x01C0 | ||
879 | #define MTXORB_FTDI_RANGE_01C1_PID 0x01C1 | ||
880 | #define MTXORB_FTDI_RANGE_01C2_PID 0x01C2 | ||
881 | #define MTXORB_FTDI_RANGE_01C3_PID 0x01C3 | ||
882 | #define MTXORB_FTDI_RANGE_01C4_PID 0x01C4 | ||
883 | #define MTXORB_FTDI_RANGE_01C5_PID 0x01C5 | ||
884 | #define MTXORB_FTDI_RANGE_01C6_PID 0x01C6 | ||
885 | #define MTXORB_FTDI_RANGE_01C7_PID 0x01C7 | ||
886 | #define MTXORB_FTDI_RANGE_01C8_PID 0x01C8 | ||
887 | #define MTXORB_FTDI_RANGE_01C9_PID 0x01C9 | ||
888 | #define MTXORB_FTDI_RANGE_01CA_PID 0x01CA | ||
889 | #define MTXORB_FTDI_RANGE_01CB_PID 0x01CB | ||
890 | #define MTXORB_FTDI_RANGE_01CC_PID 0x01CC | ||
891 | #define MTXORB_FTDI_RANGE_01CD_PID 0x01CD | ||
892 | #define MTXORB_FTDI_RANGE_01CE_PID 0x01CE | ||
893 | #define MTXORB_FTDI_RANGE_01CF_PID 0x01CF | ||
894 | #define MTXORB_FTDI_RANGE_01D0_PID 0x01D0 | ||
895 | #define MTXORB_FTDI_RANGE_01D1_PID 0x01D1 | ||
896 | #define MTXORB_FTDI_RANGE_01D2_PID 0x01D2 | ||
897 | #define MTXORB_FTDI_RANGE_01D3_PID 0x01D3 | ||
898 | #define MTXORB_FTDI_RANGE_01D4_PID 0x01D4 | ||
899 | #define MTXORB_FTDI_RANGE_01D5_PID 0x01D5 | ||
900 | #define MTXORB_FTDI_RANGE_01D6_PID 0x01D6 | ||
901 | #define MTXORB_FTDI_RANGE_01D7_PID 0x01D7 | ||
902 | #define MTXORB_FTDI_RANGE_01D8_PID 0x01D8 | ||
903 | #define MTXORB_FTDI_RANGE_01D9_PID 0x01D9 | ||
904 | #define MTXORB_FTDI_RANGE_01DA_PID 0x01DA | ||
905 | #define MTXORB_FTDI_RANGE_01DB_PID 0x01DB | ||
906 | #define MTXORB_FTDI_RANGE_01DC_PID 0x01DC | ||
907 | #define MTXORB_FTDI_RANGE_01DD_PID 0x01DD | ||
908 | #define MTXORB_FTDI_RANGE_01DE_PID 0x01DE | ||
909 | #define MTXORB_FTDI_RANGE_01DF_PID 0x01DF | ||
910 | #define MTXORB_FTDI_RANGE_01E0_PID 0x01E0 | ||
911 | #define MTXORB_FTDI_RANGE_01E1_PID 0x01E1 | ||
912 | #define MTXORB_FTDI_RANGE_01E2_PID 0x01E2 | ||
913 | #define MTXORB_FTDI_RANGE_01E3_PID 0x01E3 | ||
914 | #define MTXORB_FTDI_RANGE_01E4_PID 0x01E4 | ||
915 | #define MTXORB_FTDI_RANGE_01E5_PID 0x01E5 | ||
916 | #define MTXORB_FTDI_RANGE_01E6_PID 0x01E6 | ||
917 | #define MTXORB_FTDI_RANGE_01E7_PID 0x01E7 | ||
918 | #define MTXORB_FTDI_RANGE_01E8_PID 0x01E8 | ||
919 | #define MTXORB_FTDI_RANGE_01E9_PID 0x01E9 | ||
920 | #define MTXORB_FTDI_RANGE_01EA_PID 0x01EA | ||
921 | #define MTXORB_FTDI_RANGE_01EB_PID 0x01EB | ||
922 | #define MTXORB_FTDI_RANGE_01EC_PID 0x01EC | ||
923 | #define MTXORB_FTDI_RANGE_01ED_PID 0x01ED | ||
924 | #define MTXORB_FTDI_RANGE_01EE_PID 0x01EE | ||
925 | #define MTXORB_FTDI_RANGE_01EF_PID 0x01EF | ||
926 | #define MTXORB_FTDI_RANGE_01F0_PID 0x01F0 | ||
927 | #define MTXORB_FTDI_RANGE_01F1_PID 0x01F1 | ||
928 | #define MTXORB_FTDI_RANGE_01F2_PID 0x01F2 | ||
929 | #define MTXORB_FTDI_RANGE_01F3_PID 0x01F3 | ||
930 | #define MTXORB_FTDI_RANGE_01F4_PID 0x01F4 | ||
931 | #define MTXORB_FTDI_RANGE_01F5_PID 0x01F5 | ||
932 | #define MTXORB_FTDI_RANGE_01F6_PID 0x01F6 | ||
933 | #define MTXORB_FTDI_RANGE_01F7_PID 0x01F7 | ||
934 | #define MTXORB_FTDI_RANGE_01F8_PID 0x01F8 | ||
935 | #define MTXORB_FTDI_RANGE_01F9_PID 0x01F9 | ||
936 | #define MTXORB_FTDI_RANGE_01FA_PID 0x01FA | ||
937 | #define MTXORB_FTDI_RANGE_01FB_PID 0x01FB | ||
938 | #define MTXORB_FTDI_RANGE_01FC_PID 0x01FC | ||
939 | #define MTXORB_FTDI_RANGE_01FD_PID 0x01FD | ||
940 | #define MTXORB_FTDI_RANGE_01FE_PID 0x01FE | ||
941 | #define MTXORB_FTDI_RANGE_01FF_PID 0x01FF | ||
942 | |||
943 | |||
944 | |||
945 | /* | ||
946 | * The Mobility Lab (TML) | ||
947 | * Submitted by Pierre Castella | ||
948 | */ | ||
949 | #define TML_VID 0x1B91 /* Vendor ID */ | ||
950 | #define TML_USB_SERIAL_PID 0x0064 /* USB - Serial Converter */ | ||
951 | |||
952 | /* Alti-2 products http://www.alti-2.com */ | ||
953 | #define ALTI2_VID 0x1BC9 | ||
954 | #define ALTI2_N3_PID 0x6001 /* Neptune 3 */ | ||
955 | |||
956 | /* | ||
957 | * Dresden Elektronic Sensor Terminal Board | ||
958 | */ | ||
959 | #define DE_VID 0x1cf1 /* Vendor ID */ | ||
960 | #define STB_PID 0x0001 /* Sensor Terminal Board */ | ||
961 | #define WHT_PID 0x0004 /* Wireless Handheld Terminal */ | ||
962 | |||
963 | /* | ||
964 | * Papouch products (http://www.papouch.com/) | ||
965 | * Submitted by Folkert van Heusden | ||
966 | */ | ||
967 | |||
968 | #define PAPOUCH_VID 0x5050 /* Vendor ID */ | ||
969 | #define PAPOUCH_TMU_PID 0x0400 /* TMU USB Thermometer */ | ||
970 | #define PAPOUCH_QUIDO4x4_PID 0x0900 /* Quido 4/4 Module */ | ||
971 | |||
972 | /* | ||
973 | * Marvell SheevaPlug | ||
974 | */ | ||
975 | #define MARVELL_VID 0x9e88 | ||
976 | #define MARVELL_SHEEVAPLUG_PID 0x9e8f | ||
977 | |||
978 | /* | ||
979 | * Evolution Robotics products (http://www.evolution.com/). | ||
980 | * Submitted by Shawn M. Lavelle. | ||
981 | */ | ||
982 | #define EVOLUTION_VID 0xDEEE /* Vendor ID */ | ||
983 | #define EVOLUTION_ER1_PID 0x0300 /* ER1 Control Module */ | ||
984 | #define EVO_8U232AM_PID 0x02FF /* Evolution robotics RCM2 (FT232AM)*/ | ||
985 | #define EVO_HYBRID_PID 0x0302 /* Evolution robotics RCM4 PID (FT232BM)*/ | ||
986 | #define EVO_RCM4_PID 0x0303 /* Evolution robotics RCM4 PID */ | ||
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 485fa9c5b107..2cfe2451ed97 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -127,8 +127,9 @@ | |||
127 | #define BANDB_DEVICE_ID_US9ML2_4 0xAC30 | 127 | #define BANDB_DEVICE_ID_US9ML2_4 0xAC30 |
128 | #define BANDB_DEVICE_ID_USPTL4_2 0xAC31 | 128 | #define BANDB_DEVICE_ID_USPTL4_2 0xAC31 |
129 | #define BANDB_DEVICE_ID_USPTL4_4 0xAC32 | 129 | #define BANDB_DEVICE_ID_USPTL4_4 0xAC32 |
130 | #define BANDB_DEVICE_ID_USOPTL4_2 0xAC42 | 130 | #define BANDB_DEVICE_ID_USOPTL4_2 0xAC42 |
131 | #define BANDB_DEVICE_ID_USOPTL4_4 0xAC44 | 131 | #define BANDB_DEVICE_ID_USOPTL4_4 0xAC44 |
132 | #define BANDB_DEVICE_ID_USOPTL2_4 0xAC24 | ||
132 | 133 | ||
133 | /* This driver also supports | 134 | /* This driver also supports |
134 | * ATEN UC2324 device using Moschip MCS7840 | 135 | * ATEN UC2324 device using Moschip MCS7840 |
@@ -191,6 +192,7 @@ static struct usb_device_id moschip_port_id_table[] = { | |||
191 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USPTL4_4)}, | 192 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USPTL4_4)}, |
192 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, | 193 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, |
193 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, | 194 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, |
195 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL2_4)}, | ||
194 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, | 196 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, |
195 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, | 197 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, |
196 | {} /* terminating entry */ | 198 | {} /* terminating entry */ |
@@ -207,6 +209,7 @@ static __devinitdata struct usb_device_id moschip_id_table_combined[] = { | |||
207 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USPTL4_4)}, | 209 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USPTL4_4)}, |
208 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, | 210 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_2)}, |
209 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, | 211 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL4_4)}, |
212 | {USB_DEVICE(USB_VENDOR_ID_BANDB, BANDB_DEVICE_ID_USOPTL2_4)}, | ||
210 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, | 213 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2324)}, |
211 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, | 214 | {USB_DEVICE(USB_VENDOR_ID_ATENINTL, ATENINTL_DEVICE_ID_UC2322)}, |
212 | {} /* terminating entry */ | 215 | {} /* terminating entry */ |
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 9a2b903492ec..6e94a6711f08 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -340,6 +340,10 @@ static int option_resume(struct usb_serial *serial); | |||
340 | #define FOUR_G_SYSTEMS_VENDOR_ID 0x1c9e | 340 | #define FOUR_G_SYSTEMS_VENDOR_ID 0x1c9e |
341 | #define FOUR_G_SYSTEMS_PRODUCT_W14 0x9603 | 341 | #define FOUR_G_SYSTEMS_PRODUCT_W14 0x9603 |
342 | 342 | ||
343 | /* Haier products */ | ||
344 | #define HAIER_VENDOR_ID 0x201e | ||
345 | #define HAIER_PRODUCT_CE100 0x2009 | ||
346 | |||
343 | static struct usb_device_id option_ids[] = { | 347 | static struct usb_device_id option_ids[] = { |
344 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) }, | 348 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) }, |
345 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) }, | 349 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) }, |
@@ -641,6 +645,7 @@ static struct usb_device_id option_ids[] = { | |||
641 | { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) }, | 645 | { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) }, |
642 | { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) }, | 646 | { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) }, |
643 | { USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) }, | 647 | { USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) }, |
648 | { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) }, | ||
644 | { } /* Terminating entry */ | 649 | { } /* Terminating entry */ |
645 | }; | 650 | }; |
646 | MODULE_DEVICE_TABLE(usb, option_ids); | 651 | MODULE_DEVICE_TABLE(usb, option_ids); |