diff options
author | Tilman Schmidt <tilman@imap.cc> | 2009-04-05 02:39:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-06 20:07:57 -0400 |
commit | c69c6d107ab18e330f22f9380da353fed29c296b (patch) | |
tree | 6b8b134e6a15779fad4f5c35487c12b80e05c561 /Documentation/isdn/README.gigaset | |
parent | 51370e5b21c5825cff7482e1c38f4e7c5dab3e2b (diff) |
gigaset: documentation update
Update, correct and clarify instructions for loading the driver
and for setting the UNDOCREQ kernel configuration option.
Impact: documentation
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/isdn/README.gigaset')
-rw-r--r-- | Documentation/isdn/README.gigaset | 52 |
1 files changed, 32 insertions, 20 deletions
diff --git a/Documentation/isdn/README.gigaset b/Documentation/isdn/README.gigaset index 55b2852904a4..02c0e9341dd8 100644 --- a/Documentation/isdn/README.gigaset +++ b/Documentation/isdn/README.gigaset | |||
@@ -61,24 +61,28 @@ GigaSet 307x Device Driver | |||
61 | --------------------- | 61 | --------------------- |
62 | 2.1. Modules | 62 | 2.1. Modules |
63 | ------- | 63 | ------- |
64 | To get the device working, you have to load the proper kernel module. You | 64 | For the devices to work, the proper kernel modules have to be loaded. |
65 | can do this using | 65 | This normally happens automatically when the system detects the USB |
66 | modprobe modulename | 66 | device (base, M105) or when the line discipline is attached (M101). It |
67 | where modulename is ser_gigaset (M101), usb_gigaset (M105), or | 67 | can also be triggered manually using the modprobe(8) command, for example |
68 | bas_gigaset (direct USB connection to the base). | 68 | for troubleshooting or to pass module parameters. |
69 | 69 | ||
70 | The module ser_gigaset provides a serial line discipline N_GIGASET_M101 | 70 | The module ser_gigaset provides a serial line discipline N_GIGASET_M101 |
71 | which drives the device through the regular serial line driver. To use it, | 71 | which drives the device through the regular serial line driver. It must |
72 | run the Gigaset M101 daemon "gigasetm101d" (also available from | 72 | be attached to the serial line to which the M101 is connected with the |
73 | http://sourceforge.net/projects/gigaset307x/) with the device file of the | 73 | ldattach(8) command (requires util-linux-ng release 2.14 or later), for |
74 | RS232 port to the M101 as an argument, for example: | 74 | example: |
75 | gigasetm101d /dev/ttyS1 | 75 | ldattach GIGASET_M101 /dev/ttyS1 |
76 | This will open the device file, set its line discipline to N_GIGASET_M101, | 76 | This will open the device file, attach the line discipline to it, and |
77 | and then sleep in the background, keeping the device open so that the | 77 | then sleep in the background, keeping the device open so that the line |
78 | line discipline remains active. To deactivate it, kill the daemon, for | 78 | discipline remains active. To deactivate it, kill the daemon, for example |
79 | example with | 79 | with |
80 | killall gigasetm101d | 80 | killall ldattach |
81 | before disconnecting the device. | 81 | before disconnecting the device. To have this happen automatically at |
82 | system startup/shutdown on an LSB compatible system, create and activate | ||
83 | an appropriate LSB startup script /etc/init.d/gigaset. (The init name | ||
84 | 'gigaset' is officially assigned to this project by LANANA.) | ||
85 | Alternatively, just add the 'ldattach' command line to /etc/rc.local. | ||
82 | 86 | ||
83 | 2.2. Device nodes for user space programs | 87 | 2.2. Device nodes for user space programs |
84 | ------------------------------------ | 88 | ------------------------------------ |
@@ -194,10 +198,11 @@ GigaSet 307x Device Driver | |||
194 | operation (for wireless access to the base), but are needed for access | 198 | operation (for wireless access to the base), but are needed for access |
195 | to the M105's own configuration mode (registration to the base, baudrate | 199 | to the M105's own configuration mode (registration to the base, baudrate |
196 | and line format settings, device status queries) via the gigacontr | 200 | and line format settings, device status queries) via the gigacontr |
197 | utility. Their use is disabled in the driver by default for safety | 201 | utility. Their use is controlled by the kernel configuration option |
198 | reasons but can be enabled by setting the kernel configuration option | 202 | "Support for undocumented USB requests" (CONFIG_GIGASET_UNDOCREQ). If you |
199 | "Support for undocumented USB requests" (GIGASET_UNDOCREQ) to "Y" and | 203 | encounter error code -ENOTTY when trying to use some features of the |
200 | recompiling. | 204 | M105, try setting that option to "y" via 'make {x,menu}config' and |
205 | recompiling the driver. | ||
201 | 206 | ||
202 | 207 | ||
203 | 3. Troubleshooting | 208 | 3. Troubleshooting |
@@ -228,6 +233,13 @@ GigaSet 307x Device Driver | |||
228 | Solution: | 233 | Solution: |
229 | Select Unimodem mode for all DECT data adapters. (see section 2.4.) | 234 | Select Unimodem mode for all DECT data adapters. (see section 2.4.) |
230 | 235 | ||
236 | Problem: | ||
237 | You want to configure your USB DECT data adapter (M105) but gigacontr | ||
238 | reports an error: "/dev/ttyGU0: Inappropriate ioctl for device". | ||
239 | Solution: | ||
240 | Recompile the usb_gigaset driver with the kernel configuration option | ||
241 | CONFIG_GIGASET_UNDOCREQ set to 'y'. (see section 2.6.) | ||
242 | |||
231 | 3.2. Telling the driver to provide more information | 243 | 3.2. Telling the driver to provide more information |
232 | ---------------------------------------------- | 244 | ---------------------------------------------- |
233 | Building the driver with the "Gigaset debugging" kernel configuration | 245 | Building the driver with the "Gigaset debugging" kernel configuration |