Howto for Debian
From mISDN.org
[edit]
What you need
- Debian Distribution
- mISDN V2
- mISDNuser V2
[edit]
Download and install mISDN V2
git-clone git://git.misdn.org/git/mISDN.git/ git-clone git://git.misdn.org/git/mISDNuser.git/ cd mISDN ./configure
- Copy mISDN.cfg.default to standalone/mISDN.cfg and edit it for you needs
It contain a list with all CONFIG_MISDN* defines, one per line If you want to unset one feature, please set a '#' before it (do not remove the line!)
cp mISDN.cfg.default standalone/mISDN.cfg make modules make modules-install
cd ../mISDNuser
for kernel Version 2.6.32.2 use --with-AF_ISDN=34 (e.g. dmesg | grep family)
./configure --with-AF_ISDN=34 make make install
That´s it. You should have a working mISDN V2 and mISDNuser V2.
Now you should load the modules. There are no more module options for the hardware drivers.
That´s why the mISDN script won´t work at the moment. You have to load the modules by hand.
Do the following:
modprobe mISDN_core modprobe <driver> modprobe mISDN_dsp modprobe mISDN_dsp_oslec
Replace <driver> with hfcpci,hfcmulti,... depending on your hardware
in /var/log/syslog you should see something like this:
Oct 1 12:51:35 debian-test kernel: Modular ISDN core version 1.0.19 Oct 1 12:51:35 debian-test kernel: NET: Registered protocol family 34 Oct 1 12:51:58 debian-test kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5 Oct 1 12:51:58 debian-test kernel: PCI: setting IRQ 5 as level-triggered Oct 1 12:51:58 debian-test kernel: hfcpci 0000:00:0a.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5 Oct 1 12:51:58 debian-test kernel: mISDN_hfcpci: found adapter CCD/Billion/Asuscom 2BD0 at 0000:00:0a.0 Oct 1 12:51:58 debian-test kernel: mISDN: HFC-PCI driver 2.0 Oct 1 12:51:58 debian-test kernel: HFC-PCI: defined at mem 0xd08a4000 fifo 0xcedc8000(0xedc8000) IRQ 5 HZ 250 Oct 1 12:51:58 debian-test kernel: HFC 1 cards installed Oct 1 12:51:58 debian-test kernel: hfcpci 0000:00:0b.0: PCI INT A -> Link[LNKD] -> GSI 7 (level, low) -> IRQ 7 Oct 1 12:51:58 debian-test kernel: mISDN_hfcpci: found adapter CCD/Billion/Asuscom 2BD0 at 0000:00:0b.0 Oct 1 12:51:58 debian-test kernel: mISDN: HFC-PCI driver 2.0 Oct 1 12:51:58 debian-test kernel: HFC-PCI: defined at mem 0xd08a6000 fifo 0xcede8000(0xede8000) IRQ 7 HZ 250 Oct 1 12:51:58 debian-test kernel: HFC 2 cards installed Oct 1 12:52:09 debian-test kernel: DSP modul 2.0 Oct 1 12:52:09 debian-test kernel: mISDN_dsp: DSP clocks every 64 samples. This equals 2 jiffies. Oct 1 12:52:09 debian-test kernel: mISDN_dsp_element_register: hwec registered
[edit]
Test it
misdn_info
You should see something like this:
Found 5 ports
Port 0 'hfc-pci.1': TE/NT-mode BRI S/T (for phone lines & phones)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC
--------
Port 1 'hfc-4s.1-1': TE/NT-mode BRI S/T (for phone lines & phones)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC
--------
Port 2 'hfc-4s.1-2': TE/NT-mode BRI S/T (for phone lines & phones)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC
--------
Port 3 'hfc-4s.1-3': TE/NT-mode BRI S/T (for phone lines & phones)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC
--------
Port 4 'hfc-4s.1-4': TE/NT-mode BRI S/T (for phone lines & phones)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC
Now go on with Part:Compile LCR in the LCR Howto
