asuscom ISA: irq & io

Igor Kolar ike at law.com
Thu Jun 27 21:12:24 CEST 2002


ISDN. Tej 4 crke do mi kmalu zele voljo do zivljenja.

Asuscom ISDNLink 128k adapter ISA (I-IN100-ST-D)
Linux version 2.4.7-10custom (root at iris)

PCI izvedenka se je pokvarila in moral sem iti
nazaj na ISA, kar je nekoc :) ze delovalo.
Prebral sem pac proceduro; tokrat se je zataknilo
pri 
nalaganju hisax gonilnika.

Opravicujem se za malo daljsi mail .. dosti
podatkov pac
-------

Gremo po vrsti. Najprej pripravim kernel:

ISDN subsystem  ---> 
<M> ISDN support                                
           
    [*]   Support synchronous PPP               
              
    [*]     Use VJ-compression with synchronous
PPP            
    [*]     Support generic MP (RFC 1717)       
              
    <M>     Support BSD compression

ISDN feature submodules  --->
    <M> isdnloop support                        
        
    <M> Support isdn diversion services         
        

Passive ISDN cards  --->
    <M> HiSax SiemensChipSet driver support     
               
    ---   D-channel protocol features           
              
          [*]   HiSax Support for EURO/DSS1
    ---   HiSax supported cards
          [*]   ASUSCOM ISA cards


Lepo preveden; iz njega bootam bp. Gremo na isapnp:

# /sbin/pnpdump > /etc/isapnp.conf
# pico /etc/isapnp.conf

(CONFIGURE ASU1688/86 (LD 0
(IO 0 (SIZE 8) (BASE 0x0100) (CHECK))
#     IRQ 3, 4, 5, 9, 10, 11, 12 or 15.
#         High true, edge sensitive interrupt
(INT 0 (IRQ 3 (MODE +E)))
#     *** ERROR *** No IRQ specified!
 (NAME "ASU1688/86[0]{ISDN CARD ....      }")
(ACT Y)
))

(WAITFORKEY)

# /sbin/isapnp /etc/isapnp.conf
Board 1 has Identity 99 00 00 00 56 88 16 75 06:
 ASU1688 Serial No 86 
[checksum 99]
ASU1688/86[0]{ISDN CARD ....      }: Port 0x100;
IRQ3 --- Enabled OK


Zdaj bo zabavno. Nalozimo hisax modul:
/usr/src/linux/Documentation/isdn/README.HiSax pravi:

Card types:
Type                    Required parameters (+
type and protocol)
...
12   ASUS COM ISDNLink  irq, io  (from isapnp setup)


# modprobe hisax io=0x0100 irq=3 type=12 protocol=2

/lib/modules/2.4.7-10custom/kernel/drivers/isdn/hisax/hisax.o:

init_module: Input/output error
Hint: insmod errors can be caused by incorrect
module parameters, 
including invalid IO or IRQ parameters
/lib/modules/2.4.7-10custom/kernel/drivers/isdn/hisax/hisax.o:
insmod 
/lib/modules/2.4.7-10custom/kernel/drivers/isdn/hisax/hisax.o
failed
/lib/modules/2.4.7-10custom/kernel/drivers/isdn/hisax/hisax.o:
insmod 
hisax failed

Poglejmo se dragi /var/log/messages:

[...]
HiSax: Total 1 card defined
HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
HiSax: Asuscom ISDNLink driver Rev. 1.11.6.2
ISDNLink: defined at 0x100 IRQ 3
ISDNLink: ISAC version (0): 2086/2186 V1.1
ISDNLink: HSCX version A: V2.1  B: V2.1
ISDNLink: resetting card
ISDNLink: IRQ 3 count 0
ISDNLink: IRQ 3 count 0
ISDNLink: IRQ(3) getting no interrupts during init 1
ISDNLink: IRQ 3 count 0
ISDNLink: IRQ(3) getting no interrupts during init 2
ISDNLink: IRQ 3 count 0
ISDNLink: IRQ(3) getting no interrupts during init 3
HiSax: Card ISDNLink not installed !
ISDN-subsystem unloaded


-------
Kako staknem pravi io in irq? Kartica NI nasteta
ne v /proc/interrupts ne 
v /proc/ioports.

Hvala za pomoc.
-igor


Sent by Law  Mail



More information about the lugos-list mailing list