diff options
author | Henk <Henk.Vergonet@gmail.com> | 2005-08-17 04:40:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:40:57 -0400 |
commit | b71e318cdb1dc301d734fdd4983dfc6dc167235a (patch) | |
tree | 225958f7e2fd766e9834a07e33ad7b8727081ca5 /Documentation/input/yealink.txt | |
parent | d5ae36dd439549305f00a755556f49c9fa7bb237 (diff) |
[PATCH] USB: yealink: fix htons usage, documentation updates
Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/input/yealink.txt')
-rw-r--r-- | Documentation/input/yealink.txt | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/Documentation/input/yealink.txt b/Documentation/input/yealink.txt index 5665c32e2a94..85f095a7ad04 100644 --- a/Documentation/input/yealink.txt +++ b/Documentation/input/yealink.txt | |||
@@ -1,16 +1,18 @@ | |||
1 | yealink - Linux driver for usb-p1k phones | 1 | Driver documentation for yealink usb-p1k phones |
2 | 2 | ||
3 | 0. Status | 3 | 0. Status |
4 | ~~~~~~~~~ | 4 | ~~~~~~~~~ |
5 | 5 | ||
6 | The p1k is a relatively cheap usb 1.1 phone with: | 6 | The p1k is a relatively cheap usb 1.1 phone with: |
7 | - keyboard full support | 7 | - keyboard full support, yealink.ko / input event API |
8 | - LCD full support | 8 | - LCD full support, yealink.ko / sysfs API |
9 | - LED full support | 9 | - LED full support, yealink.ko / sysfs API |
10 | - dialtone full support | 10 | - dialtone full support, yealink.ko / sysfs API |
11 | - ringtone full support | 11 | - ringtone full support, yealink.ko / sysfs API |
12 | - audio playback via generic usb audio diver | 12 | - audio playback full support, snd_usb_audio.ko / alsa API |
13 | - audio record via generic usb audio diver | 13 | - audio record full support, snd_usb_audio.ko / alsa API |
14 | |||
15 | For vendor documentation see http://www.yealink.com | ||
14 | 16 | ||
15 | 17 | ||
16 | 1. Compilation (stand alone version) | 18 | 1. Compilation (stand alone version) |
@@ -178,7 +180,21 @@ updated with the first letter of the icon. | |||
178 | echo -n RINGTONE > /sys/..../hide_icon | 180 | echo -n RINGTONE > /sys/..../hide_icon |
179 | 181 | ||
180 | 182 | ||
181 | 5. Credits & Acknowledgments | 183 | 5. Sound features |
184 | ~~~~~~~~~~~~~~~~~ | ||
185 | Sound is supported by the ALSA driver: snd_usb_audio | ||
186 | |||
187 | One 16-bit channel with sample and playback rates of 8000 Hz is the practical | ||
188 | limit of the device. | ||
189 | |||
190 | Example - recording test: | ||
191 | arecord -v -d 10 -r 8000 -f S16_LE -t wav foobar.wav | ||
192 | |||
193 | Example - playback test: | ||
194 | aplay foobar.wav | ||
195 | |||
196 | |||
197 | 6. Credits & Acknowledgments | ||
182 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 198 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
183 | - Olivier Vandorpe, for starting the usbb2k-api project doing much of | 199 | - Olivier Vandorpe, for starting the usbb2k-api project doing much of |
184 | the reverse engineering. | 200 | the reverse engineering. |