Commit d9bed6bb authored by Tilman Schmidt's avatar Tilman Schmidt Committed by David S. Miller

isdn/gigaset: remove EXPERIMENTAL tag from GIGASET_CAPI

The CAPI variant of the Gigaset drivers can, in combination with
capidrv, now fully replace the legacy ISDN4Linux variant. All
reported problems have been fixed. So remove the EXPERIMENTAL tag
from the Kconfig option selecting it, and adapt the documentation
accordingly to encourage users to switch to it.

Impact: documentation/status update, no functional change
Signed-off-by: default avatarTilman Schmidt <tilman@imap.cc>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 29124c70
...@@ -47,9 +47,9 @@ GigaSet 307x Device Driver ...@@ -47,9 +47,9 @@ GigaSet 307x Device Driver
1.2. Software 1.2. Software
-------- --------
The driver works with ISDN4linux and so can be used with any software The driver works with the Kernel CAPI subsystem as well as the old
which is able to use ISDN4linux for ISDN connections (voice or data). ISDN4Linux subsystem, so it can be used with any software which is able
Experimental Kernel CAPI support is available as a compilation option. to use CAPI 2.0 or ISDN4Linux for ISDN connections (voice or data).
There are some user space tools available at There are some user space tools available at
http://sourceforge.net/projects/gigaset307x/ http://sourceforge.net/projects/gigaset307x/
...@@ -152,61 +152,42 @@ GigaSet 307x Device Driver ...@@ -152,61 +152,42 @@ GigaSet 307x Device Driver
- GIGVER_FWBASE: retrieve the firmware version of the base - GIGVER_FWBASE: retrieve the firmware version of the base
Upon return, version[] is filled with the requested version information. Upon return, version[] is filled with the requested version information.
2.3. ISDN4linux 2.3. CAPI
----------
This is the "normal" mode of operation. After loading the module you can
set up the ISDN system just as you'd do with any ISDN card supported by
the ISDN4Linux subsystem. Most distributions provide some configuration
utility. If not, you can use some HOWTOs like
http://www.linuxhaven.de/dlhp/HOWTO/DE-ISDN-HOWTO-5.html
If this doesn't work, because you have some device like SX100 where
debug output (see section 3.2.) shows something like this when dialing
CMD Received: ERROR
Available Params: 0
Connection State: 0, Response: -1
gigaset_process_response: resp_code -1 in ConState 0 !
Timeout occurred
you probably need to use unimodem mode. (see section 2.5.)
2.4. CAPI
---- ----
If the driver is compiled with CAPI support (kernel configuration option If the driver is compiled with CAPI support (kernel configuration option
GIGASET_CAPI, experimental) it can also be used with CAPI 2.0 kernel and GIGASET_CAPI) the devices will show up as CAPI controllers as soon as the
user space applications. For user space access, the module capi.ko must corresponding driver module is loaded, and can then be used with CAPI 2.0
be loaded. The capiinit command (included in the capi4k-utils package) kernel and user space applications. For user space access, the module
does this for you. capi.ko must be loaded.
The CAPI variant of the driver supports legacy ISDN4Linux applications Legacy ISDN4Linux applications are supported via the capidrv
via the capidrv compatibility driver. The kernel module capidrv.ko must compatibility driver. The kernel module capidrv.ko must be loaded
be loaded explicitly with the command explicitly with the command
modprobe capidrv modprobe capidrv
if needed, and cannot be unloaded again without unloading the driver if needed, and cannot be unloaded again without unloading the driver
first. (These are limitations of capidrv.) first. (These are limitations of capidrv.)
The note about unimodem mode in the preceding section applies here, too. Most distributions handle loading and unloading of the various CAPI
modules automatically via the command capiinit(1) from the capi4k-utils
2.5. Unimodem mode package or a similar mechanism. Note that capiinit(1) cannot unload the
------------- Gigaset drivers because it doesn't support more than one module per
This is needed for some devices [e.g. SX100] as they have problems with driver.
the "normal" commands.
If you have installed the command line tool gigacontr, you can enter 2.4. ISDN4Linux
unimodem mode using ----------
gigacontr --mode unimodem If the driver is compiled without CAPI support (native ISDN4Linux
You can switch back using variant), it registers the device with the legacy ISDN4Linux subsystem
gigacontr --mode isdn after loading the module. It can then be used with ISDN4Linux
applications only. Most distributions provide some configuration utility
for setting up that subsystem. Otherwise you can use some HOWTOs like
http://www.linuxhaven.de/dlhp/HOWTO/DE-ISDN-HOWTO-5.html
You can also put the driver directly into Unimodem mode when it's loaded,
by passing the module parameter startmode=0 to the hardware specific
module, e.g.
modprobe usb_gigaset startmode=0
or by adding a line like
options usb_gigaset startmode=0
to an appropriate module configuration file, like /etc/modprobe.d/gigaset
or /etc/modprobe.conf.local.
2.5. Unimodem mode
-------------
In this mode the device works like a modem connected to a serial port In this mode the device works like a modem connected to a serial port
(the /dev/ttyGU0, ... mentioned above) which understands the commands (the /dev/ttyGU0, ... mentioned above) which understands the commands
ATZ init, reset ATZ init, reset
=> OK or ERROR => OK or ERROR
ATD ATD
...@@ -234,6 +215,31 @@ GigaSet 307x Device Driver ...@@ -234,6 +215,31 @@ GigaSet 307x Device Driver
to an appropriate module configuration file, like /etc/modprobe.d/gigaset to an appropriate module configuration file, like /etc/modprobe.d/gigaset
or /etc/modprobe.conf.local. or /etc/modprobe.conf.local.
Unimodem mode is needed for making some devices [e.g. SX100] work which
do not support the regular Gigaset command set. If debug output (see
section 3.2.) shows something like this when dialing:
CMD Received: ERROR
Available Params: 0
Connection State: 0, Response: -1
gigaset_process_response: resp_code -1 in ConState 0 !
Timeout occurred
then switching to unimodem mode may help.
If you have installed the command line tool gigacontr, you can enter
unimodem mode using
gigacontr --mode unimodem
You can switch back using
gigacontr --mode isdn
You can also put the driver directly into Unimodem mode when it's loaded,
by passing the module parameter startmode=0 to the hardware specific
module, e.g.
modprobe usb_gigaset startmode=0
or by adding a line like
options usb_gigaset startmode=0
to an appropriate module configuration file, like /etc/modprobe.d/gigaset
or /etc/modprobe.conf.local.
2.6. Call-ID (CID) mode 2.6. Call-ID (CID) mode
------------------ ------------------
Call-IDs are numbers used to tag commands to, and responses from, the Call-IDs are numbers used to tag commands to, and responses from, the
......
...@@ -17,8 +17,7 @@ menuconfig ISDN_DRV_GIGASET ...@@ -17,8 +17,7 @@ menuconfig ISDN_DRV_GIGASET
if ISDN_DRV_GIGASET if ISDN_DRV_GIGASET
config GIGASET_CAPI config GIGASET_CAPI
bool "Gigaset CAPI support (EXPERIMENTAL)" bool "Gigaset CAPI support"
depends on EXPERIMENTAL
depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m') depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m')
default ISDN_I4L='n' default ISDN_I4L='n'
help help
...@@ -27,6 +26,7 @@ config GIGASET_CAPI ...@@ -27,6 +26,7 @@ config GIGASET_CAPI
subsystem you'll have to enable the capidrv glue driver. subsystem you'll have to enable the capidrv glue driver.
(select ISDN_CAPI_CAPIDRV.) (select ISDN_CAPI_CAPIDRV.)
Say N to build the old native ISDN4Linux variant. Say N to build the old native ISDN4Linux variant.
If unsure, say Y.
config GIGASET_I4L config GIGASET_I4L
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment