• Home
Name Date Size #Lines LOC

..--

README.act2000D08-May-20243.5 KiB10571

README.icnD08-May-20245 KiB149106

README.pcbitD08-May-20241.6 KiB4130

README.scD08-May-202411.9 KiB282218

README.act2000

1$Id: README.act2000,v 1.3 2000/08/06 09:22:51 armin Exp $
2
3This document describes the ACT2000 driver for the
4IBM Active 2000 ISDN card.
5
6There are 3 Types of this card available. A ISA-, MCA-, and PCMCIA-Bus
7Version. Currently, only the ISA-Bus version of the card is supported.
8However MCA and PCMCIA will follow soon.
9
10The ISA-Bus Version uses 8 IO-ports. The base port address has to be set
11manually using the DIP switches.
12
13Setting up the DIP switches for the IBM Active 2000 ISDN card:
14
15	 Note: S5 and S6 always set off!
16
17     S1  S2  S3  S4  Base-port
18     on  on  on  on  0x0200 (Factory default)
19     off on  on  on  0x0240
20     on  off on  on  0x0280
21     off off on  on  0x02c0
22     on  on  off on  0x0300
23     off on  off on  0x0340
24     on  off off on  0x0380
25     on  on  on  off 0xcfe0
26     off on  on  off 0xcfa0
27     on  off on  off 0xcf60
28     off off on  off 0xcf20
29     on  on  off off 0xcee0
30     off on  off off 0xcea0
31     on  off off off 0xce60
32     off off off off Card disabled
33
34IRQ is configured by software. Possible values are:
35
36  3, 5, 7, 10, 11, 12, 15 and none (polled mode)
37
38
39The ACT2000 driver may either be built into the kernel or as a module.
40Initialization depends on how the driver is built:
41
42Driver built into the kernel:
43
44  The ACT2000 driver can be configured using the commandline-feature while
45  loading the kernel with LILO or LOADLIN. It accepts the following syntax:
46
47  act2000=b,p,i[,idstring]
48
49  where
50
51    b = Bus-Type      (1=ISA, 2=MCA, 3=PCMCIA)
52    p = portbase      (-1 means autoprobe)
53    i = Interrupt     (-1 means use next free IRQ, 0 means polled mode)
54
55  The idstring is an arbitrary string used for referencing the card
56  by the actctrl tool later.
57
58  Defaults used, when no parameters given at all:
59
60    1,-1,-1,""
61
62  which means: Autoprobe for an ISA card, use next free IRQ, let the
63  ISDN linklevel fill the IdString (usually "line0" for the first card).
64
65  If you like to use more than one card, you can use the program
66  "actctrl" from the utility-package to configure additional cards.
67
68  Using the "actctrl"-utility, portbase and irq can also be changed
69  during runtime. The D-channel protocol is configured by the "dproto"
70  option of the "actctrl"-utility after loading the firmware into the
71  card's memory using the "actctrl"-utility.
72
73Driver built as module:
74
75  The module act2000.o can be configured during modprobe (insmod) by
76  appending its parameters to the modprobe resp. insmod commandline.
77  The following syntax is accepted:
78
79    act_bus=b act_port=p act_irq=i act_id=idstring
80
81  where b, p, i and idstring have the same meanings as the parameters
82  described for the builtin version above.
83
84  Using the "actctrl"-utility, the same features apply to the modularized
85  version as to the kernel-builtin one. (i.e. loading of firmware and
86  configuring the D-channel protocol)
87
88Loading the firmware into the card:
89
90  The firmware is supplied together with the isdn4k-utils package. It
91  can be found in the subdirectory act2000/firmware/
92
93  Assuming you have installed the utility-package correctly, the firmware
94  will be downloaded into the card using the following command:
95
96    actctrl -d idstring load /etc/isdn/bip11.btl
97
98  where idstring is the Name of the card, given during insmod-time or
99  (for kernel-builtin driver) on the kernel commandline. If only one
100  ISDN card is used, the -d isdstrin may be omitted.
101
102  For further documentation (adding more IBM Active 2000 cards), refer to
103  the manpage actctrl.8 which is included in the isdn4k-utils package.
104
105

README.icn

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

README.pcbit

