Skip to content

Isdn4linux

'Ye olde' driver. But since mIsdn is still called experimental, let's not through this info away. We have two types of cards right now, HFC based cards and winbond based cards. This is a description for the HFC.

isdn-tools
apt-get install isdn-tools

In absence of the knowledge where to put the parameters, here is the command line with which you can install the hisax module.

hisax
modprobe hisax type=35 protocol=2

To test the driver, type

isdninfo
cat /dev/isdninfo

You should see a line like this :

output
idmap:  HiSax HiSax - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
chmap:  0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1

You see the first two channels are now occupied, as opposed to what you see without loading the hisax driver.

output
1
2
3
idmap:  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
chmap:  -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
testing the line

startup minicom with :

minicom
minicom -s isdn0
  • Under "serial port setup", change "A - Serial device" to "/dev/ttyI0"
  • Under "Modem and Dialling", change "A - Init string : " to "~AT&B512&E104049810&fclass=8&s18=1M"
  • The fclass=8 set's the modem emulation to audio, S18=1 sets the outgoing service to "btx". In some cases both are needed so just always set them. Do NOT enter the leading zero (0104049810), it will fail!!.
  • Also watch /var/log/messages, because if minicom refuses messages it does so quietly, /var/log/messages will report them.
  • The number is (one of) the MSN number of the line you plugged in so, probably different from this one.
  • Save your settings with "Save as",
  • then do "exit" (not "exit modem"). You are in a console where you can type "AT", it should say "OK".
  • Now dial in to your number (in this case 0104049810). You should get an incoming RING request on the terminal, you could answer it with "ATA", but it costs you money and you cannot speak to the call anyway,
  • so hangup the phone or type "ATH". You know know the status of your line, if there was no reaction you have some line-checking to do. If it does try to call-out :
dial
ATD 0104049444

The phone you called should ring, but still there is no use picking it up.