hisaxctrl(8)
hisaxctrl – configure HiSax-Module
Synopsis
hisaxctrl DriverId command parameters
Description
hisaxctrl is used to setup the HiSax-ISDN device driver. All logging-output is sent to the device /dev/isdnctrl. So you can show it by executing cat /dev/isdnctrl.NOTE: for devfs systems, the program will automatically use /dev/isdn/isdnctrl if available. The use of hisaxctrl only makes sense if you are using the HiSax driver.
Options
- DriverId
- is used to identify the card when using more than one passive card. While loading the hisax module with insmod, or modprobe the DriverId is set by appending
id=idstring1%idstring2%…to the commandline.
- command
- is an integer selecting the setup category. The following values are defined for setting the logging-level of the HiSax-ISDN device driver:
0reports card status infos.1selects generic debugging.11selects layer 1 development debugging.13selects layer 3 development debugging.
the following commands are used to enable special features during runtime of the HiSax-ISDN device driver.
2set B-channel ON delay to parameter (in ms)5set B-channel in leased mode6set B-channel in TESTLOOP mode7set/reset card in Point To Point mode8set card in FIXED TEI mode9load firmware for DSP cards10set B-channel usage limit to 1 or 2 channels12set echo logging mode (only for some cards)
B-channel usage limit needs to be 1 if enabled
- parameter
- If the command is
9then the parameter is the full pathname to the file containing the firmware.
For debug settings this is an integer representing a bitmask. Every bit in this mask switches a debug facility on or off. Depending on the selected category, the following values are defined:
- With
generic debuggingselected
(command1):
0x001 Link-level <–> hardware-level communication0x002 Top state machine0x004 D-Channel Q.931 (call control messages)0x008 D-Channel Q.9210x010 B-Channel X.750x020 D-Channel l20x040 B-Channel l20x080 D-Channel link state debugging0x100 B-Channel link state debugging0x200 TEI debug0x400 LOCK debug in callc.c0x800 More debug in callc.c (not for normal use)
With layer 1 development debugging selected
(command 11):
0x001 Warnings (default: on)0x002 IRQ status0x004 ISAC0x008 ISAC FIFO0x010 HSCX0x020 HSCX FIFO (attention: full B-Channel output!)0x040 D-Channel LAPD frame types
With layer 3 development debugging selected
(command 13):
0x001 Warnings (default: on)0x002 l3 protocol discriptor errors0x004 l3 state machine0x008 charge info debugging (1TR6)
Example
hisaxctrlHiSax 1 0x3ff- enables full generic debugging.
Author
© 2000 by Karsten Keil <kkeil [at] suse.de>
See Also
isdnctrl(8), isdn_cause(7), isdninfo(4).