资源简介
USB-232(usb2.0-ser!).rar
代码片段和文件信息
/*
* 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 217 2005-12-02 15:12 USB-232(usb2.0-ser!)\USB-232\FT232\Application Notes.url
文件 106496 2006-05-24 10:47 USB-232(usb2.0-ser!)\USB-232\FT232\FTBUSUI.dll
文件 20196 2006-05-18 09:54 USB-232(usb2.0-ser!)\USB-232\FT232\ftcserco.dll
文件 176128 2006-05-24 10:45 USB-232(usb2.0-ser!)\USB-232\FT232\FTD2XX.dll
文件 19478 2005-12-06 09:32 USB-232(usb2.0-ser!)\USB-232\FT232\FTD2XX.H
文件 18208 2006-05-24 10:45 USB-232(usb2.0-ser!)\USB-232\FT232\FTD2XX.lib
文件 10016 2006-06-02 16:31 USB-232(usb2.0-ser!)\USB-232\FT232\ftdibus.cat
文件 2366 2006-05-24 11:03 USB-232(usb2.0-ser!)\USB-232\FT232\FTDIBUS.INF
文件 47249 2006-05-18 09:48 USB-232(usb2.0-ser!)\USB-232\FT232\FTDIBUS.sys
文件 9589 2006-06-02 16:31 USB-232(usb2.0-ser!)\USB-232\FT232\ftdiport.cat
文件 3507 2006-05-24 11:04 USB-232(usb2.0-ser!)\USB-232\FT232\FTDIPORT.INF
文件 188416 2006-05-24 10:40 USB-232(usb2.0-ser!)\USB-232\FT232\FTDIUNIN.exe
文件 102400 2006-05-24 10:42 USB-232(usb2.0-ser!)\USB-232\FT232\FTLang.dll
文件 61067 2006-05-18 09:49 USB-232(usb2.0-ser!)\USB-232\FT232\ftser2k.sys
文件 33360 2006-05-19 11:51 USB-232(usb2.0-ser!)\USB-232\FT232\ftserui2.dll
文件 227 2005-12-02 15:12 USB-232(usb2.0-ser!)\USB-232\FT232\Installation Guides.url
文件 2933416 2005-09-28 11:07 USB-232(usb2.0-ser!)\USB-232\HL-0108\Setup For HugePine.exe
文件 1669134 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\HL-2303.exe
文件 135168 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\Remove_old_driver.exe
文件 43136 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\ser2pl.sys
文件 34332 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\SER9PL.sys
文件 2280 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\SERSPL.INF
文件 26719 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\SERSPL.VXD
文件 8644 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\HL-2303\SERWPL.INF
文件 8 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\PkgInfo
文件 291 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\English.lproj\PL2303_1.0.8b4.info
文件 35561 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.bom
文件 87040 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.pax
文件 49 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.sizes
文件 24064 2005-11-26 20:25 USB-232(usb2.0-ser!)\USB-232\HL-2303\IMAC\Mac8.6&9.0\Manual chinese.doc
............此处省略71个文件信息
- 上一篇:马少平《人工智能》PPT+部分习题答案
- 下一篇:计算机网络所有上机实验报告
相关资源
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
- 联想启天M4350 BIOS升级文件
评论
共有 条评论