Linux Kernel Compilation  


Note
If you are new to Linux, kernel compilation can be somehow difficult. Invalid kernel configurations can lead to inproper function of your operating system or even no function at all. The kernel should be compiled by experienced Linux users only. So, in case that you are a Linux newbie, please refer to the following readings for further information:

The Linux Kernel Howto
http://www.tldp.org/HOWTO/Kernel-HOWTO/

Linux Loadable Kernel Module Howto
http://www.ibiblio.org/pub/Linux/docs/HOWTO/Module-HOWTO

FAQ for ISDN4Linux
http://www.isdn4linux.de/faq/



For enabling the Linux kernel to support the "HFC-S PCI" based card, the Linux kernel must be compiled together with the HiSax driver in the following way:

Open a shell and change to the directory containing the Linux source files, e.g.:

  • cd /usr/src/linux
  • Enter the Linux kernel configuration with

  • make menuconfig
  • Then enter the ISDN subsystem as follows:

    Image ISDN Subsystem


    Enable the support for "HFC PCI-Bus cards":

    Image Passive ISDN Cards

    Save the kernel settings and compile the kernel by:

  • make dep && make clean
  • make bzImage
  • make modules && make modules_install
  • After booting the kernel with a HiSax module including the "HFC-S PCI" support, you can load the HiSax ISDN driver with the following commands:

  • modprobe isdn
  • modprobe hisax id=HiSax type=35 protocol=2
  • When the HiSax module has been successfully loaded and your ISDN card has been detected in your PC, the similar messages will appear in your /var/log/messages log file:

    May 2 13:17:45 linux kernel: HiSax: HFC-PCI driver Rev. 1.1.4.1
    May 2 13:17:45 linux kernel: HiSax: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0
    May 2 13:17:45 linux kernel: HFC-PCI: defined at mem 0xd2863000 fifo 0xc2ab8000(0x2ab8000) IRQ 5 HZ 100
    May 2 13:17:45 linux kernel: HFC_PCI: resetting card
    May 2 13:17:45 linux kernel: HFC 2BDS0 PCI: IRQ 5 count 0
    May 2 13:17:45 linux kernel: HFC 2BDS0 PCI: IRQ 5 count 34
    May 2 13:17:45 linux kernel: HiSax: DSS1 Rev. 1.1.4.1
    May 2 13:17:45 linux kernel: HiSax: 2 channels added
    May 2 13:17:45 linux kernel: HiSax: MAX_WAITING_CALLS added

    The hardware driver is now installed and ready for use. The next steps are to configure the Internet connection of your system by using tools like "isdncontrol" and "imon".

    Please refer to the ISDN4Linux-FAQ to figure out, how to do this.

    Back to Installation Guide Overview

    Copyright © 2003 Cologne Chip
    The ISDN Chip Company!
    Last Modified: 13/06/2003