English 中文(简体)
找到一个平行港口的光荣景
原标题:Finding Memory Address of a Parallel Port on Linux

I m试图找到一个平行港口的基底(流层)地址,我通过一个PCI信号卡把手提电脑连接起来。 运行<代码>lspci-v显示,我的计算机承认平行港口,给I/O港(1000和1008),但不是记忆地址(其他条目有港口和记忆地点......)。 该卡是唯一没有记忆地址的入口。 另外,当我看<代码>/proc/ioports时,我还要看一下。 我获得了同样的港口。 然而,当我试图利用方案I m(EMC2)中的任何一个地址来控制继器发动机时,我没有找到同一港口。

如果对视窗设备管理员——> Ports-> Resources进行类比,那么实际上会非常大。 乌班图有没有这样做的途径? 是否为PCIe装置建立了标准记忆地点?

Edit: The output from lspci -v

04:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
Subsystem: Oxford Semiconductor Ltd Device c110
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at 1000 [size=8]
I/O ports at 1008 [size=4]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Device Serial Number 10-01-00-11-11-e0-30-00
Capabilities: [110] Power Budgeting <?>
Kernel driver in use: parport_pc
Kernel modules: parport_pc

为参考,另一个显示记忆点的条目:

0c:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 61) (prog-if 10)
Subsystem: Agere Systems FW322/323
Flags: bus master, fast Back2Back, medium devsel, latency 248, IRQ 19
Memory at 8c000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci1394
Kernel modules: firewire-ohci, ohci1394
最佳回答

Try cat /proc/ioports , grep parport

问题回答

快速反应:is没有平行港口的记忆地点。 平行港口只拥有分配给它们的海联港口。 这是平行港口接口数十年来的工作方式,没有人认为有必要绘制不兼容的记忆界面,需要特殊驾驶员。

现在我必须问,你为什么打算找到港口的记忆地点? 你们想要做些什么?





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签