南昌信息港

当前位置:

Linux操作系统下即插即用设备的安装1

2019/06/19 来源:南昌信息港

导读

即插即用,在Linux底下?这可能是困扰大家好久的问题,我也曾经妥协过,用老的非即插即用设备取代它。 随着时间的推移,Linux玩友渐渐总结

  即插即用,在Linux底下?这可能是困扰大家好久的问题,我也曾经妥协过,用老的非即插即用设备取代它。 随着时间的推移,Linux玩友渐渐总结出两种方法。一是先从DOS启动,初始化设备后,再用loadlin加载到Linux中。但这种方法耗时太大。二是用isapnptools的应用程序,这是一种很好的方法。 现在,大多数发行套件中都有isapnptools。如果你的套件中有,安装它即可。如果你的发行套件中没有它,到去下载一份,解压后把isapnp 和 pnpdump 拷贝到目录 /sbin中即可。 下面就是实战阶段了。需要准备的就是把你所有要装的即插即用设备全部装好,以ROOT身份登陆。然后运行以下命令/sbin/pnpdump /etc/nf,这会把你机器上所有的即插即用设备信息写入文件/etc/nf中,下面是我的机器上的/etc/nf文件的一部分:     # $Id: ml,v 1.1.1.1 1998/12/26 04:41:14 jack Exp $   # This is free software, see the sources for details.   # This software has NO WARRANTY, use at your OWN RISK   #   # For details of this file format, see nf(5)   #   # For latest information on isapnp and pnpdump see:   #   #   # Compiler flags: -DREALTIME -DNEEDSETSCHEDULER   #   # Trying port address 0203   # Board 1 has serial identifier c5 c0 7f 53 05 01 22 05 07   # Board 2 has serial identifier 5a 80 86 00 01 20 00 a8 65   # Board 3 has serial identifier e8 46 46 46 46 90 30 72 56   # (DEBUG)   (READPORT 0x0203)   (ISOLATE PRESERVE)   (IDENTIFY *)   (VERBOSITY 2)   (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING   # Card 1: (serial identifier c5 c0 7f 53 05 01 22 05 07)   # Vendor Id AXE2201, Serial Number , checksum 0xC5.   # Version 1.0, Vendor version 0.0   # ANSI string --Ethernet PnP ISA Card /S --   #   # Logical device id AXE2201   # Device support I/O range check register   #   # Edit the entries below to uncomment out the configuration required.   # Note that only the first value of any range is given, this may be   # changed if required   # Don't forget to uncomment the activate (ACT Y) when happy     (CONFIGURE AXE2201/ (LD 0   # Compatible device id PNP80d6   # Logical device decodes 10 bit IO address lines   # Minimum IO base address 0x0240   # Maximum IO base address 0x0380   # IO base alignment 32 bytes   # Number of IO addresses required: 32   # (IO 0 (SIZE 32) (BASE 0x0240))   # IRQ 3, 5, 9, 10, 11, 12 or 15.   # High true, edge sensitive interrupt   # (INT 0 (IRQ 3 (MODE +E)))   # (ACT Y)   ))   # End tag... Checksum 0x00 (OK)   # 略去声卡部分   #略去modem卡部分     # Returns all cards to the "Wait for Key" state     (WAITFORKEY)

  我的系统中共有三个即插即用设备,分别是NE2000兼容卡,Yamaha OPL~SA2声卡和一个USR 56K modem。由于文件太长,我略去了声卡和modem部分。

消化不良早上吃什么饭
四磨汤治疗术后排气
四磨汤治疗胃肠型感冒
标签