资源简介
linux PL2303 usb转串口驱动源码
代码片段和文件信息
/*
* Prolific PL2303 USB to serial adaptor driver
*
* Copyright (C) 2001-2007 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2003 IBM Corp.
*
* 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 version
* 2 as published by the Free Software Foundation.
*
* See Documentation/usb/usb-serial.txt for more information on using this
* driver
*
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “pl2303.h“
/*
* Version Information
*/
#define DRIVER_DESC “Prolific PL2303 USB to serial adaptor driver“
static bool debug;
#define PL2303_CLOSING_WAIT (30*HZ)
static const 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(PL2303_VENDOR_ID PL2303_PRODUCT_ID_DCU11) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_RSAQ3) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_PHAROS) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_ALDIGA) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_MMX) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_GPRS) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_HCR331) }
{ USB_DEVICE(PL2303_VENDOR_ID PL2303_PRODUCT_ID_MOTOROLA) }
{ USB_DEVICE(IODATA_VENDOR_ID IODATA_PRODUCT_ID) }
{ USB_DEVICE(IODATA_VENDOR_ID IODATA_PRODUCT_ID_RSAQ5) }
{ USB_DEVICE(ATEN_VENDOR_ID ATEN_PRODUCT_ID) }
{ USB_DEVICE(ATEN_VENDOR_ID2 ATEN_PRODUCT_ID) }
{ USB_DEVICE(ELCOM_VENDOR_ID ELCOM_PRODUCT_ID) }
{ USB_DEVICE(ELCOM_VENDOR_ID ELCOM_PRODUCT_ID_UCSGT) }
{ USB_DEVICE(ITEGNO_VENDOR_ID ITEGNO_PRODUCT_ID) }
{ USB_DEVICE(ITEGNO_VENDOR_ID ITEGNO_PRODUCT_ID_2080) }
{ USB_DEVICE(MA620_VENDOR_ID MA620_PRODUCT_ID) }
{ USB_DEVICE(RATOC_VENDOR_ID RATOC_PRODUCT_ID) }
{ USB_DEVICE(TRIPP_VENDOR_ID TRIPP_PRODUCT_ID) }
{ USB_DEVICE(RADIOSHACK_VENDOR_ID RADIOSHACK_PRODUCT_ID) }
{ USB_DEVICE(DCU10_VENDOR_ID DCU10_PRODUCT_ID) }
{ USB_DEVICE(SITECOM_VENDOR_ID SITECOM_PRODUCT_ID) }
{ USB_DEVICE(ALCATEL_VENDOR_ID ALCATEL_PRODUCT_ID) }
{ USB_DEVICE(SAMSUNG_VENDOR_ID SAMSUNG_PRODUCT_ID) }
{ USB_DEVICE(SIEMENS_VENDOR_ID SIEMENS_PRODUCT_ID_SX1) }
{ USB_DEVICE(SIEMENS_VENDOR_ID SIEMENS_PRODUCT_ID_X65) }
{ USB_DEVICE(SIEMENS_VENDOR_ID SIEMENS_PRODUCT_ID_X75) }
{ USB_DEVICE(SIEMENS_VENDOR_ID SIEMENS_PRODUCT_ID_EF81) }
{ USB_DEVICE(BENQ_VENDOR_ID BENQ_PRODUCT_ID_S81) } /* Benq/Siemens S81 */
{ USB_DEVICE(SYNTECH_VENDOR_ID SYNTECH_PRODUCT_ID) }
{ USB_DEVICE(NOKIA_CA42_VENDOR_ID NOKIA_CA42_PRODUCT_ID) }
{ USB_DEVICE(C
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 24252 2014-09-04 11:27 pl2303.c
....... 4209 2014-09-04 11:27 pl2303.h
----------- --------- ---------- ----- ----
28461 2
- 上一篇:大数据培训视频教程.zip
- 下一篇:哈工大系统辨识总结
相关资源
- SecureCRT 非常好用的串口工具
- 串口调试工具 SecureCRT
- 串口发送小工具
- 基于STM32的深海钻机甲板控制系统
- SCI串口中断接收发送例程
- 4_USART串口通信(空闲中断+DMA.zip
- stm32f105-usart-DMA收发demo
- STM32F042F6P6 Uart12DMA;发送中断接收
- 串口模拟器支持win10
- ch352 pci转并口串口卡驱动(WinChipHea
- pci/pcie打印卡串口/并口卡驱动
- usb转 串口驱动 ch340 PL2303 win10 可用
- 推荐给大家一个非常好用的串口工具
- USB-Serial-Controller_虚拟串口.rar
- free-serial-port-monitor_(串口监控调试)
- Delphi7串口程序(使用SPComm控件).ra
- u232-p9驱动 WIN7 PL2303
- USB Serial Port win7 64/32 驱动后缀丢失,
- STC11F04单片机串口终端程序
- 单片机串口printf函数自实现第二版
- com0com源码,不是安装文件
- STM32分别以串口硬件SPI模拟并口驱动
- 三菱PLC串口通信调试软件.rar
- uart_tx.zip
- STM32F407 串口配置 串口1~6 六串口同时
- STM32F407_6个串口同时使用的代码
- 用驱动精灵提取的pl2303驱动,win7win
- VC++ RS232 RS485串口通信源代码_
- mcgs串口驱动
- 串口数据收发器
评论
共有 条评论