资源简介
USB转串口程序。硬件转接程序abcbbb下载下载
代码片段和文件信息
/*
* 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 135168 2001-11-07 17:06 USB转串口通信驱动程序\2303 all driver\98_ME_2K\DRemover98_2K.exe
文件 43136 2003-12-01 10:54 USB转串口通信驱动程序\2303 all driver\98_ME_2K\ser2pl.sys
文件 34332 2003-10-27 17:42 USB转串口通信驱动程序\2303 all driver\98_ME_2K\SER9PL.sys
文件 2280 2001-05-23 14:42 USB转串口通信驱动程序\2303 all driver\98_ME_2K\SERSPL.INF
文件 26719 2003-10-27 17:42 USB转串口通信驱动程序\2303 all driver\98_ME_2K\SERSPL.VXD
文件 8644 2004-02-25 17:16 USB转串口通信驱动程序\2303 all driver\98_ME_2K\SERWPL.INF
文件 62976 2004-03-06 19:47 USB转串口通信驱动程序\2303 all driver\iMac\iMAC(chinese) .doc
文件 1188712 2015-10-13 07:53 USB转串口通信驱动程序\2303 all driver\iMac\md_PL2303_MacOSX-10_6up_v1_5_1.rar
文件 13341 2005-03-23 15:47 USB转串口通信驱动程序\2303 all driver\iMac\pl-2303hx.hqx
文件 123904 2003-03-17 23:39 USB转串口通信驱动程序\2303 all driver\iMac\USB TO RS232 Cable for iMAC user‘s manual.doc
文件 36327 2005-03-23 15:48 USB转串口通信驱动程序\2303 all driver\iMac OS X\driver for os x.hqx
文件 521 2004-02-15 09:02 USB转串口通信驱动程序\2303 all driver\iMac OS X\iMac OS X.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序\2303 all driver\Linux\Redhat73\Makefile
文件 20760 2004-03-29 14:52 USB转串口通信驱动程序\2303 all driver\Linux\Redhat73\pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序\2303 all driver\Linux\Redhat73\ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序\2303 all driver\Linux\Redhat8\Makefile
文件 21019 2004-03-30 13:41 USB转串口通信驱动程序\2303 all driver\Linux\Redhat8\pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序\2303 all driver\Linux\Redhat8\ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序\2303 all driver\Linux\Redhat9\Makefile
文件 20638 2004-03-30 13:42 USB转串口通信驱动程序\2303 all driver\Linux\Redhat9\pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序\2303 all driver\Linux\Redhat9\ReadMe.txt
文件 26624 2005-03-23 15:44 USB转串口通信驱动程序\2303 all driver\Linux\user guide.doc
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序\2303 all driver\Vista\2303 Vista Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序\2303 all driver\WIN10\LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序\2303 all driver\WIN10\PL2303 Windows Driver User Manual v1.10.0.pdf
文件 9715 2014-09-25 10:29 USB转串口通信驱动程序\2303 all driver\WIN10\PL2303_DriverInstallerv1.10.0_ReleaseNote.txt
文件 3219096 2014-09-25 10:28 USB转串口通信驱动程序\2303 all driver\WIN10\PL2303_Prolific_DriverInstaller_v1.10.0.exe
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序\2303 all driver\WIN7_X32_X64\2303 Win7(X32)(X64) Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序\2303 all driver\WIN8\LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序\2303 all driver\WIN8\PL2303 Windows Driver User Manual v1.10.0.pdf
............此处省略99个文件信息
- 上一篇:计算机网络 吴功宜 第二版 pdf
- 下一篇:GIS空间分析法
相关资源
- PL2303HX典型电路,已验证,放心使用
- pl2303 USB转串口驱动解决“运行时错误
- 树莓派 Ubuntu mate16.04 2个usb转串口互相
- STM32如何通过USB转串口线程序
- CH340USB转串口芯片mac os驱动程序
- USB转串口驱动-CH340
- MSP430 USB转串口驱动
- ch340usb转串口原理图
- USB转串口驱动CH340T
- 单片机开发USB转串口CH340驱动
- usb转串口线驱动max232
- linux PL2303 usb转串口驱动源码
- USB转TTL芯片FT232RL的应用设计原理图
- CH340 、USB转串口驱动、Win10 64位,亲测
- FX PLC USB-SC09 驱动 CH340/CH341USB转串口
- HT42B534 USB转串口驱动
- USB转串口驱动源代码及单片机程序
- USB线转RS232串口驱动
- CP210x USB转串口驱动,支持WIN7 32位和
- WIN10可用的USB转串口驱动
- z-tek usb转串口驱动
- PL2303HXA USB转串口驱动 支持win10_64.zi
- USB-SERIAL CH340 USB转串口驱动
- 安卓系统USB转串口_CH340驱动小Demo
- FTDI的USB转串口驱动程序v2.12.24
- FT232RL 最新驱动
- USB-SERIAL-CH340驱动解决USB2.0-Ser!
- Linux版FTDI USB转串口驱动,FT232
- 华为通用USB转串口驱动
- STM32 USB转串口驱动
评论
共有 条评论