亚辰电通2.0串口驱动.rar


ept usb2.0-serial bridge cable RS232 转 RS485 亚辰电通2.0串口驱动 有说明书 安装图解 此版为光盘版
资源截图
代码片段和文件信息
/*
 * 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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      25600  2005-09-29 01:29  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printusb_manual.doc

     文件      98447  2006-04-22 10:38  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWIN98CH341PAR.EXE

     文件      53760  2005-12-28 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWIN98SETUP.EXE

     文件       2324  2005-12-29 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWIN98USBPAR34.INF

     文件      17509  2005-08-22 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWIN98USBPAR34.VXD

     文件      21360  2005-12-29 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWIN98USBPAR98.SYS

     文件      98447  2006-04-22 10:38  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINMECH341PAR.EXE

     文件      53760  2005-12-28 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINMESETUP.EXE

     文件      28672  2000-06-08 17:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINMEUSBMON.DLL

     文件       1043  2004-05-08 00:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINMEUSBPRINT.INF

     文件      22640  2000-06-08 17:00  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINMEUSBPRINT.SYS

     文件      98447  2006-04-22 10:38  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINXP_2000CH341PAR.EXE

     文件      25600  2005-09-29 01:29  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINXP_2000usb_manual.doc

     文件      25600  2005-09-29 01:29  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-printWINXP_2000安装说明.doc

     文件      25600  2005-09-29 01:29  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-print安装说明.doc

     文件      62976  2004-03-06 19:47  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialiMaciMAC(chinese) .doc

     文件      13341  2005-03-23 15:47  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialiMacpl-2303hx.hqx

     文件     123904  2003-03-17 23:39  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialiMacUSB TO RS232 Cable for iMAC user‘s manual.doc

     文件      36327  2005-03-23 15:48  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialiMac OS Xdriver for os x.hqx

     文件        521  2004-02-15 09:02  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialiMac OS XiMac OS X.txt

     文件       2323  2004-03-29 18:58  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat73Makefile

     文件      20760  2004-03-29 14:52  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat73pl2303.c

     文件        364  2004-03-29 18:55  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat73ReadMe.txt

     文件       2323  2004-03-29 18:58  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat8Makefile

     文件      21019  2004-03-30 13:41  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat8pl2303.c

     文件        364  2004-03-29 18:55  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat8ReadMe.txt

     文件       2323  2004-03-29 18:58  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat9Makefile

     文件      20638  2004-03-30 13:42  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat9pl2303.c

     文件        364  2004-03-29 18:55  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxRedhat9ReadMe.txt

     文件      26624  2005-03-23 15:44  xunzai.com_亚辰电通2.0串口驱动usbrs232usb-serialLinuxuser guide.doc

............此处省略61个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)