SuSE GmbH

SuSE Support Database

Title: HiSax 2.0

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

HiSax 2.0

Applicable to
S.u.S.E. version: 4.4.1
Kernel version: 2.0.29
HiSax version: 2.0

Symptom:

S.u.S.E. Linux 4.4.1 is adjusted to the HiSax driver in the version 1.5. The reason is due to the chronological overlap of the S.u.S.E. version 4.4.1 and of the until now still unstable HiSax 2.0 version.

The problem about this is, that the modul parameter have changed at the 2.0 version (absolutely full of sense!), so that the script /sbin/init.d/i4l_hardware doesn't pass the variables from /etc/rc.config onto the modul in the right syntax.

Solution:

Here is an modified script /sbin/init.d/i4l_hardware: #!/bin/sh # Copyright (c) 1996, 1997 S.u.S.E. Gmbh Fuerth, Germany. All rights reserved. # # Author: # Klaus Franken, S.u.S.E. GmbH, Fuerth # # Version: pre-5.0 04.03.97 (kfr) # for HiSax 2.0 # # Maintainer: kfr@suse.de # # /sbin/init.d/i4l_hardware # # Dont't forget to edit /etc/rc.config! # For more informatione see: # /usr/doc/packages/i4l/* (especially README.SuSE) # /usr/src/linux/Documentation/isdn/* # # This script is loading the needed ISDN-modules # The net-confguration is done by /sbin/init.d/i4l . /etc/rc.config test "$I4L_START" = yes || exit 0 case "$1" in start) echo "Loading ISDN drivers ..." # # load modules # if test ! -z "$I4L_TELES_TYPE"; then echo "Loading HiSax driver ..." if test -z "$I4L_TELES_MODUL_OPTIONS"; then HISAX_PAR1="id=$I4L_TELES_ID type=$I4L_TELES_TYPE protocol=$I4L_ PROTOCOL" case "$I4L_TELES_TYPE" in 1) # Teles 16.0 HISAX_PAR2="irq=$I4L_TELES_IRQ mem=$I4L_TELES_MEMBASE io=$I4L_TE LES_PORT" ;; 2) # Teles 8.0 HISAX_PAR2="irq=$I4L_TELES_IRQ mem=$I4L_TELES_MEMBASE" ;; 3) # Teles 16.3 HISAX_PAR2="irq=$I4L_TELES_IRQ io=$I4L_TELES_PORT" ;; 4) # Creatix PNP HISAX_PAR2="irq=$I4L_TELES_IRQ io0=$I4L_TELES_IO0 io1=$I4L_TELES _IO1" ;; 5) # AVM A1 (Fritz) HISAX_PAR2="irq=$I4L_TELES_IRQ io=$I4L_TELES_PORT" ;; 6) # ELSA PCC16 if test -z "$I4L_TELES_PORT"; then # Autoprobing HISAX_PAR2="" else HISAX_PAR2="io=$I4L_TELES_PORT" fi ;; *) echo "$0: unknown I4L_TELES_TYPE: $I4L_TELES_TYPE" echo "$0: exiting!" exit 1 ;; esac if test -z "$HISAX_PAR2"; then HISAX_PAR="${HISAX_PAR1}" else HISAX_PAR="${HISAX_PAR1},${HISAX_PAR2}" fi else HISAX_PAR=$I4L_TELES_MODUL_OPTIONS fi /sbin/modprobe -v hisax $HISAX_PAR if test $? -ne 0; then echo "" echo "Initialization of HiSax failed!" echo "Check /var/log/messages and /var/log/warn." echo "Check that the values in '/etc/rc.config' are correct:" echo "I4L_TELES_TYPE: ${I4L_TELES_TYPE}" echo "I4L_TELES_MEMBASE: ${I4L_TELES_MEMBASE}" echo "I4L_TELES_IRQ: ${I4L_TELES_IRQ}" echo "I4L_TELES_PORT: ${I4L_TELES_PORT}" echo "I4L_TELES_IO0: ${I4L_TELES_IO0}" echo "I4L_TELES_IO1: ${I4L_TELES_IO1}" echo "I4L_PROTOCOL: ${I4L_PROTOCOL}" echo "I4L_TELES_MODUL_OPTIONS: ${I4L_TELES_MODUL_OPTIONS}" echo "" modprobe -r hisax exit 1 echo "never here" fi fi if test ! -z "$I4l_ICN_PORT"; then echo "Loading ICN driver ..." #/sbin/modprobe isdn.o ICN_PAR="portbase=$I4l_ICN_PORT membase=$I4l_ICN_MEMBASE \ icn_id=$I4l_ICN_ID" test -z "$I4l_ICN_ID2" || ICN_PAR="$ICN_PAR icn_id2=$I4l_ICN_ID2" /sbin/modprobe -v icn "$ICN_PAR" #/sbin/lsmod | grep icn > /dev/null if test $? -ne 0; then echo "" echo "Initialization of the ICN-modul failed!" echo "Check that the values in '/etc/rc.config' are correct:" echo " and see /usr/src/linux/Documentation/README" echo "I4L_ICN_ID: ${I4L_ICN_ID}" echo "I4L_ICN_ID2: ${I4L_ICN_ID2}" echo "I4L_ICN_PORT: ${I4L_ICN_PORT}" echo "I4L_ICN_MEMBASE: ${I4L_ICN_MEMBASE}" echo "" modprobe -r hisax exit 1 echo "never here" fi fi # now start some tools: # start isdnlog #/sbin/isdnlog -v 7 -vw2 -m2048 -D /dev/isdnctrl0 /sbin/isdnlog -D -l1015 -x4087 -M -n -W80 /dev/isdnctrl0 # start iprofd test "$I4L_IPROFD" = "yes" && /sbin/iprofd /etc/isdnlog/modemsettings ;; stop) # kill iprofd test "$I4L_IPROFD" = "yes" && killall iprofd # kill isdnlog if [ -e /var/run/isdnlog.pid ] ; then /bin/kill `/bin/cat /var/run/isdnlog.pid` # sometimes 'isdnlog' have no fun to go away :-( sleep 1 && bin/kill -9 `/bin/cat /var/run/isdnlog.pid` 2>/dev/null rm -f /var/run/isdnlog.pid fi echo "Unloading ISDN drivers ..." # unload modules if test ! -z "$I4L_TELES_TYPE"; then /sbin/modprobe -r hisax fi if test ! -z "$I4l_ICN_PORT"; then /sbin/modprobe -r icn fi /sbin/modprobe -r slhc ;; *) echo "Usage: $0 {start|stop}" exit 1 ;; esac

Credits:

Thanks to

----------

See also:

----------

Keywords: ISDN, HISAX, I4L_HARDWARE

----------

Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-isdn_hisax)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-isdn_hisax, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 16:42:45 by maddin with sdb_gen 1.00.0