资源简介
液晶拼接处理器大屏控制软件
代码片段和文件信息
/*
* 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2246747 2012-03-01 01:09 ZH-800液晶拼接处理器规格书.pdf
文件 703120 2012-03-01 01:17 ZH-800液晶拼接处理器使用手册.pdf
文件 1778654 2010-04-29 11:13 USB to RS232\USB TO RS232.rar
文件 1561768 2010-09-03 18:06 USB to RS232\Driver\810driver\window.rar
文件 8 2004-02-17 16:15 USB to RS232\Driver\810driver\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\PkgInfo
文件 35561 2004-02-17 16:15 USB to RS232\Driver\810driver\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.bom
文件 87040 2004-02-17 16:15 USB to RS232\Driver\810driver\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.pax
文件 49 2004-02-17 16:15 USB to RS232\Driver\810driver\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\PL2303_1.0.8b4.sizes
文件 291 2004-02-17 16:15 USB to RS232\Driver\810driver\IMAC\Mac10.0\md_pl2303hx_v108b4\PL2303_1.0.8b4.pkg\Contents\Resources\English.lproj\PL2303_1.0.8b4.info
文件 24064 2004-05-26 13:21 USB to RS232\Driver\810driver\IMAC\Mac8.6&9.0\Manual chinese.doc
文件 24064 2004-05-26 13:22 USB to RS232\Driver\810driver\IMAC\Mac8.6&9.0\Manual english.doc
文件 18220 2004-05-26 12:29 USB to RS232\Driver\810driver\IMAC\Mac8.6&9.0\ProlificUSBSerial1.3.0b2.sit
文件 2323 2004-03-29 18:58 USB to RS232\Driver\810driver\linux\Redhat73\Makefile
文件 20760 2004-03-29 14:52 USB to RS232\Driver\810driver\linux\Redhat73\pl2303.c
文件 364 2004-03-29 18:55 USB to RS232\Driver\810driver\linux\Redhat73\ReadMe.txt
文件 2323 2004-03-29 18:58 USB to RS232\Driver\810driver\linux\Redhat8\Makefile
文件 21019 2004-03-30 13:41 USB to RS232\Driver\810driver\linux\Redhat8\pl2303.c
文件 364 2004-03-29 18:55 USB to RS232\Driver\810driver\linux\Redhat8\ReadMe.txt
文件 2323 2004-03-29 18:58 USB to RS232\Driver\810driver\linux\Redhat9\Makefile
文件 20638 2004-03-30 13:42 USB to RS232\Driver\810driver\linux\Redhat9\pl2303.c
文件 364 2004-03-29 18:55 USB to RS232\Driver\810driver\linux\Redhat9\ReadMe.txt
文件 24064 2004-05-26 15:45 USB to RS232\Driver\810driver\manual\imac\Manual chinese.doc
文件 24064 2004-05-26 16:21 USB to RS232\Driver\810driver\manual\imac\Manual English.doc
文件 31232 2004-05-26 16:23 USB to RS232\Driver\810driver\manual\linux\Manual on redhat 8.0.doc
文件 14210 2004-05-26 16:23 USB to RS232\Driver\810driver\manual\linux\Manual on redhat 8_0.pdf
文件 24064 2004-05-26 16:54 USB to RS232\Driver\810driver\manual\Windows\Manual Chinese.doc
文件 24064 2004-05-26 16:32 USB to RS232\Driver\810driver\manual\Windows\Manual English.doc
文件 7461 2003-03-22 18:35 USB to RS232\Driver\810driver\old version\driver\I_MAC\PL2303.SIT
文件 7461 2003-03-22 18:35 USB to RS232\Driver\810driver\old version\driver\MAC\PL2303.SIT
文件 281872 2010-08-13 12:05 USB to RS232\Driver\810driver\old version\driver\Windows\WinXP.rar
............此处省略251个文件信息
评论
共有 条评论