Hinweis: Das Forum wird geschlossen! Neue Registrierungen sind nicht mehr möglich!

 Zurück zu Pro-Linux   Foren-Übersicht   FAQ     Suchen    Mitgliederliste
kernel modul isapnp vs isapnptools

 
Neuen Beitrag schreiben   Auf Beitrag antworten    Pro-Linux Foren-Übersicht -> Hardware
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
killerhippy



Anmeldungsdatum: 19.05.2000
Beiträge: 529

BeitragVerfasst am: 05. Feb 2003 17:23   Titel: kernel modul isapnp vs isapnptools

Hi,

ich habe eine teles isdn npnp ISA-Karte (die klaut sich beim booten den ersten freien Interrupt, den sie kriegen kann, keine Jumper, keine Software konfig) und neuerdings eine Soundblaster AWE 64 Gold ISA-Karte.

Die Soundblaster Karte laeuft mit den Userspace isapnptools genauso gut, wie mit dem Kernel Modul isapnp.

Jedoch kann ich die dumme teles Karte nur in Betrieb nehmen, wenn ich die Userspace isapnptools fuer die Soundkarte verwende, denn wenn ich das Kernel Modul verwende, kriegt die teles Karte nie den Interrupt 5 geladen, selbst wenn ich die isapnp Konfig nach /proc/isapnp pumpe, damit sich die Soundkarte zb. IRQ 9 greift. Einen anderen IRQ kann ich der teles Karte nicht zuweisen, siehe oben.

Warum bleibt IRQ 5 der teles Karte verschlossen, wenn ich das Kernel isapnp Modul verwende und obwohl die Soundblasterkarte IRQ 9 oder 7 verwendet?

Hier Anschauungsmaterial:
code:

/proc/isapnp direkt nach dem Laden:
---schnipp---
Card 1 'CTL009e:Creative SB AWE64 Gold' PnP version 1.0 Product version 2.0
Logical device 0 'CTL0044:Audio'
Device is not active
Resources 0
Priority preferred
Port 0x220-0x220, align 0x0, size 0x10, 16-bit address decoding
Port 0x330-0x330, align 0x0, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5 High-Edge
DMA 1 8-bit byte-count compatible
DMA 5 16-bit word-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:2
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:3
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:4
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:5
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:6
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:7
Priority functional
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
Port 0x388-0x394, align 0x3, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Logical device 1 'CTL7002:Game'
Compatible device PNPb02f
Device is not active
Resources 0
Priority preferred
Port 0x200-0x200, align 0x0, size 0x8, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
Logical device 2 'CTL0023:WaveTable'
Device is not active
Resources 0
Priority preferred
Port 0x620-0x620, align 0x0, size 0x4, 16-bit address decoding
Port 0xa20-0xa20, align 0x0, size 0x4, 16-bit address decoding
Port 0xe20-0xe20, align 0x0, size 0x4, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x620-0x680, align 0x1f, size 0x4, 16-bit address decoding
Port 0xa20-0xa80, align 0x1f, size 0x4, 16-bit address decoding
Port 0xe20-0xe80, align 0x1f, size 0x4, 16-bit address decoding
---schnapp---

isapnp.sh um IRQ 5 freizuhalten:
---schnipp---
if [ -e /proc/isapnp ]; then
cat > /proc/isapnp <<EOF
card 0 CTL009e
dev 0 CTL0044
port 0 0x220
port 1 0x330
port 2 0x388
irq 0 9
dma 0 1
dma 1 7
activate
EOF
fi
---schnapp---

/proc/isapnp nach isapnp.sh
---schnipp---
Card 1 'CTL009e:Creative SB AWE64 Gold' PnP version 1.0 Product version 2.0
Logical device 0 'CTL0044:Audio'
Device is active
Active port 0x220,0x330,0x388
Active IRQ 9 [0x2]
Active DMA 1,7
Resources 0
Priority preferred
Port 0x220-0x220, align 0x0, size 0x10, 16-bit address decoding
Port 0x330-0x330, align 0x0, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5 High-Edge
DMA 1 8-bit byte-count compatible
DMA 5 16-bit word-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:2
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:3
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:4
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:5
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:6
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:7
Priority functional
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
Port 0x388-0x394, align 0x3, size 0x4, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 5,6,7 16-bit word-count compatible
Logical device 1 'CTL7002:Game'
Compatible device PNPb02f
Device is not active
Resources 0
Priority preferred
Port 0x200-0x200, align 0x0, size 0x8, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
Logical device 2 'CTL0023:WaveTable'
Device is not active
Resources 0
Priority preferred
Port 0x620-0x620, align 0x0, size 0x4, 16-bit address decoding
Port 0xa20-0xa20, align 0x0, size 0x4, 16-bit address decoding
Port 0xe20-0xe20, align 0x0, size 0x4, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x620-0x680, align 0x1f, size 0x4, 16-bit address decoding
Port 0xa20-0xa80, align 0x1f, size 0x4, 16-bit address decoding
Port 0xe20-0xe80, align 0x1f, size 0x4, 16-bit address decoding
---schnapp---

/proc/interrupts vor den sound Modulen laden:
---schnipp---
0: 3973969 XT-PIC timer
1: 17855 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 48 XT-PIC rtc
10: 3046518 XT-PIC eth0
12: 5960 XT-PIC usb-ohci, eth1
14: 24445 XT-PIC ide0
15: 5188 XT-PIC ide1
---schnapp---

/proc/interrupts nach dem Laden der sound Module:
---schnipp---
0: 4063070 XT-PIC timer
1: 17931 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 48 XT-PIC rtc
9: 27 XT-PIC soundblaster
10: 3235695 XT-PIC eth0
12: 6006 XT-PIC usb-ohci, eth1
14: 24659 XT-PIC ide0
15: 5191 XT-PIC ide1
---schnapp---

dmesg ueber isapnp und sound Module:
---schnipp---
isapnp: Scanning for PnP cards...
isapnp: SB audio device quirk - increasing port range
isapnp: AWE32 quirk - adding two ports
isapnp: Card 'Creative SB AWE64 Gold'
isapnp: 1 Plug & Play card detected total
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative SB AWE64 Gold detected
sb: ISAPnP reports 'Creative SB AWE64 Gold' at i/o 0x220, irq 9, dma 1, 7
SB 4.16 detected OK (220)
sb: 1 Soundblaster PnP card(s) found.
ISAPnP reports AWE64 Gold WaveTable at i/o 0x620
<SoundBlaster EMU8000 (RAM4096k)>
---schnapp---

messages ueber die ISDN Module:
---schnipp---
Feb 5 16:34:51 killerghost kernel: CSLIP: code copyright 1989 Regents of the Un
iversity of California
Feb 5 16:34:51 killerghost kernel: ISDN subsystem Rev: 1.1.4.1/1.1.4.1/1.1.4.1/
1.1.4.1/1.1.4.1/1.1.4.1 loaded
Feb 5 16:34:52 killerghost kernel: HiSax: Linux Driver for passive ISDN cards
Feb 5 16:34:52 killerghost kernel: HiSax: Version 3.5 (module)
Feb 5 16:34:52 killerghost kernel: HiSax: Layer1 Revision 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: Layer2 Revision 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: TeiMgr Revision 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: Layer3 Revision 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: LinkLayer Revision 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: Approval certification failed because
of
Feb 5 16:34:52 killerghost kernel: HiSax: unauthorized source code changes
Feb 5 16:34:52 killerghost kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Feb 5 16:34:52 killerghost kernel: HiSax: Teles IO driver Rev. 1.1.4.1
Feb 5 16:34:52 killerghost kernel: HiSax: Teles 16.3 config irq:5 isac:0x980 c
fg:0xD80
Feb 5 16:34:52 killerghost kernel: HiSax: hscx A:0x180 hscx B:0x580
Feb 5 16:34:52 killerghost kernel: Teles3: ISAC version (ff): 2085 V2.3
:
Feb 5 16:34:52 killerghost kernel: Teles3: HSCX version A: V2.1 B: V2.1
Feb 5 16:34:52 killerghost kernel: Teles 16.3: IRQ 5 count 13
Feb 5 16:34:52 killerghost kernel: HiSax: couldn't get interrupt 5
Feb 5 16:34:52 killerghost kernel: HiSax: Card Teles 16.3 not installed !
Feb 5 16:34:52 killerghost kernel: dss1_divert module successfully installed

---schnapp---



_________________
Es gibt keine dumme Fragen!

Killerhippy
 
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen

killerhippy



Anmeldungsdatum: 19.05.2000
Beiträge: 529

BeitragVerfasst am: 05. Feb 2003 18:49   Titel: Re: kernel modul isapnp vs isapnptools

shame on me, bin ich doch vom plug'n'pray reingelegt worden.

die teles Karte liegt nun auf IRQ 9, nicht mehr auf 5. Jetzt funzt's mit Userspace isapnptools und die teles Karte laeuft und die Soundblaster auch, jedenfalls der Sound, wenn auch die Wavetable nicht...

zZ wird der Kernel neu kompiliert und schaetzungsweise funzt's dann auch mit dem Kernel Modul.
_________________
Es gibt keine dumme Fragen!

Killerhippy
 
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen

Beiträge vom vorherigen Thema anzeigen:   
     Pro-Linux Foren-Übersicht -> Hardware Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehen Sie zu:  

Powered by phpBB © phpBB Group
pro_linux Theme © 2004 by Mandaxy