Installation Guide for PCI Parallel Ports
This installation guide describes the procedure to install the Nm9705CV, Nm9735CV, Nm9805CV, Nm9715CV, Nm9835CV, Nm9755CV PCI parallel ports in Linux platform.
Linux kernel provide a 'parport' code to support parallel port (/dev/lp0, /dev/lp1, /dev/lp2). This code provides the ability to share one port between multiple devices. And it is loadable when kernel is running.
The 'parport' code is split into two parts : generic (which deals with port sharing) and architecture-dependent eg. X86, SPARC. (which deals with actually using the port). Thus, please take the following steps to install 'parport' module!
Check the on-board parallel port's hardware resources
Most likely each motherboard has a built-in parallel port. And its hardware resources are settable with BIOS utility.
Enter the command more /proc/pci
The response is similar to the following
Bus 0, Device 11, function 0:
Serial controller : Unknown vendor Unknown device (rev 01).
Vendor id=9710, Device id=9705
Device id=9735
Device id=9805
Device id=9815
Device id=9835
Device id=9855
Medium devsel. Fast back-to-back capable. IRQ 11
Board with Nm9705CV part
I/O at 0xc000 [0xc001] printer port
0xc008 [0xc009] ECP/EPP config registers
Board with Nm9735CV part
I/O at 0xc000 [0xc001] not used
0xc008 [0xc009] not used
0xc010 [0xc011] printer port
0xc018 [0xc019] ECP/EPP config registers
Board with Nm9805CV part
I/O at 0xc000 [0xc001] printer port
I/O at 0xc400 [0xc401] ECP/EPP config registers
I/O at 0xc800 [0xc801] not used
I/O at 0xd000 [0xd001] not used
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Board with Nm9715CV part
I/O at 0xc000 [0xc001] printer port 1
I/O at 0xc400 [0xc401] ECP/EPP config registers 1
I/O at 0xc800 [0xc801] printer port 2
I/O at 0xd000 [0xd001] ECP/EPP config registers 2
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Board with Nm9835CV part
I/O at 0xc000 [0xc001] not used
I/O at 0xc400 [0xc401] not used
I/O at 0xc800 [0xc801] printer port
I/O at 0xd000 [0xd001] ECP/EPP config registers
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Board with Nm9755CV part
I/O at 0xc000 [0xc001] printer port 1
I/O at 0xc400 [0xc401] ECP/EPP config registers 1
I/O at 0xc800 [0xc801] printer port 2
I/O at 0xd000 [0xd001] ECP/EPP config registers 2
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Install 'parport' module
To load the generic 'parport' code
Type insmod parport.o
To load the architecture-dependent code to tell 'parport' code
insmod parport_pc.o io=0x378,0xc000,0xc800
irq=7, irq=11, none
or
insmod parport_pc.o io=0x378,0xc000,0xc800
irq=7,11,none
You have three PC-style ports, one at 0x378 with IRQ 7, one at
0xc000 with IRQ11, one at 0xc800 with no IRQ.
Check the attached printer device [optional]
Once the architecture-dependent part of the paraport code is loaded into the kernel. You could enter the following command
insmod parport_probe.o
To check any attached devices and log a message similar to
parport0: Printer, epson
Then /dev/lp0, /dev/lp1 and /dev/lp2 are ready for service
NM9805串口卡驱动 pci转com口卡/并口驱动
5星 · 超过95%的资源 需积分: 21 185 浏览量
2013-09-06
12:03:39
上传
评论 1
收藏 1.55MB RAR 举报
收银系统
- 粉丝: 3
- 资源: 9
最新资源
- 基于keras+fasterRCNN,在VOC格式的口罩数据集上训练,检测人群中有无戴口罩python源码+模型
- 基于opencv+qt5机器视觉的传统缺陷检测, 即采用标准图片和待测图片进行pixel to pixel的XOR操作源码+文档
- 管道内检测缺陷数据库管理系统源码+文档说明+sln
- 毕业设计-低功耗STM32F411开发板(原理图+PCB源文件+官方例程+驱动等)源码+文档说明+截图
- 基于yolov5-tensorRT检测+发动机缸体内壁缺陷检测系统源码+文档说明
- 基于C++实现的锂电池缺陷检测源码+文档说明
- push_version
- 软件自制图像批量压缩工具
- 经典缺陷检测算法源码整理包含PaDiM(2020ICPR)、PatchCore(2022CVPR)、SimpleNet+文档说明
- 基于深度学习的抗梯度噪声的缺陷检测器python源码+文档说明+模型的预训练
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