README.icn
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:5k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. $Id: README.icn,v 1.1.4.1 2001/11/20 14:19:33 kai Exp $
  2. You can get the ICN-ISDN-card from:
  3. Thinking Objects Software GmbH
  4. Versbacher R鰐he 159
  5. 97078 W黵zburg
  6. Tel: +49 931 2877950
  7. Fax: +49 931 2877951
  8. email info@think.de
  9. WWW   http:/www.think.de
  10. The card communicates with the PC by two interfaces:
  11.   1. A range of 4 successive port-addresses, whose base address can be 
  12.      configured with the switches.
  13.   2. A memory window with 16KB-256KB size, which can be setup in 16k steps
  14.      over the whole range of 16MB. Isdn4linux only uses a 16k window.
  15.      The base address of the window can be configured when loading
  16.      the lowlevel-module (see README). If using more than one card,
  17.      all cards are mapped to the same window and activated as needed.
  18. Setting up the IO-address dipswitches for the ICN-ISDN-card:
  19.   Two types of cards exist, one with dip-switches and one with
  20.   hook-switches.
  21.   1. Setting for the card with hook-switches:
  22.      (0 = switch closed, 1 = switch open)
  23.      S3 S2 S1  Base-address
  24.       0  0  0  0x300
  25.       0  0  1  0x310
  26.       0  1  0  0x320 (Default for isdn4linux)
  27.       0  1  1  0x330
  28.       1  0  0  0x340
  29.       1  0  1  0x350
  30.       1  1  0  0x360
  31.       1  1  1  NOT ALLOWED!
  32.     
  33.   2. Setting for the card with dip-switches:
  34.      (0 = switch closed, 1 = switch open)
  35.      S1 S2 S3 S4  Base-Address
  36.       0  0  0  0  0x300
  37.       0  0  0  1  0x310
  38.       0  0  1  0  0x320 (Default for isdn4linux)
  39.       0  0  1  1  0x330
  40.       0  1  0  0  0x340
  41.       0  1  0  1  0x350
  42.       0  1  1  0  0x360
  43.       0  1  1  1  NOT ALLOWED!
  44.       1  0  0  0  0x308
  45.       1  0  0  1  0x318
  46.       1  0  1  0  0x328
  47.       1  0  1  1  0x338
  48.       1  1  0  0  0x348
  49.       1  1  0  1  0x358
  50.       1  1  1  0  0x368
  51.       1  1  1  1  NOT ALLOWED!
  52. The ICN driver may be built into the kernel or as a module. Initialization
  53. depends on how the driver is built:
  54. Driver built into the kernel:
  55.   The ICN driver can be configured using the commandline-feature while
  56.   loading the kernel with LILO or LOADLIN. It accepts the following syntax:
  57.   icn=p,m[,idstring1[,idstring2]]
  58.   where
  59.     p = portbase      (default: 0x320)
  60.     m = shared memory (default: 0xd0000)
  61.   When using the ICN double card (4B), you MUST define TWO idstrings.
  62.   idstring must start with a character! There is no way for the driver
  63.   to distinguish between a 2B and 4B type card. Therefore, by supplying
  64.   TWO idstrings, you tell the driver that you have a 4B installed.
  65.   
  66.   If you like to use more than one card, you can use the program
  67.   "icnctrl" from the utility-package to configure additional cards.
  68.   You need to configure shared memory only once, since the icn-driver
  69.   maps all cards into the same address-space.
  70.   Using the "icnctrl"-utility, portbase and shared memory can also be
  71.   changed during runtime.
  72.   The D-channel protocol is configured by loading different firmware
  73.   into the card's memory using the "icnctrl"-utility.
  74. Driver built as module:
  75.   The module icn.o can be configured during "insmod'ing" it by
  76.   appending its parameters to the insmod-commandline. The following
  77.   syntax is accepted:
  78.     portbase=p membase=m icn_id=idstring [icn_id2=idstring2]
  79.   where p, m, idstring1 and idstring2 have the same meanings as the
  80.   parameters described for the kernel-version above.
  81.       
  82.   When using the ICN double card (4B), you MUST define TWO idstrings.
  83.   idstring must start with a character! There is no way for the driver
  84.   to distinguish between a 2B and 4B type card. Therefore, by supplying
  85.   TWO idstrings, you tell the driver that you have a 4B installed.
  86.   
  87.   Using the "icnctrl"-utility, the same features apply to the modularized
  88.   version like to the kernel-builtin one.
  89.   The D-channel protocol is configured by loading different firmware
  90.   into the card's memory using the "icnctrl"-utility.
  91. Loading the firmware into the card:
  92.   The firmware is supplied together with the isdn4k-utils package. It
  93.   can be found in the subdirectory icnctrl/firmware/
  94.   There are 3 files:
  95.     loadpg.bin   - Image of the bootstrap loader.
  96.     pc_1t_ca.bin - Image of firmware for german 1TR6 protocol.
  97.     pc_eu_ca.bin - Image if firmware for EDSS1 (Euro-ISDN) protocol.
  98.   Assuming you have installed the utility-package correctly, the firmware
  99.   will be downloaded into the 2B-card using the following command:
  100.     icnctrl -d Idstring load /etc/isdn/loadpg.bin /etc/isdn/pc_XX_ca.bin
  101.   where XX is either "1t" or "eu", depending on the D-Channel protocol
  102.   used on your S0-bus and Idstring is the Name of the card, given during
  103.   insmod-time or (for kernel-builtin driver) on the kernel commandline.
  104.   To load a 4B-card, the same command is used, except a second firmware
  105.   file is appended to the commandline of icnctrl.
  106.   -> After downloading firmware, the two LEDs at the back cover of the card
  107.      (ICN-4B: 4 LEDs) must be blinking intermittently now. If a connection
  108.      is up, the corresponding led is lit continuously.
  109.   For further documentation (adding more ICN-cards), refer to the manpage
  110.   icnctrl.8 which is included in the isdn4k-utils package.