Die Fritz!Card PCMCIA v2.0 benötigt unter Linux einen speziellen Client Treiber, der in den Kernelversion 2.4.18 und älter nicht enthalten ist. Seit Version 2.4.19 ist er im Kernel enthalten.
In der .config-Datei des gepatchten Kernels müssen folgende Einträge
aktivert sein:
CONFIG_HISAX_AVM_A1_PCMCIA=y
CONFIG_HISAX_AVM_A1_CS=m or y
Folgenden Eintrag muß angefügt werden:
device "avma1_cs"
class "isdn" module "avma1_cs"
card "AVM Fritz! Card A1 PCMCIA"
version "AVM", "ISDN A"
bind "avma1_cs"
#!/bin/sh
#
# fixed 1.17 1997/05/13 02:16:47 (David Hinds)
#
# Initialize or shutdown a PCMCIA ISDN adapter
#
# The first argument should be either 'start' or 'stop'. The second
# argument is the base name for the device.
#
# The script passes an extended device address to 'fixed.opts' in the
# ADDRESS variable, to retrieve device-specific configuration options.
# The address format is "scheme,socket,dev,controller" where
# "scheme" is the PCMCIA configuration scheme, "socket" is the socket
# number, "dev" ist last part of version info and "controller" i
# the controller number.
#
# The script first calls isdn.opts for the entire device.
#
. ./shared
# Get device attributes
get_info $DEVICE
# Load site-specific settings
ADDRESS="$SCHEME,$SOCKET,$DEVICE,$MINOR"
CONTROLLER=$MINOR
CARDTYPE=$DEVICE
. $0.opts
case "$ACTION" in
'start')
if [ "$NEEDFIRMWARE" = "yes" ] ; then
if [ -z $DPROTOCOL ] ; then
P2P=no
fi
if [ "$P2P" = yes ] ; then
P2P=P2P
else
P2P=
fi
avmcapictrl load /lib/isdn/$T4FILE $CONTROLLER $DPROTOCOL $P2P
fi
/etc/init.d/isdnutils start
;;
'check')
;;
'stop')
/etc/init.d/isdnutils stop
;;
'suspend'|'resume')
;;
*)
usage
;;
esac
exit 0
# ISDN device configuration
#
# ADDRESS is "scheme,socket,dev,controller"
# CONTROLLER is the controller number
# CARDTYPE is the cardtype (M1/M2/B1/A1)
#
# variables to set:
# T4FILE - basename of t4 file
# DPROTOCOL - d-channel protocol (DSS1/CT1/VN3/AUSTEL)
# P2P - set to "yes" if your ISDN is a "point to point"
# Examples:
# Euro ISDN, point to multipoint: T4FILE=b1.t4 DPROTOCOL=DSS1 P2P=no
# Euro ISDN, point to point: T4FILE=b1.t4 DPROTOCOL=DSS1 P2P=yes
# GSM: T4FILE=gsm.t4 DPROTOCOL= P2P=no
# AUSTEL, point to multipoint: T4FILE=b1.t4 DPROTOCOL=AUSTEL P2P=yes
P2P=no
DPROTOCOL=
T4FILE=
NEEDFIRMWARE=no
case "$CARDTYPE" in
M1)
NEEDFIRMWARE=yes
T4FILE=m1-s4.t4
;;
M2)
NEEDFIRMWARE=yes
case "$ADDRESS" in
gsm,*,*,* )
T4FILE=m1-s4.t4
;;
* )
DPROTOCOL=DSS1
T4FILE=b1.t4
;;
esac
;;
B1)
NEEDFIRMWARE=yes
DPROTOCOL=DSS1
T4FILE=b1.t4
;;
A1)
;;
* )
;;
esac
Letzte Änderung: 07.06.2002, Karl-Heinz Eischer