📄 956.html
字号:
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif">
<div align=center><font class=normalfont>搜索文章:
<input type=hidden value=result name=action2>
<input type=radio checked value=title name=type>标题
<input type=radio value=content name=type>内容
<input type=image src="images/button_go.gif" tppabs="http://www.linuxhero.com/docs/images/button_go.gif" border=0 name=image2>
</font></div>
</td>
</tr>
<tr>
<td noWrap>
<div align="center">
<input maxlength=100 size=30 name=keyword2>
</div>
</td>
</tr></tbody>
</table>
</form>
</TD>
<TD rowSpan=2><IMG src="images/header_r1_c7.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c7.gif" width=26 border=0 name=header_r1_c7></TD>
<TD><IMG height=83 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 border=0></TD></TR>
<TR>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"><IMG height=22
src="images/header_r2_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r2_c1.gif" width=296 border=0
name=header_r2_c1></TD>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colSpan=5>
<DIV align=right><FONT class=normalfont>当前位置:
<A href="index.html" tppabs="http://www.linuxhero.com/docs/index.html">本站首页</A>
<font color="#FF6699">>></font>
<A href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</A> | <A href="copyright.html" tppabs="http://www.linuxhero.com/docs/copyright.html">版权说明</A></font></DIV>
</TD>
<TD><IMG height=22 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=10 cellPadding=0 width="100%" bgColor=#ffffff
border=0>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TR>
<TD vAlign=top align=middle width="60%">
<TABLE cellSpacing=0 cellPadding=0 width="100%"
background="images/back.gif" tppabs="http://www.linuxhero.com/docs/images/back.gif" border=0>
<TBODY>
<TR>
<TD vAlign=top width="80%">
<DIV align=center>
<FORM action="search.html" tppabs="http://www.linuxhero.com/docs/search.html" method=get>
</FORM>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0><TBODY>
<TR>
<TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif"
height=30></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width="95%"
align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<p><FONT class=normalfont><B><font color=blue>Linux下即插即用设备的安装</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:闫建勇<br>来自:Linux知识宝库<br>联系方式:无名<br><br> 即插即用,在Linux底下?不好办,你还是换老的非即插即用设备吧。这是我初次接触Linux时,那些Linux高手们告诉我的。可是,我觉得总该有办法的。经过不懈的努力,我发现了两种方法。一是先从DOS启动,初始化设备后,再用loadlin加载到Linux中。但这不是我所梦寐以求的,因为每次需要大量时间来启动。我继续不停的寻找,终于有一天,我找到了我需要的东西,一个称为isapnptools的应用程序。 <br>
<br>
现在,大多数发行套件中都有isapnptools。如果你的套件中有,安装它即可。如果你的发行套件中没有它,到http://www.roestock.demon.co.uk/isapnptools/ 去下载一份,解压后把isapnp 和 pnpdump 拷贝到目录 /sbin中即可。 <br>
<br>
下面就是实战阶段了。需要准备的就是把你所有要装的即插即用设备全部装好,以ROOT身份登陆。然后运行以下命令/sbin/pnpdump > /etc/isapnp.conf,这会把你机器上所有的即插即用设备信息写入文件/etc/isapnp.conf中,下面是我的机器上的/etc/isapnp.conf文件的一部分: <br>
<br>
# $Id: plugnplay.html,v 1.1.1.1 1998/12/26 04:41:14 jack Exp $ <br>
<br>
# This is free software, see the sources for details. <br>
<br>
# This software has NO WARRANTY, use at your OWN RISK <br>
<br>
# <br>
<br>
# For details of this file format, see isapnp.conf(5) <br>
<br>
# <br>
<br>
# For latest information on isapnp and pnpdump see: <br>
<br>
# http://www.roestock.demon.co.uk/isapnptools/ <br>
<br>
# <br>
<br>
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER <br>
<br>
# <br>
<br>
# Trying port address 0203 <br>
<br>
# Board 1 has serial identifier c5 c0 7f 53 05 01 22 05 07 <br>
<br>
# Board 2 has serial identifier 5a 80 86 00 01 20 00 a8 65 <br>
<br>
# Board 3 has serial identifier e8 46 46 46 46 90 30 72 56 <br>
<br>
<br>
# (DEBUG) <br>
<br>
(READPORT 0x0203) <br>
<br>
(ISOLATE PRESERVE) <br>
<br>
(IDENTIFY *) <br>
<br>
(VERBOSITY 2) <br>
<br>
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING <br>
<br>
<br>
# Card 1: (serial identifier c5 c0 7f 53 05 01 22 05 07) <br>
<br>
# Vendor Id AXE2201, Serial Number 3229569797, checksum 0xC5. <br>
<br>
# Version 1.0, Vendor version 0.0 <br>
<br>
# ANSI string -->Ethernet PnP ISA Card /S <br>
<br>
# <br>
<br>
# Logical device id AXE2201 <br>
<br>
# Device support I/O range check register <br>
<br>
# <br>
<br>
# Edit the entries below to uncomment out the configuration required. <br>
<br>
# Note that only the first value of any range is given, this may be <br>
<br>
# changed if required <br>
<br>
# Don't forget to uncomment the activate (ACT Y) when happy <br>
<br>
<br>
(CONFIGURE AXE2201/3229569797 (LD 0 <br>
<br>
# Compatible device id PNP80d6 <br>
<br>
# Logical device decodes 10 bit IO address lines <br>
<br>
# Minimum IO base address 0x0240 <br>
<br>
# Maximum IO base address 0x0380 <br>
<br>
# IO base alignment 32 bytes <br>
<br>
# Number of IO addresses required: 32 <br>
<br>
# (IO 0 (SIZE 32) (BASE 0x0240)) <br>
<br>
# IRQ 3, 5, 9, 10, 11, 12 or 15. <br>
<br>
# High true, edge sensitive interrupt <br>
<br>
# (INT 0 (IRQ 3 (MODE +E))) <br>
<br>
# (ACT Y) <br>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -