USB转串口程序
USB转串口程序。硬件转接程序abcbbb下载下载
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 135168 2001-11-07 17:06 USB转串口通信驱动程序2303 all driver98_ME_2KDRemover98_2K.exe
文件 43136 2003-12-01 10:54 USB转串口通信驱动程序2303 all driver98_ME_2Kser2pl.sys
文件 34332 2003-10-27 17:42 USB转串口通信驱动程序2303 all driver98_ME_2KSER9PL.sys
文件 2280 2001-05-23 14:42 USB转串口通信驱动程序2303 all driver98_ME_2KSERSPL.INF
文件 26719 2003-10-27 17:42 USB转串口通信驱动程序2303 all driver98_ME_2KSERSPL.VXD
文件 8644 2004-02-25 17:16 USB转串口通信驱动程序2303 all driver98_ME_2KSERWPL.INF
文件 62976 2004-03-06 19:47 USB转串口通信驱动程序2303 all driveriMaciMAC(chinese) .doc
文件 1188712 2015-10-13 07:53 USB转串口通信驱动程序2303 all driveriMacmd_PL2303_MacOSX-10_6up_v1_5_1.rar
文件 13341 2005-03-23 15:47 USB转串口通信驱动程序2303 all driveriMacpl-2303hx.hqx
文件 123904 2003-03-17 23:39 USB转串口通信驱动程序2303 all driveriMacUSB TO RS232 Cable for iMAC user‘s manual.doc
文件 36327 2005-03-23 15:48 USB转串口通信驱动程序2303 all driveriMac OS Xdriver for os x.hqx
文件 521 2004-02-15 09:02 USB转串口通信驱动程序2303 all driveriMac OS XiMac OS X.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat73Makefile
文件 20760 2004-03-29 14:52 USB转串口通信驱动程序2303 all driverLinuxRedhat73pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat73ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat8Makefile
文件 21019 2004-03-30 13:41 USB转串口通信驱动程序2303 all driverLinuxRedhat8pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat8ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat9Makefile
文件 20638 2004-03-30 13:42 USB转串口通信驱动程序2303 all driverLinuxRedhat9pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat9ReadMe.txt
文件 26624 2005-03-23 15:44 USB转串口通信驱动程序2303 all driverLinuxuser guide.doc
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序2303 all driverVista2303 Vista Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序2303 all driverWIN10LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序2303 all driverWIN10PL2303 Windows Driver User Manual v1.10.0.pdf
文件 9715 2014-09-25 10:29 USB转串口通信驱动程序2303 all driverWIN10PL2303_DriverInstallerv1.10.0_ReleaseNote.txt
文件 3219096 2014-09-25 10:28 USB转串口通信驱动程序2303 all driverWIN10PL2303_Prolific_DriverInstaller_v1.10.0.exe
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序2303 all driverWIN7_X32_X642303 Win7(X32)(X64) Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序2303 all driverWIN8LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序2303 all driverWIN8PL2303 Windows Driver User Manual v1.10.0.pdf
............此处省略99个文件信息
/*
* 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 driver98_ME_2KDRemover98_2K.exe
文件 43136 2003-12-01 10:54 USB转串口通信驱动程序2303 all driver98_ME_2Kser2pl.sys
文件 34332 2003-10-27 17:42 USB转串口通信驱动程序2303 all driver98_ME_2KSER9PL.sys
文件 2280 2001-05-23 14:42 USB转串口通信驱动程序2303 all driver98_ME_2KSERSPL.INF
文件 26719 2003-10-27 17:42 USB转串口通信驱动程序2303 all driver98_ME_2KSERSPL.VXD
文件 8644 2004-02-25 17:16 USB转串口通信驱动程序2303 all driver98_ME_2KSERWPL.INF
文件 62976 2004-03-06 19:47 USB转串口通信驱动程序2303 all driveriMaciMAC(chinese) .doc
文件 1188712 2015-10-13 07:53 USB转串口通信驱动程序2303 all driveriMacmd_PL2303_MacOSX-10_6up_v1_5_1.rar
文件 13341 2005-03-23 15:47 USB转串口通信驱动程序2303 all driveriMacpl-2303hx.hqx
文件 123904 2003-03-17 23:39 USB转串口通信驱动程序2303 all driveriMacUSB TO RS232 Cable for iMAC user‘s manual.doc
文件 36327 2005-03-23 15:48 USB转串口通信驱动程序2303 all driveriMac OS Xdriver for os x.hqx
文件 521 2004-02-15 09:02 USB转串口通信驱动程序2303 all driveriMac OS XiMac OS X.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat73Makefile
文件 20760 2004-03-29 14:52 USB转串口通信驱动程序2303 all driverLinuxRedhat73pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat73ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat8Makefile
文件 21019 2004-03-30 13:41 USB转串口通信驱动程序2303 all driverLinuxRedhat8pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat8ReadMe.txt
文件 2323 2004-03-29 18:58 USB转串口通信驱动程序2303 all driverLinuxRedhat9Makefile
文件 20638 2004-03-30 13:42 USB转串口通信驱动程序2303 all driverLinuxRedhat9pl2303.c
文件 364 2004-03-29 18:55 USB转串口通信驱动程序2303 all driverLinuxRedhat9ReadMe.txt
文件 26624 2005-03-23 15:44 USB转串口通信驱动程序2303 all driverLinuxuser guide.doc
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序2303 all driverVista2303 Vista Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序2303 all driverWIN10LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序2303 all driverWIN10PL2303 Windows Driver User Manual v1.10.0.pdf
文件 9715 2014-09-25 10:29 USB转串口通信驱动程序2303 all driverWIN10PL2303_DriverInstallerv1.10.0_ReleaseNote.txt
文件 3219096 2014-09-25 10:28 USB转串口通信驱动程序2303 all driverWIN10PL2303_Prolific_DriverInstaller_v1.10.0.exe
文件 2065563 2007-12-17 16:26 USB转串口通信驱动程序2303 all driverWIN7_X32_X642303 Win7(X32)(X64) Driver Installer.exe
文件 44401 2014-09-12 17:25 USB转串口通信驱动程序2303 all driverWIN8LogoVerificationReport.pdf
文件 1731831 2014-09-16 17:48 USB转串口通信驱动程序2303 all driverWIN8PL2303 Windows Driver User Manual v1.10.0.pdf
............此处省略99个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)