1------------------------------------------------------------------------------
2 README file for the PCBIT-D Device Driver.
3------------------------------------------------------------------------------
4
5The PCBIT is a Euro ISDN adapter manufactured in Portugal by Octal and
6developed in cooperation with Portugal Telecom and Inesc.
7The driver interfaces with the standard kernel isdn facilities
8originally developed by Fritz Elfert in the isdn4linux project.
9
10The common versions of the pcbit board require a firmware that is
11distributed (and copyrighted) by the manufacturer. To load this
12firmware you need "pcbitctl" available on the standard isdn4k-utils
13package or in the pcbit package available in:
14
15ftp://ftp.di.fc.ul.pt/pub/systems/Linux/isdn
16
17Known Limitations:
18
19- The board reset procedure is at the moment incorrect and will only
20allow you to load the firmware after a hard reset.
21
22- Only HDLC in B-channels is supported at the moment. There is no
23current support for X.25 in B or D channels nor LAPD in B
24channels. The main reason is that these two other protocol modes have,
25to my knowledge, very little use. If you want to see them implemented
26*do* send me a mail.
27
28- The driver often triggers errors in the board that I and the
29manufacturer believe to be caused by bugs in the firmware. The current
30version includes several procedures for error recovery that should
31allow normal operation. Plans for the future include cooperation with
32the manufacturer in order to solve this problem.
33
34Information/hints/help can be obtained in the linux isdn
35mailing list (isdn4linux@listserv.isdn4linux.de) or directly from me.
36
37regards,
38  Pedro.
39
40<roque@di.fc.ul.pt>
41

README.sc

