diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-07-05 10:19:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 19:57:56 -0400 |
commit | d9bed6bbd4f2a0120c93fed68605950651e1f225 (patch) | |
tree | 2a78fb9a7934268a06ad1482ee5f18ff1f02478b | |
parent | 29124c70d779c89e04289468f437c093eb0811df (diff) |
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>
-rw-r--r-- | Documentation/isdn/README.gigaset | 100 | ||||
-rw-r--r-- | drivers/isdn/gigaset/Kconfig | 4 |
2 files changed, 55 insertions, 49 deletions
diff --git a/Documentation/isdn/README.gigaset b/Documentation/isdn/README.gigaset index 702c04649915..ef3343eaa002 100644 --- a/Documentation/isdn/README.gigaset +++ b/Documentation/isdn/README.gigaset | |||
@@ -47,9 +47,9 @@ GigaSet 307x Device Driver | |||
47 | 47 | ||
48 | 1.2. Software | 48 | 1.2. Software |
49 | -------- | 49 | -------- |
50 | The driver works with ISDN4linux and so can be used with any software | 50 | The driver works with the Kernel CAPI subsystem as well as the old |
51 | which is able to use ISDN4linux for ISDN connections (voice or data). | 51 | ISDN4Linux subsystem, so it can be used with any software which is able |
52 | Experimental Kernel CAPI support is available as a compilation option. | 52 | to use CAPI 2.0 or ISDN4Linux for ISDN connections (voice or data). |
53 | 53 | ||
54 | There are some user space tools available at | 54 | There are some user space tools available at |
55 | http://sourceforge.net/projects/gigaset307x/ | 55 | http://sourceforge.net/projects/gigaset307x/ |
@@ -152,61 +152,42 @@ GigaSet 307x Device Driver | |||
152 | - GIGVER_FWBASE: retrieve the firmware version of the base | 152 | - GIGVER_FWBASE: retrieve the firmware version of the base |
153 | Upon return, version[] is filled with the requested version information. | 153 | Upon return, version[] is filled with the requested version information. |
154 | 154 | ||
155 | 2.3. ISDN4linux | 155 | 2.3. CAPI |
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 | ||
172 | ---- | 156 | ---- |
173 | If the driver is compiled with CAPI support (kernel configuration option | 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 | 158 | GIGASET_CAPI) the devices will show up as CAPI controllers as soon as the |
175 | user space applications. For user space access, the module capi.ko must | 159 | corresponding driver module is loaded, and can then be used with CAPI 2.0 |
176 | be loaded. The capiinit command (included in the capi4k-utils package) | 160 | kernel and user space applications. For user space access, the module |
177 | does this for you. | 161 | capi.ko must be loaded. |
178 | 162 | ||
179 | The CAPI variant of the driver supports legacy ISDN4Linux applications | 163 | Legacy ISDN4Linux applications are supported via the capidrv |
180 | via the capidrv compatibility driver. The kernel module capidrv.ko must | 164 | compatibility driver. The kernel module capidrv.ko must be loaded |
181 | be loaded explicitly with the command | 165 | explicitly with the command |
182 | modprobe capidrv | 166 | modprobe capidrv |
183 | if needed, and cannot be unloaded again without unloading the driver | 167 | if needed, and cannot be unloaded again without unloading the driver |
184 | first. (These are limitations of capidrv.) | 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 |
187 | 171 | modules automatically via the command capiinit(1) from the capi4k-utils | |
188 | 2.5. Unimodem mode | 172 | package or a similar mechanism. Note that capiinit(1) cannot unload the |
189 | ------------- | 173 | Gigaset drivers because it doesn't support more than one module per |
190 | This is needed for some devices [e.g. SX100] as they have problems with | 174 | driver. |
191 | the "normal" commands. | ||
192 | 175 | ||
193 | If you have installed the command line tool gigacontr, you can enter | 176 | 2.4. ISDN4Linux |
194 | unimodem mode using | 177 | ---------- |
195 | gigacontr --mode unimodem | 178 | If the driver is compiled without CAPI support (native ISDN4Linux |
196 | You can switch back using | 179 | variant), it registers the device with the legacy ISDN4Linux subsystem |
197 | gigacontr --mode isdn | 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 | ||
198 | 184 | ||
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 | 185 | ||
186 | 2.5. Unimodem mode | ||
187 | ------------- | ||
208 | In this mode the device works like a modem connected to a serial port | 188 | In this mode the device works like a modem connected to a serial port |
209 | (the /dev/ttyGU0, ... mentioned above) which understands the commands | 189 | (the /dev/ttyGU0, ... mentioned above) which understands the commands |
190 | |||
210 | ATZ init, reset | 191 | ATZ init, reset |
211 | => OK or ERROR | 192 | => OK or ERROR |
212 | ATD | 193 | ATD |
@@ -234,6 +215,31 @@ GigaSet 307x Device Driver | |||
234 | to an appropriate module configuration file, like /etc/modprobe.d/gigaset | 215 | to an appropriate module configuration file, like /etc/modprobe.d/gigaset |
235 | or /etc/modprobe.conf.local. | 216 | or /etc/modprobe.conf.local. |
236 | 217 | ||
218 | Unimodem mode is needed for making some devices [e.g. SX100] work which | ||
219 | do not support the regular Gigaset command set. If debug output (see | ||
220 | section 3.2.) shows something like this when dialing: | ||
221 | CMD Received: ERROR | ||
222 | Available Params: 0 | ||
223 | Connection State: 0, Response: -1 | ||
224 | gigaset_process_response: resp_code -1 in ConState 0 ! | ||
225 | Timeout occurred | ||
226 | then switching to unimodem mode may help. | ||
227 | |||
228 | If you have installed the command line tool gigacontr, you can enter | ||
229 | unimodem mode using | ||
230 | gigacontr --mode unimodem | ||
231 | You can switch back using | ||
232 | gigacontr --mode isdn | ||
233 | |||
234 | You can also put the driver directly into Unimodem mode when it's loaded, | ||
235 | by passing the module parameter startmode=0 to the hardware specific | ||
236 | module, e.g. | ||
237 | modprobe usb_gigaset startmode=0 | ||
238 | or by adding a line like | ||
239 | options usb_gigaset startmode=0 | ||
240 | to an appropriate module configuration file, like /etc/modprobe.d/gigaset | ||
241 | or /etc/modprobe.conf.local. | ||
242 | |||
237 | 2.6. Call-ID (CID) mode | 243 | 2.6. Call-ID (CID) mode |
238 | ------------------ | 244 | ------------------ |
239 | Call-IDs are numbers used to tag commands to, and responses from, the | 245 | Call-IDs are numbers used to tag commands to, and responses from, the |
diff --git a/drivers/isdn/gigaset/Kconfig b/drivers/isdn/gigaset/Kconfig index dcefedc7044a..b18a92c32184 100644 --- a/drivers/isdn/gigaset/Kconfig +++ b/drivers/isdn/gigaset/Kconfig | |||
@@ -17,8 +17,7 @@ menuconfig ISDN_DRV_GIGASET | |||
17 | if ISDN_DRV_GIGASET | 17 | if ISDN_DRV_GIGASET |
18 | 18 | ||
19 | config GIGASET_CAPI | 19 | config GIGASET_CAPI |
20 | bool "Gigaset CAPI support (EXPERIMENTAL)" | 20 | bool "Gigaset CAPI support" |
21 | depends on EXPERIMENTAL | ||
22 | depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m') | 21 | depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m') |
23 | default ISDN_I4L='n' | 22 | default ISDN_I4L='n' |
24 | help | 23 | help |
@@ -27,6 +26,7 @@ config GIGASET_CAPI | |||
27 | subsystem you'll have to enable the capidrv glue driver. | 26 | subsystem you'll have to enable the capidrv glue driver. |
28 | (select ISDN_CAPI_CAPIDRV.) | 27 | (select ISDN_CAPI_CAPIDRV.) |
29 | Say N to build the old native ISDN4Linux variant. | 28 | Say N to build the old native ISDN4Linux variant. |
29 | If unsure, say Y. | ||
30 | 30 | ||
31 | config GIGASET_I4L | 31 | config GIGASET_I4L |
32 | bool | 32 | bool |