ISA-PnP Karte unter Linux

Aus BraLUG-Wiki

Wechseln zu: Navigation, Suche


Vorgehensweise:

  • installiere die ISA-PnP-Karte Hardwareseitig im System
  • starte das System
  • Installiere die isapnp Tools
  • erzeuge die Datei /etc/isapnp.conf mit folgendem Befehl
pnpdump -c > /etc/isapnp.conf
  • Bei der Teledat 100 sah das File folgendermassen aus:
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.26
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Board 1 has serial identifier c1 07 03 2a 34 01 00 27 4c
# (DEBUG)
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
# Card 1: (serial identifier c1 07 03 2a 34 01 00 27 4c)
# Vendor Id SAG0001, Serial Number 117647924, checksum 0xC1.
# Version 1.0, Vendor version 0.1
# ANSI string -->speed win SEDLBAUER AG<--
#
# Logical device id SAG0001
# Device supports I/O range check register
# Device supports vendor reserved register @ 0x3a
# Device supports vendor reserved register @ 0x3b
# Device supports vendor reserved register @ 0x3d
#
# Edit the entries below to uncomment out the configuration required.
# Don't forget to uncomment the activate ((CONFIGURE SAG0001/117647924 (LD 0
# Multiple choice time, choose one only !
# Start dependent functions: priority acceptable
# Logical device decodes 10 bit IO address lines
# Minimum IO base address 0x0100
# Maximum IO base address 0x03f0
# IO base alignment 8 bytes
# Number of IO addresses required: 8

######################################################
# Hierunter steht mit das wichtigste wie IO 0x0100   #
# IRQ 4 den ich auf 5 verändert habe                 #
######################################################
(IO 0 (SIZE 8) (BASE 0x0100) (CHECK))
# IRQ 3, 4, 5, 7, 10, 11, 12, 13 or 15.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 4 (MODE +E)))

# Start dependent functions: priority acceptable
# Logical device decodes 10 bit IO address lines
# Minimum IO base address 0x0100
# Maximum IO base address 0x03f0
# IO base alignment 8 bytes
# Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0100) (CHECK))
# IRQ 5.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

# Start dependent functions: priority acceptable
# Logical device decodes 10 bit IO address lines
# Minimum IO base address 0x0100
# Maximum IO base address 0x03f0
# IO base alignment 8 bytes
# Number of IO addresses required: 8
# (IO 0 (SIZE 8) (BASE 0x0100) (CHECK))
# IRQ 7.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 7 (MODE +E)))

ACT Y) when happy

# End dependent functions
########################################################
#(ACT Y) muss gesetzt sein sonst passiert nichts       #
########################################################

(NAME "SAG0001/117647924[0]{speed win SEDLBAUER AG}")

(ACT Y)
))

# End tag... Checksum 0x00 (OK)
# Returns all cards to the "Wait for Key" state

(WAITFORKEY)
  • wie wir auch sehen können, is die Teledat 100 eigentlich eine Sedlebauer speed win (nur zur Info)
  • in dieser stehen nun sämtliche ISA-PnP Karten mit ihren möglichen IRQ und IO Bereichen gelistet
  • es sind sogar schon einige Bereiche auskommentiert die das Programm meint verwendbar sein sollen
  • nun schaue noch in die Hilfe zum Kernel Modul wie IRQ und IO beim starten anzugeben sind und trage dies in der modules.conf ein
  • bei meiner SCSI Karte sieht das z.B. so aus: options aha152x aha152x=0x140,10,7,0 (habe ich mit Google herausgefunden)
  • Vorsicht bei jeder Karte sieht das anders aus, hier gilt entweder kennst du jemanden der es weiss oder RTFM. In seltenen Fällen kann es auch ohne Pararmeter funktionieren
  • starte das Modul mit modprobe oder insmod
  • benutze das Gerät

Habt spass!

engel66

'Persönliche Werkzeuge