xref: /openbmc/linux/drivers/usb/serial/ftdi_sio.h (revision c3d36c45)
11da177e4SLinus Torvalds /*
21da177e4SLinus Torvalds  * Definitions for the FTDI USB Single Port Serial Converter -
31da177e4SLinus Torvalds  * known as FTDI_SIO (Serial Input/Output application of the chipset)
41da177e4SLinus Torvalds  *
51da177e4SLinus Torvalds  * The example I have is known as the USC-1000 which is available from
61da177e4SLinus Torvalds  * http://www.dse.co.nz - cat no XH4214 It looks similar to this:
71da177e4SLinus Torvalds  * http://www.dansdata.com/usbser.htm but I can't be sure There are other
81da177e4SLinus Torvalds  * USC-1000s which don't look like my device though so beware!
91da177e4SLinus Torvalds  *
101da177e4SLinus Torvalds  * The device is based on the FTDI FT8U100AX chip. It has a DB25 on one side,
111da177e4SLinus Torvalds  * USB on the other.
121da177e4SLinus Torvalds  *
131da177e4SLinus Torvalds  * Thanx to FTDI (http://www.ftdi.co.uk) for so kindly providing details
141da177e4SLinus Torvalds  * of the protocol required to talk to the device and ongoing assistence
151da177e4SLinus Torvalds  * during development.
161da177e4SLinus Torvalds  *
171da177e4SLinus Torvalds  * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the
181da177e4SLinus Torvalds  * FTDI_SIO implementation.
191da177e4SLinus Torvalds  *
2096de0e25SJan Engelhardt  * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais
211da177e4SLinus Torvalds  * from Rudolf Gugler
221da177e4SLinus Torvalds  *
231da177e4SLinus Torvalds  */
241da177e4SLinus Torvalds 
251da177e4SLinus Torvalds #define FTDI_VID	0x0403	/* Vendor Id */
261da177e4SLinus Torvalds #define FTDI_SIO_PID	0x8372	/* Product Id SIO application of 8U100AX  */
271da177e4SLinus Torvalds #define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */
281da177e4SLinus Torvalds #define FTDI_8U232AM_ALT_PID 0x6006 /* FTDI's alternate PID for above */
291da177e4SLinus Torvalds #define FTDI_8U2232C_PID 0x6010 /* Dual channel device */
30d8b21606SGard Spreemann #define FTDI_232RL_PID  0xFBFA  /* Product ID for FT232RL */
311da177e4SLinus Torvalds #define FTDI_RELAIS_PID	0xFA10  /* Relais device from Rudolf Gugler */
321da177e4SLinus Torvalds #define FTDI_NF_RIC_VID	0x0DCD	/* Vendor Id */
331da177e4SLinus Torvalds #define FTDI_NF_RIC_PID	0x0001	/* Product Id */
34868e440dSJelle Foks #define FTDI_USBX_707_PID 0xF857	/* ADSTech IR Blaster USBX-707 */
351da177e4SLinus Torvalds 
36641adaaeSLouis Nyffenegger 
372011e924SJonathan Davies /* www.canusb.com Lawicel CANUSB device */
382011e924SJonathan Davies #define FTDI_CANUSB_PID 0xFFA8 /* Product Id */
392011e924SJonathan Davies 
402011e924SJonathan Davies /* AlphaMicro Components AMC-232USB01 device */
412011e924SJonathan Davies #define FTDI_AMC232_PID 0xFF00 /* Product Id */
422011e924SJonathan Davies 
436e1ab3edSPeter Mack /* SCS HF Radio Modems PID's (http://www.scs-ptc.com) */
446e1ab3edSPeter Mack /* the VID is the standard ftdi vid (FTDI_VID) */
456e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_0_PID 0xD010    /* SCS PTC-IIusb */
466e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_1_PID 0xD011    /* SCS Tracker / DSP TNC */
476e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_2_PID 0xD012
486e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_3_PID 0xD013
496e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_4_PID 0xD014
506e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_5_PID 0xD015
516e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_6_PID 0xD016
526e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_7_PID 0xD017
536e1ab3edSPeter Mack 
5472a9f958SRazvan Gavril /* ACT Solutions HomePro ZWave interface (http://www.act-solutions.com/HomePro.htm) */
5572a9f958SRazvan Gavril #define FTDI_ACTZWAVE_PID	0xF2D0
5672a9f958SRazvan Gavril 
5772a9f958SRazvan Gavril 
5896de0e25SJan Engelhardt /* www.starting-point-systems.com µChameleon device */
59c0f8d561SChristophe Mariac #define FTDI_MICRO_CHAMELEON_PID	0xCAA0	/* Product Id */
60c0f8d561SChristophe Mariac 
611da177e4SLinus Torvalds /* www.irtrans.de device */
621da177e4SLinus Torvalds #define FTDI_IRTRANS_PID 0xFC60 /* Product Id */
631da177e4SLinus Torvalds 
64641adaaeSLouis Nyffenegger 
65641adaaeSLouis Nyffenegger /* www.thoughttechnology.com/ TT-USB provide with procomp use ftdi_sio */
66641adaaeSLouis Nyffenegger #define FTDI_TTUSB_PID 0xFF20 /* Product Id */
67641adaaeSLouis Nyffenegger 
6869737dfaSLuiz Fernando N. Capitulino /* iPlus device */
6969737dfaSLuiz Fernando N. Capitulino #define FTDI_IPLUS_PID 0xD070 /* Product Id */
70d099321bSLuiz Fernando N. Capitulino #define FTDI_IPLUS2_PID 0xD071 /* Product Id */
7169737dfaSLuiz Fernando N. Capitulino 
72fad14a0dSFrank Sievertsen /* DMX4ALL DMX Interfaces */
73fad14a0dSFrank Sievertsen #define FTDI_DMX4ALL 0xC850
74fad14a0dSFrank Sievertsen 
752adb80e9SGuido Scholz /* OpenDCC (www.opendcc.de) product id */
762adb80e9SGuido Scholz #define FTDI_OPENDCC_PID	0xBFD8
772adb80e9SGuido Scholz 
781da177e4SLinus Torvalds /* www.crystalfontz.com devices - thanx for providing free devices for evaluation ! */
791da177e4SLinus Torvalds /* they use the ftdi chipset for the USB interface and the vendor id is the same */
801da177e4SLinus Torvalds #define FTDI_XF_632_PID 0xFC08	/* 632: 16x2 Character Display */
811da177e4SLinus Torvalds #define FTDI_XF_634_PID 0xFC09	/* 634: 20x4 Character Display */
821da177e4SLinus Torvalds #define FTDI_XF_547_PID 0xFC0A	/* 547: Two line Display */
831da177e4SLinus Torvalds #define FTDI_XF_633_PID 0xFC0B	/* 633: 16x2 Character Display with Keys */
841da177e4SLinus Torvalds #define FTDI_XF_631_PID 0xFC0C	/* 631: 20x2 Character Display */
851da177e4SLinus Torvalds #define FTDI_XF_635_PID 0xFC0D	/* 635: 20x4 Character Display */
861da177e4SLinus Torvalds #define FTDI_XF_640_PID 0xFC0E	/* 640: Two line Display */
871da177e4SLinus Torvalds #define FTDI_XF_642_PID 0xFC0F	/* 642: Two line Display */
881da177e4SLinus Torvalds 
891da177e4SLinus Torvalds /* Video Networks Limited / Homechoice in the UK use an ftdi-based device for their 1Mb */
901da177e4SLinus Torvalds /* broadband internet service.  The following PID is exhibited by the usb device supplied */
911da177e4SLinus Torvalds /* (the VID is the standard ftdi vid (FTDI_VID) */
921da177e4SLinus Torvalds #define FTDI_VNHCPCUSB_D_PID 0xfe38 /* Product Id */
931da177e4SLinus Torvalds 
941da177e4SLinus Torvalds /*
95ce40d290SWouter Paesen  * PCDJ use ftdi based dj-controllers.  The following PID is for their DAC-2 device
96ce40d290SWouter Paesen  * http://www.pcdjhardware.com/DAC2.asp (PID sent by Wouter Paesen)
97ce40d290SWouter Paesen  * (the VID is the standard ftdi vid (FTDI_VID) */
98ce40d290SWouter Paesen #define FTDI_PCDJ_DAC2_PID 0xFA88
99ce40d290SWouter Paesen 
100ce40d290SWouter Paesen /*
1011da177e4SLinus Torvalds  * The following are the values for the Matrix Orbital LCD displays,
1021da177e4SLinus Torvalds  * which are the FT232BM ( similar to the 8U232AM )
1031da177e4SLinus Torvalds  */
1041da177e4SLinus Torvalds #define FTDI_MTXORB_0_PID      0xFA00  /* Matrix Orbital Product Id */
1051da177e4SLinus Torvalds #define FTDI_MTXORB_1_PID      0xFA01  /* Matrix Orbital Product Id */
1061da177e4SLinus Torvalds #define FTDI_MTXORB_2_PID      0xFA02  /* Matrix Orbital Product Id */
1071da177e4SLinus Torvalds #define FTDI_MTXORB_3_PID      0xFA03  /* Matrix Orbital Product Id */
1081da177e4SLinus Torvalds #define FTDI_MTXORB_4_PID      0xFA04  /* Matrix Orbital Product Id */
1091da177e4SLinus Torvalds #define FTDI_MTXORB_5_PID      0xFA05  /* Matrix Orbital Product Id */
1101da177e4SLinus Torvalds #define FTDI_MTXORB_6_PID      0xFA06  /* Matrix Orbital Product Id */
1111da177e4SLinus Torvalds 
11220734345SHarald Welte /* OOCDlink by Joern Kaipf <joernk@web.de>
11320734345SHarald Welte  * (http://www.joernonline.de/dw/doku.php?id=start&idx=projects:oocdlink) */
11420734345SHarald Welte #define FTDI_OOCDLINK_PID	0xbaf8	/* Amontec JTAGkey */
11520734345SHarald Welte 
116546d7eecSKevin Vance /*
117ebb3770cSRay Molenkamp  * The following are the values for the Matrix Orbital FTDI Range
118ebb3770cSRay Molenkamp  * Anything in this range will use an FT232RL.
119546d7eecSKevin Vance  */
120ebb3770cSRay Molenkamp #define MTXORB_VID			0x1B3D
121ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0100_PID	0x0100
122ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0101_PID	0x0101
123ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0102_PID	0x0102
124ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0103_PID	0x0103
125ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0104_PID	0x0104
126ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0105_PID	0x0105
127ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0106_PID	0x0106
128ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0107_PID	0x0107
129ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0108_PID	0x0108
130ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0109_PID	0x0109
131ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010A_PID	0x010A
132ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010B_PID	0x010B
133ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010C_PID	0x010C
134ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010D_PID	0x010D
135ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010E_PID	0x010E
136ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010F_PID	0x010F
137ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0110_PID	0x0110
138ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0111_PID	0x0111
139ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0112_PID	0x0112
140ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0113_PID	0x0113
141ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0114_PID	0x0114
142ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0115_PID	0x0115
143ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0116_PID	0x0116
144ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0117_PID	0x0117
145ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0118_PID	0x0118
146ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0119_PID	0x0119
147ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011A_PID	0x011A
148ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011B_PID	0x011B
149ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011C_PID	0x011C
150ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011D_PID	0x011D
151ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011E_PID	0x011E
152ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011F_PID	0x011F
153ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0120_PID	0x0120
154ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0121_PID	0x0121
155ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0122_PID	0x0122
156ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0123_PID	0x0123
157ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0124_PID	0x0124
158ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0125_PID	0x0125
159ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0126_PID	0x0126
160ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0127_PID	0x0127
161ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0128_PID	0x0128
162ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0129_PID	0x0129
163ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012A_PID	0x012A
164ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012B_PID	0x012B
165ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012C_PID	0x012C
166ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012D_PID	0x012D
167ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012E_PID	0x012E
168ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012F_PID	0x012F
169ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0130_PID	0x0130
170ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0131_PID	0x0131
171ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0132_PID	0x0132
172ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0133_PID	0x0133
173ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0134_PID	0x0134
174ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0135_PID	0x0135
175ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0136_PID	0x0136
176ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0137_PID	0x0137
177ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0138_PID	0x0138
178ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0139_PID	0x0139
179ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013A_PID	0x013A
180ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013B_PID	0x013B
181ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013C_PID	0x013C
182ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013D_PID	0x013D
183ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013E_PID	0x013E
184ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013F_PID	0x013F
185ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0140_PID	0x0140
186ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0141_PID	0x0141
187ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0142_PID	0x0142
188ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0143_PID	0x0143
189ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0144_PID	0x0144
190ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0145_PID	0x0145
191ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0146_PID	0x0146
192ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0147_PID	0x0147
193ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0148_PID	0x0148
194ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0149_PID	0x0149
195ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014A_PID	0x014A
196ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014B_PID	0x014B
197ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014C_PID	0x014C
198ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014D_PID	0x014D
199ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014E_PID	0x014E
200ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014F_PID	0x014F
201ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0150_PID	0x0150
202ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0151_PID	0x0151
203ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0152_PID	0x0152
204ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0153_PID	0x0153
205ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0154_PID	0x0154
206ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0155_PID	0x0155
207ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0156_PID	0x0156
208ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0157_PID	0x0157
209ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0158_PID	0x0158
210ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0159_PID	0x0159
211ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015A_PID	0x015A
212ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015B_PID	0x015B
213ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015C_PID	0x015C
214ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015D_PID	0x015D
215ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015E_PID	0x015E
216ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015F_PID	0x015F
217ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0160_PID	0x0160
218ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0161_PID	0x0161
219ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0162_PID	0x0162
220ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0163_PID	0x0163
221ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0164_PID	0x0164
222ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0165_PID	0x0165
223ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0166_PID	0x0166
224ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0167_PID	0x0167
225ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0168_PID	0x0168
226ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0169_PID	0x0169
227ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016A_PID	0x016A
228ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016B_PID	0x016B
229ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016C_PID	0x016C
230ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016D_PID	0x016D
231ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016E_PID	0x016E
232ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016F_PID	0x016F
233ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0170_PID	0x0170
234ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0171_PID	0x0171
235ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0172_PID	0x0172
236ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0173_PID	0x0173
237ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0174_PID	0x0174
238ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0175_PID	0x0175
239ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0176_PID	0x0176
240ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0177_PID	0x0177
241ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0178_PID	0x0178
242ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0179_PID	0x0179
243ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017A_PID	0x017A
244ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017B_PID	0x017B
245ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017C_PID	0x017C
246ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017D_PID	0x017D
247ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017E_PID	0x017E
248ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017F_PID	0x017F
249ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0180_PID	0x0180
250ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0181_PID	0x0181
251ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0182_PID	0x0182
252ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0183_PID	0x0183
253ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0184_PID	0x0184
254ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0185_PID	0x0185
255ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0186_PID	0x0186
256ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0187_PID	0x0187
257ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0188_PID	0x0188
258ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0189_PID	0x0189
259ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018A_PID	0x018A
260ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018B_PID	0x018B
261ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018C_PID	0x018C
262ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018D_PID	0x018D
263ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018E_PID	0x018E
264ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018F_PID	0x018F
265ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0190_PID	0x0190
266ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0191_PID	0x0191
267ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0192_PID	0x0192
268ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0193_PID	0x0193
269ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0194_PID	0x0194
270ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0195_PID	0x0195
271ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0196_PID	0x0196
272ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0197_PID	0x0197
273ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0198_PID	0x0198
274ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0199_PID	0x0199
275ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019A_PID	0x019A
276ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019B_PID	0x019B
277ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019C_PID	0x019C
278ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019D_PID	0x019D
279ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019E_PID	0x019E
280ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019F_PID	0x019F
281ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A0_PID	0x01A0
282ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A1_PID	0x01A1
283ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A2_PID	0x01A2
284ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A3_PID	0x01A3
285ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A4_PID	0x01A4
286ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A5_PID	0x01A5
287ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A6_PID	0x01A6
288ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A7_PID	0x01A7
289ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A8_PID	0x01A8
290ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A9_PID	0x01A9
291ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AA_PID	0x01AA
292ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AB_PID	0x01AB
293ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AC_PID	0x01AC
294ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AD_PID	0x01AD
295ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AE_PID	0x01AE
296ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AF_PID	0x01AF
297ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B0_PID	0x01B0
298ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B1_PID	0x01B1
299ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B2_PID	0x01B2
300ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B3_PID	0x01B3
301ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B4_PID	0x01B4
302ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B5_PID	0x01B5
303ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B6_PID	0x01B6
304ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B7_PID	0x01B7
305ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B8_PID	0x01B8
306ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B9_PID	0x01B9
307ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BA_PID	0x01BA
308ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BB_PID	0x01BB
309ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BC_PID	0x01BC
310ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BD_PID	0x01BD
311ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BE_PID	0x01BE
312ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BF_PID	0x01BF
313ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C0_PID	0x01C0
314ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C1_PID	0x01C1
315ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C2_PID	0x01C2
316ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C3_PID	0x01C3
317ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C4_PID	0x01C4
318ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C5_PID	0x01C5
319ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C6_PID	0x01C6
320ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C7_PID	0x01C7
321ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C8_PID	0x01C8
322ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C9_PID	0x01C9
323ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CA_PID	0x01CA
324ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CB_PID	0x01CB
325ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CC_PID	0x01CC
326ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CD_PID	0x01CD
327ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CE_PID	0x01CE
328ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CF_PID	0x01CF
329ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D0_PID	0x01D0
330ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D1_PID	0x01D1
331ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D2_PID	0x01D2
332ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D3_PID	0x01D3
333ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D4_PID	0x01D4
334ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D5_PID	0x01D5
335ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D6_PID	0x01D6
336ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D7_PID	0x01D7
337ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D8_PID	0x01D8
338ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D9_PID	0x01D9
339ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DA_PID	0x01DA
340ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DB_PID	0x01DB
341ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DC_PID	0x01DC
342ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DD_PID	0x01DD
343ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DE_PID	0x01DE
344ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DF_PID	0x01DF
345ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E0_PID	0x01E0
346ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E1_PID	0x01E1
347ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E2_PID	0x01E2
348ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E3_PID	0x01E3
349ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E4_PID	0x01E4
350ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E5_PID	0x01E5
351ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E6_PID	0x01E6
352ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E7_PID	0x01E7
353ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E8_PID	0x01E8
354ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E9_PID	0x01E9
355ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EA_PID	0x01EA
356ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EB_PID	0x01EB
357ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EC_PID	0x01EC
358ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01ED_PID	0x01ED
359ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EE_PID	0x01EE
360ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EF_PID	0x01EF
361ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F0_PID	0x01F0
362ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F1_PID	0x01F1
363ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F2_PID	0x01F2
364ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F3_PID	0x01F3
365ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F4_PID	0x01F4
366ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F5_PID	0x01F5
367ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F6_PID	0x01F6
368ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F7_PID	0x01F7
369ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F8_PID	0x01F8
370ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F9_PID	0x01F9
371ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FA_PID	0x01FA
372ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FB_PID	0x01FB
373ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FC_PID	0x01FC
374ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FD_PID	0x01FD
375ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FE_PID	0x01FE
376ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FF_PID	0x01FF
377ebb3770cSRay Molenkamp 
378ebb3770cSRay Molenkamp 
379546d7eecSKevin Vance 
3801da177e4SLinus Torvalds /* Interbiometrics USB I/O Board */
3811da177e4SLinus Torvalds /* Developed for Interbiometrics by Rudolf Gugler */
3821da177e4SLinus Torvalds #define INTERBIOMETRICS_VID              0x1209
3831da177e4SLinus Torvalds #define INTERBIOMETRICS_IOBOARD_PID      0x1002
3841da177e4SLinus Torvalds #define INTERBIOMETRICS_MINI_IOBOARD_PID 0x1006
3851da177e4SLinus Torvalds 
3861da177e4SLinus Torvalds /*
3871da177e4SLinus Torvalds  * The following are the values for the Perle Systems
3881da177e4SLinus Torvalds  * UltraPort USB serial converters
3891da177e4SLinus Torvalds  */
3901da177e4SLinus Torvalds #define FTDI_PERLE_ULTRAPORT_PID 0xF0C0	/* Perle UltraPort Product Id */
3911da177e4SLinus Torvalds 
3921da177e4SLinus Torvalds /*
3931da177e4SLinus Torvalds  * The following are the values for the Sealevel SeaLINK+ adapters.
3941da177e4SLinus Torvalds  * (Original list sent by Tuan Hoang.  Ian Abbott renamed the macros and
3951da177e4SLinus Torvalds  * removed some PIDs that don't seem to match any existing products.)
3961da177e4SLinus Torvalds  */
3971da177e4SLinus Torvalds #define SEALEVEL_VID		0x0c52	/* Sealevel Vendor ID */
3981da177e4SLinus Torvalds #define SEALEVEL_2101_PID	0x2101	/* SeaLINK+232 (2101/2105) */
3991da177e4SLinus Torvalds #define SEALEVEL_2102_PID	0x2102	/* SeaLINK+485 (2102) */
4001da177e4SLinus Torvalds #define SEALEVEL_2103_PID	0x2103	/* SeaLINK+232I (2103) */
4011da177e4SLinus Torvalds #define SEALEVEL_2104_PID	0x2104	/* SeaLINK+485I (2104) */
402a1484827SJustin Carlson #define SEALEVEL_2106_PID	0x9020	/* SeaLINK+422 (2106) */
4031da177e4SLinus Torvalds #define SEALEVEL_2201_1_PID	0x2211	/* SeaPORT+2/232 (2201) Port 1 */
4041da177e4SLinus Torvalds #define SEALEVEL_2201_2_PID	0x2221	/* SeaPORT+2/232 (2201) Port 2 */
4051da177e4SLinus Torvalds #define SEALEVEL_2202_1_PID	0x2212	/* SeaPORT+2/485 (2202) Port 1 */
4061da177e4SLinus Torvalds #define SEALEVEL_2202_2_PID	0x2222	/* SeaPORT+2/485 (2202) Port 2 */
4071da177e4SLinus Torvalds #define SEALEVEL_2203_1_PID	0x2213	/* SeaPORT+2 (2203) Port 1 */
4081da177e4SLinus Torvalds #define SEALEVEL_2203_2_PID	0x2223	/* SeaPORT+2 (2203) Port 2 */
4091da177e4SLinus Torvalds #define SEALEVEL_2401_1_PID	0x2411	/* SeaPORT+4/232 (2401) Port 1 */
4101da177e4SLinus Torvalds #define SEALEVEL_2401_2_PID	0x2421	/* SeaPORT+4/232 (2401) Port 2 */
4111da177e4SLinus Torvalds #define SEALEVEL_2401_3_PID	0x2431	/* SeaPORT+4/232 (2401) Port 3 */
4121da177e4SLinus Torvalds #define SEALEVEL_2401_4_PID	0x2441	/* SeaPORT+4/232 (2401) Port 4 */
4131da177e4SLinus Torvalds #define SEALEVEL_2402_1_PID	0x2412	/* SeaPORT+4/485 (2402) Port 1 */
4141da177e4SLinus Torvalds #define SEALEVEL_2402_2_PID	0x2422	/* SeaPORT+4/485 (2402) Port 2 */
4151da177e4SLinus Torvalds #define SEALEVEL_2402_3_PID	0x2432	/* SeaPORT+4/485 (2402) Port 3 */
4161da177e4SLinus Torvalds #define SEALEVEL_2402_4_PID	0x2442	/* SeaPORT+4/485 (2402) Port 4 */
4171da177e4SLinus Torvalds #define SEALEVEL_2403_1_PID	0x2413	/* SeaPORT+4 (2403) Port 1 */
4181da177e4SLinus Torvalds #define SEALEVEL_2403_2_PID	0x2423	/* SeaPORT+4 (2403) Port 2 */
4191da177e4SLinus Torvalds #define SEALEVEL_2403_3_PID	0x2433	/* SeaPORT+4 (2403) Port 3 */
4201da177e4SLinus Torvalds #define SEALEVEL_2403_4_PID	0x2443	/* SeaPORT+4 (2403) Port 4 */
4211da177e4SLinus Torvalds #define SEALEVEL_2801_1_PID	0X2811	/* SeaLINK+8/232 (2801) Port 1 */
4221da177e4SLinus Torvalds #define SEALEVEL_2801_2_PID	0X2821	/* SeaLINK+8/232 (2801) Port 2 */
4231da177e4SLinus Torvalds #define SEALEVEL_2801_3_PID	0X2831	/* SeaLINK+8/232 (2801) Port 3 */
4241da177e4SLinus Torvalds #define SEALEVEL_2801_4_PID	0X2841	/* SeaLINK+8/232 (2801) Port 4 */
4251da177e4SLinus Torvalds #define SEALEVEL_2801_5_PID	0X2851	/* SeaLINK+8/232 (2801) Port 5 */
4261da177e4SLinus Torvalds #define SEALEVEL_2801_6_PID	0X2861	/* SeaLINK+8/232 (2801) Port 6 */
4271da177e4SLinus Torvalds #define SEALEVEL_2801_7_PID	0X2871	/* SeaLINK+8/232 (2801) Port 7 */
4281da177e4SLinus Torvalds #define SEALEVEL_2801_8_PID	0X2881	/* SeaLINK+8/232 (2801) Port 8 */
4291da177e4SLinus Torvalds #define SEALEVEL_2802_1_PID	0X2812	/* SeaLINK+8/485 (2802) Port 1 */
4301da177e4SLinus Torvalds #define SEALEVEL_2802_2_PID	0X2822	/* SeaLINK+8/485 (2802) Port 2 */
4311da177e4SLinus Torvalds #define SEALEVEL_2802_3_PID	0X2832	/* SeaLINK+8/485 (2802) Port 3 */
4321da177e4SLinus Torvalds #define SEALEVEL_2802_4_PID	0X2842	/* SeaLINK+8/485 (2802) Port 4 */
4331da177e4SLinus Torvalds #define SEALEVEL_2802_5_PID	0X2852	/* SeaLINK+8/485 (2802) Port 5 */
4341da177e4SLinus Torvalds #define SEALEVEL_2802_6_PID	0X2862	/* SeaLINK+8/485 (2802) Port 6 */
4351da177e4SLinus Torvalds #define SEALEVEL_2802_7_PID	0X2872	/* SeaLINK+8/485 (2802) Port 7 */
4361da177e4SLinus Torvalds #define SEALEVEL_2802_8_PID	0X2882	/* SeaLINK+8/485 (2802) Port 8 */
4371da177e4SLinus Torvalds #define SEALEVEL_2803_1_PID	0X2813	/* SeaLINK+8 (2803) Port 1 */
4381da177e4SLinus Torvalds #define SEALEVEL_2803_2_PID	0X2823 	/* SeaLINK+8 (2803) Port 2 */
4391da177e4SLinus Torvalds #define SEALEVEL_2803_3_PID	0X2833 	/* SeaLINK+8 (2803) Port 3 */
4401da177e4SLinus Torvalds #define SEALEVEL_2803_4_PID	0X2843 	/* SeaLINK+8 (2803) Port 4 */
4411da177e4SLinus Torvalds #define SEALEVEL_2803_5_PID	0X2853 	/* SeaLINK+8 (2803) Port 5 */
4421da177e4SLinus Torvalds #define SEALEVEL_2803_6_PID	0X2863 	/* SeaLINK+8 (2803) Port 6 */
4431da177e4SLinus Torvalds #define SEALEVEL_2803_7_PID	0X2873 	/* SeaLINK+8 (2803) Port 7 */
4441da177e4SLinus Torvalds #define SEALEVEL_2803_8_PID	0X2883 	/* SeaLINK+8 (2803) Port 8 */
4451da177e4SLinus Torvalds 
4461da177e4SLinus Torvalds /*
447b4723ae3SIan Abbott  * The following are the values for two KOBIL chipcard terminals.
448b4723ae3SIan Abbott  */
449b4723ae3SIan Abbott #define KOBIL_VID		0x0d46	/* KOBIL Vendor ID */
450b4723ae3SIan Abbott #define KOBIL_CONV_B1_PID	0x2020	/* KOBIL Konverter for B1 */
451b4723ae3SIan Abbott #define KOBIL_CONV_KAAN_PID	0x2021	/* KOBIL_Konverter for KAAN */
452b4723ae3SIan Abbott 
453b4723ae3SIan Abbott /*
454bf58fbd5SA. Maitland Bottoms  * Icom ID-1 digital transceiver
455bf58fbd5SA. Maitland Bottoms  */
456bf58fbd5SA. Maitland Bottoms 
457bf58fbd5SA. Maitland Bottoms #define ICOM_ID1_VID            0x0C26
458bf58fbd5SA. Maitland Bottoms #define ICOM_ID1_PID            0x0004
459bf58fbd5SA. Maitland Bottoms 
460bf58fbd5SA. Maitland Bottoms /*
4617e0258fdSIan Abbott  * ASK.fr devices
4627e0258fdSIan Abbott  */
4637e0258fdSIan Abbott #define FTDI_ASK_RDR400_PID	0xC991	/* ASK RDR 400 series card reader */
4647e0258fdSIan Abbott 
4657e0258fdSIan Abbott /*
46640c36092SKjell Myksvoll  * FTDI USB UART chips used in construction projects from the
46740c36092SKjell Myksvoll  * Elektor Electronics magazine (http://elektor-electronics.co.uk)
46840c36092SKjell Myksvoll  */
46940c36092SKjell Myksvoll #define ELEKTOR_VID		0x0C7D
47040c36092SKjell Myksvoll #define ELEKTOR_FT323R_PID	0x0005	/* RFID-Reader, issue 09-2006 */
47140c36092SKjell Myksvoll 
47240c36092SKjell Myksvoll /*
4731da177e4SLinus Torvalds  * DSS-20 Sync Station for Sony Ericsson P800
4741da177e4SLinus Torvalds  */
4751da177e4SLinus Torvalds #define FTDI_DSS20_PID          0xFC82
4761da177e4SLinus Torvalds 
4771da177e4SLinus Torvalds /*
4781da177e4SLinus Torvalds  * Home Electronics (www.home-electro.com) USB gadgets
4791da177e4SLinus Torvalds  */
480093cf723SSteven Cole #define FTDI_HE_TIRA1_PID	0xFA78	/* Tira-1 IR transceiver */
4811da177e4SLinus Torvalds 
4821da177e4SLinus Torvalds /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */
4831da177e4SLinus Torvalds /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */
4841da177e4SLinus Torvalds #define FTDI_USB_UIRT_PID	0xF850	/* Product Id */
4851da177e4SLinus Torvalds 
486274a4bbcSDave Platt /* TNC-X USB-to-packet-radio adapter, versions prior to 3.0 (DLP module) */
487274a4bbcSDave Platt 
488274a4bbcSDave Platt #define FTDI_TNC_X_PID		0xEBE0
489274a4bbcSDave Platt 
490e6ac4a40SIan Abbott /*
491e6ac4a40SIan Abbott  * ELV USB devices submitted by Christian Abt of ELV (www.elv.de).
492e6ac4a40SIan Abbott  * All of these devices use FTDI's vendor ID (0x0403).
493e6ac4a40SIan Abbott  *
494e6ac4a40SIan Abbott  * The previously included PID for the UO 100 module was incorrect.
495e6ac4a40SIan Abbott  * In fact, that PID was for ELV's UR 100 USB-RS232 converter (0xFB58).
496e6ac4a40SIan Abbott  *
497e6ac4a40SIan Abbott  * Armin Laeuger originally sent the PID for the UM 100 module.
498e6ac4a40SIan Abbott  */
499e6ac4a40SIan Abbott #define FTDI_ELV_UR100_PID	0xFB58	/* USB-RS232-Umsetzer (UR 100) */
500e6ac4a40SIan Abbott #define FTDI_ELV_UM100_PID	0xFB5A	/* USB-Modul UM 100 */
501e6ac4a40SIan Abbott #define FTDI_ELV_UO100_PID	0xFB5B	/* USB-Modul UO 100 */
502e6ac4a40SIan Abbott #define FTDI_ELV_ALC8500_PID	0xF06E	/* ALC 8500 Expert */
503e6ac4a40SIan Abbott /* Additional ELV PIDs that default to using the FTDI D2XX drivers on
504e6ac4a40SIan Abbott  * MS Windows, rather than the FTDI Virtual Com Port drivers.
505e6ac4a40SIan Abbott  * Maybe these will be easier to use with the libftdi/libusb user-space
506e6ac4a40SIan Abbott  * drivers, or possibly the Comedi drivers in some cases. */
507e6ac4a40SIan Abbott #define FTDI_ELV_CLI7000_PID	0xFB59	/* Computer-Light-Interface (CLI 7000) */
508e6ac4a40SIan Abbott #define FTDI_ELV_PPS7330_PID	0xFB5C	/* Processor-Power-Supply (PPS 7330) */
509e6ac4a40SIan Abbott #define FTDI_ELV_TFM100_PID	0xFB5D	/* Temperartur-Feuchte Messgeraet (TFM 100) */
510e6ac4a40SIan Abbott #define FTDI_ELV_UDF77_PID	0xFB5E	/* USB DCF Funkurh (UDF 77) */
511e6ac4a40SIan Abbott #define FTDI_ELV_UIO88_PID	0xFB5F	/* USB-I/O Interface (UIO 88) */
512e6ac4a40SIan Abbott #define FTDI_ELV_UAD8_PID	0xF068	/* USB-AD-Wandler (UAD 8) */
513e6ac4a40SIan Abbott #define FTDI_ELV_UDA7_PID	0xF069	/* USB-DA-Wandler (UDA 7) */
514e6ac4a40SIan Abbott #define FTDI_ELV_USI2_PID	0xF06A	/* USB-Schrittmotoren-Interface (USI 2) */
515e6ac4a40SIan Abbott #define FTDI_ELV_T1100_PID	0xF06B	/* Thermometer (T 1100) */
516e6ac4a40SIan Abbott #define FTDI_ELV_PCD200_PID	0xF06C	/* PC-Datenlogger (PCD 200) */
517e6ac4a40SIan Abbott #define FTDI_ELV_ULA200_PID	0xF06D	/* USB-LCD-Ansteuerung (ULA 200) */
518e6ac4a40SIan Abbott #define FTDI_ELV_FHZ1000PC_PID	0xF06F	/* FHZ 1000 PC */
519e6ac4a40SIan Abbott #define FTDI_ELV_CSI8_PID	0xE0F0	/* Computer-Schalt-Interface (CSI 8) */
520e6ac4a40SIan Abbott #define FTDI_ELV_EM1000DL_PID	0xE0F1	/* PC-Datenlogger fuer Energiemonitor (EM 1000 DL) */
521e6ac4a40SIan Abbott #define FTDI_ELV_PCK100_PID	0xE0F2	/* PC-Kabeltester (PCK 100) */
522e6ac4a40SIan Abbott #define FTDI_ELV_RFP500_PID	0xE0F3	/* HF-Leistungsmesser (RFP 500) */
523e6ac4a40SIan Abbott #define FTDI_ELV_FS20SIG_PID	0xE0F4	/* Signalgeber (FS 20 SIG) */
524e6ac4a40SIan Abbott #define FTDI_ELV_WS300PC_PID	0xE0F6	/* PC-Wetterstation (WS 300 PC) */
525e6ac4a40SIan Abbott #define FTDI_ELV_FHZ1300PC_PID	0xE0E8	/* FHZ 1300 PC */
526e6ac4a40SIan Abbott #define FTDI_ELV_WS500_PID	0xE0E9	/* PC-Wetterstation (WS 500) */
527b5894a50SAndré Schenk #define FTDI_ELV_HS485_PID	0xE0EA	/* USB to RS-485 adapter */
52842f8aa94SPeter Stark #define FTDI_ELV_EM1010PC_PID	0xE0EF	/* Engery monitor EM 1010 PC */
529a5f62399SLex Ross #define FTDI_PHI_FISCO_PID      0xE40B  /* PHI Fisco USB to Serial cable */
5301da177e4SLinus Torvalds 
5311da177e4SLinus Torvalds /*
5321da177e4SLinus Torvalds  * Definitions for ID TECH (www.idt-net.com) devices
5331da177e4SLinus Torvalds  */
5341da177e4SLinus Torvalds #define IDTECH_VID		0x0ACD	/* ID TECH Vendor ID */
5351da177e4SLinus Torvalds #define IDTECH_IDT1221U_PID	0x0300	/* IDT1221U USB to RS-232 adapter */
5361da177e4SLinus Torvalds 
5371da177e4SLinus Torvalds /*
5381da177e4SLinus Torvalds  * Definitions for Omnidirectional Control Technology, Inc. devices
5391da177e4SLinus Torvalds  */
5401da177e4SLinus Torvalds #define OCT_VID			0x0B39	/* OCT vendor ID */
5411da177e4SLinus Torvalds /* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */
5426f92872cSIan Abbott /* Also rebadged as Dick Smith Electronics (Aus) XH6451 */
5436f92872cSIan Abbott /* Also rebadged as SIIG Inc. model US2308 hardware version 1 */
5441da177e4SLinus Torvalds #define OCT_US101_PID		0x0421	/* OCT US101 USB to RS-232 */
5451da177e4SLinus Torvalds 
5461da177e4SLinus Torvalds /* an infrared receiver for user access control with IR tags */
5471da177e4SLinus Torvalds #define FTDI_PIEGROUP_PID	0xF208	/* Product Id */
5481da177e4SLinus Torvalds 
5491da177e4SLinus Torvalds /*
550c9c7746dSRui Santos  * Definitions for Artemis astronomical USB based cameras
551c9c7746dSRui Santos  * Check it at http://www.artemisccd.co.uk/
552c9c7746dSRui Santos  */
553c9c7746dSRui Santos #define FTDI_ARTEMIS_PID	0xDF28	/* All Artemis Cameras */
554c9c7746dSRui Santos 
555c9c7746dSRui Santos /*
556c9c7746dSRui Santos  * Definitions for ATIK Instruments astronomical USB based cameras
557c9c7746dSRui Santos  * Check it at http://www.atik-instruments.com/
558c9c7746dSRui Santos  */
55909c280a2SRui Santos #define FTDI_ATIK_ATK16_PID	0xDF30	/* ATIK ATK-16 Grayscale Camera */
56009c280a2SRui Santos #define FTDI_ATIK_ATK16C_PID	0xDF32	/* ATIK ATK-16C Colour Camera */
56109c280a2SRui Santos #define FTDI_ATIK_ATK16HR_PID	0xDF31	/* ATIK ATK-16HR Grayscale Camera */
56209c280a2SRui Santos #define FTDI_ATIK_ATK16HRC_PID	0xDF33	/* ATIK ATK-16HRC Colour Camera */
56334910434SFranco Lanza #define FTDI_ATIK_ATK16IC_PID   0xDF35  /* ATIK ATK-16IC Grayscale Camera */
564c9c7746dSRui Santos 
565c9c7746dSRui Santos /*
5661da177e4SLinus Torvalds  * Protego product ids
5671da177e4SLinus Torvalds  */
5681da177e4SLinus Torvalds #define PROTEGO_SPECIAL_1	0xFC70	/* special/unknown device */
5691da177e4SLinus Torvalds #define PROTEGO_R2X0		0xFC71	/* R200-USB TRNG unit (R210, R220, and R230) */
5701da177e4SLinus Torvalds #define PROTEGO_SPECIAL_3	0xFC72	/* special/unknown device */
5711da177e4SLinus Torvalds #define PROTEGO_SPECIAL_4	0xFC73	/* special/unknown device */
5721da177e4SLinus Torvalds 
5731da177e4SLinus Torvalds /*
5741da177e4SLinus Torvalds  * Gude Analog- und Digitalsysteme GmbH
5751da177e4SLinus Torvalds  */
5761da177e4SLinus Torvalds #define FTDI_GUDEADS_E808_PID    0xE808
5771da177e4SLinus Torvalds #define FTDI_GUDEADS_E809_PID    0xE809
5781da177e4SLinus Torvalds #define FTDI_GUDEADS_E80A_PID    0xE80A
5791da177e4SLinus Torvalds #define FTDI_GUDEADS_E80B_PID    0xE80B
5801da177e4SLinus Torvalds #define FTDI_GUDEADS_E80C_PID    0xE80C
5811da177e4SLinus Torvalds #define FTDI_GUDEADS_E80D_PID    0xE80D
5821da177e4SLinus Torvalds #define FTDI_GUDEADS_E80E_PID    0xE80E
5831da177e4SLinus Torvalds #define FTDI_GUDEADS_E80F_PID    0xE80F
5841da177e4SLinus Torvalds #define FTDI_GUDEADS_E888_PID    0xE888  /* Expert ISDN Control USB */
5851da177e4SLinus Torvalds #define FTDI_GUDEADS_E889_PID    0xE889  /* USB RS-232 OptoBridge */
5861da177e4SLinus Torvalds #define FTDI_GUDEADS_E88A_PID    0xE88A
5871da177e4SLinus Torvalds #define FTDI_GUDEADS_E88B_PID    0xE88B
5881da177e4SLinus Torvalds #define FTDI_GUDEADS_E88C_PID    0xE88C
5891da177e4SLinus Torvalds #define FTDI_GUDEADS_E88D_PID    0xE88D
5901da177e4SLinus Torvalds #define FTDI_GUDEADS_E88E_PID    0xE88E
5911da177e4SLinus Torvalds #define FTDI_GUDEADS_E88F_PID    0xE88F
5921da177e4SLinus Torvalds 
5931da177e4SLinus Torvalds /*
5941da177e4SLinus Torvalds  * Linx Technologies product ids
5951da177e4SLinus Torvalds  */
5961da177e4SLinus Torvalds #define LINX_SDMUSBQSS_PID	0xF448	/* Linx SDM-USB-QS-S */
5971da177e4SLinus Torvalds #define LINX_MASTERDEVEL2_PID   0xF449   /* Linx Master Development 2.0 */
5981da177e4SLinus Torvalds #define LINX_FUTURE_0_PID   0xF44A   /* Linx future device */
5991da177e4SLinus Torvalds #define LINX_FUTURE_1_PID   0xF44B   /* Linx future device */
6001da177e4SLinus Torvalds #define LINX_FUTURE_2_PID   0xF44C   /* Linx future device */
6011da177e4SLinus Torvalds 
6021da177e4SLinus Torvalds /* CCS Inc. ICDU/ICDU40 product ID - the FT232BM is used in an in-circuit-debugger */
6031da177e4SLinus Torvalds /* unit for PIC16's/PIC18's */
6041da177e4SLinus Torvalds #define FTDI_CCSICDU20_0_PID    0xF9D0
6051da177e4SLinus Torvalds #define FTDI_CCSICDU40_1_PID    0xF9D1
606ec434e9bSJan Capek #define FTDI_CCSMACHX_2_PID     0xF9D2
6071da177e4SLinus Torvalds 
6081da177e4SLinus Torvalds /* Inside Accesso contactless reader (http://www.insidefr.com) */
6091da177e4SLinus Torvalds #define INSIDE_ACCESSO		0xFAD0
6101da177e4SLinus Torvalds 
6111da177e4SLinus Torvalds /*
6121da177e4SLinus Torvalds  * Intrepid Control Systems (http://www.intrepidcs.com/) ValueCAN and NeoVI
6131da177e4SLinus Torvalds  */
6141da177e4SLinus Torvalds #define INTREPID_VID		0x093C
6151da177e4SLinus Torvalds #define INTREPID_VALUECAN_PID	0x0601
6161da177e4SLinus Torvalds #define INTREPID_NEOVI_PID	0x0701
6171da177e4SLinus Torvalds 
6181da177e4SLinus Torvalds /*
6191da177e4SLinus Torvalds  * Falcom Wireless Communications GmbH
6201da177e4SLinus Torvalds  */
6211da177e4SLinus Torvalds #define FALCOM_VID		0x0F94	/* Vendor Id */
6221da177e4SLinus Torvalds #define FALCOM_TWIST_PID	0x0001	/* Falcom Twist USB GPRS modem */
623e6ac4a40SIan Abbott #define FALCOM_SAMBA_PID	0x0005	/* Falcom Samba USB GPRS modem */
6241da177e4SLinus Torvalds 
6251da177e4SLinus Torvalds /*
6261da177e4SLinus Torvalds  * SUUNTO product ids
6271da177e4SLinus Torvalds  */
6281da177e4SLinus Torvalds #define FTDI_SUUNTO_SPORTS_PID	0xF680	/* Suunto Sports instrument */
6291da177e4SLinus Torvalds 
6301da177e4SLinus Torvalds /*
631c3d36c45SVladimir Vukicevic  * Oceanic product ids
632c3d36c45SVladimir Vukicevic  */
633c3d36c45SVladimir Vukicevic #define FTDI_OCEANIC_PID	0xF460  /* Oceanic dive instrument */
634c3d36c45SVladimir Vukicevic 
635c3d36c45SVladimir Vukicevic /*
636ef31fec0SMichael Olberg  * TTi (Thurlby Thandar Instruments)
637ef31fec0SMichael Olberg  */
638ef31fec0SMichael Olberg #define TTI_VID			0x103E	/* Vendor Id */
639ef31fec0SMichael Olberg #define TTI_QL355P_PID		0x03E8	/* TTi QL355P power supply */
640ef31fec0SMichael Olberg 
641ef31fec0SMichael Olberg /*
6421da177e4SLinus Torvalds  * Definitions for B&B Electronics products.
6431da177e4SLinus Torvalds  */
6441da177e4SLinus Torvalds #define BANDB_VID		0x0856	/* B&B Electronics Vendor ID */
6451da177e4SLinus Torvalds #define BANDB_USOTL4_PID	0xAC01	/* USOTL4 Isolated RS-485 Converter */
6461da177e4SLinus Torvalds #define BANDB_USTL4_PID		0xAC02	/* USTL4 RS-485 Converter */
6471da177e4SLinus Torvalds #define BANDB_USO9ML2_PID	0xAC03	/* USO9ML2 Isolated RS-232 Converter */
6481da177e4SLinus Torvalds 
6491da177e4SLinus Torvalds /*
6501da177e4SLinus Torvalds  * RM Michaelides CANview USB (http://www.rmcan.com)
6516f92872cSIan Abbott  * CAN fieldbus interface adapter, added by port GmbH www.port.de)
6526f92872cSIan Abbott  * Ian Abbott changed the macro names for consistency.
6531da177e4SLinus Torvalds  */
6546f92872cSIan Abbott #define FTDI_RM_CANVIEW_PID	0xfd60	/* Product Id */
6551da177e4SLinus Torvalds 
6561da177e4SLinus Torvalds /*
6571da177e4SLinus Torvalds  * EVER Eco Pro UPS (http://www.ever.com.pl/)
6581da177e4SLinus Torvalds  */
6591da177e4SLinus Torvalds 
6601da177e4SLinus Torvalds #define	EVER_ECO_PRO_CDS	0xe520	/* RS-232 converter */
6611da177e4SLinus Torvalds 
6626f92872cSIan Abbott /*
6636f92872cSIan Abbott  * 4N-GALAXY.DE PIDs for CAN-USB, USB-RS232, USB-RS422, USB-RS485,
6646f92872cSIan Abbott  * USB-TTY activ, USB-TTY passiv.  Some PIDs are used by several devices
6656f92872cSIan Abbott  * and I'm not entirely sure which are used by which.
6666f92872cSIan Abbott  */
6676f92872cSIan Abbott #define FTDI_4N_GALAXY_DE_1_PID	0xF3C0
6686f92872cSIan Abbott #define FTDI_4N_GALAXY_DE_2_PID	0xF3C1
6696f92872cSIan Abbott 
6706f92872cSIan Abbott /*
6716f92872cSIan Abbott  * Mobility Electronics products.
6726f92872cSIan Abbott  */
6736f92872cSIan Abbott #define MOBILITY_VID			0x1342
6746f92872cSIan Abbott #define MOBILITY_USB_SERIAL_PID		0x0202	/* EasiDock USB 200 serial */
6756f92872cSIan Abbott 
6766f92872cSIan Abbott /*
6779b1513d9SIan Abbott  * microHAM product IDs (http://www.microham.com).
67834d1a8aaSIan Abbott  * Submitted by Justin Burket (KL1RL) <zorton@jtan.com>
67934d1a8aaSIan Abbott  * and Mike Studer (K6EEP) <k6eep@hamsoftware.org>.
68034d1a8aaSIan Abbott  * Ian Abbott <abbotti@mev.co.uk> added a few more from the driver INF file.
6819b1513d9SIan Abbott  */
68234d1a8aaSIan Abbott #define FTDI_MHAM_KW_PID 0xEEE8		/* USB-KW interface */
68334d1a8aaSIan Abbott #define FTDI_MHAM_YS_PID 0xEEE9		/* USB-YS interface */
6849b1513d9SIan Abbott #define FTDI_MHAM_Y6_PID 0xEEEA		/* USB-Y6 interface */
6859b1513d9SIan Abbott #define FTDI_MHAM_Y8_PID 0xEEEB		/* USB-Y8 interface */
68634d1a8aaSIan Abbott #define FTDI_MHAM_IC_PID 0xEEEC		/* USB-IC interface */
68734d1a8aaSIan Abbott #define FTDI_MHAM_DB9_PID 0xEEED	/* USB-DB9 interface */
68834d1a8aaSIan Abbott #define FTDI_MHAM_RS232_PID 0xEEEE	/* USB-RS232 interface */
68934d1a8aaSIan Abbott #define FTDI_MHAM_Y9_PID 0xEEEF		/* USB-Y9 interface */
6909b1513d9SIan Abbott 
6919b1513d9SIan Abbott /*
6926f92872cSIan Abbott  * Active Robots product ids.
6936f92872cSIan Abbott  */
6946f92872cSIan Abbott #define FTDI_ACTIVE_ROBOTS_PID	0xE548	/* USB comms board */
6956f92872cSIan Abbott 
6969b1513d9SIan Abbott /*
697e6ac4a40SIan Abbott  * Xsens Technologies BV products (http://www.xsens.com).
698e6ac4a40SIan Abbott  */
699e6ac4a40SIan Abbott #define XSENS_CONVERTER_0_PID	0xD388
700e6ac4a40SIan Abbott #define XSENS_CONVERTER_1_PID	0xD389
701e6ac4a40SIan Abbott #define XSENS_CONVERTER_2_PID	0xD38A
702e6ac4a40SIan Abbott #define XSENS_CONVERTER_3_PID	0xD38B
703e6ac4a40SIan Abbott #define XSENS_CONVERTER_4_PID	0xD38C
704e6ac4a40SIan Abbott #define XSENS_CONVERTER_5_PID	0xD38D
705e6ac4a40SIan Abbott #define XSENS_CONVERTER_6_PID	0xD38E
706e6ac4a40SIan Abbott #define XSENS_CONVERTER_7_PID	0xD38F
707e6ac4a40SIan Abbott 
708e6ac4a40SIan Abbott /*
709740a4282SIan Abbott  * Teratronik product ids.
71096de0e25SJan Engelhardt  * Submitted by O. Wölfelschneider.
711740a4282SIan Abbott  */
712740a4282SIan Abbott #define FTDI_TERATRONIK_VCP_PID	 0xEC88	/* Teratronik device (preferring VCP driver on windows) */
713740a4282SIan Abbott #define FTDI_TERATRONIK_D2XX_PID 0xEC89	/* Teratronik device (preferring D2XX driver on windows) */
714740a4282SIan Abbott 
715740a4282SIan Abbott /*
7169b1513d9SIan Abbott  * Evolution Robotics products (http://www.evolution.com/).
7179b1513d9SIan Abbott  * Submitted by Shawn M. Lavelle.
7189b1513d9SIan Abbott  */
7199b1513d9SIan Abbott #define EVOLUTION_VID		0xDEEE	/* Vendor ID */
7209b1513d9SIan Abbott #define EVOLUTION_ER1_PID	0x0300	/* ER1 Control Module */
721c1f8ea7dSSøren Hauberg #define EVO_8U232AM_PID	0x02FF	/* Evolution robotics RCM2 (FT232AM)*/
722c1f8ea7dSSøren Hauberg #define EVO_HYBRID_PID		0x0302	/* Evolution robotics RCM4 PID (FT232BM)*/
723c1f8ea7dSSøren Hauberg #define EVO_RCM4_PID		0x0303	/* Evolution robotics RCM4 PID */
7249b1513d9SIan Abbott 
725207c47e1SThomas Riewe /* Pyramid Computer GmbH */
726207c47e1SThomas Riewe #define FTDI_PYRAMID_PID	0xE6C8	/* Pyramid Appliance Display */
727207c47e1SThomas Riewe 
728effac8beSPavel Fedin /*
729effac8beSPavel Fedin  * Posiflex inc retail equipment (http://www.posiflex.com.tw)
730effac8beSPavel Fedin  */
731effac8beSPavel Fedin #define POSIFLEX_VID		0x0d3a  /* Vendor ID */
732effac8beSPavel Fedin #define POSIFLEX_PP7000_PID	0x0300  /* PP-7000II thermal printer */
733effac8beSPavel Fedin 
734a94b52acSIan Abbott /*
735a94b52acSIan Abbott  * Westrex International devices submitted by Cory Lee
736a94b52acSIan Abbott  */
737a94b52acSIan Abbott #define FTDI_WESTREX_MODEL_777_PID	0xDC00	/* Model 777 */
738a94b52acSIan Abbott #define FTDI_WESTREX_MODEL_8900F_PID	0xDC01	/* Model 8900F */
739a94b52acSIan Abbott 
7407e1c0b86SIan Abbott /*
741cdd3b156SNathan Bronson  * RR-CirKits LocoBuffer USB (http://www.rr-cirkits.com)
742cdd3b156SNathan Bronson  */
743cdd3b156SNathan Bronson #define FTDI_RRCIRKITS_LOCOBUFFER_PID	0xc7d0	/* LocoBuffer USB */
744cdd3b156SNathan Bronson 
745cdd3b156SNathan Bronson /*
7467e1c0b86SIan Abbott  * Eclo (http://www.eclo.pt/) product IDs.
7477e1c0b86SIan Abbott  * PID 0xEA90 submitted by Martin Grill.
7487e1c0b86SIan Abbott  */
7497e1c0b86SIan Abbott #define FTDI_ECLO_COM_1WIRE_PID	0xEA90	/* COM to 1-Wire USB adaptor */
7507e1c0b86SIan Abbott 
75162a13db3SFolkert van Heusden /*
75262a13db3SFolkert van Heusden  * Papouch products (http://www.papouch.com/)
75362a13db3SFolkert van Heusden  * Submitted by Folkert van Heusden
75462a13db3SFolkert van Heusden  */
75562a13db3SFolkert van Heusden 
75662a13db3SFolkert van Heusden #define PAPOUCH_VID			0x5050	/* Vendor ID */
75762a13db3SFolkert van Heusden #define PAPOUCH_TMU_PID			0x0400	/* TMU USB Thermometer */
758a18f80b4SJaroslav Kysela #define PAPOUCH_QUIDO4x4_PID		0x0900	/* Quido 4/4 Module */
75962a13db3SFolkert van Heusden 
76020a0f47eSIan Abbott /*
76120a0f47eSIan Abbott  * ACG Identification Technologies GmbH products (http://www.acg.de/).
76220a0f47eSIan Abbott  * Submitted by anton -at- goto10 -dot- org.
76320a0f47eSIan Abbott  */
76420a0f47eSIan Abbott #define FTDI_ACG_HFDUAL_PID		0xDD20	/* HF Dual ISO Reader (RFID) */
76562a13db3SFolkert van Heusden 
766eb79b4fdSIan Abbott /*
767eb79b4fdSIan Abbott  * Yost Engineering, Inc. products (www.yostengineering.com).
768eb79b4fdSIan Abbott  * PID 0xE050 submitted by Aaron Prose.
769eb79b4fdSIan Abbott  */
770eb79b4fdSIan Abbott #define FTDI_YEI_SERVOCENTER31_PID	0xE050	/* YEI ServoCenter3.1 USB */
771eb79b4fdSIan Abbott 
77248437486SD. Peter Siddons /*
77348437486SD. Peter Siddons  * ThorLabs USB motor drivers
77448437486SD. Peter Siddons  */
77548437486SD. Peter Siddons #define FTDI_THORLABS_PID		0xfaf0 /* ThorLabs USB motor drivers */
77648437486SD. Peter Siddons 
777e1979fefSColin Leroy /*
778e1979fefSColin Leroy  * Testo products (http://www.testo.com/)
779e1979fefSColin Leroy  * Submitted by Colin Leroy
780e1979fefSColin Leroy  */
781e1979fefSColin Leroy #define TESTO_VID			0x128D
782e1979fefSColin Leroy #define TESTO_USB_INTERFACE_PID		0x0001
783e1979fefSColin Leroy 
784eaede2cbSRalf Schlatterbeck /*
785eaede2cbSRalf Schlatterbeck  * Gamma Scout (http://gamma-scout.com/). Submitted by rsc@runtux.com.
786eaede2cbSRalf Schlatterbeck  */
787eaede2cbSRalf Schlatterbeck #define FTDI_GAMMA_SCOUT_PID		0xD678	/* Gamma Scout online */
788eaede2cbSRalf Schlatterbeck 
7899978f9e1SIan Abbott /*
7909978f9e1SIan Abbott  * Tactrix OpenPort (ECU) devices.
7919978f9e1SIan Abbott  * OpenPort 1.3M submitted by Donour Sizemore.
7929978f9e1SIan Abbott  * OpenPort 1.3S and 1.3U submitted by Ian Abbott.
7939978f9e1SIan Abbott  */
7949978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13M_PID	0xCC48	/* OpenPort 1.3 Mitsubishi */
7959978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13S_PID	0xCC49	/* OpenPort 1.3 Subaru */
7969978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13U_PID	0xCC4A	/* OpenPort 1.3 Universal */
7979978f9e1SIan Abbott 
798822c7ef4SMicke Prag /*
799822c7ef4SMicke Prag  * Telldus Technologies
800822c7ef4SMicke Prag  */
801822c7ef4SMicke Prag #define TELLDUS_VID			0x1781	/* Vendor ID */
802822c7ef4SMicke Prag #define TELLDUS_TELLSTICK_PID		0x0C30	/* RF control dongle 433 MHz using FT232RL */
803822c7ef4SMicke Prag 
8044eaf60e0SThomas Schleusener /*
8054eaf60e0SThomas Schleusener  * IBS elektronik product ids
8064eaf60e0SThomas Schleusener  * Submitted by Thomas Schleusener
8074eaf60e0SThomas Schleusener  */
8084eaf60e0SThomas Schleusener #define FTDI_IBS_US485_PID	0xff38  /* IBS US485 (USB<-->RS422/485 interface) */
8094eaf60e0SThomas Schleusener #define FTDI_IBS_PICPRO_PID	0xff39  /* IBS PIC-Programmer */
8104eaf60e0SThomas Schleusener #define FTDI_IBS_PCMCIA_PID	0xff3a  /* IBS Card reader for PCMCIA SRAM-cards */
8114eaf60e0SThomas Schleusener #define FTDI_IBS_PK1_PID	0xff3b  /* IBS PK1 - Particel counter */
8124eaf60e0SThomas Schleusener #define FTDI_IBS_RS232MON_PID	0xff3c  /* IBS RS232 - Monitor */
8134eaf60e0SThomas Schleusener #define FTDI_IBS_APP70_PID	0xff3d  /* APP 70 (dust monitoring system) */
8144eaf60e0SThomas Schleusener #define FTDI_IBS_PEDO_PID	0xff3e  /* IBS PEDO-Modem (RF modem 868.35 MHz) */
8154eaf60e0SThomas Schleusener #define FTDI_IBS_PROD_PID	0xff3f  /* future device */
8164eaf60e0SThomas Schleusener 
817762e92faSNeil \"Superna\" ARMSTRONG /*
818762e92faSNeil \"Superna\" ARMSTRONG  *  MaxStream devices	www.maxstream.net
819762e92faSNeil \"Superna\" ARMSTRONG  */
820762e92faSNeil \"Superna\" ARMSTRONG #define FTDI_MAXSTREAM_PID	0xEE18	/* Xbee PKG-U Module */
821762e92faSNeil \"Superna\" ARMSTRONG 
822fa91d43bSTony Lindgren /* Olimex */
823fa91d43bSTony Lindgren #define OLIMEX_VID			0x15BA
824fa91d43bSTony Lindgren #define OLIMEX_ARM_USB_OCD_PID		0x0003
825fa91d43bSTony Lindgren 
826a00c3cadSFrederik Kriewitz /* Luminary Micro Stellaris Boards, VID = FTDI_VID */
827a00c3cadSFrederik Kriewitz /* FTDI 2332C Dual channel device, side A=245 FIFO (JTAG), Side B=RS232 UART */
828a00c3cadSFrederik Kriewitz #define LMI_LM3S_DEVEL_BOARD_PID	0xbcd8
829a00c3cadSFrederik Kriewitz #define LMI_LM3S_EVAL_BOARD_PID		0xbcd9
830a00c3cadSFrederik Kriewitz 
8314bb0ef19SEd Beroset /* www.elsterelectricity.com Elster Unicom III Optical Probe */
8324bb0ef19SEd Beroset #define FTDI_ELSTER_UNICOM_PID		0xE700 /* Product Id */
833d7fde2d6SPierre Castella 
834d7fde2d6SPierre Castella /*
835d7fde2d6SPierre Castella  * The Mobility Lab (TML)
836d7fde2d6SPierre Castella  * Submitted by Pierre Castella
837d7fde2d6SPierre Castella  */
838d7fde2d6SPierre Castella #define TML_VID			0x1B91	/* Vendor ID */
839d7fde2d6SPierre Castella #define TML_USB_SERIAL_PID	0x0064	/* USB - Serial Converter */
840d7fde2d6SPierre Castella 
84111171d1bSMirko Bordignon /* Propox devices */
84211171d1bSMirko Bordignon #define FTDI_PROPOX_JTAGCABLEII_PID	0xD738
84311171d1bSMirko Bordignon 
8442542335cSJon K Hellan /* Rig Expert Ukraine devices */
8452542335cSJon K Hellan #define FTDI_REU_TINY_PID		0xED22	/* RigExpert Tiny */
8462542335cSJon K Hellan 
84796285cb8SGaetan Carlier /* Domintell products  http://www.domintell.com */
84896285cb8SGaetan Carlier #define FTDI_DOMINTELL_DGQG_PID	0xEF50	/* Master */
84996285cb8SGaetan Carlier #define FTDI_DOMINTELL_DUSB_PID	0xEF51	/* DUSB01 module */
85096285cb8SGaetan Carlier 
8511da177e4SLinus Torvalds /* Commands */
8521da177e4SLinus Torvalds #define FTDI_SIO_RESET 		0 /* Reset the port */
8531da177e4SLinus Torvalds #define FTDI_SIO_MODEM_CTRL 	1 /* Set the modem control register */
8541da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL	2 /* Set flow control register */
8551da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUD_RATE	3 /* Set baud rate */
8561da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA	4 /* Set the data characteristics of the port */
8571da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS	5 /* Retrieve current value of modern status register */
8581da177e4SLinus Torvalds #define FTDI_SIO_SET_EVENT_CHAR	6 /* Set the event character */
8591da177e4SLinus Torvalds #define FTDI_SIO_SET_ERROR_CHAR	7 /* Set the error character */
8601da177e4SLinus Torvalds #define FTDI_SIO_SET_LATENCY_TIMER	9 /* Set the latency timer */
8611da177e4SLinus Torvalds #define FTDI_SIO_GET_LATENCY_TIMER	10 /* Get the latency timer */
8621da177e4SLinus Torvalds 
8631da177e4SLinus Torvalds 
8641da177e4SLinus Torvalds /*
86520734345SHarald Welte  * FIC / OpenMoko, Inc. http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v3
86620734345SHarald Welte  * Submitted by Harald Welte <laforge@openmoko.org>
86720734345SHarald Welte  */
86820734345SHarald Welte #define	FIC_VID			0x1457
86920734345SHarald Welte #define	FIC_NEO1973_DEBUG_PID	0x5118
87020734345SHarald Welte 
87120734345SHarald Welte /*
87226ab7053SAtsushi Nemoto  * RATOC REX-USB60F
87326ab7053SAtsushi Nemoto  */
87426ab7053SAtsushi Nemoto #define RATOC_VENDOR_ID		0x0584
87526ab7053SAtsushi Nemoto #define RATOC_PRODUCT_ID_USB60F	0xb020
87626ab7053SAtsushi Nemoto 
87726ab7053SAtsushi Nemoto /*
8781da177e4SLinus Torvalds  *   BmRequestType:  1100 0000b
8791da177e4SLinus Torvalds  *   bRequest:       FTDI_E2_READ
8801da177e4SLinus Torvalds  *   wValue:         0
8811da177e4SLinus Torvalds  *   wIndex:         Address of word to read
8821da177e4SLinus Torvalds  *   wLength:        2
8831da177e4SLinus Torvalds  *   Data:           Will return a word of data from E2Address
8841da177e4SLinus Torvalds  *
8851da177e4SLinus Torvalds  */
8861da177e4SLinus Torvalds 
8871da177e4SLinus Torvalds /* Port Identifier Table */
8881da177e4SLinus Torvalds #define PIT_DEFAULT 		0 /* SIOA */
8891da177e4SLinus Torvalds #define PIT_SIOA		1 /* SIOA */
8901da177e4SLinus Torvalds /* The device this driver is tested with one has only one port */
8911da177e4SLinus Torvalds #define PIT_SIOB		2 /* SIOB */
8921da177e4SLinus Torvalds #define PIT_PARALLEL		3 /* Parallel */
8931da177e4SLinus Torvalds 
8941da177e4SLinus Torvalds /* FTDI_SIO_RESET */
8951da177e4SLinus Torvalds #define FTDI_SIO_RESET_REQUEST FTDI_SIO_RESET
8961da177e4SLinus Torvalds #define FTDI_SIO_RESET_REQUEST_TYPE 0x40
8971da177e4SLinus Torvalds #define FTDI_SIO_RESET_SIO 0
8981da177e4SLinus Torvalds #define FTDI_SIO_RESET_PURGE_RX 1
8991da177e4SLinus Torvalds #define FTDI_SIO_RESET_PURGE_TX 2
9001da177e4SLinus Torvalds 
9011da177e4SLinus Torvalds /*
9021da177e4SLinus Torvalds  * BmRequestType:  0100 0000B
9031da177e4SLinus Torvalds  * bRequest:       FTDI_SIO_RESET
9041da177e4SLinus Torvalds  * wValue:         Control Value
9051da177e4SLinus Torvalds  *                   0 = Reset SIO
9061da177e4SLinus Torvalds  *                   1 = Purge RX buffer
9071da177e4SLinus Torvalds  *                   2 = Purge TX buffer
9081da177e4SLinus Torvalds  * wIndex:         Port
9091da177e4SLinus Torvalds  * wLength:        0
9101da177e4SLinus Torvalds  * Data:           None
9111da177e4SLinus Torvalds  *
9121da177e4SLinus Torvalds  * The Reset SIO command has this effect:
9131da177e4SLinus Torvalds  *
9141da177e4SLinus Torvalds  *    Sets flow control set to 'none'
9151da177e4SLinus Torvalds  *    Event char = $0D
9161da177e4SLinus Torvalds  *    Event trigger = disabled
9171da177e4SLinus Torvalds  *    Purge RX buffer
9181da177e4SLinus Torvalds  *    Purge TX buffer
9191da177e4SLinus Torvalds  *    Clear DTR
9201da177e4SLinus Torvalds  *    Clear RTS
9211da177e4SLinus Torvalds  *    baud and data format not reset
9221da177e4SLinus Torvalds  *
9231da177e4SLinus Torvalds  * The Purge RX and TX buffer commands affect nothing except the buffers
9241da177e4SLinus Torvalds  *
9251da177e4SLinus Torvalds    */
9261da177e4SLinus Torvalds 
9271da177e4SLinus Torvalds /* FTDI_SIO_SET_BAUDRATE */
9281da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUDRATE_REQUEST_TYPE 0x40
9291da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUDRATE_REQUEST 3
9301da177e4SLinus Torvalds 
9311da177e4SLinus Torvalds /*
9321da177e4SLinus Torvalds  * BmRequestType:  0100 0000B
9331da177e4SLinus Torvalds  * bRequest:       FTDI_SIO_SET_BAUDRATE
9341da177e4SLinus Torvalds  * wValue:         BaudDivisor value - see below
9351da177e4SLinus Torvalds  * wIndex:         Port
9361da177e4SLinus Torvalds  * wLength:        0
9371da177e4SLinus Torvalds  * Data:           None
9381da177e4SLinus Torvalds  * The BaudDivisor values are calculated as follows:
9391da177e4SLinus Torvalds  * - BaseClock is either 12000000 or 48000000 depending on the device. FIXME: I wish
9401da177e4SLinus Torvalds  *   I knew how to detect old chips to select proper base clock!
9411da177e4SLinus Torvalds  * - BaudDivisor is a fixed point number encoded in a funny way.
9421da177e4SLinus Torvalds  *   (--WRONG WAY OF THINKING--)
9431da177e4SLinus Torvalds  *   BaudDivisor is a fixed point number encoded with following bit weighs:
9441da177e4SLinus Torvalds  *   (-2)(-1)(13..0). It is a radical with a denominator of 4, so values
9451da177e4SLinus Torvalds  *   end with 0.0 (00...), 0.25 (10...), 0.5 (01...), and 0.75 (11...).
9461da177e4SLinus Torvalds  *   (--THE REALITY--)
9471da177e4SLinus Torvalds  *   The both-bits-set has quite different meaning from 0.75 - the chip designers
9481da177e4SLinus Torvalds  *   have decided it to mean 0.125 instead of 0.75.
9491da177e4SLinus Torvalds  *   This info looked up in FTDI application note "FT8U232 DEVICES \ Data Rates
9501da177e4SLinus Torvalds  *   and Flow Control Consideration for USB to RS232".
9511da177e4SLinus Torvalds  * - BaudDivisor = (BaseClock / 16) / BaudRate, where the (=) operation should
9521da177e4SLinus Torvalds  *   automagically re-encode the resulting value to take fractions into consideration.
9531da177e4SLinus Torvalds  * As all values are integers, some bit twiddling is in order:
9541da177e4SLinus Torvalds  *   BaudDivisor = (BaseClock / 16 / BaudRate) |
9551da177e4SLinus Torvalds  *   (((BaseClock / 2 / BaudRate) & 4) ? 0x4000    // 0.5
9561da177e4SLinus Torvalds  *    : ((BaseClock / 2 / BaudRate) & 2) ? 0x8000  // 0.25
9571da177e4SLinus Torvalds  *    : ((BaseClock / 2 / BaudRate) & 1) ? 0xc000  // 0.125
9581da177e4SLinus Torvalds  *    : 0)
9591da177e4SLinus Torvalds  *
9601da177e4SLinus Torvalds  * For the FT232BM, a 17th divisor bit was introduced to encode the multiples
9611da177e4SLinus Torvalds  * of 0.125 missing from the FT8U232AM.  Bits 16 to 14 are coded as follows
9621da177e4SLinus Torvalds  * (the first four codes are the same as for the FT8U232AM, where bit 16 is
9631da177e4SLinus Torvalds  * always 0):
9641da177e4SLinus Torvalds  *   000 - add .000 to divisor
9651da177e4SLinus Torvalds  *   001 - add .500 to divisor
9661da177e4SLinus Torvalds  *   010 - add .250 to divisor
9671da177e4SLinus Torvalds  *   011 - add .125 to divisor
9681da177e4SLinus Torvalds  *   100 - add .375 to divisor
9691da177e4SLinus Torvalds  *   101 - add .625 to divisor
9701da177e4SLinus Torvalds  *   110 - add .750 to divisor
9711da177e4SLinus Torvalds  *   111 - add .875 to divisor
9721da177e4SLinus Torvalds  * Bits 15 to 0 of the 17-bit divisor are placed in the urb value.  Bit 16 is
9731da177e4SLinus Torvalds  * placed in bit 0 of the urb index.
9741da177e4SLinus Torvalds  *
9751da177e4SLinus Torvalds  * Note that there are a couple of special cases to support the highest baud
9761da177e4SLinus Torvalds  * rates.  If the calculated divisor value is 1, this needs to be replaced with
9771da177e4SLinus Torvalds  * 0.  Additionally for the FT232BM, if the calculated divisor value is 0x4001
9781da177e4SLinus Torvalds  * (1.5), this needs to be replaced with 0x0001 (1) (but this divisor value is
9791da177e4SLinus Torvalds  * not supported by the FT8U232AM).
9801da177e4SLinus Torvalds  */
9811da177e4SLinus Torvalds 
9821da177e4SLinus Torvalds typedef enum {
9831da177e4SLinus Torvalds 	SIO = 1,
9841da177e4SLinus Torvalds 	FT8U232AM = 2,
9851da177e4SLinus Torvalds 	FT232BM = 3,
9861da177e4SLinus Torvalds 	FT2232C = 4,
987d8b21606SGard Spreemann 	FT232RL = 5,
9881da177e4SLinus Torvalds } ftdi_chip_type_t;
9891da177e4SLinus Torvalds 
9901da177e4SLinus Torvalds typedef enum {
9911da177e4SLinus Torvalds  ftdi_sio_b300 = 0,
9921da177e4SLinus Torvalds  ftdi_sio_b600 = 1,
9931da177e4SLinus Torvalds  ftdi_sio_b1200 = 2,
9941da177e4SLinus Torvalds  ftdi_sio_b2400 = 3,
9951da177e4SLinus Torvalds  ftdi_sio_b4800 = 4,
9961da177e4SLinus Torvalds  ftdi_sio_b9600 = 5,
9971da177e4SLinus Torvalds  ftdi_sio_b19200 = 6,
9981da177e4SLinus Torvalds  ftdi_sio_b38400 = 7,
9991da177e4SLinus Torvalds  ftdi_sio_b57600 = 8,
10001da177e4SLinus Torvalds  ftdi_sio_b115200 = 9
10011da177e4SLinus Torvalds } FTDI_SIO_baudrate_t;
10021da177e4SLinus Torvalds 
10031da177e4SLinus Torvalds /*
10041da177e4SLinus Torvalds  * The ftdi_8U232AM_xxMHz_byyy constants have been removed. The encoded divisor values
10051da177e4SLinus Torvalds  * are calculated internally.
10061da177e4SLinus Torvalds  */
10071da177e4SLinus Torvalds 
10081da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_REQUEST FTDI_SIO_SET_DATA
10091da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_REQUEST_TYPE 0x40
10101da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_NONE (0x0 << 8)
10111da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_ODD (0x1 << 8)
10121da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_EVEN (0x2 << 8)
10131da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_MARK (0x3 << 8)
10141da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_SPACE (0x4 << 8)
10151da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_1 (0x0 << 11)
10161da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_15 (0x1 << 11)
10171da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_2 (0x2 << 11)
10181da177e4SLinus Torvalds #define FTDI_SIO_SET_BREAK (0x1 << 14)
10191da177e4SLinus Torvalds /* FTDI_SIO_SET_DATA */
10201da177e4SLinus Torvalds 
10211da177e4SLinus Torvalds /*
10221da177e4SLinus Torvalds  * BmRequestType:  0100 0000B
10231da177e4SLinus Torvalds  * bRequest:       FTDI_SIO_SET_DATA
10241da177e4SLinus Torvalds  * wValue:         Data characteristics (see below)
10251da177e4SLinus Torvalds  * wIndex:         Port
10261da177e4SLinus Torvalds  * wLength:        0
10271da177e4SLinus Torvalds  * Data:           No
10281da177e4SLinus Torvalds  *
10291da177e4SLinus Torvalds  * Data characteristics
10301da177e4SLinus Torvalds  *
10311da177e4SLinus Torvalds  *   B0..7   Number of data bits
10321da177e4SLinus Torvalds  *   B8..10  Parity
10331da177e4SLinus Torvalds  *           0 = None
10341da177e4SLinus Torvalds  *           1 = Odd
10351da177e4SLinus Torvalds  *           2 = Even
10361da177e4SLinus Torvalds  *           3 = Mark
10371da177e4SLinus Torvalds  *           4 = Space
10381da177e4SLinus Torvalds  *   B11..13 Stop Bits
10391da177e4SLinus Torvalds  *           0 = 1
10401da177e4SLinus Torvalds  *           1 = 1.5
10411da177e4SLinus Torvalds  *           2 = 2
10421da177e4SLinus Torvalds  *   B14
10431da177e4SLinus Torvalds  *           1 = TX ON (break)
10441da177e4SLinus Torvalds  *           0 = TX OFF (normal state)
10451da177e4SLinus Torvalds  *   B15 Reserved
10461da177e4SLinus Torvalds  *
10471da177e4SLinus Torvalds  */
10481da177e4SLinus Torvalds 
10491da177e4SLinus Torvalds 
10501da177e4SLinus Torvalds 
10511da177e4SLinus Torvalds /* FTDI_SIO_MODEM_CTRL */
10521da177e4SLinus Torvalds #define FTDI_SIO_SET_MODEM_CTRL_REQUEST_TYPE 0x40
10531da177e4SLinus Torvalds #define FTDI_SIO_SET_MODEM_CTRL_REQUEST FTDI_SIO_MODEM_CTRL
10541da177e4SLinus Torvalds 
10551da177e4SLinus Torvalds /*
10561da177e4SLinus Torvalds  * BmRequestType:   0100 0000B
10571da177e4SLinus Torvalds  * bRequest:        FTDI_SIO_MODEM_CTRL
10581da177e4SLinus Torvalds  * wValue:          ControlValue (see below)
10591da177e4SLinus Torvalds  * wIndex:          Port
10601da177e4SLinus Torvalds  * wLength:         0
10611da177e4SLinus Torvalds  * Data:            None
10621da177e4SLinus Torvalds  *
10631da177e4SLinus Torvalds  * NOTE: If the device is in RTS/CTS flow control, the RTS set by this
10641da177e4SLinus Torvalds  * command will be IGNORED without an error being returned
10651da177e4SLinus Torvalds  * Also - you can not set DTR and RTS with one control message
10661da177e4SLinus Torvalds  */
10671da177e4SLinus Torvalds 
10681da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_MASK 0x1
10691da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_HIGH (1 | (FTDI_SIO_SET_DTR_MASK  << 8))
10701da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_LOW  (0 | (FTDI_SIO_SET_DTR_MASK  << 8))
10711da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_MASK 0x2
10721da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_HIGH (2 | (FTDI_SIO_SET_RTS_MASK << 8))
10731da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_LOW (0 | (FTDI_SIO_SET_RTS_MASK << 8))
10741da177e4SLinus Torvalds 
10751da177e4SLinus Torvalds /*
10761da177e4SLinus Torvalds  * ControlValue
10771da177e4SLinus Torvalds  * B0    DTR state
10781da177e4SLinus Torvalds  *          0 = reset
10791da177e4SLinus Torvalds  *          1 = set
10801da177e4SLinus Torvalds  * B1    RTS state
10811da177e4SLinus Torvalds  *          0 = reset
10821da177e4SLinus Torvalds  *          1 = set
10831da177e4SLinus Torvalds  * B2..7 Reserved
10841da177e4SLinus Torvalds  * B8    DTR state enable
10851da177e4SLinus Torvalds  *          0 = ignore
10861da177e4SLinus Torvalds  *          1 = use DTR state
10871da177e4SLinus Torvalds  * B9    RTS state enable
10881da177e4SLinus Torvalds  *          0 = ignore
10891da177e4SLinus Torvalds  *          1 = use RTS state
10901da177e4SLinus Torvalds  * B10..15 Reserved
10911da177e4SLinus Torvalds  */
10921da177e4SLinus Torvalds 
10931da177e4SLinus Torvalds /* FTDI_SIO_SET_FLOW_CTRL */
10941da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL_REQUEST_TYPE 0x40
10951da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL_REQUEST FTDI_SIO_SET_FLOW_CTRL
10961da177e4SLinus Torvalds #define FTDI_SIO_DISABLE_FLOW_CTRL 0x0
10971da177e4SLinus Torvalds #define FTDI_SIO_RTS_CTS_HS (0x1 << 8)
10981da177e4SLinus Torvalds #define FTDI_SIO_DTR_DSR_HS (0x2 << 8)
10991da177e4SLinus Torvalds #define FTDI_SIO_XON_XOFF_HS (0x4 << 8)
11001da177e4SLinus Torvalds /*
11011da177e4SLinus Torvalds  *   BmRequestType:  0100 0000b
11021da177e4SLinus Torvalds  *   bRequest:       FTDI_SIO_SET_FLOW_CTRL
11031da177e4SLinus Torvalds  *   wValue:         Xoff/Xon
11041da177e4SLinus Torvalds  *   wIndex:         Protocol/Port - hIndex is protocl / lIndex is port
11051da177e4SLinus Torvalds  *   wLength:        0
11061da177e4SLinus Torvalds  *   Data:           None
11071da177e4SLinus Torvalds  *
11081da177e4SLinus Torvalds  * hIndex protocol is:
11091da177e4SLinus Torvalds  *   B0 Output handshaking using RTS/CTS
11101da177e4SLinus Torvalds  *       0 = disabled
11111da177e4SLinus Torvalds  *       1 = enabled
11121da177e4SLinus Torvalds  *   B1 Output handshaking using DTR/DSR
11131da177e4SLinus Torvalds  *       0 = disabled
11141da177e4SLinus Torvalds  *       1 = enabled
11151da177e4SLinus Torvalds  *   B2 Xon/Xoff handshaking
11161da177e4SLinus Torvalds  *       0 = disabled
11171da177e4SLinus Torvalds  *       1 = enabled
11181da177e4SLinus Torvalds  *
11191da177e4SLinus Torvalds  * A value of zero in the hIndex field disables handshaking
11201da177e4SLinus Torvalds  *
11211da177e4SLinus Torvalds  * If Xon/Xoff handshaking is specified, the hValue field should contain the XOFF character
11221da177e4SLinus Torvalds  * and the lValue field contains the XON character.
11231da177e4SLinus Torvalds  */
11241da177e4SLinus Torvalds 
11251da177e4SLinus Torvalds /*
11261da177e4SLinus Torvalds  * FTDI_SIO_GET_LATENCY_TIMER
11271da177e4SLinus Torvalds  *
11281da177e4SLinus Torvalds  * Set the timeout interval. The FTDI collects data from the slave
11291da177e4SLinus Torvalds  * device, transmitting it to the host when either A) 62 bytes are
11301da177e4SLinus Torvalds  * received, or B) the timeout interval has elapsed and the buffer
11311da177e4SLinus Torvalds  * contains at least 1 byte.  Setting this value to a small number
11321da177e4SLinus Torvalds  * can dramatically improve performance for applications which send
11331da177e4SLinus Torvalds  * small packets, since the default value is 16ms.
11341da177e4SLinus Torvalds  */
11351da177e4SLinus Torvalds #define  FTDI_SIO_GET_LATENCY_TIMER_REQUEST FTDI_SIO_GET_LATENCY_TIMER
11361da177e4SLinus Torvalds #define  FTDI_SIO_GET_LATENCY_TIMER_REQUEST_TYPE 0xC0
11371da177e4SLinus Torvalds 
11381da177e4SLinus Torvalds /*
11391da177e4SLinus Torvalds  *  BmRequestType:   1100 0000b
11401da177e4SLinus Torvalds  *  bRequest:        FTDI_SIO_GET_LATENCY_TIMER
11411da177e4SLinus Torvalds  *  wValue:          0
11421da177e4SLinus Torvalds  *  wIndex:          Port
11431da177e4SLinus Torvalds  *  wLength:         0
11441da177e4SLinus Torvalds  *  Data:            latency (on return)
11451da177e4SLinus Torvalds  */
11461da177e4SLinus Torvalds 
11471da177e4SLinus Torvalds /*
11481da177e4SLinus Torvalds  * FTDI_SIO_SET_LATENCY_TIMER
11491da177e4SLinus Torvalds  *
11501da177e4SLinus Torvalds  * Set the timeout interval. The FTDI collects data from the slave
11511da177e4SLinus Torvalds  * device, transmitting it to the host when either A) 62 bytes are
11521da177e4SLinus Torvalds  * received, or B) the timeout interval has elapsed and the buffer
11531da177e4SLinus Torvalds  * contains at least 1 byte.  Setting this value to a small number
11541da177e4SLinus Torvalds  * can dramatically improve performance for applications which send
11551da177e4SLinus Torvalds  * small packets, since the default value is 16ms.
11561da177e4SLinus Torvalds  */
11571da177e4SLinus Torvalds #define  FTDI_SIO_SET_LATENCY_TIMER_REQUEST FTDI_SIO_SET_LATENCY_TIMER
11581da177e4SLinus Torvalds #define  FTDI_SIO_SET_LATENCY_TIMER_REQUEST_TYPE 0x40
11591da177e4SLinus Torvalds 
11601da177e4SLinus Torvalds /*
11611da177e4SLinus Torvalds  *  BmRequestType:   0100 0000b
11621da177e4SLinus Torvalds  *  bRequest:        FTDI_SIO_SET_LATENCY_TIMER
11631da177e4SLinus Torvalds  *  wValue:          Latency (milliseconds)
11641da177e4SLinus Torvalds  *  wIndex:          Port
11651da177e4SLinus Torvalds  *  wLength:         0
11661da177e4SLinus Torvalds  *  Data:            None
11671da177e4SLinus Torvalds  *
11681da177e4SLinus Torvalds  * wValue:
11691da177e4SLinus Torvalds  *   B0..7   Latency timer
11701da177e4SLinus Torvalds  *   B8..15  0
11711da177e4SLinus Torvalds  *
11721da177e4SLinus Torvalds  */
11731da177e4SLinus Torvalds 
11741da177e4SLinus Torvalds /*
11751da177e4SLinus Torvalds  * FTDI_SIO_SET_EVENT_CHAR
11761da177e4SLinus Torvalds  *
11771da177e4SLinus Torvalds  * Set the special event character for the specified communications port.
11781da177e4SLinus Torvalds  * If the device sees this character it will immediately return the
11791da177e4SLinus Torvalds  * data read so far - rather than wait 40ms or until 62 bytes are read
11801da177e4SLinus Torvalds  * which is what normally happens.
11811da177e4SLinus Torvalds  */
11821da177e4SLinus Torvalds 
11831da177e4SLinus Torvalds 
11841da177e4SLinus Torvalds #define  FTDI_SIO_SET_EVENT_CHAR_REQUEST FTDI_SIO_SET_EVENT_CHAR
11851da177e4SLinus Torvalds #define  FTDI_SIO_SET_EVENT_CHAR_REQUEST_TYPE 0x40
11861da177e4SLinus Torvalds 
11871da177e4SLinus Torvalds 
11881da177e4SLinus Torvalds /*
11891da177e4SLinus Torvalds  *  BmRequestType:   0100 0000b
11901da177e4SLinus Torvalds  *  bRequest:        FTDI_SIO_SET_EVENT_CHAR
11911da177e4SLinus Torvalds  *  wValue:          EventChar
11921da177e4SLinus Torvalds  *  wIndex:          Port
11931da177e4SLinus Torvalds  *  wLength:         0
11941da177e4SLinus Torvalds  *  Data:            None
11951da177e4SLinus Torvalds  *
11961da177e4SLinus Torvalds  * wValue:
11971da177e4SLinus Torvalds  *   B0..7   Event Character
11981da177e4SLinus Torvalds  *   B8      Event Character Processing
11991da177e4SLinus Torvalds  *             0 = disabled
12001da177e4SLinus Torvalds  *             1 = enabled
12011da177e4SLinus Torvalds  *   B9..15  Reserved
12021da177e4SLinus Torvalds  *
12031da177e4SLinus Torvalds  */
12041da177e4SLinus Torvalds 
12051da177e4SLinus Torvalds /* FTDI_SIO_SET_ERROR_CHAR */
12061da177e4SLinus Torvalds 
12071da177e4SLinus Torvalds /* Set the parity error replacement character for the specified communications port */
12081da177e4SLinus Torvalds 
12091da177e4SLinus Torvalds /*
12101da177e4SLinus Torvalds  *  BmRequestType:  0100 0000b
12111da177e4SLinus Torvalds  *  bRequest:       FTDI_SIO_SET_EVENT_CHAR
12121da177e4SLinus Torvalds  *  wValue:         Error Char
12131da177e4SLinus Torvalds  *  wIndex:         Port
12141da177e4SLinus Torvalds  *  wLength:        0
12151da177e4SLinus Torvalds  *  Data:           None
12161da177e4SLinus Torvalds  *
12171da177e4SLinus Torvalds  *Error Char
12181da177e4SLinus Torvalds  *  B0..7  Error Character
12191da177e4SLinus Torvalds  *  B8     Error Character Processing
12201da177e4SLinus Torvalds  *           0 = disabled
12211da177e4SLinus Torvalds  *           1 = enabled
12221da177e4SLinus Torvalds  *  B9..15 Reserved
12231da177e4SLinus Torvalds  *
12241da177e4SLinus Torvalds  */
12251da177e4SLinus Torvalds 
12261da177e4SLinus Torvalds /* FTDI_SIO_GET_MODEM_STATUS */
12274a4efbdeSMatt Mackall /* Retrieve the current value of the modem status register */
12281da177e4SLinus Torvalds 
12291da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS_REQUEST_TYPE 0xc0
12301da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS_REQUEST FTDI_SIO_GET_MODEM_STATUS
12311da177e4SLinus Torvalds #define FTDI_SIO_CTS_MASK 0x10
12321da177e4SLinus Torvalds #define FTDI_SIO_DSR_MASK 0x20
12331da177e4SLinus Torvalds #define FTDI_SIO_RI_MASK  0x40
12341da177e4SLinus Torvalds #define FTDI_SIO_RLSD_MASK 0x80
12351da177e4SLinus Torvalds /*
12361da177e4SLinus Torvalds  *   BmRequestType:   1100 0000b
12371da177e4SLinus Torvalds  *   bRequest:        FTDI_SIO_GET_MODEM_STATUS
12381da177e4SLinus Torvalds  *   wValue:          zero
12391da177e4SLinus Torvalds  *   wIndex:          Port
12401da177e4SLinus Torvalds  *   wLength:         1
12411da177e4SLinus Torvalds  *   Data:            Status
12421da177e4SLinus Torvalds  *
12431da177e4SLinus Torvalds  * One byte of data is returned
12441da177e4SLinus Torvalds  * B0..3 0
12451da177e4SLinus Torvalds  * B4    CTS
12461da177e4SLinus Torvalds  *         0 = inactive
12471da177e4SLinus Torvalds  *         1 = active
12481da177e4SLinus Torvalds  * B5    DSR
12491da177e4SLinus Torvalds  *         0 = inactive
12501da177e4SLinus Torvalds  *         1 = active
12511da177e4SLinus Torvalds  * B6    Ring Indicator (RI)
12521da177e4SLinus Torvalds  *         0 = inactive
12531da177e4SLinus Torvalds  *         1 = active
12541da177e4SLinus Torvalds  * B7    Receive Line Signal Detect (RLSD)
12551da177e4SLinus Torvalds  *         0 = inactive
12561da177e4SLinus Torvalds  *         1 = active
12571da177e4SLinus Torvalds  */
12581da177e4SLinus Torvalds 
12591da177e4SLinus Torvalds 
12601da177e4SLinus Torvalds 
12611da177e4SLinus Torvalds /* Descriptors returned by the device
12621da177e4SLinus Torvalds  *
12631da177e4SLinus Torvalds  *  Device Descriptor
12641da177e4SLinus Torvalds  *
12651da177e4SLinus Torvalds  * Offset	Field		Size	Value	Description
12661da177e4SLinus Torvalds  * 0	bLength		1	0x12	Size of descriptor in bytes
12671da177e4SLinus Torvalds  * 1	bDescriptorType	1	0x01	DEVICE Descriptor Type
12681da177e4SLinus Torvalds  * 2	bcdUSB		2	0x0110	USB Spec Release Number
12691da177e4SLinus Torvalds  * 4	bDeviceClass	1	0x00	Class Code
12701da177e4SLinus Torvalds  * 5	bDeviceSubClass	1	0x00	SubClass Code
12711da177e4SLinus Torvalds  * 6	bDeviceProtocol	1	0x00	Protocol Code
12721da177e4SLinus Torvalds  * 7	bMaxPacketSize0 1	0x08	Maximum packet size for endpoint 0
12731da177e4SLinus Torvalds  * 8	idVendor	2	0x0403	Vendor ID
12741da177e4SLinus Torvalds  * 10	idProduct	2	0x8372	Product ID (FTDI_SIO_PID)
12751da177e4SLinus Torvalds  * 12	bcdDevice	2	0x0001	Device release number
12761da177e4SLinus Torvalds  * 14	iManufacturer	1	0x01	Index of man. string desc
12771da177e4SLinus Torvalds  * 15	iProduct	1	0x02	Index of prod string desc
12781da177e4SLinus Torvalds  * 16	iSerialNumber	1	0x02	Index of serial nmr string desc
12791da177e4SLinus Torvalds  * 17	bNumConfigurations 1    0x01	Number of possible configurations
12801da177e4SLinus Torvalds  *
12811da177e4SLinus Torvalds  * Configuration Descriptor
12821da177e4SLinus Torvalds  *
12831da177e4SLinus Torvalds  * Offset	Field			Size	Value
12841da177e4SLinus Torvalds  * 0	bLength			1	0x09	Size of descriptor in bytes
12851da177e4SLinus Torvalds  * 1	bDescriptorType		1	0x02	CONFIGURATION Descriptor Type
12861da177e4SLinus Torvalds  * 2	wTotalLength		2	0x0020	Total length of data
12871da177e4SLinus Torvalds  * 4	bNumInterfaces		1	0x01	Number of interfaces supported
12881da177e4SLinus Torvalds  * 5	bConfigurationValue	1	0x01	Argument for SetCOnfiguration() req
12891da177e4SLinus Torvalds  * 6	iConfiguration		1	0x02	Index of config string descriptor
12901da177e4SLinus Torvalds  * 7	bmAttributes		1	0x20	Config characteristics Remote Wakeup
12911da177e4SLinus Torvalds  * 8	MaxPower		1	0x1E	Max power consumption
12921da177e4SLinus Torvalds  *
12931da177e4SLinus Torvalds  * Interface Descriptor
12941da177e4SLinus Torvalds  *
12951da177e4SLinus Torvalds  * Offset	Field			Size	Value
12961da177e4SLinus Torvalds  * 0	bLength			1	0x09	Size of descriptor in bytes
12971da177e4SLinus Torvalds  * 1	bDescriptorType		1	0x04	INTERFACE Descriptor Type
12981da177e4SLinus Torvalds  * 2	bInterfaceNumber	1	0x00	Number of interface
12991da177e4SLinus Torvalds  * 3	bAlternateSetting	1	0x00	Value used to select alternate
13001da177e4SLinus Torvalds  * 4	bNumEndpoints		1	0x02	Number of endpoints
13011da177e4SLinus Torvalds  * 5	bInterfaceClass		1	0xFF	Class Code
13021da177e4SLinus Torvalds  * 6	bInterfaceSubClass	1	0xFF	Subclass Code
13031da177e4SLinus Torvalds  * 7	bInterfaceProtocol	1	0xFF	Protocol Code
13041da177e4SLinus Torvalds  * 8	iInterface		1	0x02	Index of interface string description
13051da177e4SLinus Torvalds  *
13061da177e4SLinus Torvalds  * IN Endpoint Descriptor
13071da177e4SLinus Torvalds  *
13081da177e4SLinus Torvalds  * Offset	Field			Size	Value
13091da177e4SLinus Torvalds  * 0	bLength			1	0x07	Size of descriptor in bytes
13101da177e4SLinus Torvalds  * 1	bDescriptorType		1	0x05	ENDPOINT descriptor type
13111da177e4SLinus Torvalds  * 2	bEndpointAddress	1	0x82	Address of endpoint
13121da177e4SLinus Torvalds  * 3	bmAttributes		1	0x02	Endpoint attributes - Bulk
13131da177e4SLinus Torvalds  * 4	bNumEndpoints		2	0x0040	maximum packet size
13141da177e4SLinus Torvalds  * 5	bInterval		1	0x00	Interval for polling endpoint
13151da177e4SLinus Torvalds  *
13161da177e4SLinus Torvalds  * OUT Endpoint Descriptor
13171da177e4SLinus Torvalds  *
13181da177e4SLinus Torvalds  * Offset	Field			Size	Value
13191da177e4SLinus Torvalds  * 0	bLength			1	0x07	Size of descriptor in bytes
13201da177e4SLinus Torvalds  * 1	bDescriptorType		1	0x05	ENDPOINT descriptor type
13211da177e4SLinus Torvalds  * 2	bEndpointAddress	1	0x02	Address of endpoint
13221da177e4SLinus Torvalds  * 3	bmAttributes		1	0x02	Endpoint attributes - Bulk
13231da177e4SLinus Torvalds  * 4	bNumEndpoints		2	0x0040	maximum packet size
13241da177e4SLinus Torvalds  * 5	bInterval		1	0x00	Interval for polling endpoint
13251da177e4SLinus Torvalds  *
13261da177e4SLinus Torvalds  * DATA FORMAT
13271da177e4SLinus Torvalds  *
13281da177e4SLinus Torvalds  * IN Endpoint
13291da177e4SLinus Torvalds  *
13301da177e4SLinus Torvalds  * The device reserves the first two bytes of data on this endpoint to contain the current
13311da177e4SLinus Torvalds  * values of the modem and line status registers. In the absence of data, the device
13321da177e4SLinus Torvalds  * generates a message consisting of these two status bytes every 40 ms
13331da177e4SLinus Torvalds  *
13341da177e4SLinus Torvalds  * Byte 0: Modem Status
13351da177e4SLinus Torvalds  *
13361da177e4SLinus Torvalds  * Offset	Description
13371da177e4SLinus Torvalds  * B0	Reserved - must be 1
13381da177e4SLinus Torvalds  * B1	Reserved - must be 0
13391da177e4SLinus Torvalds  * B2	Reserved - must be 0
13401da177e4SLinus Torvalds  * B3	Reserved - must be 0
13411da177e4SLinus Torvalds  * B4	Clear to Send (CTS)
13421da177e4SLinus Torvalds  * B5	Data Set Ready (DSR)
13431da177e4SLinus Torvalds  * B6	Ring Indicator (RI)
13441da177e4SLinus Torvalds  * B7	Receive Line Signal Detect (RLSD)
13451da177e4SLinus Torvalds  *
13461da177e4SLinus Torvalds  * Byte 1: Line Status
13471da177e4SLinus Torvalds  *
13481da177e4SLinus Torvalds  * Offset	Description
13491da177e4SLinus Torvalds  * B0	Data Ready (DR)
13501da177e4SLinus Torvalds  * B1	Overrun Error (OE)
13511da177e4SLinus Torvalds  * B2	Parity Error (PE)
13521da177e4SLinus Torvalds  * B3	Framing Error (FE)
13531da177e4SLinus Torvalds  * B4	Break Interrupt (BI)
13541da177e4SLinus Torvalds  * B5	Transmitter Holding Register (THRE)
13551da177e4SLinus Torvalds  * B6	Transmitter Empty (TEMT)
13561da177e4SLinus Torvalds  * B7	Error in RCVR FIFO
13571da177e4SLinus Torvalds  *
13581da177e4SLinus Torvalds  */
13591da177e4SLinus Torvalds #define FTDI_RS0_CTS	(1 << 4)
13601da177e4SLinus Torvalds #define FTDI_RS0_DSR	(1 << 5)
13611da177e4SLinus Torvalds #define FTDI_RS0_RI	(1 << 6)
13621da177e4SLinus Torvalds #define FTDI_RS0_RLSD	(1 << 7)
13631da177e4SLinus Torvalds 
13641da177e4SLinus Torvalds #define FTDI_RS_DR  1
13651da177e4SLinus Torvalds #define FTDI_RS_OE (1<<1)
13661da177e4SLinus Torvalds #define FTDI_RS_PE (1<<2)
13671da177e4SLinus Torvalds #define FTDI_RS_FE (1<<3)
13681da177e4SLinus Torvalds #define FTDI_RS_BI (1<<4)
13691da177e4SLinus Torvalds #define FTDI_RS_THRE (1<<5)
13701da177e4SLinus Torvalds #define FTDI_RS_TEMT (1<<6)
13711da177e4SLinus Torvalds #define FTDI_RS_FIFO  (1<<7)
13721da177e4SLinus Torvalds 
13731da177e4SLinus Torvalds /*
13741da177e4SLinus Torvalds  * OUT Endpoint
13751da177e4SLinus Torvalds  *
13761da177e4SLinus Torvalds  * This device reserves the first bytes of data on this endpoint contain the length
13771da177e4SLinus Torvalds  * and port identifier of the message. For the FTDI USB Serial converter the port
13781da177e4SLinus Torvalds  * identifier is always 1.
13791da177e4SLinus Torvalds  *
13801da177e4SLinus Torvalds  * Byte 0: Line Status
13811da177e4SLinus Torvalds  *
13821da177e4SLinus Torvalds  * Offset	Description
13831da177e4SLinus Torvalds  * B0	Reserved - must be 1
13841da177e4SLinus Torvalds  * B1	Reserved - must be 0
13851da177e4SLinus Torvalds  * B2..7	Length of message - (not including Byte 0)
13861da177e4SLinus Torvalds  *
13871da177e4SLinus Torvalds  */
13881da177e4SLinus Torvalds 
1389