1Welcome to Beta Release 2 of the combination ISDN driver for SpellCaster's
2ISA ISDN adapters. Please note this release 2 includes support for the
3DataCommute/BRI and TeleCommute/BRI adapters only and any other use is
4guaranteed to fail. If you have a DataCommute/PRI installed in the test
5computer, we recommend removing it as it will be detected but will not
6be usable.  To see what we have done to Beta Release 2, see section 3.
7
8Speaking of guarantees, THIS IS BETA SOFTWARE and as such contains
9bugs and defects either known or unknown. Use this software at your own
10risk. There is NO SUPPORT for this software. Some help may be available
11through the web site or the mailing list but such support is totally at
12our own option and without warranty. If you choose to assume all and
13total risk by using this driver, we encourage you to join the beta
14mailing list.
15
16To join the Linux beta mailing list, send a message to:
17majordomo@spellcast.com with the words "subscribe linux-beta" as the only
18contents of the message. Do not include a signature. If you choose to
19remove yourself from this list at a later date, send another message to
20the same address with the words "unsubscribe linux-beta" as its only
21contents.
22
23TABLE OF CONTENTS
24-----------------
25	1. Introduction
26	 1.1 What is ISDN4Linux?
27	 1.2 What is different between this driver and previous drivers?
28	 1.3 How do I setup my system with the correct software to use
29	     this driver release?
30
31	2. Basic Operations
32	 2.1 Unpacking and installing the driver
33	 2.2 Read the man pages!!!
34	 2.3 Installing the driver
35	 2.4 Removing the driver
36	 2.5 What to do if it doesn't load
37	 2.6 How to setup ISDN4Linux with the driver
38
39	3. Beta Change Summaries and Miscellaneous Notes
40
411. Introduction
42---------------
43
44The revision 2 Linux driver for SpellCaster ISA ISDN adapters is built
45upon ISDN4Linux available separately or as included in Linux 2.0 and later.
46The driver will support a maximum of 4 adapters in any one system of any
47type including DataCommute/BRI, DataCommute/PRI and TeleCommute/BRI for a
48maximum of 92 channels for host. The driver is supplied as a module in
49source form and needs to be complied before it can be used. It has been
50tested on Linux 2.0.20.
51
521.1 What Is ISDN4Linux
53
54ISDN4Linux is a driver and set of tools used to access and use ISDN devices
55on a Linux platform in a common and standard way. It supports HDLC and PPP
56protocols and offers channel bundling and MLPPP support. To use ISDN4Linux
57you need to configure your kernel for ISDN support and get the ISDN4Linux
58tool kit from our web site.
59
60ISDN4Linux creates a channel pool from all of the available ISDN channels
61and therefore can function across adapters. When an ISDN4Linux compliant
62driver (such as ours) is loaded, all of the channels go into a pool and
63are used on a first-come first-served basis. In addition, individual
64channels can be specifically bound to particular interfaces.
65
661.2 What is different between this driver and previous drivers?
67
68The revision 2 driver besides adopting the ISDN4Linux architecture has many
69subtle and not so subtle functional differences from previous releases. These
70include:
71	- More efficient shared memory management combined with a simpler
72	  configuration. All adapters now use only 16Kbytes of shared RAM
73	  versus between 16K and 64K. New methods for using the shared RAM
74	  allow us to utilize all of the available RAM on the adapter through
75	  only one 16K page.
76	- Better detection of available upper memory. The probing routines
77	  have been improved to better detect available shared RAM pages and
78	  used pages are now locked.
79	- Decreased loading time and a wider range of I/O ports probed.
80	  We have significantly reduced the amount of time it takes to load
81	  the driver and at the same time doubled the number of I/O ports
82	  probed increasing the likelihood of finding an adapter.
83	- We now support all ISA adapter models with a single driver instead
84	  of separate drivers for each model. The revision 2 driver supports
85	  the DataCommute/BRI, DataCommute/PRI and TeleCommute/BRI in any
86	  combination up to a maximum of four adapters per system.
87	- On board PPP protocol support has been removed in favour of the
88	  sync-PPP support used in ISDN4Linux. This means more control of
89	  the protocol parameters, faster negotiation time and a more
90	  familiar interface.
91
921.3 How do I setup my system with the correct software to use
93    this driver release?
94
95Before you can compile, install and use the SpellCaster ISA ISDN driver, you
96must ensure that the following software is installed, configured and running:
97
98	- Linux kernel 2.0.20 or later with the required init and ps
99	  versions. Please see your distribution vendor for the correct
100	  utility packages. The latest kernel is available from
101	  ftp://sunsite.unc.edu/pub/Linux/kernel/v2.0/
102
103	- The latest modules package (modules-2.0.0.tar.gz) from
104	  ftp://sunsite.unc.edu/pub/Linux/kernel/modules-2.0.0.tar.gz
105
106	- The ISDN4Linux tools available from
107	  ftp://ftp.franken.de/pub/isdn4linux/v2.0/isdn4k-utils-2.0.tar.gz
108	  This package may fail to compile for you so you can alternatively
109	  get a pre-compiled version from
110	  ftp://ftp.spellcast.com/pub/drivers/isdn4linux/isdn4k-bin-2.0.tar.gz
111
112
1132. Basic Operations
114-------------------
115
1162.1 Unpacking and installing the driver
117
118	1. As root, create a directory in a convenient place. We suggest
119	   /usr/src/spellcaster.
120
121	2. Unpack the archive with :
122		tar xzf sc-n.nn.tar.gz -C /usr/src/spellcaster
123
124	3. Change directory to /usr/src/spellcaster
125
126	4. Read the README and RELNOTES files.
127
128	5. Run 'make' and if all goes well, run 'make install'.
129
1302.2 Read the man pages!!!
131
132Make sure you read the scctrl(8) and sc(4) manual pages before continuing
133any further. Type 'man 8 scctrl' and 'man 4 sc'.
134
1352.3 Installing the driver
136
137To install the driver, type '/sbin/insmod sc' as root. sc(4) details options
138you can specify but you shouldn't need to use any unless this doesn't work.
139
140Make sure the driver loaded and detected all of the adapters by typing
141'dmesg'.
142
143The driver can be configured so that it is loaded upon startup.  To do this,
144edit the file "/etc/modules/'uname -f'/'uname -v'" and insert the driver name
145"sc" into this file.
146
1472.4 Removing the driver
148
149To remove the driver, delete any interfaces that may exist (see isdnctrl(8)
150for more on this) and then type '/sbin/rmmod sc'.
151
1522.5 What to do if it doesn't load
153
154If, when you try to install the driver, you get a message mentioning
155'register_isdn' then you do not have the ISDN4Linux system installed. Please
156make sure that ISDN support is configured in the kernel.
157
158If you get a message that says 'initialization of sc failed', then the
159driver failed to detect an adapter or failed to find resources needed such
160as a free IRQ line or shared memory segment. If you are sure there are free
161resources available, use the insmod options detailed in sc(4) to override
162the probing function.
163
164Upon testing, the following problem was noted, the driver would load without
165problems, but the board would not respond beyond that point.  When a check was
166done with 'cat /proc/interrupts' the interrupt count for sc was 0.  In the event
167of this problem, change the BIOS settings so that the interrupts in question are
168reserved for ISA use only.
169
170
1712.6 How to setup ISDN4Linux with the driver
172
173There are three main configurations which you can use with the driver:
174
175A)	Basic HDLC connection
176B)	PPP connection
177C)	MLPPP connection
178
179It should be mentioned here that you may also use a tty connection if you
180desire. The Documentation directory of the isdn4linux subsystem offers good
181documentation on this feature.
182
183A) 10 steps to the establishment of a basic HDLC connection
184-----------------------------------------------------------
185
186- please open the isdn-hdlc file in the examples directory and follow along...
187
188	This file is a script used to configure a BRI ISDN TA to establish a
189	basic HDLC connection between its two channels.  Two network
190	interfaces are created and two routes added between the channels.
191
192	i)   using the isdnctrl utility, add an interface with "addif" and
193	     name it "isdn0"
194	ii)  add the outgoing and inbound telephone numbers
195	iii) set the Layer 2 protocol to hdlc
196	iv)  set the eaz of the interface to be the phone number of that
197	     specific channel
198	v)   to turn the callback features off, set the callback to "off" and
199	     the callback delay (cbdelay) to 0.
200	vi)  the hangup timeout can be set to a specified number of seconds
201	vii) the hangup upon incoming call can be set on or off
202	viii) use the ifconfig command to bring up the network interface with
203	      a specific IP address and point to point address
204	ix)  add a route to the IP address through the isdn0 interface
205	x)   a ping should result in the establishment of the connection
206
207
208B) Establishment of a PPP connection
209------------------------------------
210
211- please open the isdn-ppp file in the examples directory and follow along...
212
213	This file is a script used to configure a BRI ISDN TA to establish a
214	PPP connection 	between the two channels.  The file is almost
215	identical to the HDLC connection example except that the packet
216	encapsulation type has to be set.
217
218	use the same procedure as in the HDLC connection from steps i) to
219	iii) then, after the Layer 2 protocol is set, set the encapsulation
220	"encap" to syncppp. With this done, the rest of the steps, iv) to x)
221	can be followed from above.
222
223	Then, the ipppd (ippp daemon) must be setup:
224
225	xi)   use the ipppd function found in /sbin/ipppd to set the following:
226	xii)  take out (minus) VJ compression and bsd compression
227	xiii) set the mru size to 2000
228	xiv)  link the two /dev interfaces to the daemon
229
230NOTE:  A "*" in the inbound telephone number specifies that a call can be
231accepted on any number.
232
233C) Establishment of a MLPPP connection
234--------------------------------------
235
236- please open the isdn-mppp file in the examples directory and follow along...
237
238	This file is a script used to configure a BRI ISDN TA to accept a
239	Multi Link PPP connection.
240
241	i)   using the isdnctrl utility, add an interface with "addif" and
242	     name it "ippp0"
243	ii)  add the inbound telephone number
244	iii) set the Layer 2 protocol to hdlc and the Layer 3 protocol to
245	     trans (transparent)
246	iv)  set the packet encapsulation to syncppp
247	v)   set the eaz of the interface to be the phone number of that
248	     specific channel
249	vi)  to turn the callback features off, set the callback to "off" and
250	     the callback delay (cbdelay) to 0.
251	vi)  the hangup timeout can be set to a specified number of seconds
252	vii) the hangup upon incoming call can be set on or off
253	viii) add a slave interface and name it "ippp32" for example
254	ix)  set the similar parameters for the ippp32 interface
255	x)   use the ifconfig command to bring-up the ippp0 interface with a
256	     specific IP address and point to point address
257	xi)  add a route to the IP address through the ippp0 interface
258	xii) use the ipppd function found in /sbin/ipppd to set the following:
259	xiii) take out (minus) bsd compression
260	xiv) set the mru size to 2000
261	xv)  add (+) the multi-link function "+mp"
262	xvi)  link the two /dev interfaces to the daemon
263
264NOTE:  To use the MLPPP connection to dial OUT to a MLPPP connection, change
265the inbound telephone numbers to the outgoing telephone numbers of the MLPPP
266host.
267
268
2693. Beta Change Summaries and Miscellaneous Notes
270------------------------------------------------
271When using the "scctrl" utility to upload firmware revisions on the board,
272please note that the byte count displayed at the end of the operation may be
273different from the total number of bytes in the "dcbfwn.nn.sr" file. Please
274disregard the displayed byte count.
275
276It was noted that in Beta Release 1, the module would fail to load and result
277in a segmentation fault when 'insmod'ed. This problem was created when one of
278the isdn4linux parameters, (isdn_ctrl, data field) was filled in. In some
279cases, this data field was NULL, and was left unchecked, so when it was
280referenced... segv. The bug has been fixed around line 63-68 of event.c.
281
282