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 * 13094c2e6dSMark Adamson * Thanx to FTDI (http://www.ftdichip.com) 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 */ 31094c2e6dSMark Adamson #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ 321da177e4SLinus Torvalds #define FTDI_RELAIS_PID 0xFA10 /* Relais device from Rudolf Gugler */ 331da177e4SLinus Torvalds #define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */ 341da177e4SLinus Torvalds #define FTDI_NF_RIC_PID 0x0001 /* Product Id */ 35868e440dSJelle Foks #define FTDI_USBX_707_PID 0xF857 /* ADSTech IR Blaster USBX-707 */ 361da177e4SLinus Torvalds 37d46130abSDaniel Suchy /* Larsen and Brusgaard AltiTrack/USBtrack */ 38d46130abSDaniel Suchy #define LARSENBRUSGAARD_VID 0x0FD8 39d46130abSDaniel Suchy #define LB_ALTITRACK_PID 0x0001 40641adaaeSLouis Nyffenegger 412011e924SJonathan Davies /* www.canusb.com Lawicel CANUSB device */ 422011e924SJonathan Davies #define FTDI_CANUSB_PID 0xFFA8 /* Product Id */ 432011e924SJonathan Davies 442011e924SJonathan Davies /* AlphaMicro Components AMC-232USB01 device */ 452011e924SJonathan Davies #define FTDI_AMC232_PID 0xFF00 /* Product Id */ 462011e924SJonathan Davies 4701ba0856SAndrew Ewert /* www.candapter.com Ewert Energy Systems CANdapter device */ 4801ba0856SAndrew Ewert #define FTDI_CANDAPTER_PID 0x9F80 /* Product Id */ 4901ba0856SAndrew Ewert 506e1ab3edSPeter Mack /* SCS HF Radio Modems PID's (http://www.scs-ptc.com) */ 516e1ab3edSPeter Mack /* the VID is the standard ftdi vid (FTDI_VID) */ 526e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_0_PID 0xD010 /* SCS PTC-IIusb */ 536e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_1_PID 0xD011 /* SCS Tracker / DSP TNC */ 546e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_2_PID 0xD012 556e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_3_PID 0xD013 566e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_4_PID 0xD014 576e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_5_PID 0xD015 586e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_6_PID 0xD016 596e1ab3edSPeter Mack #define FTDI_SCS_DEVICE_7_PID 0xD017 606e1ab3edSPeter Mack 6172a9f958SRazvan Gavril /* ACT Solutions HomePro ZWave interface (http://www.act-solutions.com/HomePro.htm) */ 6272a9f958SRazvan Gavril #define FTDI_ACTZWAVE_PID 0xF2D0 6372a9f958SRazvan Gavril 6472a9f958SRazvan Gavril 6596de0e25SJan Engelhardt /* www.starting-point-systems.com µChameleon device */ 66c0f8d561SChristophe Mariac #define FTDI_MICRO_CHAMELEON_PID 0xCAA0 /* Product Id */ 67c0f8d561SChristophe Mariac 681da177e4SLinus Torvalds /* www.irtrans.de device */ 691da177e4SLinus Torvalds #define FTDI_IRTRANS_PID 0xFC60 /* Product Id */ 701da177e4SLinus Torvalds 71641adaaeSLouis Nyffenegger 72641adaaeSLouis Nyffenegger /* www.thoughttechnology.com/ TT-USB provide with procomp use ftdi_sio */ 73641adaaeSLouis Nyffenegger #define FTDI_TTUSB_PID 0xFF20 /* Product Id */ 74641adaaeSLouis Nyffenegger 7569737dfaSLuiz Fernando N. Capitulino /* iPlus device */ 7669737dfaSLuiz Fernando N. Capitulino #define FTDI_IPLUS_PID 0xD070 /* Product Id */ 77d099321bSLuiz Fernando N. Capitulino #define FTDI_IPLUS2_PID 0xD071 /* Product Id */ 7869737dfaSLuiz Fernando N. Capitulino 79fad14a0dSFrank Sievertsen /* DMX4ALL DMX Interfaces */ 80fad14a0dSFrank Sievertsen #define FTDI_DMX4ALL 0xC850 81fad14a0dSFrank Sievertsen 822adb80e9SGuido Scholz /* OpenDCC (www.opendcc.de) product id */ 832adb80e9SGuido Scholz #define FTDI_OPENDCC_PID 0xBFD8 842adb80e9SGuido Scholz 85f2ee6955SAlan Cox /* Sprog II (Andrew Crosland's SprogII DCC interface) */ 86f2ee6955SAlan Cox #define FTDI_SPROG_II 0xF0C8 87f2ee6955SAlan Cox 881da177e4SLinus Torvalds /* www.crystalfontz.com devices - thanx for providing free devices for evaluation ! */ 891da177e4SLinus Torvalds /* they use the ftdi chipset for the USB interface and the vendor id is the same */ 901da177e4SLinus Torvalds #define FTDI_XF_632_PID 0xFC08 /* 632: 16x2 Character Display */ 911da177e4SLinus Torvalds #define FTDI_XF_634_PID 0xFC09 /* 634: 20x4 Character Display */ 921da177e4SLinus Torvalds #define FTDI_XF_547_PID 0xFC0A /* 547: Two line Display */ 931da177e4SLinus Torvalds #define FTDI_XF_633_PID 0xFC0B /* 633: 16x2 Character Display with Keys */ 941da177e4SLinus Torvalds #define FTDI_XF_631_PID 0xFC0C /* 631: 20x2 Character Display */ 951da177e4SLinus Torvalds #define FTDI_XF_635_PID 0xFC0D /* 635: 20x4 Character Display */ 961da177e4SLinus Torvalds #define FTDI_XF_640_PID 0xFC0E /* 640: Two line Display */ 971da177e4SLinus Torvalds #define FTDI_XF_642_PID 0xFC0F /* 642: Two line Display */ 981da177e4SLinus Torvalds 991da177e4SLinus Torvalds /* Video Networks Limited / Homechoice in the UK use an ftdi-based device for their 1Mb */ 1001da177e4SLinus Torvalds /* broadband internet service. The following PID is exhibited by the usb device supplied */ 1011da177e4SLinus Torvalds /* (the VID is the standard ftdi vid (FTDI_VID) */ 1021da177e4SLinus Torvalds #define FTDI_VNHCPCUSB_D_PID 0xfe38 /* Product Id */ 1031da177e4SLinus Torvalds 1041da177e4SLinus Torvalds /* 105ce40d290SWouter Paesen * PCDJ use ftdi based dj-controllers. The following PID is for their DAC-2 device 106ce40d290SWouter Paesen * http://www.pcdjhardware.com/DAC2.asp (PID sent by Wouter Paesen) 107ce40d290SWouter Paesen * (the VID is the standard ftdi vid (FTDI_VID) */ 108ce40d290SWouter Paesen #define FTDI_PCDJ_DAC2_PID 0xFA88 109ce40d290SWouter Paesen 110ce40d290SWouter Paesen /* 1111da177e4SLinus Torvalds * The following are the values for the Matrix Orbital LCD displays, 1121da177e4SLinus Torvalds * which are the FT232BM ( similar to the 8U232AM ) 1131da177e4SLinus Torvalds */ 1141da177e4SLinus Torvalds #define FTDI_MTXORB_0_PID 0xFA00 /* Matrix Orbital Product Id */ 1151da177e4SLinus Torvalds #define FTDI_MTXORB_1_PID 0xFA01 /* Matrix Orbital Product Id */ 1161da177e4SLinus Torvalds #define FTDI_MTXORB_2_PID 0xFA02 /* Matrix Orbital Product Id */ 1171da177e4SLinus Torvalds #define FTDI_MTXORB_3_PID 0xFA03 /* Matrix Orbital Product Id */ 1181da177e4SLinus Torvalds #define FTDI_MTXORB_4_PID 0xFA04 /* Matrix Orbital Product Id */ 1191da177e4SLinus Torvalds #define FTDI_MTXORB_5_PID 0xFA05 /* Matrix Orbital Product Id */ 1201da177e4SLinus Torvalds #define FTDI_MTXORB_6_PID 0xFA06 /* Matrix Orbital Product Id */ 1211da177e4SLinus Torvalds 12220734345SHarald Welte /* OOCDlink by Joern Kaipf <joernk@web.de> 12320734345SHarald Welte * (http://www.joernonline.de/dw/doku.php?id=start&idx=projects:oocdlink) */ 12420734345SHarald Welte #define FTDI_OOCDLINK_PID 0xbaf8 /* Amontec JTAGkey */ 12520734345SHarald Welte 126546d7eecSKevin Vance /* 127ebb3770cSRay Molenkamp * The following are the values for the Matrix Orbital FTDI Range 128ebb3770cSRay Molenkamp * Anything in this range will use an FT232RL. 129546d7eecSKevin Vance */ 130ebb3770cSRay Molenkamp #define MTXORB_VID 0x1B3D 131ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0100_PID 0x0100 132ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0101_PID 0x0101 133ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0102_PID 0x0102 134ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0103_PID 0x0103 135ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0104_PID 0x0104 136ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0105_PID 0x0105 137ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0106_PID 0x0106 138ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0107_PID 0x0107 139ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0108_PID 0x0108 140ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0109_PID 0x0109 141ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010A_PID 0x010A 142ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010B_PID 0x010B 143ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010C_PID 0x010C 144ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010D_PID 0x010D 145ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010E_PID 0x010E 146ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_010F_PID 0x010F 147ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0110_PID 0x0110 148ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0111_PID 0x0111 149ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0112_PID 0x0112 150ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0113_PID 0x0113 151ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0114_PID 0x0114 152ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0115_PID 0x0115 153ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0116_PID 0x0116 154ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0117_PID 0x0117 155ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0118_PID 0x0118 156ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0119_PID 0x0119 157ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011A_PID 0x011A 158ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011B_PID 0x011B 159ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011C_PID 0x011C 160ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011D_PID 0x011D 161ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011E_PID 0x011E 162ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_011F_PID 0x011F 163ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0120_PID 0x0120 164ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0121_PID 0x0121 165ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0122_PID 0x0122 166ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0123_PID 0x0123 167ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0124_PID 0x0124 168ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0125_PID 0x0125 169ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0126_PID 0x0126 170ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0127_PID 0x0127 171ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0128_PID 0x0128 172ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0129_PID 0x0129 173ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012A_PID 0x012A 174ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012B_PID 0x012B 175ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012C_PID 0x012C 176ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012D_PID 0x012D 177ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012E_PID 0x012E 178ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_012F_PID 0x012F 179ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0130_PID 0x0130 180ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0131_PID 0x0131 181ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0132_PID 0x0132 182ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0133_PID 0x0133 183ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0134_PID 0x0134 184ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0135_PID 0x0135 185ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0136_PID 0x0136 186ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0137_PID 0x0137 187ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0138_PID 0x0138 188ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0139_PID 0x0139 189ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013A_PID 0x013A 190ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013B_PID 0x013B 191ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013C_PID 0x013C 192ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013D_PID 0x013D 193ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013E_PID 0x013E 194ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_013F_PID 0x013F 195ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0140_PID 0x0140 196ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0141_PID 0x0141 197ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0142_PID 0x0142 198ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0143_PID 0x0143 199ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0144_PID 0x0144 200ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0145_PID 0x0145 201ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0146_PID 0x0146 202ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0147_PID 0x0147 203ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0148_PID 0x0148 204ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0149_PID 0x0149 205ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014A_PID 0x014A 206ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014B_PID 0x014B 207ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014C_PID 0x014C 208ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014D_PID 0x014D 209ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014E_PID 0x014E 210ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_014F_PID 0x014F 211ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0150_PID 0x0150 212ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0151_PID 0x0151 213ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0152_PID 0x0152 214ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0153_PID 0x0153 215ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0154_PID 0x0154 216ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0155_PID 0x0155 217ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0156_PID 0x0156 218ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0157_PID 0x0157 219ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0158_PID 0x0158 220ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0159_PID 0x0159 221ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015A_PID 0x015A 222ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015B_PID 0x015B 223ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015C_PID 0x015C 224ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015D_PID 0x015D 225ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015E_PID 0x015E 226ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_015F_PID 0x015F 227ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0160_PID 0x0160 228ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0161_PID 0x0161 229ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0162_PID 0x0162 230ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0163_PID 0x0163 231ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0164_PID 0x0164 232ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0165_PID 0x0165 233ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0166_PID 0x0166 234ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0167_PID 0x0167 235ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0168_PID 0x0168 236ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0169_PID 0x0169 237ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016A_PID 0x016A 238ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016B_PID 0x016B 239ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016C_PID 0x016C 240ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016D_PID 0x016D 241ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016E_PID 0x016E 242ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_016F_PID 0x016F 243ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0170_PID 0x0170 244ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0171_PID 0x0171 245ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0172_PID 0x0172 246ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0173_PID 0x0173 247ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0174_PID 0x0174 248ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0175_PID 0x0175 249ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0176_PID 0x0176 250ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0177_PID 0x0177 251ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0178_PID 0x0178 252ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0179_PID 0x0179 253ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017A_PID 0x017A 254ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017B_PID 0x017B 255ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017C_PID 0x017C 256ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017D_PID 0x017D 257ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017E_PID 0x017E 258ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_017F_PID 0x017F 259ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0180_PID 0x0180 260ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0181_PID 0x0181 261ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0182_PID 0x0182 262ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0183_PID 0x0183 263ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0184_PID 0x0184 264ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0185_PID 0x0185 265ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0186_PID 0x0186 266ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0187_PID 0x0187 267ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0188_PID 0x0188 268ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0189_PID 0x0189 269ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018A_PID 0x018A 270ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018B_PID 0x018B 271ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018C_PID 0x018C 272ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018D_PID 0x018D 273ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018E_PID 0x018E 274ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_018F_PID 0x018F 275ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0190_PID 0x0190 276ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0191_PID 0x0191 277ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0192_PID 0x0192 278ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0193_PID 0x0193 279ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0194_PID 0x0194 280ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0195_PID 0x0195 281ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0196_PID 0x0196 282ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0197_PID 0x0197 283ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0198_PID 0x0198 284ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_0199_PID 0x0199 285ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019A_PID 0x019A 286ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019B_PID 0x019B 287ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019C_PID 0x019C 288ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019D_PID 0x019D 289ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019E_PID 0x019E 290ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_019F_PID 0x019F 291ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A0_PID 0x01A0 292ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A1_PID 0x01A1 293ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A2_PID 0x01A2 294ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A3_PID 0x01A3 295ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A4_PID 0x01A4 296ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A5_PID 0x01A5 297ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A6_PID 0x01A6 298ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A7_PID 0x01A7 299ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A8_PID 0x01A8 300ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01A9_PID 0x01A9 301ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AA_PID 0x01AA 302ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AB_PID 0x01AB 303ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AC_PID 0x01AC 304ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AD_PID 0x01AD 305ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AE_PID 0x01AE 306ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01AF_PID 0x01AF 307ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B0_PID 0x01B0 308ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B1_PID 0x01B1 309ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B2_PID 0x01B2 310ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B3_PID 0x01B3 311ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B4_PID 0x01B4 312ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B5_PID 0x01B5 313ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B6_PID 0x01B6 314ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B7_PID 0x01B7 315ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B8_PID 0x01B8 316ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01B9_PID 0x01B9 317ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BA_PID 0x01BA 318ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BB_PID 0x01BB 319ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BC_PID 0x01BC 320ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BD_PID 0x01BD 321ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BE_PID 0x01BE 322ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01BF_PID 0x01BF 323ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C0_PID 0x01C0 324ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C1_PID 0x01C1 325ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C2_PID 0x01C2 326ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C3_PID 0x01C3 327ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C4_PID 0x01C4 328ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C5_PID 0x01C5 329ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C6_PID 0x01C6 330ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C7_PID 0x01C7 331ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C8_PID 0x01C8 332ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01C9_PID 0x01C9 333ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CA_PID 0x01CA 334ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CB_PID 0x01CB 335ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CC_PID 0x01CC 336ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CD_PID 0x01CD 337ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CE_PID 0x01CE 338ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01CF_PID 0x01CF 339ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D0_PID 0x01D0 340ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D1_PID 0x01D1 341ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D2_PID 0x01D2 342ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D3_PID 0x01D3 343ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D4_PID 0x01D4 344ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D5_PID 0x01D5 345ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D6_PID 0x01D6 346ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D7_PID 0x01D7 347ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D8_PID 0x01D8 348ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01D9_PID 0x01D9 349ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DA_PID 0x01DA 350ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DB_PID 0x01DB 351ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DC_PID 0x01DC 352ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DD_PID 0x01DD 353ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DE_PID 0x01DE 354ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01DF_PID 0x01DF 355ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E0_PID 0x01E0 356ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E1_PID 0x01E1 357ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E2_PID 0x01E2 358ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E3_PID 0x01E3 359ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E4_PID 0x01E4 360ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E5_PID 0x01E5 361ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E6_PID 0x01E6 362ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E7_PID 0x01E7 363ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E8_PID 0x01E8 364ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01E9_PID 0x01E9 365ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EA_PID 0x01EA 366ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EB_PID 0x01EB 367ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EC_PID 0x01EC 368ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01ED_PID 0x01ED 369ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EE_PID 0x01EE 370ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01EF_PID 0x01EF 371ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F0_PID 0x01F0 372ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F1_PID 0x01F1 373ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F2_PID 0x01F2 374ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F3_PID 0x01F3 375ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F4_PID 0x01F4 376ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F5_PID 0x01F5 377ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F6_PID 0x01F6 378ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F7_PID 0x01F7 379ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F8_PID 0x01F8 380ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01F9_PID 0x01F9 381ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FA_PID 0x01FA 382ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FB_PID 0x01FB 383ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FC_PID 0x01FC 384ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FD_PID 0x01FD 385ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FE_PID 0x01FE 386ebb3770cSRay Molenkamp #define MTXORB_FTDI_RANGE_01FF_PID 0x01FF 387ebb3770cSRay Molenkamp 388ebb3770cSRay Molenkamp 389546d7eecSKevin Vance 3901da177e4SLinus Torvalds /* Interbiometrics USB I/O Board */ 3911da177e4SLinus Torvalds /* Developed for Interbiometrics by Rudolf Gugler */ 3921da177e4SLinus Torvalds #define INTERBIOMETRICS_VID 0x1209 3931da177e4SLinus Torvalds #define INTERBIOMETRICS_IOBOARD_PID 0x1002 3941da177e4SLinus Torvalds #define INTERBIOMETRICS_MINI_IOBOARD_PID 0x1006 3951da177e4SLinus Torvalds 3961da177e4SLinus Torvalds /* 3971da177e4SLinus Torvalds * The following are the values for the Perle Systems 3981da177e4SLinus Torvalds * UltraPort USB serial converters 3991da177e4SLinus Torvalds */ 4001da177e4SLinus Torvalds #define FTDI_PERLE_ULTRAPORT_PID 0xF0C0 /* Perle UltraPort Product Id */ 4011da177e4SLinus Torvalds 4021da177e4SLinus Torvalds /* 4031da177e4SLinus Torvalds * The following are the values for the Sealevel SeaLINK+ adapters. 4041da177e4SLinus Torvalds * (Original list sent by Tuan Hoang. Ian Abbott renamed the macros and 4051da177e4SLinus Torvalds * removed some PIDs that don't seem to match any existing products.) 4061da177e4SLinus Torvalds */ 4071da177e4SLinus Torvalds #define SEALEVEL_VID 0x0c52 /* Sealevel Vendor ID */ 4081da177e4SLinus Torvalds #define SEALEVEL_2101_PID 0x2101 /* SeaLINK+232 (2101/2105) */ 4091da177e4SLinus Torvalds #define SEALEVEL_2102_PID 0x2102 /* SeaLINK+485 (2102) */ 4101da177e4SLinus Torvalds #define SEALEVEL_2103_PID 0x2103 /* SeaLINK+232I (2103) */ 4111da177e4SLinus Torvalds #define SEALEVEL_2104_PID 0x2104 /* SeaLINK+485I (2104) */ 412a1484827SJustin Carlson #define SEALEVEL_2106_PID 0x9020 /* SeaLINK+422 (2106) */ 4131da177e4SLinus Torvalds #define SEALEVEL_2201_1_PID 0x2211 /* SeaPORT+2/232 (2201) Port 1 */ 4141da177e4SLinus Torvalds #define SEALEVEL_2201_2_PID 0x2221 /* SeaPORT+2/232 (2201) Port 2 */ 4151da177e4SLinus Torvalds #define SEALEVEL_2202_1_PID 0x2212 /* SeaPORT+2/485 (2202) Port 1 */ 4161da177e4SLinus Torvalds #define SEALEVEL_2202_2_PID 0x2222 /* SeaPORT+2/485 (2202) Port 2 */ 4171da177e4SLinus Torvalds #define SEALEVEL_2203_1_PID 0x2213 /* SeaPORT+2 (2203) Port 1 */ 4181da177e4SLinus Torvalds #define SEALEVEL_2203_2_PID 0x2223 /* SeaPORT+2 (2203) Port 2 */ 4191da177e4SLinus Torvalds #define SEALEVEL_2401_1_PID 0x2411 /* SeaPORT+4/232 (2401) Port 1 */ 4201da177e4SLinus Torvalds #define SEALEVEL_2401_2_PID 0x2421 /* SeaPORT+4/232 (2401) Port 2 */ 4211da177e4SLinus Torvalds #define SEALEVEL_2401_3_PID 0x2431 /* SeaPORT+4/232 (2401) Port 3 */ 4221da177e4SLinus Torvalds #define SEALEVEL_2401_4_PID 0x2441 /* SeaPORT+4/232 (2401) Port 4 */ 4231da177e4SLinus Torvalds #define SEALEVEL_2402_1_PID 0x2412 /* SeaPORT+4/485 (2402) Port 1 */ 4241da177e4SLinus Torvalds #define SEALEVEL_2402_2_PID 0x2422 /* SeaPORT+4/485 (2402) Port 2 */ 4251da177e4SLinus Torvalds #define SEALEVEL_2402_3_PID 0x2432 /* SeaPORT+4/485 (2402) Port 3 */ 4261da177e4SLinus Torvalds #define SEALEVEL_2402_4_PID 0x2442 /* SeaPORT+4/485 (2402) Port 4 */ 4271da177e4SLinus Torvalds #define SEALEVEL_2403_1_PID 0x2413 /* SeaPORT+4 (2403) Port 1 */ 4281da177e4SLinus Torvalds #define SEALEVEL_2403_2_PID 0x2423 /* SeaPORT+4 (2403) Port 2 */ 4291da177e4SLinus Torvalds #define SEALEVEL_2403_3_PID 0x2433 /* SeaPORT+4 (2403) Port 3 */ 4301da177e4SLinus Torvalds #define SEALEVEL_2403_4_PID 0x2443 /* SeaPORT+4 (2403) Port 4 */ 4311da177e4SLinus Torvalds #define SEALEVEL_2801_1_PID 0X2811 /* SeaLINK+8/232 (2801) Port 1 */ 4321da177e4SLinus Torvalds #define SEALEVEL_2801_2_PID 0X2821 /* SeaLINK+8/232 (2801) Port 2 */ 4331da177e4SLinus Torvalds #define SEALEVEL_2801_3_PID 0X2831 /* SeaLINK+8/232 (2801) Port 3 */ 4341da177e4SLinus Torvalds #define SEALEVEL_2801_4_PID 0X2841 /* SeaLINK+8/232 (2801) Port 4 */ 4351da177e4SLinus Torvalds #define SEALEVEL_2801_5_PID 0X2851 /* SeaLINK+8/232 (2801) Port 5 */ 4361da177e4SLinus Torvalds #define SEALEVEL_2801_6_PID 0X2861 /* SeaLINK+8/232 (2801) Port 6 */ 4371da177e4SLinus Torvalds #define SEALEVEL_2801_7_PID 0X2871 /* SeaLINK+8/232 (2801) Port 7 */ 4381da177e4SLinus Torvalds #define SEALEVEL_2801_8_PID 0X2881 /* SeaLINK+8/232 (2801) Port 8 */ 4391da177e4SLinus Torvalds #define SEALEVEL_2802_1_PID 0X2812 /* SeaLINK+8/485 (2802) Port 1 */ 4401da177e4SLinus Torvalds #define SEALEVEL_2802_2_PID 0X2822 /* SeaLINK+8/485 (2802) Port 2 */ 4411da177e4SLinus Torvalds #define SEALEVEL_2802_3_PID 0X2832 /* SeaLINK+8/485 (2802) Port 3 */ 4421da177e4SLinus Torvalds #define SEALEVEL_2802_4_PID 0X2842 /* SeaLINK+8/485 (2802) Port 4 */ 4431da177e4SLinus Torvalds #define SEALEVEL_2802_5_PID 0X2852 /* SeaLINK+8/485 (2802) Port 5 */ 4441da177e4SLinus Torvalds #define SEALEVEL_2802_6_PID 0X2862 /* SeaLINK+8/485 (2802) Port 6 */ 4451da177e4SLinus Torvalds #define SEALEVEL_2802_7_PID 0X2872 /* SeaLINK+8/485 (2802) Port 7 */ 4461da177e4SLinus Torvalds #define SEALEVEL_2802_8_PID 0X2882 /* SeaLINK+8/485 (2802) Port 8 */ 4471da177e4SLinus Torvalds #define SEALEVEL_2803_1_PID 0X2813 /* SeaLINK+8 (2803) Port 1 */ 4481da177e4SLinus Torvalds #define SEALEVEL_2803_2_PID 0X2823 /* SeaLINK+8 (2803) Port 2 */ 4491da177e4SLinus Torvalds #define SEALEVEL_2803_3_PID 0X2833 /* SeaLINK+8 (2803) Port 3 */ 4501da177e4SLinus Torvalds #define SEALEVEL_2803_4_PID 0X2843 /* SeaLINK+8 (2803) Port 4 */ 4511da177e4SLinus Torvalds #define SEALEVEL_2803_5_PID 0X2853 /* SeaLINK+8 (2803) Port 5 */ 4521da177e4SLinus Torvalds #define SEALEVEL_2803_6_PID 0X2863 /* SeaLINK+8 (2803) Port 6 */ 4531da177e4SLinus Torvalds #define SEALEVEL_2803_7_PID 0X2873 /* SeaLINK+8 (2803) Port 7 */ 4541da177e4SLinus Torvalds #define SEALEVEL_2803_8_PID 0X2883 /* SeaLINK+8 (2803) Port 8 */ 4551da177e4SLinus Torvalds 4561da177e4SLinus Torvalds /* 457b4723ae3SIan Abbott * The following are the values for two KOBIL chipcard terminals. 458b4723ae3SIan Abbott */ 459b4723ae3SIan Abbott #define KOBIL_VID 0x0d46 /* KOBIL Vendor ID */ 460b4723ae3SIan Abbott #define KOBIL_CONV_B1_PID 0x2020 /* KOBIL Konverter for B1 */ 461b4723ae3SIan Abbott #define KOBIL_CONV_KAAN_PID 0x2021 /* KOBIL_Konverter for KAAN */ 462b4723ae3SIan Abbott 463b4723ae3SIan Abbott /* 464bf58fbd5SA. Maitland Bottoms * Icom ID-1 digital transceiver 465bf58fbd5SA. Maitland Bottoms */ 466bf58fbd5SA. Maitland Bottoms 467bf58fbd5SA. Maitland Bottoms #define ICOM_ID1_VID 0x0C26 468bf58fbd5SA. Maitland Bottoms #define ICOM_ID1_PID 0x0004 469bf58fbd5SA. Maitland Bottoms 470bf58fbd5SA. Maitland Bottoms /* 4717e0258fdSIan Abbott * ASK.fr devices 4727e0258fdSIan Abbott */ 4737e0258fdSIan Abbott #define FTDI_ASK_RDR400_PID 0xC991 /* ASK RDR 400 series card reader */ 4747e0258fdSIan Abbott 4757e0258fdSIan Abbott /* 47640c36092SKjell Myksvoll * FTDI USB UART chips used in construction projects from the 47740c36092SKjell Myksvoll * Elektor Electronics magazine (http://elektor-electronics.co.uk) 47840c36092SKjell Myksvoll */ 47940c36092SKjell Myksvoll #define ELEKTOR_VID 0x0C7D 48040c36092SKjell Myksvoll #define ELEKTOR_FT323R_PID 0x0005 /* RFID-Reader, issue 09-2006 */ 48140c36092SKjell Myksvoll 48240c36092SKjell Myksvoll /* 4831da177e4SLinus Torvalds * DSS-20 Sync Station for Sony Ericsson P800 4841da177e4SLinus Torvalds */ 4851da177e4SLinus Torvalds #define FTDI_DSS20_PID 0xFC82 4861da177e4SLinus Torvalds 4871da177e4SLinus Torvalds /* 4881da177e4SLinus Torvalds * Home Electronics (www.home-electro.com) USB gadgets 4891da177e4SLinus Torvalds */ 490093cf723SSteven Cole #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ 4911da177e4SLinus Torvalds 4921da177e4SLinus Torvalds /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ 4931da177e4SLinus Torvalds /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */ 4941da177e4SLinus Torvalds #define FTDI_USB_UIRT_PID 0xF850 /* Product Id */ 4951da177e4SLinus Torvalds 496274a4bbcSDave Platt /* TNC-X USB-to-packet-radio adapter, versions prior to 3.0 (DLP module) */ 497274a4bbcSDave Platt 498274a4bbcSDave Platt #define FTDI_TNC_X_PID 0xEBE0 499274a4bbcSDave Platt 500e6ac4a40SIan Abbott /* 501e6ac4a40SIan Abbott * ELV USB devices submitted by Christian Abt of ELV (www.elv.de). 502e6ac4a40SIan Abbott * All of these devices use FTDI's vendor ID (0x0403). 503e6ac4a40SIan Abbott * 504e6ac4a40SIan Abbott * The previously included PID for the UO 100 module was incorrect. 505e6ac4a40SIan Abbott * In fact, that PID was for ELV's UR 100 USB-RS232 converter (0xFB58). 506e6ac4a40SIan Abbott * 507e6ac4a40SIan Abbott * Armin Laeuger originally sent the PID for the UM 100 module. 508e6ac4a40SIan Abbott */ 509b34efeeaSFolkert van Heusden #define FTDI_R2000KU_TRUE_RNG 0xFB80 /* R2000KU TRUE RNG */ 510e6ac4a40SIan Abbott #define FTDI_ELV_UR100_PID 0xFB58 /* USB-RS232-Umsetzer (UR 100) */ 511e6ac4a40SIan Abbott #define FTDI_ELV_UM100_PID 0xFB5A /* USB-Modul UM 100 */ 512e6ac4a40SIan Abbott #define FTDI_ELV_UO100_PID 0xFB5B /* USB-Modul UO 100 */ 513e6ac4a40SIan Abbott #define FTDI_ELV_ALC8500_PID 0xF06E /* ALC 8500 Expert */ 514e6ac4a40SIan Abbott /* Additional ELV PIDs that default to using the FTDI D2XX drivers on 515e6ac4a40SIan Abbott * MS Windows, rather than the FTDI Virtual Com Port drivers. 516e6ac4a40SIan Abbott * Maybe these will be easier to use with the libftdi/libusb user-space 517e6ac4a40SIan Abbott * drivers, or possibly the Comedi drivers in some cases. */ 518e6ac4a40SIan Abbott #define FTDI_ELV_CLI7000_PID 0xFB59 /* Computer-Light-Interface (CLI 7000) */ 519e6ac4a40SIan Abbott #define FTDI_ELV_PPS7330_PID 0xFB5C /* Processor-Power-Supply (PPS 7330) */ 520e6ac4a40SIan Abbott #define FTDI_ELV_TFM100_PID 0xFB5D /* Temperartur-Feuchte Messgeraet (TFM 100) */ 521e6ac4a40SIan Abbott #define FTDI_ELV_UDF77_PID 0xFB5E /* USB DCF Funkurh (UDF 77) */ 522e6ac4a40SIan Abbott #define FTDI_ELV_UIO88_PID 0xFB5F /* USB-I/O Interface (UIO 88) */ 523e6ac4a40SIan Abbott #define FTDI_ELV_UAD8_PID 0xF068 /* USB-AD-Wandler (UAD 8) */ 524e6ac4a40SIan Abbott #define FTDI_ELV_UDA7_PID 0xF069 /* USB-DA-Wandler (UDA 7) */ 525e6ac4a40SIan Abbott #define FTDI_ELV_USI2_PID 0xF06A /* USB-Schrittmotoren-Interface (USI 2) */ 526e6ac4a40SIan Abbott #define FTDI_ELV_T1100_PID 0xF06B /* Thermometer (T 1100) */ 527e6ac4a40SIan Abbott #define FTDI_ELV_PCD200_PID 0xF06C /* PC-Datenlogger (PCD 200) */ 528e6ac4a40SIan Abbott #define FTDI_ELV_ULA200_PID 0xF06D /* USB-LCD-Ansteuerung (ULA 200) */ 529e6ac4a40SIan Abbott #define FTDI_ELV_FHZ1000PC_PID 0xF06F /* FHZ 1000 PC */ 530e6ac4a40SIan Abbott #define FTDI_ELV_CSI8_PID 0xE0F0 /* Computer-Schalt-Interface (CSI 8) */ 531e6ac4a40SIan Abbott #define FTDI_ELV_EM1000DL_PID 0xE0F1 /* PC-Datenlogger fuer Energiemonitor (EM 1000 DL) */ 532e6ac4a40SIan Abbott #define FTDI_ELV_PCK100_PID 0xE0F2 /* PC-Kabeltester (PCK 100) */ 533e6ac4a40SIan Abbott #define FTDI_ELV_RFP500_PID 0xE0F3 /* HF-Leistungsmesser (RFP 500) */ 534e6ac4a40SIan Abbott #define FTDI_ELV_FS20SIG_PID 0xE0F4 /* Signalgeber (FS 20 SIG) */ 535e6ac4a40SIan Abbott #define FTDI_ELV_WS300PC_PID 0xE0F6 /* PC-Wetterstation (WS 300 PC) */ 536e6ac4a40SIan Abbott #define FTDI_ELV_FHZ1300PC_PID 0xE0E8 /* FHZ 1300 PC */ 537e6ac4a40SIan Abbott #define FTDI_ELV_WS500_PID 0xE0E9 /* PC-Wetterstation (WS 500) */ 538b5894a50SAndré Schenk #define FTDI_ELV_HS485_PID 0xE0EA /* USB to RS-485 adapter */ 53942f8aa94SPeter Stark #define FTDI_ELV_EM1010PC_PID 0xE0EF /* Engery monitor EM 1010 PC */ 540a5f62399SLex Ross #define FTDI_PHI_FISCO_PID 0xE40B /* PHI Fisco USB to Serial cable */ 5411da177e4SLinus Torvalds 5421da177e4SLinus Torvalds /* 5431da177e4SLinus Torvalds * Definitions for ID TECH (www.idt-net.com) devices 5441da177e4SLinus Torvalds */ 5451da177e4SLinus Torvalds #define IDTECH_VID 0x0ACD /* ID TECH Vendor ID */ 5461da177e4SLinus Torvalds #define IDTECH_IDT1221U_PID 0x0300 /* IDT1221U USB to RS-232 adapter */ 5471da177e4SLinus Torvalds 5481da177e4SLinus Torvalds /* 5491da177e4SLinus Torvalds * Definitions for Omnidirectional Control Technology, Inc. devices 5501da177e4SLinus Torvalds */ 5511da177e4SLinus Torvalds #define OCT_VID 0x0B39 /* OCT vendor ID */ 5521da177e4SLinus Torvalds /* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */ 5536f92872cSIan Abbott /* Also rebadged as Dick Smith Electronics (Aus) XH6451 */ 5546f92872cSIan Abbott /* Also rebadged as SIIG Inc. model US2308 hardware version 1 */ 5551da177e4SLinus Torvalds #define OCT_US101_PID 0x0421 /* OCT US101 USB to RS-232 */ 5561da177e4SLinus Torvalds 5571da177e4SLinus Torvalds /* an infrared receiver for user access control with IR tags */ 5581da177e4SLinus Torvalds #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ 5591da177e4SLinus Torvalds 5601da177e4SLinus Torvalds /* 561c9c7746dSRui Santos * Definitions for Artemis astronomical USB based cameras 562c9c7746dSRui Santos * Check it at http://www.artemisccd.co.uk/ 563c9c7746dSRui Santos */ 564c9c7746dSRui Santos #define FTDI_ARTEMIS_PID 0xDF28 /* All Artemis Cameras */ 565c9c7746dSRui Santos 566c9c7746dSRui Santos /* 567c9c7746dSRui Santos * Definitions for ATIK Instruments astronomical USB based cameras 568c9c7746dSRui Santos * Check it at http://www.atik-instruments.com/ 569c9c7746dSRui Santos */ 57009c280a2SRui Santos #define FTDI_ATIK_ATK16_PID 0xDF30 /* ATIK ATK-16 Grayscale Camera */ 57109c280a2SRui Santos #define FTDI_ATIK_ATK16C_PID 0xDF32 /* ATIK ATK-16C Colour Camera */ 57209c280a2SRui Santos #define FTDI_ATIK_ATK16HR_PID 0xDF31 /* ATIK ATK-16HR Grayscale Camera */ 57309c280a2SRui Santos #define FTDI_ATIK_ATK16HRC_PID 0xDF33 /* ATIK ATK-16HRC Colour Camera */ 57434910434SFranco Lanza #define FTDI_ATIK_ATK16IC_PID 0xDF35 /* ATIK ATK-16IC Grayscale Camera */ 575c9c7746dSRui Santos 576c9c7746dSRui Santos /* 5771da177e4SLinus Torvalds * Protego product ids 5781da177e4SLinus Torvalds */ 5791da177e4SLinus Torvalds #define PROTEGO_SPECIAL_1 0xFC70 /* special/unknown device */ 5801da177e4SLinus Torvalds #define PROTEGO_R2X0 0xFC71 /* R200-USB TRNG unit (R210, R220, and R230) */ 5811da177e4SLinus Torvalds #define PROTEGO_SPECIAL_3 0xFC72 /* special/unknown device */ 5821da177e4SLinus Torvalds #define PROTEGO_SPECIAL_4 0xFC73 /* special/unknown device */ 5831da177e4SLinus Torvalds 5841da177e4SLinus Torvalds /* 5851da177e4SLinus Torvalds * Gude Analog- und Digitalsysteme GmbH 5861da177e4SLinus Torvalds */ 5871da177e4SLinus Torvalds #define FTDI_GUDEADS_E808_PID 0xE808 5881da177e4SLinus Torvalds #define FTDI_GUDEADS_E809_PID 0xE809 5891da177e4SLinus Torvalds #define FTDI_GUDEADS_E80A_PID 0xE80A 5901da177e4SLinus Torvalds #define FTDI_GUDEADS_E80B_PID 0xE80B 5911da177e4SLinus Torvalds #define FTDI_GUDEADS_E80C_PID 0xE80C 5921da177e4SLinus Torvalds #define FTDI_GUDEADS_E80D_PID 0xE80D 5931da177e4SLinus Torvalds #define FTDI_GUDEADS_E80E_PID 0xE80E 5941da177e4SLinus Torvalds #define FTDI_GUDEADS_E80F_PID 0xE80F 5951da177e4SLinus Torvalds #define FTDI_GUDEADS_E888_PID 0xE888 /* Expert ISDN Control USB */ 5961da177e4SLinus Torvalds #define FTDI_GUDEADS_E889_PID 0xE889 /* USB RS-232 OptoBridge */ 5971da177e4SLinus Torvalds #define FTDI_GUDEADS_E88A_PID 0xE88A 5981da177e4SLinus Torvalds #define FTDI_GUDEADS_E88B_PID 0xE88B 5991da177e4SLinus Torvalds #define FTDI_GUDEADS_E88C_PID 0xE88C 6001da177e4SLinus Torvalds #define FTDI_GUDEADS_E88D_PID 0xE88D 6011da177e4SLinus Torvalds #define FTDI_GUDEADS_E88E_PID 0xE88E 6021da177e4SLinus Torvalds #define FTDI_GUDEADS_E88F_PID 0xE88F 6031da177e4SLinus Torvalds 6041da177e4SLinus Torvalds /* 6051da177e4SLinus Torvalds * Linx Technologies product ids 6061da177e4SLinus Torvalds */ 6071da177e4SLinus Torvalds #define LINX_SDMUSBQSS_PID 0xF448 /* Linx SDM-USB-QS-S */ 6081da177e4SLinus Torvalds #define LINX_MASTERDEVEL2_PID 0xF449 /* Linx Master Development 2.0 */ 6091da177e4SLinus Torvalds #define LINX_FUTURE_0_PID 0xF44A /* Linx future device */ 6101da177e4SLinus Torvalds #define LINX_FUTURE_1_PID 0xF44B /* Linx future device */ 6111da177e4SLinus Torvalds #define LINX_FUTURE_2_PID 0xF44C /* Linx future device */ 6121da177e4SLinus Torvalds 6131da177e4SLinus Torvalds /* CCS Inc. ICDU/ICDU40 product ID - the FT232BM is used in an in-circuit-debugger */ 6141da177e4SLinus Torvalds /* unit for PIC16's/PIC18's */ 6151da177e4SLinus Torvalds #define FTDI_CCSICDU20_0_PID 0xF9D0 6161da177e4SLinus Torvalds #define FTDI_CCSICDU40_1_PID 0xF9D1 617ec434e9bSJan Capek #define FTDI_CCSMACHX_2_PID 0xF9D2 6189d37ff64SJan Capek #define FTDI_CCSLOAD_N_GO_3_PID 0xF9D3 6199d37ff64SJan Capek #define FTDI_CCSICDU64_4_PID 0xF9D4 6209d37ff64SJan Capek #define FTDI_CCSPRIME8_5_PID 0xF9D5 6211da177e4SLinus Torvalds 6221da177e4SLinus Torvalds /* Inside Accesso contactless reader (http://www.insidefr.com) */ 6231da177e4SLinus Torvalds #define INSIDE_ACCESSO 0xFAD0 6241da177e4SLinus Torvalds 6251da177e4SLinus Torvalds /* 6261da177e4SLinus Torvalds * Intrepid Control Systems (http://www.intrepidcs.com/) ValueCAN and NeoVI 6271da177e4SLinus Torvalds */ 6281da177e4SLinus Torvalds #define INTREPID_VID 0x093C 6291da177e4SLinus Torvalds #define INTREPID_VALUECAN_PID 0x0601 6301da177e4SLinus Torvalds #define INTREPID_NEOVI_PID 0x0701 6311da177e4SLinus Torvalds 6321da177e4SLinus Torvalds /* 6331da177e4SLinus Torvalds * Falcom Wireless Communications GmbH 6341da177e4SLinus Torvalds */ 6351da177e4SLinus Torvalds #define FALCOM_VID 0x0F94 /* Vendor Id */ 6361da177e4SLinus Torvalds #define FALCOM_TWIST_PID 0x0001 /* Falcom Twist USB GPRS modem */ 637e6ac4a40SIan Abbott #define FALCOM_SAMBA_PID 0x0005 /* Falcom Samba USB GPRS modem */ 6381da177e4SLinus Torvalds 6391da177e4SLinus Torvalds /* 6401da177e4SLinus Torvalds * SUUNTO product ids 6411da177e4SLinus Torvalds */ 6421da177e4SLinus Torvalds #define FTDI_SUUNTO_SPORTS_PID 0xF680 /* Suunto Sports instrument */ 6431da177e4SLinus Torvalds 6441da177e4SLinus Torvalds /* 645c3d36c45SVladimir Vukicevic * Oceanic product ids 646c3d36c45SVladimir Vukicevic */ 647c3d36c45SVladimir Vukicevic #define FTDI_OCEANIC_PID 0xF460 /* Oceanic dive instrument */ 648c3d36c45SVladimir Vukicevic 649c3d36c45SVladimir Vukicevic /* 650ef31fec0SMichael Olberg * TTi (Thurlby Thandar Instruments) 651ef31fec0SMichael Olberg */ 652ef31fec0SMichael Olberg #define TTI_VID 0x103E /* Vendor Id */ 653ef31fec0SMichael Olberg #define TTI_QL355P_PID 0x03E8 /* TTi QL355P power supply */ 654ef31fec0SMichael Olberg 655ef31fec0SMichael Olberg /* 6561da177e4SLinus Torvalds * Definitions for B&B Electronics products. 6571da177e4SLinus Torvalds */ 6581da177e4SLinus Torvalds #define BANDB_VID 0x0856 /* B&B Electronics Vendor ID */ 6591da177e4SLinus Torvalds #define BANDB_USOTL4_PID 0xAC01 /* USOTL4 Isolated RS-485 Converter */ 6601da177e4SLinus Torvalds #define BANDB_USTL4_PID 0xAC02 /* USTL4 RS-485 Converter */ 6611da177e4SLinus Torvalds #define BANDB_USO9ML2_PID 0xAC03 /* USO9ML2 Isolated RS-232 Converter */ 6621da177e4SLinus Torvalds 6631da177e4SLinus Torvalds /* 6641da177e4SLinus Torvalds * RM Michaelides CANview USB (http://www.rmcan.com) 6656f92872cSIan Abbott * CAN fieldbus interface adapter, added by port GmbH www.port.de) 6666f92872cSIan Abbott * Ian Abbott changed the macro names for consistency. 6671da177e4SLinus Torvalds */ 6686f92872cSIan Abbott #define FTDI_RM_CANVIEW_PID 0xfd60 /* Product Id */ 6691da177e4SLinus Torvalds 6701da177e4SLinus Torvalds /* 6711da177e4SLinus Torvalds * EVER Eco Pro UPS (http://www.ever.com.pl/) 6721da177e4SLinus Torvalds */ 6731da177e4SLinus Torvalds 6741da177e4SLinus Torvalds #define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */ 6751da177e4SLinus Torvalds 6766f92872cSIan Abbott /* 6776f92872cSIan Abbott * 4N-GALAXY.DE PIDs for CAN-USB, USB-RS232, USB-RS422, USB-RS485, 6786f92872cSIan Abbott * USB-TTY activ, USB-TTY passiv. Some PIDs are used by several devices 6796f92872cSIan Abbott * and I'm not entirely sure which are used by which. 6806f92872cSIan Abbott */ 6816f92872cSIan Abbott #define FTDI_4N_GALAXY_DE_1_PID 0xF3C0 6826f92872cSIan Abbott #define FTDI_4N_GALAXY_DE_2_PID 0xF3C1 6836f92872cSIan Abbott 6846f92872cSIan Abbott /* 6856f92872cSIan Abbott * Mobility Electronics products. 6866f92872cSIan Abbott */ 6876f92872cSIan Abbott #define MOBILITY_VID 0x1342 6886f92872cSIan Abbott #define MOBILITY_USB_SERIAL_PID 0x0202 /* EasiDock USB 200 serial */ 6896f92872cSIan Abbott 6906f92872cSIan Abbott /* 6919b1513d9SIan Abbott * microHAM product IDs (http://www.microham.com). 69234d1a8aaSIan Abbott * Submitted by Justin Burket (KL1RL) <zorton@jtan.com> 69334d1a8aaSIan Abbott * and Mike Studer (K6EEP) <k6eep@hamsoftware.org>. 69434d1a8aaSIan Abbott * Ian Abbott <abbotti@mev.co.uk> added a few more from the driver INF file. 6959b1513d9SIan Abbott */ 69634d1a8aaSIan Abbott #define FTDI_MHAM_KW_PID 0xEEE8 /* USB-KW interface */ 69734d1a8aaSIan Abbott #define FTDI_MHAM_YS_PID 0xEEE9 /* USB-YS interface */ 6989b1513d9SIan Abbott #define FTDI_MHAM_Y6_PID 0xEEEA /* USB-Y6 interface */ 6999b1513d9SIan Abbott #define FTDI_MHAM_Y8_PID 0xEEEB /* USB-Y8 interface */ 70034d1a8aaSIan Abbott #define FTDI_MHAM_IC_PID 0xEEEC /* USB-IC interface */ 70134d1a8aaSIan Abbott #define FTDI_MHAM_DB9_PID 0xEEED /* USB-DB9 interface */ 70234d1a8aaSIan Abbott #define FTDI_MHAM_RS232_PID 0xEEEE /* USB-RS232 interface */ 70334d1a8aaSIan Abbott #define FTDI_MHAM_Y9_PID 0xEEEF /* USB-Y9 interface */ 7049b1513d9SIan Abbott 7059b1513d9SIan Abbott /* 7066f92872cSIan Abbott * Active Robots product ids. 7076f92872cSIan Abbott */ 7086f92872cSIan Abbott #define FTDI_ACTIVE_ROBOTS_PID 0xE548 /* USB comms board */ 7096f92872cSIan Abbott 7109b1513d9SIan Abbott /* 711e6ac4a40SIan Abbott * Xsens Technologies BV products (http://www.xsens.com). 712e6ac4a40SIan Abbott */ 713e6ac4a40SIan Abbott #define XSENS_CONVERTER_0_PID 0xD388 714e6ac4a40SIan Abbott #define XSENS_CONVERTER_1_PID 0xD389 715e6ac4a40SIan Abbott #define XSENS_CONVERTER_2_PID 0xD38A 716e6ac4a40SIan Abbott #define XSENS_CONVERTER_3_PID 0xD38B 717e6ac4a40SIan Abbott #define XSENS_CONVERTER_4_PID 0xD38C 718e6ac4a40SIan Abbott #define XSENS_CONVERTER_5_PID 0xD38D 719e6ac4a40SIan Abbott #define XSENS_CONVERTER_6_PID 0xD38E 720e6ac4a40SIan Abbott #define XSENS_CONVERTER_7_PID 0xD38F 721e6ac4a40SIan Abbott 722e6ac4a40SIan Abbott /* 723740a4282SIan Abbott * Teratronik product ids. 72496de0e25SJan Engelhardt * Submitted by O. Wölfelschneider. 725740a4282SIan Abbott */ 726740a4282SIan Abbott #define FTDI_TERATRONIK_VCP_PID 0xEC88 /* Teratronik device (preferring VCP driver on windows) */ 727740a4282SIan Abbott #define FTDI_TERATRONIK_D2XX_PID 0xEC89 /* Teratronik device (preferring D2XX driver on windows) */ 728740a4282SIan Abbott 729740a4282SIan Abbott /* 7309b1513d9SIan Abbott * Evolution Robotics products (http://www.evolution.com/). 7319b1513d9SIan Abbott * Submitted by Shawn M. Lavelle. 7329b1513d9SIan Abbott */ 7339b1513d9SIan Abbott #define EVOLUTION_VID 0xDEEE /* Vendor ID */ 7349b1513d9SIan Abbott #define EVOLUTION_ER1_PID 0x0300 /* ER1 Control Module */ 735c1f8ea7dSSøren Hauberg #define EVO_8U232AM_PID 0x02FF /* Evolution robotics RCM2 (FT232AM)*/ 736c1f8ea7dSSøren Hauberg #define EVO_HYBRID_PID 0x0302 /* Evolution robotics RCM4 PID (FT232BM)*/ 737c1f8ea7dSSøren Hauberg #define EVO_RCM4_PID 0x0303 /* Evolution robotics RCM4 PID */ 7389b1513d9SIan Abbott 739207c47e1SThomas Riewe /* Pyramid Computer GmbH */ 740207c47e1SThomas Riewe #define FTDI_PYRAMID_PID 0xE6C8 /* Pyramid Appliance Display */ 741207c47e1SThomas Riewe 742effac8beSPavel Fedin /* 743b760dac2SMartin Geleynse * NDI (www.ndigital.com) product ids 744b760dac2SMartin Geleynse */ 745b760dac2SMartin Geleynse #define FTDI_NDI_HUC_PID 0xDA70 /* NDI Host USB Converter */ 746b760dac2SMartin Geleynse #define FTDI_NDI_SPECTRA_SCU_PID 0xDA71 /* NDI Spectra SCU */ 747b760dac2SMartin Geleynse #define FTDI_NDI_FUTURE_2_PID 0xDA72 /* NDI future device #2 */ 748b760dac2SMartin Geleynse #define FTDI_NDI_FUTURE_3_PID 0xDA73 /* NDI future device #3 */ 749b760dac2SMartin Geleynse #define FTDI_NDI_AURORA_SCU_PID 0xDA74 /* NDI Aurora SCU */ 750b760dac2SMartin Geleynse 751b760dac2SMartin Geleynse /* 752effac8beSPavel Fedin * Posiflex inc retail equipment (http://www.posiflex.com.tw) 753effac8beSPavel Fedin */ 754effac8beSPavel Fedin #define POSIFLEX_VID 0x0d3a /* Vendor ID */ 755effac8beSPavel Fedin #define POSIFLEX_PP7000_PID 0x0300 /* PP-7000II thermal printer */ 756effac8beSPavel Fedin 757a94b52acSIan Abbott /* 758a94b52acSIan Abbott * Westrex International devices submitted by Cory Lee 759a94b52acSIan Abbott */ 760a94b52acSIan Abbott #define FTDI_WESTREX_MODEL_777_PID 0xDC00 /* Model 777 */ 761a94b52acSIan Abbott #define FTDI_WESTREX_MODEL_8900F_PID 0xDC01 /* Model 8900F */ 762a94b52acSIan Abbott 7637e1c0b86SIan Abbott /* 764cdd3b156SNathan Bronson * RR-CirKits LocoBuffer USB (http://www.rr-cirkits.com) 765cdd3b156SNathan Bronson */ 766cdd3b156SNathan Bronson #define FTDI_RRCIRKITS_LOCOBUFFER_PID 0xc7d0 /* LocoBuffer USB */ 767cdd3b156SNathan Bronson 768cdd3b156SNathan Bronson /* 7697e1c0b86SIan Abbott * Eclo (http://www.eclo.pt/) product IDs. 7707e1c0b86SIan Abbott * PID 0xEA90 submitted by Martin Grill. 7717e1c0b86SIan Abbott */ 7727e1c0b86SIan Abbott #define FTDI_ECLO_COM_1WIRE_PID 0xEA90 /* COM to 1-Wire USB adaptor */ 7737e1c0b86SIan Abbott 77462a13db3SFolkert van Heusden /* 77562a13db3SFolkert van Heusden * Papouch products (http://www.papouch.com/) 77662a13db3SFolkert van Heusden * Submitted by Folkert van Heusden 77762a13db3SFolkert van Heusden */ 77862a13db3SFolkert van Heusden 77962a13db3SFolkert van Heusden #define PAPOUCH_VID 0x5050 /* Vendor ID */ 78062a13db3SFolkert van Heusden #define PAPOUCH_TMU_PID 0x0400 /* TMU USB Thermometer */ 781a18f80b4SJaroslav Kysela #define PAPOUCH_QUIDO4x4_PID 0x0900 /* Quido 4/4 Module */ 78262a13db3SFolkert van Heusden 78320a0f47eSIan Abbott /* 78420a0f47eSIan Abbott * ACG Identification Technologies GmbH products (http://www.acg.de/). 78520a0f47eSIan Abbott * Submitted by anton -at- goto10 -dot- org. 78620a0f47eSIan Abbott */ 78720a0f47eSIan Abbott #define FTDI_ACG_HFDUAL_PID 0xDD20 /* HF Dual ISO Reader (RFID) */ 78862a13db3SFolkert van Heusden 789eb79b4fdSIan Abbott /* 790eb79b4fdSIan Abbott * Yost Engineering, Inc. products (www.yostengineering.com). 791eb79b4fdSIan Abbott * PID 0xE050 submitted by Aaron Prose. 792eb79b4fdSIan Abbott */ 793eb79b4fdSIan Abbott #define FTDI_YEI_SERVOCENTER31_PID 0xE050 /* YEI ServoCenter3.1 USB */ 794eb79b4fdSIan Abbott 79548437486SD. Peter Siddons /* 79648437486SD. Peter Siddons * ThorLabs USB motor drivers 79748437486SD. Peter Siddons */ 79848437486SD. Peter Siddons #define FTDI_THORLABS_PID 0xfaf0 /* ThorLabs USB motor drivers */ 79948437486SD. Peter Siddons 800e1979fefSColin Leroy /* 801e1979fefSColin Leroy * Testo products (http://www.testo.com/) 802e1979fefSColin Leroy * Submitted by Colin Leroy 803e1979fefSColin Leroy */ 804e1979fefSColin Leroy #define TESTO_VID 0x128D 805e1979fefSColin Leroy #define TESTO_USB_INTERFACE_PID 0x0001 806e1979fefSColin Leroy 807eaede2cbSRalf Schlatterbeck /* 808eaede2cbSRalf Schlatterbeck * Gamma Scout (http://gamma-scout.com/). Submitted by rsc@runtux.com. 809eaede2cbSRalf Schlatterbeck */ 810eaede2cbSRalf Schlatterbeck #define FTDI_GAMMA_SCOUT_PID 0xD678 /* Gamma Scout online */ 811eaede2cbSRalf Schlatterbeck 8129978f9e1SIan Abbott /* 8139978f9e1SIan Abbott * Tactrix OpenPort (ECU) devices. 8149978f9e1SIan Abbott * OpenPort 1.3M submitted by Donour Sizemore. 8159978f9e1SIan Abbott * OpenPort 1.3S and 1.3U submitted by Ian Abbott. 8169978f9e1SIan Abbott */ 8179978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13M_PID 0xCC48 /* OpenPort 1.3 Mitsubishi */ 8189978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13S_PID 0xCC49 /* OpenPort 1.3 Subaru */ 8199978f9e1SIan Abbott #define FTDI_TACTRIX_OPENPORT_13U_PID 0xCC4A /* OpenPort 1.3 Universal */ 8209978f9e1SIan Abbott 821822c7ef4SMicke Prag /* 822822c7ef4SMicke Prag * Telldus Technologies 823822c7ef4SMicke Prag */ 824822c7ef4SMicke Prag #define TELLDUS_VID 0x1781 /* Vendor ID */ 825822c7ef4SMicke Prag #define TELLDUS_TELLSTICK_PID 0x0C30 /* RF control dongle 433 MHz using FT232RL */ 826822c7ef4SMicke Prag 8274eaf60e0SThomas Schleusener /* 8284eaf60e0SThomas Schleusener * IBS elektronik product ids 8294eaf60e0SThomas Schleusener * Submitted by Thomas Schleusener 8304eaf60e0SThomas Schleusener */ 8314eaf60e0SThomas Schleusener #define FTDI_IBS_US485_PID 0xff38 /* IBS US485 (USB<-->RS422/485 interface) */ 8324eaf60e0SThomas Schleusener #define FTDI_IBS_PICPRO_PID 0xff39 /* IBS PIC-Programmer */ 8334eaf60e0SThomas Schleusener #define FTDI_IBS_PCMCIA_PID 0xff3a /* IBS Card reader for PCMCIA SRAM-cards */ 8344eaf60e0SThomas Schleusener #define FTDI_IBS_PK1_PID 0xff3b /* IBS PK1 - Particel counter */ 8354eaf60e0SThomas Schleusener #define FTDI_IBS_RS232MON_PID 0xff3c /* IBS RS232 - Monitor */ 8364eaf60e0SThomas Schleusener #define FTDI_IBS_APP70_PID 0xff3d /* APP 70 (dust monitoring system) */ 8374eaf60e0SThomas Schleusener #define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */ 8384eaf60e0SThomas Schleusener #define FTDI_IBS_PROD_PID 0xff3f /* future device */ 8394eaf60e0SThomas Schleusener 840762e92faSNeil \"Superna\" ARMSTRONG /* 841762e92faSNeil \"Superna\" ARMSTRONG * MaxStream devices www.maxstream.net 842762e92faSNeil \"Superna\" ARMSTRONG */ 843762e92faSNeil \"Superna\" ARMSTRONG #define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */ 844762e92faSNeil \"Superna\" ARMSTRONG 845fa91d43bSTony Lindgren /* Olimex */ 846fa91d43bSTony Lindgren #define OLIMEX_VID 0x15BA 847fa91d43bSTony Lindgren #define OLIMEX_ARM_USB_OCD_PID 0x0003 848fa91d43bSTony Lindgren 849a00c3cadSFrederik Kriewitz /* Luminary Micro Stellaris Boards, VID = FTDI_VID */ 850a00c3cadSFrederik Kriewitz /* FTDI 2332C Dual channel device, side A=245 FIFO (JTAG), Side B=RS232 UART */ 851a00c3cadSFrederik Kriewitz #define LMI_LM3S_DEVEL_BOARD_PID 0xbcd8 852a00c3cadSFrederik Kriewitz #define LMI_LM3S_EVAL_BOARD_PID 0xbcd9 853a00c3cadSFrederik Kriewitz 8544bb0ef19SEd Beroset /* www.elsterelectricity.com Elster Unicom III Optical Probe */ 8554bb0ef19SEd Beroset #define FTDI_ELSTER_UNICOM_PID 0xE700 /* Product Id */ 856d7fde2d6SPierre Castella 857d7fde2d6SPierre Castella /* 858d7fde2d6SPierre Castella * The Mobility Lab (TML) 859d7fde2d6SPierre Castella * Submitted by Pierre Castella 860d7fde2d6SPierre Castella */ 861d7fde2d6SPierre Castella #define TML_VID 0x1B91 /* Vendor ID */ 862d7fde2d6SPierre Castella #define TML_USB_SERIAL_PID 0x0064 /* USB - Serial Converter */ 863d7fde2d6SPierre Castella 86411171d1bSMirko Bordignon /* Propox devices */ 86511171d1bSMirko Bordignon #define FTDI_PROPOX_JTAGCABLEII_PID 0xD738 86611171d1bSMirko Bordignon 8672542335cSJon K Hellan /* Rig Expert Ukraine devices */ 8682542335cSJon K Hellan #define FTDI_REU_TINY_PID 0xED22 /* RigExpert Tiny */ 8692542335cSJon K Hellan 87096285cb8SGaetan Carlier /* Domintell products http://www.domintell.com */ 87196285cb8SGaetan Carlier #define FTDI_DOMINTELL_DGQG_PID 0xEF50 /* Master */ 87296285cb8SGaetan Carlier #define FTDI_DOMINTELL_DUSB_PID 0xEF51 /* DUSB01 module */ 87396285cb8SGaetan Carlier 87445eeff84SRobie Basak /* Alti-2 products http://www.alti-2.com */ 87545eeff84SRobie Basak #define ALTI2_VID 0x1BC9 87645eeff84SRobie Basak #define ALTI2_N3_PID 0x6001 /* Neptune 3 */ 87745eeff84SRobie Basak 8781da177e4SLinus Torvalds /* Commands */ 8791da177e4SLinus Torvalds #define FTDI_SIO_RESET 0 /* Reset the port */ 8801da177e4SLinus Torvalds #define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ 8811da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL 2 /* Set flow control register */ 8821da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUD_RATE 3 /* Set baud rate */ 8831da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA 4 /* Set the data characteristics of the port */ 8841da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS 5 /* Retrieve current value of modern status register */ 8851da177e4SLinus Torvalds #define FTDI_SIO_SET_EVENT_CHAR 6 /* Set the event character */ 8861da177e4SLinus Torvalds #define FTDI_SIO_SET_ERROR_CHAR 7 /* Set the error character */ 8871da177e4SLinus Torvalds #define FTDI_SIO_SET_LATENCY_TIMER 9 /* Set the latency timer */ 8881da177e4SLinus Torvalds #define FTDI_SIO_GET_LATENCY_TIMER 10 /* Get the latency timer */ 8891da177e4SLinus Torvalds 890094c2e6dSMark Adamson /* Interface indicies for FT2232, FT2232H and FT4232H devices*/ 891094c2e6dSMark Adamson #define INTERFACE_A 1 892094c2e6dSMark Adamson #define INTERFACE_B 2 893094c2e6dSMark Adamson #define INTERFACE_C 3 894094c2e6dSMark Adamson #define INTERFACE_D 4 8951da177e4SLinus Torvalds 8961da177e4SLinus Torvalds /* 89720734345SHarald Welte * FIC / OpenMoko, Inc. http://wiki.openmoko.org/wiki/Neo1973_Debug_Board_v3 89820734345SHarald Welte * Submitted by Harald Welte <laforge@openmoko.org> 89920734345SHarald Welte */ 90020734345SHarald Welte #define FIC_VID 0x1457 90120734345SHarald Welte #define FIC_NEO1973_DEBUG_PID 0x5118 90220734345SHarald Welte 90320734345SHarald Welte /* 90426ab7053SAtsushi Nemoto * RATOC REX-USB60F 90526ab7053SAtsushi Nemoto */ 90626ab7053SAtsushi Nemoto #define RATOC_VENDOR_ID 0x0584 90726ab7053SAtsushi Nemoto #define RATOC_PRODUCT_ID_USB60F 0xb020 90826ab7053SAtsushi Nemoto 90926ab7053SAtsushi Nemoto /* 910ca80801bSMhayk Whandson * DIEBOLD BCS SE923 911ca80801bSMhayk Whandson */ 912ca80801bSMhayk Whandson #define DIEBOLD_BCS_SE923_PID 0xfb99 913ca80801bSMhayk Whandson 914ca80801bSMhayk Whandson /* 9157f82b6ddSAxel Wachtler * Atmel STK541 9167f82b6ddSAxel Wachtler */ 9177f82b6ddSAxel Wachtler #define ATMEL_VID 0x03eb /* Vendor ID */ 9187f82b6ddSAxel Wachtler #define STK541_PID 0x2109 /* Zigbee Controller */ 9197f82b6ddSAxel Wachtler 9207f82b6ddSAxel Wachtler /* 9217f82b6ddSAxel Wachtler * Dresden Elektronic Sensor Terminal Board 9227f82b6ddSAxel Wachtler */ 9237f82b6ddSAxel Wachtler #define DE_VID 0x1cf1 /* Vendor ID */ 9247f82b6ddSAxel Wachtler #define STB_PID 0x0001 /* Sensor Terminal Board */ 9257f82b6ddSAxel Wachtler #define WHT_PID 0x0004 /* Wireless Handheld Terminal */ 9267f82b6ddSAxel Wachtler 9277f82b6ddSAxel Wachtler /* 928b0d65900SMichael Hennerich * Blackfin gnICE JTAG 929b0d65900SMichael Hennerich * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice 930b0d65900SMichael Hennerich */ 931b0d65900SMichael Hennerich #define ADI_VID 0x0456 932b0d65900SMichael Hennerich #define ADI_GNICE_PID 0xF000 933b0d65900SMichael Hennerich 934b0d65900SMichael Hennerich /* 935ae27d843SPeter Korsgaard * JETI SPECTROMETER SPECBOS 1201 936ae27d843SPeter Korsgaard * http://www.jeti.com/products/sys/scb/scb1201.php 937ae27d843SPeter Korsgaard */ 938ae27d843SPeter Korsgaard #define JETI_VID 0x0c6c 939ae27d843SPeter Korsgaard #define JETI_SPC1201_PID 0x04b2 940ae27d843SPeter Korsgaard 941ae27d843SPeter Korsgaard /* 9421002bb77SNicolas Pitre * Marvell SheevaPlug 9431002bb77SNicolas Pitre */ 9441002bb77SNicolas Pitre #define MARVELL_VID 0x9e88 9451002bb77SNicolas Pitre #define MARVELL_SHEEVAPLUG_PID 0x9e8f 9461002bb77SNicolas Pitre 94714511412SKrzysztof Halasa #define FTDI_TURTELIZER_PID 0xBDC8 /* JTAG/RS-232 adapter by egnite GmBH */ 94814511412SKrzysztof Halasa 9491002bb77SNicolas Pitre /* 950fca4404cSVille Sundberg * GN Otometrics (http://www.otometrics.com) 951fca4404cSVille Sundberg * Submitted by Ville Sundberg. 952fca4404cSVille Sundberg */ 953fca4404cSVille Sundberg #define GN_OTOMETRICS_VID 0x0c33 /* Vendor ID */ 954fca4404cSVille Sundberg #define AURICAL_USB_PID 0x0010 /* Aurical USB Audiometer */ 955fca4404cSVille Sundberg 956fca4404cSVille Sundberg /* 9571da177e4SLinus Torvalds * BmRequestType: 1100 0000b 9581da177e4SLinus Torvalds * bRequest: FTDI_E2_READ 9591da177e4SLinus Torvalds * wValue: 0 9601da177e4SLinus Torvalds * wIndex: Address of word to read 9611da177e4SLinus Torvalds * wLength: 2 9621da177e4SLinus Torvalds * Data: Will return a word of data from E2Address 9631da177e4SLinus Torvalds * 9641da177e4SLinus Torvalds */ 9651da177e4SLinus Torvalds 9661da177e4SLinus Torvalds /* Port Identifier Table */ 9671da177e4SLinus Torvalds #define PIT_DEFAULT 0 /* SIOA */ 9681da177e4SLinus Torvalds #define PIT_SIOA 1 /* SIOA */ 9691da177e4SLinus Torvalds /* The device this driver is tested with one has only one port */ 9701da177e4SLinus Torvalds #define PIT_SIOB 2 /* SIOB */ 9711da177e4SLinus Torvalds #define PIT_PARALLEL 3 /* Parallel */ 9721da177e4SLinus Torvalds 9731da177e4SLinus Torvalds /* FTDI_SIO_RESET */ 9741da177e4SLinus Torvalds #define FTDI_SIO_RESET_REQUEST FTDI_SIO_RESET 9751da177e4SLinus Torvalds #define FTDI_SIO_RESET_REQUEST_TYPE 0x40 9761da177e4SLinus Torvalds #define FTDI_SIO_RESET_SIO 0 9771da177e4SLinus Torvalds #define FTDI_SIO_RESET_PURGE_RX 1 9781da177e4SLinus Torvalds #define FTDI_SIO_RESET_PURGE_TX 2 9791da177e4SLinus Torvalds 9801da177e4SLinus Torvalds /* 9811da177e4SLinus Torvalds * BmRequestType: 0100 0000B 9821da177e4SLinus Torvalds * bRequest: FTDI_SIO_RESET 9831da177e4SLinus Torvalds * wValue: Control Value 9841da177e4SLinus Torvalds * 0 = Reset SIO 9851da177e4SLinus Torvalds * 1 = Purge RX buffer 9861da177e4SLinus Torvalds * 2 = Purge TX buffer 9871da177e4SLinus Torvalds * wIndex: Port 9881da177e4SLinus Torvalds * wLength: 0 9891da177e4SLinus Torvalds * Data: None 9901da177e4SLinus Torvalds * 9911da177e4SLinus Torvalds * The Reset SIO command has this effect: 9921da177e4SLinus Torvalds * 9931da177e4SLinus Torvalds * Sets flow control set to 'none' 9941da177e4SLinus Torvalds * Event char = $0D 9951da177e4SLinus Torvalds * Event trigger = disabled 9961da177e4SLinus Torvalds * Purge RX buffer 9971da177e4SLinus Torvalds * Purge TX buffer 9981da177e4SLinus Torvalds * Clear DTR 9991da177e4SLinus Torvalds * Clear RTS 10001da177e4SLinus Torvalds * baud and data format not reset 10011da177e4SLinus Torvalds * 10021da177e4SLinus Torvalds * The Purge RX and TX buffer commands affect nothing except the buffers 10031da177e4SLinus Torvalds * 10041da177e4SLinus Torvalds */ 10051da177e4SLinus Torvalds 10061da177e4SLinus Torvalds /* FTDI_SIO_SET_BAUDRATE */ 10071da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUDRATE_REQUEST_TYPE 0x40 10081da177e4SLinus Torvalds #define FTDI_SIO_SET_BAUDRATE_REQUEST 3 10091da177e4SLinus Torvalds 10101da177e4SLinus Torvalds /* 10111da177e4SLinus Torvalds * BmRequestType: 0100 0000B 10121da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_BAUDRATE 10131da177e4SLinus Torvalds * wValue: BaudDivisor value - see below 10141da177e4SLinus Torvalds * wIndex: Port 10151da177e4SLinus Torvalds * wLength: 0 10161da177e4SLinus Torvalds * Data: None 10171da177e4SLinus Torvalds * The BaudDivisor values are calculated as follows: 10181da177e4SLinus Torvalds * - BaseClock is either 12000000 or 48000000 depending on the device. FIXME: I wish 10191da177e4SLinus Torvalds * I knew how to detect old chips to select proper base clock! 10201da177e4SLinus Torvalds * - BaudDivisor is a fixed point number encoded in a funny way. 10211da177e4SLinus Torvalds * (--WRONG WAY OF THINKING--) 10221da177e4SLinus Torvalds * BaudDivisor is a fixed point number encoded with following bit weighs: 10231da177e4SLinus Torvalds * (-2)(-1)(13..0). It is a radical with a denominator of 4, so values 10241da177e4SLinus Torvalds * end with 0.0 (00...), 0.25 (10...), 0.5 (01...), and 0.75 (11...). 10251da177e4SLinus Torvalds * (--THE REALITY--) 10261da177e4SLinus Torvalds * The both-bits-set has quite different meaning from 0.75 - the chip designers 10271da177e4SLinus Torvalds * have decided it to mean 0.125 instead of 0.75. 10281da177e4SLinus Torvalds * This info looked up in FTDI application note "FT8U232 DEVICES \ Data Rates 10291da177e4SLinus Torvalds * and Flow Control Consideration for USB to RS232". 10301da177e4SLinus Torvalds * - BaudDivisor = (BaseClock / 16) / BaudRate, where the (=) operation should 10311da177e4SLinus Torvalds * automagically re-encode the resulting value to take fractions into consideration. 10321da177e4SLinus Torvalds * As all values are integers, some bit twiddling is in order: 10331da177e4SLinus Torvalds * BaudDivisor = (BaseClock / 16 / BaudRate) | 10341da177e4SLinus Torvalds * (((BaseClock / 2 / BaudRate) & 4) ? 0x4000 // 0.5 10351da177e4SLinus Torvalds * : ((BaseClock / 2 / BaudRate) & 2) ? 0x8000 // 0.25 10361da177e4SLinus Torvalds * : ((BaseClock / 2 / BaudRate) & 1) ? 0xc000 // 0.125 10371da177e4SLinus Torvalds * : 0) 10381da177e4SLinus Torvalds * 10391da177e4SLinus Torvalds * For the FT232BM, a 17th divisor bit was introduced to encode the multiples 10401da177e4SLinus Torvalds * of 0.125 missing from the FT8U232AM. Bits 16 to 14 are coded as follows 10411da177e4SLinus Torvalds * (the first four codes are the same as for the FT8U232AM, where bit 16 is 10421da177e4SLinus Torvalds * always 0): 10431da177e4SLinus Torvalds * 000 - add .000 to divisor 10441da177e4SLinus Torvalds * 001 - add .500 to divisor 10451da177e4SLinus Torvalds * 010 - add .250 to divisor 10461da177e4SLinus Torvalds * 011 - add .125 to divisor 10471da177e4SLinus Torvalds * 100 - add .375 to divisor 10481da177e4SLinus Torvalds * 101 - add .625 to divisor 10491da177e4SLinus Torvalds * 110 - add .750 to divisor 10501da177e4SLinus Torvalds * 111 - add .875 to divisor 10511da177e4SLinus Torvalds * Bits 15 to 0 of the 17-bit divisor are placed in the urb value. Bit 16 is 10521da177e4SLinus Torvalds * placed in bit 0 of the urb index. 10531da177e4SLinus Torvalds * 10541da177e4SLinus Torvalds * Note that there are a couple of special cases to support the highest baud 10551da177e4SLinus Torvalds * rates. If the calculated divisor value is 1, this needs to be replaced with 10561da177e4SLinus Torvalds * 0. Additionally for the FT232BM, if the calculated divisor value is 0x4001 10571da177e4SLinus Torvalds * (1.5), this needs to be replaced with 0x0001 (1) (but this divisor value is 10581da177e4SLinus Torvalds * not supported by the FT8U232AM). 10591da177e4SLinus Torvalds */ 10601da177e4SLinus Torvalds 10611da177e4SLinus Torvalds typedef enum { 10621da177e4SLinus Torvalds SIO = 1, 10631da177e4SLinus Torvalds FT8U232AM = 2, 10641da177e4SLinus Torvalds FT232BM = 3, 10651da177e4SLinus Torvalds FT2232C = 4, 1066d8b21606SGard Spreemann FT232RL = 5, 1067094c2e6dSMark Adamson FT2232H = 6, 1068094c2e6dSMark Adamson FT4232H = 7 10691da177e4SLinus Torvalds } ftdi_chip_type_t; 10701da177e4SLinus Torvalds 10711da177e4SLinus Torvalds typedef enum { 10721da177e4SLinus Torvalds ftdi_sio_b300 = 0, 10731da177e4SLinus Torvalds ftdi_sio_b600 = 1, 10741da177e4SLinus Torvalds ftdi_sio_b1200 = 2, 10751da177e4SLinus Torvalds ftdi_sio_b2400 = 3, 10761da177e4SLinus Torvalds ftdi_sio_b4800 = 4, 10771da177e4SLinus Torvalds ftdi_sio_b9600 = 5, 10781da177e4SLinus Torvalds ftdi_sio_b19200 = 6, 10791da177e4SLinus Torvalds ftdi_sio_b38400 = 7, 10801da177e4SLinus Torvalds ftdi_sio_b57600 = 8, 10811da177e4SLinus Torvalds ftdi_sio_b115200 = 9 10821da177e4SLinus Torvalds } FTDI_SIO_baudrate_t; 10831da177e4SLinus Torvalds 10841da177e4SLinus Torvalds /* 10851da177e4SLinus Torvalds * The ftdi_8U232AM_xxMHz_byyy constants have been removed. The encoded divisor values 10861da177e4SLinus Torvalds * are calculated internally. 10871da177e4SLinus Torvalds */ 10881da177e4SLinus Torvalds 10891da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_REQUEST FTDI_SIO_SET_DATA 10901da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_REQUEST_TYPE 0x40 10911da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_NONE (0x0 << 8) 10921da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_ODD (0x1 << 8) 10931da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_EVEN (0x2 << 8) 10941da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_MARK (0x3 << 8) 10951da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_PARITY_SPACE (0x4 << 8) 10961da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_1 (0x0 << 11) 10971da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_15 (0x1 << 11) 10981da177e4SLinus Torvalds #define FTDI_SIO_SET_DATA_STOP_BITS_2 (0x2 << 11) 10991da177e4SLinus Torvalds #define FTDI_SIO_SET_BREAK (0x1 << 14) 11001da177e4SLinus Torvalds /* FTDI_SIO_SET_DATA */ 11011da177e4SLinus Torvalds 11021da177e4SLinus Torvalds /* 11031da177e4SLinus Torvalds * BmRequestType: 0100 0000B 11041da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_DATA 11051da177e4SLinus Torvalds * wValue: Data characteristics (see below) 11061da177e4SLinus Torvalds * wIndex: Port 11071da177e4SLinus Torvalds * wLength: 0 11081da177e4SLinus Torvalds * Data: No 11091da177e4SLinus Torvalds * 11101da177e4SLinus Torvalds * Data characteristics 11111da177e4SLinus Torvalds * 11121da177e4SLinus Torvalds * B0..7 Number of data bits 11131da177e4SLinus Torvalds * B8..10 Parity 11141da177e4SLinus Torvalds * 0 = None 11151da177e4SLinus Torvalds * 1 = Odd 11161da177e4SLinus Torvalds * 2 = Even 11171da177e4SLinus Torvalds * 3 = Mark 11181da177e4SLinus Torvalds * 4 = Space 11191da177e4SLinus Torvalds * B11..13 Stop Bits 11201da177e4SLinus Torvalds * 0 = 1 11211da177e4SLinus Torvalds * 1 = 1.5 11221da177e4SLinus Torvalds * 2 = 2 11231da177e4SLinus Torvalds * B14 11241da177e4SLinus Torvalds * 1 = TX ON (break) 11251da177e4SLinus Torvalds * 0 = TX OFF (normal state) 11261da177e4SLinus Torvalds * B15 Reserved 11271da177e4SLinus Torvalds * 11281da177e4SLinus Torvalds */ 11291da177e4SLinus Torvalds 11301da177e4SLinus Torvalds 11311da177e4SLinus Torvalds 11321da177e4SLinus Torvalds /* FTDI_SIO_MODEM_CTRL */ 11331da177e4SLinus Torvalds #define FTDI_SIO_SET_MODEM_CTRL_REQUEST_TYPE 0x40 11341da177e4SLinus Torvalds #define FTDI_SIO_SET_MODEM_CTRL_REQUEST FTDI_SIO_MODEM_CTRL 11351da177e4SLinus Torvalds 11361da177e4SLinus Torvalds /* 11371da177e4SLinus Torvalds * BmRequestType: 0100 0000B 11381da177e4SLinus Torvalds * bRequest: FTDI_SIO_MODEM_CTRL 11391da177e4SLinus Torvalds * wValue: ControlValue (see below) 11401da177e4SLinus Torvalds * wIndex: Port 11411da177e4SLinus Torvalds * wLength: 0 11421da177e4SLinus Torvalds * Data: None 11431da177e4SLinus Torvalds * 11441da177e4SLinus Torvalds * NOTE: If the device is in RTS/CTS flow control, the RTS set by this 11451da177e4SLinus Torvalds * command will be IGNORED without an error being returned 11461da177e4SLinus Torvalds * Also - you can not set DTR and RTS with one control message 11471da177e4SLinus Torvalds */ 11481da177e4SLinus Torvalds 11491da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_MASK 0x1 11501da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_HIGH (1 | (FTDI_SIO_SET_DTR_MASK << 8)) 11511da177e4SLinus Torvalds #define FTDI_SIO_SET_DTR_LOW (0 | (FTDI_SIO_SET_DTR_MASK << 8)) 11521da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_MASK 0x2 11531da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_HIGH (2 | (FTDI_SIO_SET_RTS_MASK << 8)) 11541da177e4SLinus Torvalds #define FTDI_SIO_SET_RTS_LOW (0 | (FTDI_SIO_SET_RTS_MASK << 8)) 11551da177e4SLinus Torvalds 11561da177e4SLinus Torvalds /* 11571da177e4SLinus Torvalds * ControlValue 11581da177e4SLinus Torvalds * B0 DTR state 11591da177e4SLinus Torvalds * 0 = reset 11601da177e4SLinus Torvalds * 1 = set 11611da177e4SLinus Torvalds * B1 RTS state 11621da177e4SLinus Torvalds * 0 = reset 11631da177e4SLinus Torvalds * 1 = set 11641da177e4SLinus Torvalds * B2..7 Reserved 11651da177e4SLinus Torvalds * B8 DTR state enable 11661da177e4SLinus Torvalds * 0 = ignore 11671da177e4SLinus Torvalds * 1 = use DTR state 11681da177e4SLinus Torvalds * B9 RTS state enable 11691da177e4SLinus Torvalds * 0 = ignore 11701da177e4SLinus Torvalds * 1 = use RTS state 11711da177e4SLinus Torvalds * B10..15 Reserved 11721da177e4SLinus Torvalds */ 11731da177e4SLinus Torvalds 11741da177e4SLinus Torvalds /* FTDI_SIO_SET_FLOW_CTRL */ 11751da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL_REQUEST_TYPE 0x40 11761da177e4SLinus Torvalds #define FTDI_SIO_SET_FLOW_CTRL_REQUEST FTDI_SIO_SET_FLOW_CTRL 11771da177e4SLinus Torvalds #define FTDI_SIO_DISABLE_FLOW_CTRL 0x0 11781da177e4SLinus Torvalds #define FTDI_SIO_RTS_CTS_HS (0x1 << 8) 11791da177e4SLinus Torvalds #define FTDI_SIO_DTR_DSR_HS (0x2 << 8) 11801da177e4SLinus Torvalds #define FTDI_SIO_XON_XOFF_HS (0x4 << 8) 11811da177e4SLinus Torvalds /* 11821da177e4SLinus Torvalds * BmRequestType: 0100 0000b 11831da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_FLOW_CTRL 11841da177e4SLinus Torvalds * wValue: Xoff/Xon 11851da177e4SLinus Torvalds * wIndex: Protocol/Port - hIndex is protocl / lIndex is port 11861da177e4SLinus Torvalds * wLength: 0 11871da177e4SLinus Torvalds * Data: None 11881da177e4SLinus Torvalds * 11891da177e4SLinus Torvalds * hIndex protocol is: 11901da177e4SLinus Torvalds * B0 Output handshaking using RTS/CTS 11911da177e4SLinus Torvalds * 0 = disabled 11921da177e4SLinus Torvalds * 1 = enabled 11931da177e4SLinus Torvalds * B1 Output handshaking using DTR/DSR 11941da177e4SLinus Torvalds * 0 = disabled 11951da177e4SLinus Torvalds * 1 = enabled 11961da177e4SLinus Torvalds * B2 Xon/Xoff handshaking 11971da177e4SLinus Torvalds * 0 = disabled 11981da177e4SLinus Torvalds * 1 = enabled 11991da177e4SLinus Torvalds * 12001da177e4SLinus Torvalds * A value of zero in the hIndex field disables handshaking 12011da177e4SLinus Torvalds * 12021da177e4SLinus Torvalds * If Xon/Xoff handshaking is specified, the hValue field should contain the XOFF character 12031da177e4SLinus Torvalds * and the lValue field contains the XON character. 12041da177e4SLinus Torvalds */ 12051da177e4SLinus Torvalds 12061da177e4SLinus Torvalds /* 12071da177e4SLinus Torvalds * FTDI_SIO_GET_LATENCY_TIMER 12081da177e4SLinus Torvalds * 12091da177e4SLinus Torvalds * Set the timeout interval. The FTDI collects data from the slave 12101da177e4SLinus Torvalds * device, transmitting it to the host when either A) 62 bytes are 12111da177e4SLinus Torvalds * received, or B) the timeout interval has elapsed and the buffer 12121da177e4SLinus Torvalds * contains at least 1 byte. Setting this value to a small number 12131da177e4SLinus Torvalds * can dramatically improve performance for applications which send 12141da177e4SLinus Torvalds * small packets, since the default value is 16ms. 12151da177e4SLinus Torvalds */ 12161da177e4SLinus Torvalds #define FTDI_SIO_GET_LATENCY_TIMER_REQUEST FTDI_SIO_GET_LATENCY_TIMER 12171da177e4SLinus Torvalds #define FTDI_SIO_GET_LATENCY_TIMER_REQUEST_TYPE 0xC0 12181da177e4SLinus Torvalds 12191da177e4SLinus Torvalds /* 12201da177e4SLinus Torvalds * BmRequestType: 1100 0000b 12211da177e4SLinus Torvalds * bRequest: FTDI_SIO_GET_LATENCY_TIMER 12221da177e4SLinus Torvalds * wValue: 0 12231da177e4SLinus Torvalds * wIndex: Port 12241da177e4SLinus Torvalds * wLength: 0 12251da177e4SLinus Torvalds * Data: latency (on return) 12261da177e4SLinus Torvalds */ 12271da177e4SLinus Torvalds 12281da177e4SLinus Torvalds /* 12291da177e4SLinus Torvalds * FTDI_SIO_SET_LATENCY_TIMER 12301da177e4SLinus Torvalds * 12311da177e4SLinus Torvalds * Set the timeout interval. The FTDI collects data from the slave 12321da177e4SLinus Torvalds * device, transmitting it to the host when either A) 62 bytes are 12331da177e4SLinus Torvalds * received, or B) the timeout interval has elapsed and the buffer 12341da177e4SLinus Torvalds * contains at least 1 byte. Setting this value to a small number 12351da177e4SLinus Torvalds * can dramatically improve performance for applications which send 12361da177e4SLinus Torvalds * small packets, since the default value is 16ms. 12371da177e4SLinus Torvalds */ 12381da177e4SLinus Torvalds #define FTDI_SIO_SET_LATENCY_TIMER_REQUEST FTDI_SIO_SET_LATENCY_TIMER 12391da177e4SLinus Torvalds #define FTDI_SIO_SET_LATENCY_TIMER_REQUEST_TYPE 0x40 12401da177e4SLinus Torvalds 12411da177e4SLinus Torvalds /* 12421da177e4SLinus Torvalds * BmRequestType: 0100 0000b 12431da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_LATENCY_TIMER 12441da177e4SLinus Torvalds * wValue: Latency (milliseconds) 12451da177e4SLinus Torvalds * wIndex: Port 12461da177e4SLinus Torvalds * wLength: 0 12471da177e4SLinus Torvalds * Data: None 12481da177e4SLinus Torvalds * 12491da177e4SLinus Torvalds * wValue: 12501da177e4SLinus Torvalds * B0..7 Latency timer 12511da177e4SLinus Torvalds * B8..15 0 12521da177e4SLinus Torvalds * 12531da177e4SLinus Torvalds */ 12541da177e4SLinus Torvalds 12551da177e4SLinus Torvalds /* 12561da177e4SLinus Torvalds * FTDI_SIO_SET_EVENT_CHAR 12571da177e4SLinus Torvalds * 12581da177e4SLinus Torvalds * Set the special event character for the specified communications port. 12591da177e4SLinus Torvalds * If the device sees this character it will immediately return the 12601da177e4SLinus Torvalds * data read so far - rather than wait 40ms or until 62 bytes are read 12611da177e4SLinus Torvalds * which is what normally happens. 12621da177e4SLinus Torvalds */ 12631da177e4SLinus Torvalds 12641da177e4SLinus Torvalds 12651da177e4SLinus Torvalds #define FTDI_SIO_SET_EVENT_CHAR_REQUEST FTDI_SIO_SET_EVENT_CHAR 12661da177e4SLinus Torvalds #define FTDI_SIO_SET_EVENT_CHAR_REQUEST_TYPE 0x40 12671da177e4SLinus Torvalds 12681da177e4SLinus Torvalds 12691da177e4SLinus Torvalds /* 12701da177e4SLinus Torvalds * BmRequestType: 0100 0000b 12711da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_EVENT_CHAR 12721da177e4SLinus Torvalds * wValue: EventChar 12731da177e4SLinus Torvalds * wIndex: Port 12741da177e4SLinus Torvalds * wLength: 0 12751da177e4SLinus Torvalds * Data: None 12761da177e4SLinus Torvalds * 12771da177e4SLinus Torvalds * wValue: 12781da177e4SLinus Torvalds * B0..7 Event Character 12791da177e4SLinus Torvalds * B8 Event Character Processing 12801da177e4SLinus Torvalds * 0 = disabled 12811da177e4SLinus Torvalds * 1 = enabled 12821da177e4SLinus Torvalds * B9..15 Reserved 12831da177e4SLinus Torvalds * 12841da177e4SLinus Torvalds */ 12851da177e4SLinus Torvalds 12861da177e4SLinus Torvalds /* FTDI_SIO_SET_ERROR_CHAR */ 12871da177e4SLinus Torvalds 12881da177e4SLinus Torvalds /* Set the parity error replacement character for the specified communications port */ 12891da177e4SLinus Torvalds 12901da177e4SLinus Torvalds /* 12911da177e4SLinus Torvalds * BmRequestType: 0100 0000b 12921da177e4SLinus Torvalds * bRequest: FTDI_SIO_SET_EVENT_CHAR 12931da177e4SLinus Torvalds * wValue: Error Char 12941da177e4SLinus Torvalds * wIndex: Port 12951da177e4SLinus Torvalds * wLength: 0 12961da177e4SLinus Torvalds * Data: None 12971da177e4SLinus Torvalds * 12981da177e4SLinus Torvalds *Error Char 12991da177e4SLinus Torvalds * B0..7 Error Character 13001da177e4SLinus Torvalds * B8 Error Character Processing 13011da177e4SLinus Torvalds * 0 = disabled 13021da177e4SLinus Torvalds * 1 = enabled 13031da177e4SLinus Torvalds * B9..15 Reserved 13041da177e4SLinus Torvalds * 13051da177e4SLinus Torvalds */ 13061da177e4SLinus Torvalds 13071da177e4SLinus Torvalds /* FTDI_SIO_GET_MODEM_STATUS */ 13084a4efbdeSMatt Mackall /* Retrieve the current value of the modem status register */ 13091da177e4SLinus Torvalds 13101da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS_REQUEST_TYPE 0xc0 13111da177e4SLinus Torvalds #define FTDI_SIO_GET_MODEM_STATUS_REQUEST FTDI_SIO_GET_MODEM_STATUS 13121da177e4SLinus Torvalds #define FTDI_SIO_CTS_MASK 0x10 13131da177e4SLinus Torvalds #define FTDI_SIO_DSR_MASK 0x20 13141da177e4SLinus Torvalds #define FTDI_SIO_RI_MASK 0x40 13151da177e4SLinus Torvalds #define FTDI_SIO_RLSD_MASK 0x80 13161da177e4SLinus Torvalds /* 13171da177e4SLinus Torvalds * BmRequestType: 1100 0000b 13181da177e4SLinus Torvalds * bRequest: FTDI_SIO_GET_MODEM_STATUS 13191da177e4SLinus Torvalds * wValue: zero 13201da177e4SLinus Torvalds * wIndex: Port 13211da177e4SLinus Torvalds * wLength: 1 13221da177e4SLinus Torvalds * Data: Status 13231da177e4SLinus Torvalds * 13241da177e4SLinus Torvalds * One byte of data is returned 13251da177e4SLinus Torvalds * B0..3 0 13261da177e4SLinus Torvalds * B4 CTS 13271da177e4SLinus Torvalds * 0 = inactive 13281da177e4SLinus Torvalds * 1 = active 13291da177e4SLinus Torvalds * B5 DSR 13301da177e4SLinus Torvalds * 0 = inactive 13311da177e4SLinus Torvalds * 1 = active 13321da177e4SLinus Torvalds * B6 Ring Indicator (RI) 13331da177e4SLinus Torvalds * 0 = inactive 13341da177e4SLinus Torvalds * 1 = active 13351da177e4SLinus Torvalds * B7 Receive Line Signal Detect (RLSD) 13361da177e4SLinus Torvalds * 0 = inactive 13371da177e4SLinus Torvalds * 1 = active 13381da177e4SLinus Torvalds */ 13391da177e4SLinus Torvalds 13401da177e4SLinus Torvalds 13411da177e4SLinus Torvalds 13421da177e4SLinus Torvalds /* Descriptors returned by the device 13431da177e4SLinus Torvalds * 13441da177e4SLinus Torvalds * Device Descriptor 13451da177e4SLinus Torvalds * 13461da177e4SLinus Torvalds * Offset Field Size Value Description 13471da177e4SLinus Torvalds * 0 bLength 1 0x12 Size of descriptor in bytes 13481da177e4SLinus Torvalds * 1 bDescriptorType 1 0x01 DEVICE Descriptor Type 13491da177e4SLinus Torvalds * 2 bcdUSB 2 0x0110 USB Spec Release Number 13501da177e4SLinus Torvalds * 4 bDeviceClass 1 0x00 Class Code 13511da177e4SLinus Torvalds * 5 bDeviceSubClass 1 0x00 SubClass Code 13521da177e4SLinus Torvalds * 6 bDeviceProtocol 1 0x00 Protocol Code 13531da177e4SLinus Torvalds * 7 bMaxPacketSize0 1 0x08 Maximum packet size for endpoint 0 13541da177e4SLinus Torvalds * 8 idVendor 2 0x0403 Vendor ID 13551da177e4SLinus Torvalds * 10 idProduct 2 0x8372 Product ID (FTDI_SIO_PID) 13561da177e4SLinus Torvalds * 12 bcdDevice 2 0x0001 Device release number 13571da177e4SLinus Torvalds * 14 iManufacturer 1 0x01 Index of man. string desc 13581da177e4SLinus Torvalds * 15 iProduct 1 0x02 Index of prod string desc 13591da177e4SLinus Torvalds * 16 iSerialNumber 1 0x02 Index of serial nmr string desc 13601da177e4SLinus Torvalds * 17 bNumConfigurations 1 0x01 Number of possible configurations 13611da177e4SLinus Torvalds * 13621da177e4SLinus Torvalds * Configuration Descriptor 13631da177e4SLinus Torvalds * 13641da177e4SLinus Torvalds * Offset Field Size Value 13651da177e4SLinus Torvalds * 0 bLength 1 0x09 Size of descriptor in bytes 13661da177e4SLinus Torvalds * 1 bDescriptorType 1 0x02 CONFIGURATION Descriptor Type 13671da177e4SLinus Torvalds * 2 wTotalLength 2 0x0020 Total length of data 13681da177e4SLinus Torvalds * 4 bNumInterfaces 1 0x01 Number of interfaces supported 13691da177e4SLinus Torvalds * 5 bConfigurationValue 1 0x01 Argument for SetCOnfiguration() req 13701da177e4SLinus Torvalds * 6 iConfiguration 1 0x02 Index of config string descriptor 13711da177e4SLinus Torvalds * 7 bmAttributes 1 0x20 Config characteristics Remote Wakeup 13721da177e4SLinus Torvalds * 8 MaxPower 1 0x1E Max power consumption 13731da177e4SLinus Torvalds * 13741da177e4SLinus Torvalds * Interface Descriptor 13751da177e4SLinus Torvalds * 13761da177e4SLinus Torvalds * Offset Field Size Value 13771da177e4SLinus Torvalds * 0 bLength 1 0x09 Size of descriptor in bytes 13781da177e4SLinus Torvalds * 1 bDescriptorType 1 0x04 INTERFACE Descriptor Type 13791da177e4SLinus Torvalds * 2 bInterfaceNumber 1 0x00 Number of interface 13801da177e4SLinus Torvalds * 3 bAlternateSetting 1 0x00 Value used to select alternate 13811da177e4SLinus Torvalds * 4 bNumEndpoints 1 0x02 Number of endpoints 13821da177e4SLinus Torvalds * 5 bInterfaceClass 1 0xFF Class Code 13831da177e4SLinus Torvalds * 6 bInterfaceSubClass 1 0xFF Subclass Code 13841da177e4SLinus Torvalds * 7 bInterfaceProtocol 1 0xFF Protocol Code 13851da177e4SLinus Torvalds * 8 iInterface 1 0x02 Index of interface string description 13861da177e4SLinus Torvalds * 13871da177e4SLinus Torvalds * IN Endpoint Descriptor 13881da177e4SLinus Torvalds * 13891da177e4SLinus Torvalds * Offset Field Size Value 13901da177e4SLinus Torvalds * 0 bLength 1 0x07 Size of descriptor in bytes 13911da177e4SLinus Torvalds * 1 bDescriptorType 1 0x05 ENDPOINT descriptor type 13921da177e4SLinus Torvalds * 2 bEndpointAddress 1 0x82 Address of endpoint 13931da177e4SLinus Torvalds * 3 bmAttributes 1 0x02 Endpoint attributes - Bulk 13941da177e4SLinus Torvalds * 4 bNumEndpoints 2 0x0040 maximum packet size 13951da177e4SLinus Torvalds * 5 bInterval 1 0x00 Interval for polling endpoint 13961da177e4SLinus Torvalds * 13971da177e4SLinus Torvalds * OUT Endpoint Descriptor 13981da177e4SLinus Torvalds * 13991da177e4SLinus Torvalds * Offset Field Size Value 14001da177e4SLinus Torvalds * 0 bLength 1 0x07 Size of descriptor in bytes 14011da177e4SLinus Torvalds * 1 bDescriptorType 1 0x05 ENDPOINT descriptor type 14021da177e4SLinus Torvalds * 2 bEndpointAddress 1 0x02 Address of endpoint 14031da177e4SLinus Torvalds * 3 bmAttributes 1 0x02 Endpoint attributes - Bulk 14041da177e4SLinus Torvalds * 4 bNumEndpoints 2 0x0040 maximum packet size 14051da177e4SLinus Torvalds * 5 bInterval 1 0x00 Interval for polling endpoint 14061da177e4SLinus Torvalds * 14071da177e4SLinus Torvalds * DATA FORMAT 14081da177e4SLinus Torvalds * 14091da177e4SLinus Torvalds * IN Endpoint 14101da177e4SLinus Torvalds * 14111da177e4SLinus Torvalds * The device reserves the first two bytes of data on this endpoint to contain the current 14121da177e4SLinus Torvalds * values of the modem and line status registers. In the absence of data, the device 14131da177e4SLinus Torvalds * generates a message consisting of these two status bytes every 40 ms 14141da177e4SLinus Torvalds * 14151da177e4SLinus Torvalds * Byte 0: Modem Status 14161da177e4SLinus Torvalds * 14171da177e4SLinus Torvalds * Offset Description 14181da177e4SLinus Torvalds * B0 Reserved - must be 1 14191da177e4SLinus Torvalds * B1 Reserved - must be 0 14201da177e4SLinus Torvalds * B2 Reserved - must be 0 14211da177e4SLinus Torvalds * B3 Reserved - must be 0 14221da177e4SLinus Torvalds * B4 Clear to Send (CTS) 14231da177e4SLinus Torvalds * B5 Data Set Ready (DSR) 14241da177e4SLinus Torvalds * B6 Ring Indicator (RI) 14251da177e4SLinus Torvalds * B7 Receive Line Signal Detect (RLSD) 14261da177e4SLinus Torvalds * 14271da177e4SLinus Torvalds * Byte 1: Line Status 14281da177e4SLinus Torvalds * 14291da177e4SLinus Torvalds * Offset Description 14301da177e4SLinus Torvalds * B0 Data Ready (DR) 14311da177e4SLinus Torvalds * B1 Overrun Error (OE) 14321da177e4SLinus Torvalds * B2 Parity Error (PE) 14331da177e4SLinus Torvalds * B3 Framing Error (FE) 14341da177e4SLinus Torvalds * B4 Break Interrupt (BI) 14351da177e4SLinus Torvalds * B5 Transmitter Holding Register (THRE) 14361da177e4SLinus Torvalds * B6 Transmitter Empty (TEMT) 14371da177e4SLinus Torvalds * B7 Error in RCVR FIFO 14381da177e4SLinus Torvalds * 14391da177e4SLinus Torvalds */ 14401da177e4SLinus Torvalds #define FTDI_RS0_CTS (1 << 4) 14411da177e4SLinus Torvalds #define FTDI_RS0_DSR (1 << 5) 14421da177e4SLinus Torvalds #define FTDI_RS0_RI (1 << 6) 14431da177e4SLinus Torvalds #define FTDI_RS0_RLSD (1 << 7) 14441da177e4SLinus Torvalds 14451da177e4SLinus Torvalds #define FTDI_RS_DR 1 14461da177e4SLinus Torvalds #define FTDI_RS_OE (1<<1) 14471da177e4SLinus Torvalds #define FTDI_RS_PE (1<<2) 14481da177e4SLinus Torvalds #define FTDI_RS_FE (1<<3) 14491da177e4SLinus Torvalds #define FTDI_RS_BI (1<<4) 14501da177e4SLinus Torvalds #define FTDI_RS_THRE (1<<5) 14511da177e4SLinus Torvalds #define FTDI_RS_TEMT (1<<6) 14521da177e4SLinus Torvalds #define FTDI_RS_FIFO (1<<7) 14531da177e4SLinus Torvalds 14541da177e4SLinus Torvalds /* 14551da177e4SLinus Torvalds * OUT Endpoint 14561da177e4SLinus Torvalds * 14571da177e4SLinus Torvalds * This device reserves the first bytes of data on this endpoint contain the length 14581da177e4SLinus Torvalds * and port identifier of the message. For the FTDI USB Serial converter the port 14591da177e4SLinus Torvalds * identifier is always 1. 14601da177e4SLinus Torvalds * 14611da177e4SLinus Torvalds * Byte 0: Line Status 14621da177e4SLinus Torvalds * 14631da177e4SLinus Torvalds * Offset Description 14641da177e4SLinus Torvalds * B0 Reserved - must be 1 14651da177e4SLinus Torvalds * B1 Reserved - must be 0 14661da177e4SLinus Torvalds * B2..7 Length of message - (not including Byte 0) 14671da177e4SLinus Torvalds * 14681da177e4SLinus Torvalds */ 14691da177e4SLinus Torvalds 1470