资源简介
usb转232串口驱动 包含:windows,liunx,IOS等。
代码片段和文件信息
/*
* Prolific PL2303 USB to serial adaptor driver
*
* Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
*
* Original driver for 2.2.x by anonymous
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License or
* (at your option) any later version.
*
* See Documentation/usb/usb-serial.txt for more information on using this driver
*
* 2001_Oct_06 gkh
* Added RTS and DTR line control. Thanks to joe@bndlg.de for parts of it.
*
* 2001_Sep_19 gkh
* Added break support.
*
* 2001_Aug_30 gkh
* fixed oops in write_bulk_callback.
*
* 2001_Aug_28 gkh
* reworked buffer logic to be like other usb-serial drivers. Hopefully
* removing some reported problems.
*
* 2001_Jun_06 gkh
* finished porting to 2.4 format.
*
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef CONFIG_USB_SERIAL_DEBUG
static int debug = 1;
#else
static int debug;
#endif
#include “usb-serial.h“
#include “pl2303.h“
/*
* Version Information
*/
#define DRIVER_VERSION “v0.91“
#define DRIVER_DESC “Prolific PL2303 USB to serial adaptor driver“
static __devinitdata struct usb_device_id id_table [] = {
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_RSAQ2) }
{ USB_DEVICE(IODATA_VENDOR_ID IODATA_PRODUCT_ID) }
{ USB_DEVICE(ATEN_VENDOR_ID ATEN_PRODUCT_ID) }
{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE (usb id_table);
#define SET_LINE_REQUEST_TYPE 0x21
#define SET_LINE_REQUEST 0x20
#define SET_CONTROL_REQUEST_TYPE 0x21
#define SET_CONTROL_REQUEST 0x22
#define CONTROL_DTR 0x01
#define CONTROL_RTS 0x02
#define BREAK_REQUEST_TYPE 0x21
#define BREAK_REQUEST 0x23
#define BREAK_ON 0xffff
#define BREAK_OFF 0x0000
#define GET_LINE_REQUEST_TYPE 0xa1
#define GET_LINE_REQUEST 0x21
#define VENDOR_WRITE_REQUEST_TYPE 0x40
#define VENDOR_WRITE_REQUEST 0x01
#define VENDOR_READ_REQUEST_TYPE 0xc0
#define VENDOR_READ_REQUEST 0x01
/* function prototypes for a PL2303 serial converter */
static int pl2303_open (struct usb_serial_port *port struct file *filp);
static void pl2303_close (struct usb_serial_port *port struct file *filp);
static void pl2303_set_termios (struct usb_serial_port *port
struct termios *old);
static int pl2303_ioctl (struct usb_serial_port *port struct file *file
unsigned int cmd unsigned long arg);
static void pl2303_read_int_callback (struct urb *urb);
static void pl2303_read_bulk_callback (struct urb *urb);
static void pl2303_write_bu
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 630 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\INF FILES\FTDIPORT.INF
文件 11414 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\INF FILES\README.txt
文件 941 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\INF FILES\registry settings.txt
文件 630 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\FTDIPORT.INF
文件 48640 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\ftdi_ser.dll
文件 4692 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince6.0 x86 Processor\Update.txt
文件 630 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\FTDIPORT.INF
文件 62464 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\ftdi_ser.dll
文件 4692 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\Update.txt
文件 630 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\INF FILES\FTDIPORT.INF
文件 11414 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\INF FILES\README.txt
文件 941 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\wince 6.0ARMX Scale(Processor)\INF FILES\registry settings.txt
文件 23384 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\ftd2xx.h
文件 3947 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\ftdibus.inf
文件 4801 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\ftdiport.inf
文件 120136 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftbusui.dll
文件 54088 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftcserco.dll
文件 206144 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftd2xx.dll
文件 19056 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftd2xx.lib
文件 57672 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftdibus.sys
文件 189760 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftlang.dll
文件 72008 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftser2k.sys
文件 51528 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\i386\ftserui2.dll
文件 143688 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftbusui.dll
文件 51528 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftcserco.dll
文件 17428 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftd2xx.lib
文件 330056 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftd2xx64.dll
文件 69064 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftdibus.sys
文件 274752 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftlang.dll
文件 84808 2013-03-18 15:04 RS232监控驱动\USB 2.0 TO RS232 Cable\driver\Wince\win2000_xp_x86_x64\amd64\ftser2k.sys
............此处省略278个文件信息
相关资源
- IAI RC联机软件 内置USB驱动
- coolPad 5890 Nv 及备份恢复工具包含驱动
- Data-driven Graphic Design Creative Coding for
- EasyNvr视频监控H5播放
- 工业控制计算机典型应用系统编程实
- 苹果鼠标for win10驱动
- PE下注入 USB3.0驱动
- MCGS扩展驱动安装包
- MAC LENOVO驱动
- qt编写视频监控系统源码
- 串口助手大全包含10种各类串口助手
- 爱普生T50win7 64位驱动
- sil9136参考手册_驱动源码.zip
- FDC2214_STM32串口显示_OLED.zip
- Nt式过滤驱动 keyfilter 键盘过滤驱动源
- GB-35114-2017公共安全视频监控联网信
- 苹果原版bootcamp提取BCM94360CD驱动 完胜
- 监控系统APM对比
- STM32F103RCT6_USART1串口通信代码
- linux设备驱动开发详解
- IGBT驱动与保护电路设计及应用电路
- 基于verilog的带fifo的串口设计
- Server2012 82579V网卡驱动安装
-
jli
nk官方驱动最新版,支持最新版本 - 2007 Office system 驱动程序:数据连接组
- WinUSB STM32 含多种驱动及工具
- 万能装机驱动
- 联想3110打印机win7驱动
- httpwatch pro 10.X 专业版含正版许可证
- VL53L1X资料.zip
评论
共有 条评论