⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.hisax

📁 《嵌入式系统设计与实例开发实验教材二源码》Linux内核移植与编译实验
💻 HISAX
📖 第 1 页 / 共 2 页
字号:
HiSax is a Linux hardware-level driver for passive ISDN cards with Siemenschipset (ISAC_S 2085/2086/2186, HSCX SAB 82525). It is based on the Telesdriver from Jan den Ouden.It is meant to be used with isdn4linux, an ISDN link-level module for Linuxwritten by Fritz Elfert.    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.Supported cards---------------Teles 8.0/16.0/16.3 and compatible onesTeles 16.3cTeles S0/PCMCIATeles PCITeles S0BoxCreatix S0BoxCreatix PnP S0Compaq ISDN S0 ISA cardAVM A1 (Fritz, Teledat 150)AVM Fritz PCMCIAAVM Fritz PnPAVM Fritz PCIELSA Microlink PCC-16, PCF, PCF-Pro, PCC-8ELSA Quickstep 1000ELSA Quickstep 1000PCIELSA Quickstep 3000 (same settings as QS1000)ELSA Quickstep 3000PCIELSA PCMCIAITK ix1-micro Rev.2Eicon.Diehl Diva 2.0 ISA and PCI (S0 and U interface, no PRO version)Eicon.Diehl Diva 2.01 ISA and PCIEicon.Diehl Diva PiccolaASUSCOM NETWORK INC. ISDNLink 128K PC adapter (order code I-IN100-ST-D)Dynalink IS64PH (OEM version of ASUSCOM NETWORK INC. ISDNLink 128K adapter)PCBIT-DP (OEM version of ASUSCOM NETWORK INC. ISDNLink)HFC-2BS0 based cards (TeleInt SA1)Sedlbauer Speed Card (Speed Win, Teledat 100, PCI, Fax+)Sedlbauer Speed Star/Speed Star2 (PCMCIA)Sedlbauer ISDN-Controller PC/104USR Sportster internal TA (compatible Stollmann tina-pp V3)ith Kommunikationstechnik GmbH MIC 16 ISA cardTraverse Technologie NETjet PCI S0 card and NETspider U cardOvislink ISDN sc100-p card (NETjet driver)Dr. Neuhaus Niccy PnP/PCISiemens I-Surf 1.0Siemens I-Surf 2.0 (with IPAC, try type 12 asuscom) ACER P10HST SaphirBerkom Telekom A4TScitel QuadroGazel ISDN cardsHFC-PCI based cardsWinbond W6692 based cardsHFC-S+, HFC-SP/PCMCIA cardsNote: PCF, PCF-Pro: up to now, only the ISDN part is supported      PCC-8: not tested yet      Eicon.Diehl Diva U interface not testedIf you know other passive cards with the Siemens chipset, please let me know.To use the PNP cards you need the isapnptools.You can combine any card, if there is no conflict between the resources(io, mem, irq).Configuring the driver----------------------The HiSax driver can either be built directly into the kernel or as a module.It can be configured using the command line feature while loading the kernelwith LILO or LOADLIN or, if built as a module, using insmod/modprobe withparameters.There is also some config needed before you compile the kernel and/ormodules. It is included in the normal "make [menu]config" target at thekernel. Don't forget it, especially to select the right D-channel protocol.Please note: All PnP cards need to be configured with isapnp and will workonly with the HiSax driver used as a module.a) when built as a module-------------------------insmod/modprobe  hisax.o \  io=iobase irq=IRQ mem=membase type=card_type \  protocol=D_channel_protocol id=idstringor, if several cards are installed:insmod/modprobe hisax.o \  io=iobase1,iobase2,... irq=IRQ1,IRQ2,... mem=membase1,membase2,... \  type=card_type1,card_type2,... \  protocol=D_channel_protocol1,D_channel_protocol2,... \  id=idstring1%idstring2 ...where "iobaseN" represents the I/O base address of the Nth card, "membaseN"the memory base address of the Nth card, etc.The reason for the delimiter "%" being used in the idstrings is that ","won't work with the current modules package.The parameters may be specified in any order. For example, the "io"parameter may precede the "irq" parameter, or vice versa. If severalcards are installed, the ordering within the comma separated parameterlists must of course be consistent.Only parameters applicable to the card type need to be specified. Forexample, the Teles 16.3 card is not memory-mapped, so the "mem"parameter may be omitted for this card. Sometimes it may be necessaryto specify a dummy parameter, however. This is the case when there isa card of a different type later in the list that needs a parameterwhich the preceding card does not. For instance, if a Teles 16.0 cardis listed after a Teles 16.3 card, a dummy memory base parameter of 0must be specified for the 16.3. Instead of a dummy value, the parametercan also be skipped by simply omitting the value. For example:mem=,0xd0000. See example 6 below.The parameter for the D-Channel protocol may be omitted if you selected thecorrect one during kernel config. Valid values are "1" for German 1TR6,"2" for EDSS1 (Euro ISDN), "3" for leased lines (no D-Channel) and "4"for US NI1.With US NI1 you have to include your SPID into the MSN setting in the form<MSN>:<SPID> for example (your phonenumber is 1234 your SPID 5678):AT&E1234:5678                       on ttyI interfacesisdnctrl eaz ippp0 1234:5678        on network devicesThe Creatix/Teles PnP cards use io1= and io2= instead of io= for specifyingthe I/O addresses of the ISAC and HSCX chips, respectively.Card types:    Type                Required parameters (in addition to type and protocol)    1   Teles 16.0               irq, mem, io    2   Teles  8.0               irq, mem    3   Teles 16.3 (non PnP)     irq, io    4   Creatix/Teles PnP        irq, io0 (ISAC), io1 (HSCX)    5   AVM A1 (Fritz)           irq, io    6   ELSA PCC/PCF cards       io or nothing for autodetect (the iobase is                                 required only if you have more than one ELSA                                 card in your PC)    7   ELSA Quickstep 1000      irq, io  (from isapnp setup)    8   Teles 16.3 PCMCIA     	 irq, io    9   ITK ix1-micro Rev.2      irq, io   10   ELSA PCMCIA		 irq, io  (set with card manager)   11   Eicon.Diehl Diva ISA PnP irq, io   11   Eicon.Diehl Diva PCI     no parameter   12   ASUS COM ISDNLink        irq, io  (from isapnp setup)   13   HFC-2BS0 based cards     irq, io   14   Teles 16.3c PnP          irq, io   15   Sedlbauer Speed Card     irq, io   15   Sedlbauer PC/104         irq, io   15   Sedlbauer Speed PCI	 no parameter   16   USR Sportster internal   irq, io   17   MIC card                 irq, io   18   ELSA Quickstep 1000PCI   no parameter   19   Compaq ISDN S0 ISA card  irq, io0, io1, io (from isapnp setup io=IO2)   20   NETjet PCI card          no parameter   21   Teles PCI                no parameter   22   Sedlbauer Speed Star (PCMCIA) irq, io (set with card manager)   24   Dr. Neuhaus Niccy PnP    irq, io0, io1 (from isapnp setup)   24   Dr. Neuhaus Niccy PCI    no parameter   25   Teles S0Box              irq, io (of the used lpt port)   26   AVM A1 PCMCIA (Fritz!)   irq, io (set with card manager)   27   AVM PnP (Fritz!PnP)      irq, io  (from isapnp setup)   27   AVM PCI (Fritz!PCI)      no parameter   28   Sedlbauer Speed Fax+     irq, io (from isapnp setup)   29	Siemens I-Surf 1.0       irq, io, memory (from isapnp setup)      30	ACER P10                 irq, io (from isapnp setup)      31	HST Saphir               irq, io   32	Telekom A4T              none   33	Scitel Quadro		 subcontroller (4*S0, subctrl 1...4)   34	Gazel ISDN cards (ISA)   irq,io   34	Gazel ISDN cards (PCI)   none   35	HFC 2BDS0 PCI            none   36	W6692 based PCI cards    none   37	HFC 2BDS0 S+, SP         irq,io    38	NETspider U PCI card     none   39	HFC 2BDS0 SP/PCMCIA      irq,io (set with cardmgr)At the moment IRQ sharing is only possible with PCI cards. Please make surethat your IRQ is free and enabled for ISA use.Examples for module loading1. Teles 16.3, Euro ISDN, I/O base 280 hex, IRQ 10   modprobe hisax type=3 protocol=2 io=0x280 irq=102. Teles 16.0, 1TR6 ISDN, I/O base d80 hex, IRQ 5, Memory d0000 hex   modprobe hisax protocol=1 type=1 io=0xd80 mem=0xd0000 irq=53. Fritzcard, Euro ISDN, I/O base 340 hex, IRQ 10 and ELSA PCF, Euro ISDN   modprobe hisax type=5,6 protocol=2,2 io=0x340 irq=10 id=Fritz%Elsa4. Any ELSA PCC/PCF card, Euro ISDN   modprobe hisax type=6 protocol=25. Teles 16.3 PnP, Euro ISDN, with isapnp configured   isapnp config:  (INT 0 (IRQ 10 (MODE +E))) 		   (IO 0 (BASE 0x0580))                   (IO 1 (BASE 0x0180))   modprobe hisax type=4 protocol=2 irq=10 io0=0x580 io1=0x1806. Teles 16.3, Euro ISDN, I/O base 280 hex, IRQ 12 and   Teles 16.0, 1TR6, IRQ 5, Memory d0000 hex   modprobe hisax type=3,1 protocol=2,1 io=0x280 mem=0,0xd0000   Please note the dummy 0 memory address for the Teles 16.3, used as a   placeholder as described above, in the last example.7. Teles PCMCIA, Euro ISDN, I/O base 180 hex, IRQ 15 (default values)   modprobe hisax type=8 protocol=2 io=0x180 irq=15b) using LILO/LOADLIN, with the driver compiled directly into the kernel------------------------------------------------------------------------hisax=typ1,dp1,pa_1,pb_1,pc_1[,typ2,dp2,pa_2 ... \      typn,dpn,pa_n,pb_n,pc_n][,idstring1[,idstring2,...,idstringn]]where     typ1 = type of 1st card (default depends on kernel settings)     dp1  = D-Channel protocol of 1st card. 1=1TR6, 2=EDSS1, 3=leased     pa_1 = 1st parameter (depending on the type of the card)     pb_1 = 2nd parameter (    "     "   "   "   "   "   "  )     pc_1 = 3rd parameter (    "     "   "   "   "   "   "  )     typ2,dp2,pa_2,pb_2,pc_2 = Parameters of the second card (defaults: none)     typn,dpn,pa_n,pb_n,pc_n = Parameters of the n'th card (up to 16 cards are                                                                     supported)     idstring = Driver ID for accessing the particular card with utility                programs and for identification when using a line monitor                (default: "HiSax")                Note: the ID string must start with an alphabetical character!Card types:type    1 	Teles 16.0     	        pa=irq  pb=membase  pc=iobase    2 	Teles  8.0              pa=irq  pb=membase    3 	Teles 16.3              pa=irq  pb=iobase    4 	Creatix/Teles PNP     	ONLY WORKS AS A MODULE !    5 	AVM A1 (Fritz)          pa=irq  pb=iobase    6 	ELSA PCC/PCF cards      pa=iobase or nothing for autodetect    7   ELSA Quickstep 1000     ONLY WORKS AS A MODULE !    8   Teles S0 PCMCIA         pa=irq  pb=iobase    9   ITK ix1-micro Rev.2     pa=irq  pb=iobase   10   ELSA PCMCIA             pa=irq, pb=io  (set with card manager)   11   Eicon.Diehl Diva ISAPnP ONLY WORKS AS A MODULE !   11   Eicon.Diehl Diva PCI    no parameter   12   ASUS COM ISDNLink       ONLY WORKS AS A MODULE !   13	HFC-2BS0 based cards    pa=irq  pb=io   14   Teles 16.3c PnP         ONLY WORKS AS A MODULE !   15	Sedlbauer Speed Card    pa=irq  pb=io (Speed Win only as module !)   15   Sedlbauer PC/104        pa=irq  pb=io   15   Sedlbauer Speed PCI	no parameter   16   USR Sportster internal  pa=irq  pb=io   17   MIC card                pa=irq  pb=io   18   ELSA Quickstep 1000PCI  no parameter   19   Compaq ISDN S0 ISA card ONLY WORKS AS A MODULE !   20   NETjet PCI card         no parameter   21   Teles PCI               no parameter   22   Sedlbauer Speed Star (PCMCIA)  pa=irq, pb=io  (set with card manager)   24   Dr. Neuhaus Niccy PnP   ONLY WORKS AS A MODULE !   24   Dr. Neuhaus Niccy PCI   no parameter   25   Teles S0Box             pa=irq, pb=io (of the used lpt port)   26   AVM A1 PCMCIA (Fritz!)  pa=irq, pb=io (set with card manager)   27   AVM PnP (Fritz!PnP)     ONLY WORKS AS A MODULE !   27   AVM PCI (Fritz!PCI)     no parameter   28   Sedlbauer Speed Fax+    ONLY WORKS AS A MODULE !   29	Siemens I-Surf 1.0      ONLY WORKS AS A MODULE !   30	ACER P10                ONLY WORKS AS A MODULE !   31	HST Saphir              pa=irq, pb=io   32	Telekom A4T             no parameter   33	Scitel Quadro		subcontroller (4*S0, subctrl 1...4)   34	Gazel ISDN cards (ISA)  pa=irq, pb=io   34	Gazel ISDN cards (PCI)  no parameter   35	HFC 2BDS0 PCI           no parameter   36	W6692 based PCI cards   none   37	HFC 2BDS0 S+,SP/PCMCIA  ONLY WORKS AS A MODULE !   38	NETspider U PCI card    noneRunning the driver------------------When you insmod isdn.o and hisax.o (or with the in-kernel version, duringboot time), a few lines should appear in your syslog. Look for something like:Apr 13 21:01:59 kke01 kernel: HiSax: Driver for Siemens chip set ISDN cardsApr 13 21:01:59 kke01 kernel: HiSax: Version 2.9Apr 13 21:01:59 kke01 kernel: HiSax: Revisions 1.14/1.9/1.10/1.25/1.8Apr 13 21:01:59 kke01 kernel: HiSax: Total 1 card definedApr 13 21:01:59 kke01 kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax1 (0)Apr 13 21:01:59 kke01 kernel: HiSax: Elsa driver Rev. 1.13...Apr 13 21:01:59 kke01 kernel: Elsa: PCF-Pro found at 0x360 Rev.:C IRQ 10Apr 13 21:01:59 kke01 kernel: Elsa: timer OK; resetting cardApr 13 21:01:59 kke01 kernel: Elsa: HSCX version A: V2.1  B: V2.1Apr 13 21:01:59 kke01 kernel: Elsa: ISAC 2086/2186 V1.1...Apr 13 21:01:59 kke01 kernel: HiSax: DSS1 Rev. 1.14Apr 13 21:01:59 kke01 kernel: HiSax: 2 channels added

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -