Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Tilman Schmidt and committed by
David S. Miller
d9bed6bb 29124c70

+54 -48
+52 -46
Documentation/isdn/README.gigaset
··· 47 47 48 48 1.2. Software 49 49 -------- 50 - The driver works with ISDN4linux and so can be used with any software 51 - which is able to use ISDN4linux for ISDN connections (voice or data). 52 - Experimental Kernel CAPI support is available as a compilation option. 50 + The driver works with the Kernel CAPI subsystem as well as the old 51 + ISDN4Linux subsystem, so it can be used with any software which is able 52 + to use CAPI 2.0 or ISDN4Linux for ISDN connections (voice or data). 53 53 54 54 There are some user space tools available at 55 55 http://sourceforge.net/projects/gigaset307x/ ··· 152 152 - GIGVER_FWBASE: retrieve the firmware version of the base 153 153 Upon return, version[] is filled with the requested version information. 154 154 155 - 2.3. ISDN4linux 156 - ---------- 157 - This is the "normal" mode of operation. After loading the module you can 158 - set up the ISDN system just as you'd do with any ISDN card supported by 159 - the ISDN4Linux subsystem. Most distributions provide some configuration 160 - utility. If not, you can use some HOWTOs like 161 - http://www.linuxhaven.de/dlhp/HOWTO/DE-ISDN-HOWTO-5.html 162 - If this doesn't work, because you have some device like SX100 where 163 - debug output (see section 3.2.) shows something like this when dialing 164 - CMD Received: ERROR 165 - Available Params: 0 166 - Connection State: 0, Response: -1 167 - gigaset_process_response: resp_code -1 in ConState 0 ! 168 - Timeout occurred 169 - you probably need to use unimodem mode. (see section 2.5.) 170 - 171 - 2.4. CAPI 155 + 2.3. CAPI 172 156 ---- 173 157 If the driver is compiled with CAPI support (kernel configuration option 174 - GIGASET_CAPI, experimental) it can also be used with CAPI 2.0 kernel and 175 - user space applications. For user space access, the module capi.ko must 176 - be loaded. The capiinit command (included in the capi4k-utils package) 177 - does this for you. 158 + GIGASET_CAPI) the devices will show up as CAPI controllers as soon as the 159 + corresponding driver module is loaded, and can then be used with CAPI 2.0 160 + kernel and user space applications. For user space access, the module 161 + capi.ko must be loaded. 178 162 179 - The CAPI variant of the driver supports legacy ISDN4Linux applications 180 - via the capidrv compatibility driver. The kernel module capidrv.ko must 181 - be loaded explicitly with the command 163 + Legacy ISDN4Linux applications are supported via the capidrv 164 + compatibility driver. The kernel module capidrv.ko must be loaded 165 + explicitly with the command 182 166 modprobe capidrv 183 167 if needed, and cannot be unloaded again without unloading the driver 184 168 first. (These are limitations of capidrv.) 185 169 186 - The note about unimodem mode in the preceding section applies here, too. 170 + Most distributions handle loading and unloading of the various CAPI 171 + modules automatically via the command capiinit(1) from the capi4k-utils 172 + package or a similar mechanism. Note that capiinit(1) cannot unload the 173 + Gigaset drivers because it doesn't support more than one module per 174 + driver. 175 + 176 + 2.4. ISDN4Linux 177 + ---------- 178 + If the driver is compiled without CAPI support (native ISDN4Linux 179 + variant), it registers the device with the legacy ISDN4Linux subsystem 180 + after loading the module. It can then be used with ISDN4Linux 181 + applications only. Most distributions provide some configuration utility 182 + for setting up that subsystem. Otherwise you can use some HOWTOs like 183 + http://www.linuxhaven.de/dlhp/HOWTO/DE-ISDN-HOWTO-5.html 184 + 187 185 188 186 2.5. Unimodem mode 189 187 ------------- 190 - This is needed for some devices [e.g. SX100] as they have problems with 191 - the "normal" commands. 192 - 193 - If you have installed the command line tool gigacontr, you can enter 194 - unimodem mode using 195 - gigacontr --mode unimodem 196 - You can switch back using 197 - gigacontr --mode isdn 198 - 199 - You can also put the driver directly into Unimodem mode when it's loaded, 200 - by passing the module parameter startmode=0 to the hardware specific 201 - module, e.g. 202 - modprobe usb_gigaset startmode=0 203 - or by adding a line like 204 - options usb_gigaset startmode=0 205 - to an appropriate module configuration file, like /etc/modprobe.d/gigaset 206 - or /etc/modprobe.conf.local. 207 - 208 188 In this mode the device works like a modem connected to a serial port 209 189 (the /dev/ttyGU0, ... mentioned above) which understands the commands 190 + 210 191 ATZ init, reset 211 192 => OK or ERROR 212 193 ATD ··· 212 231 213 232 options ppp_async flag_time=0 214 233 234 + to an appropriate module configuration file, like /etc/modprobe.d/gigaset 235 + or /etc/modprobe.conf.local. 236 + 237 + Unimodem mode is needed for making some devices [e.g. SX100] work which 238 + do not support the regular Gigaset command set. If debug output (see 239 + section 3.2.) shows something like this when dialing: 240 + CMD Received: ERROR 241 + Available Params: 0 242 + Connection State: 0, Response: -1 243 + gigaset_process_response: resp_code -1 in ConState 0 ! 244 + Timeout occurred 245 + then switching to unimodem mode may help. 246 + 247 + If you have installed the command line tool gigacontr, you can enter 248 + unimodem mode using 249 + gigacontr --mode unimodem 250 + You can switch back using 251 + gigacontr --mode isdn 252 + 253 + You can also put the driver directly into Unimodem mode when it's loaded, 254 + by passing the module parameter startmode=0 to the hardware specific 255 + module, e.g. 256 + modprobe usb_gigaset startmode=0 257 + or by adding a line like 258 + options usb_gigaset startmode=0 215 259 to an appropriate module configuration file, like /etc/modprobe.d/gigaset 216 260 or /etc/modprobe.conf.local. 217 261
+2 -2
drivers/isdn/gigaset/Kconfig
··· 17 17 if ISDN_DRV_GIGASET 18 18 19 19 config GIGASET_CAPI 20 - bool "Gigaset CAPI support (EXPERIMENTAL)" 21 - depends on EXPERIMENTAL 20 + bool "Gigaset CAPI support" 22 21 depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m') 23 22 default ISDN_I4L='n' 24 23 help ··· 26 27 subsystem you'll have to enable the capidrv glue driver. 27 28 (select ISDN_CAPI_CAPIDRV.) 28 29 Say N to build the old native ISDN4Linux variant. 30 + If unsure, say Y. 29 31 30 32 config GIGASET_I4L 31 33 bool