📄 readme
字号:
This installation guide describes the procedures to install and uninstall CH352 PCI to two serial ports and to one serial and one parport in Linux platform.1-install and uninstall CH352 PCI to two serial ports2-install and uninstall CH352 PCI to one serial port and one parport1-install and uninstall CH352 PCI to two serial ports(1)-install<1>-copy install_ss_80x86.o to /usr/sbin<2>-Add /usr/sbin/install_ss_80x86 at the end of the /etc/rc.d/rc.local.<3>-rebootThe ttyS2 and ttyS3 are ready for application.(2)-uninstall(1)-Remove /usr/sbin/install_ss_80x86 at the end of the /etc/rc.d/rc.local.(2)-Remove /usr/sbin/install_ss_80x86.o2-install and uninstall CH352 PCI to one serial port and one parport(1)install one serial <1>-copy install_s_80x86.o to /usr/sbin<2>-Add /usr/sbin/install_s_80x86 at the end of the /etc/rc.d/rc.local.The ttyS4 are ready for application.(2)install one parportEnter the command more /proc/pci or lspci -vwe supply a script file "install_p",but you must be make sure I/O base address is right.<1>get I/O base address [root@WCH root]# lspci -v......//CH352 CHIP 01:00.0 Serial controller: Unknown device 4348:5053 (rev 10) (prog-if 02 [16550]) Subsystem: Unknown device 4348:5053 Flags: medium devsel, IRQ 10 I/O ports at df30 [size=8] I/O ports at df38 [size=8] //parport I/O base address...... I/O base address=0xdf38<2>modify script file "install_p":#!/bin/shcd /lib/modules/2.4.20-8/kernel/drivers/charrmmod lpcd /lib/modules/2.4.20-8/kernel/drivers/parportrmmod parport_pcinsmod parport_pc.o io=0x378,0xdf38 //parport I/O base address cd /lib/modules/2.4.20-8/kernel/drivers/charinsmod lp.owarning:2.4.20-8 is my system kernel version,if your kernel is different from it,you must amend.<3>copy install_p to /usr/sbin<4>Open the /etc/rc.d/rc.local,then edit it.Add /usr/sbin/install_pat the end of the rc.local.<5>reboot(3)uninstall one serial <1>-Remove /usr/sbin/install_s_80x86 at the end of the /etc/rc.d/rc.local.<2>-Remove /usr/sbin/install_s_80x86.o(4)uninstall one parport <1>-Remove /usr/sbin/install_p
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -