diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 16:32:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 16:32:20 -0400 |
commit | cc6120c6687c34501c0b1d49b4d7e46c63911fed (patch) | |
tree | a43eeb2ed68ba9ef544fe1f1dc108c8848ba0df9 /Documentation | |
parent | 7b799bc82b5eebb8937ff773e4c4be7260698627 (diff) | |
parent | f5e09b7cac4a2705f55830db64d448c062e84e8e (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/input/appletouch.txt | 84 | ||||
-rw-r--r-- | Documentation/usb/proc_usb_info.txt | 13 |
2 files changed, 92 insertions, 5 deletions
diff --git a/Documentation/input/appletouch.txt b/Documentation/input/appletouch.txt new file mode 100644 index 000000000000..b48d11d0326d --- /dev/null +++ b/Documentation/input/appletouch.txt | |||
@@ -0,0 +1,84 @@ | |||
1 | Apple Touchpad Driver (appletouch) | ||
2 | ---------------------------------- | ||
3 | Copyright (C) 2005 Stelian Pop <stelian@popies.net> | ||
4 | |||
5 | appletouch is a Linux kernel driver for the USB touchpad found on post | ||
6 | February 2005 Apple Alu Powerbooks. | ||
7 | |||
8 | This driver is derived from Johannes Berg's appletrackpad driver[1], but it has | ||
9 | been improved in some areas: | ||
10 | * appletouch is a full kernel driver, no userspace program is necessary | ||
11 | * appletouch can be interfaced with the synaptics X11 driver, in order | ||
12 | to have touchpad acceleration, scrolling, etc. | ||
13 | |||
14 | Credits go to Johannes Berg for reverse-engineering the touchpad protocol, | ||
15 | Frank Arnold for further improvements, and Alex Harper for some additional | ||
16 | information about the inner workings of the touchpad sensors. | ||
17 | |||
18 | Usage: | ||
19 | ------ | ||
20 | |||
21 | In order to use the touchpad in the basic mode, compile the driver and load | ||
22 | the module. A new input device will be detected and you will be able to read | ||
23 | the mouse data from /dev/input/mice (using gpm, or X11). | ||
24 | |||
25 | In X11, you can configure the touchpad to use the synaptics X11 driver, which | ||
26 | will give additional functionalities, like acceleration, scrolling, 2 finger | ||
27 | tap for middle button mouse emulation, 3 finger tap for right button mouse | ||
28 | emulation, etc. In order to do this, make sure you're using a recent version of | ||
29 | the synaptics driver (tested with 0.14.2, available from [2]), and configure a | ||
30 | new input device in your X11 configuration file (take a look below for an | ||
31 | example). For additional configuration, see the synaptics driver documentation. | ||
32 | |||
33 | Section "InputDevice" | ||
34 | Identifier "Synaptics Touchpad" | ||
35 | Driver "synaptics" | ||
36 | Option "SendCoreEvents" "true" | ||
37 | Option "Device" "/dev/input/mice" | ||
38 | Option "Protocol" "auto-dev" | ||
39 | Option "LeftEdge" "0" | ||
40 | Option "RightEdge" "850" | ||
41 | Option "TopEdge" "0" | ||
42 | Option "BottomEdge" "645" | ||
43 | Option "MinSpeed" "0.4" | ||
44 | Option "MaxSpeed" "1" | ||
45 | Option "AccelFactor" "0.02" | ||
46 | Option "FingerLow" "0" | ||
47 | Option "FingerHigh" "30" | ||
48 | Option "MaxTapMove" "20" | ||
49 | Option "MaxTapTime" "100" | ||
50 | Option "HorizScrollDelta" "0" | ||
51 | Option "VertScrollDelta" "30" | ||
52 | Option "SHMConfig" "on" | ||
53 | EndSection | ||
54 | |||
55 | Section "ServerLayout" | ||
56 | ... | ||
57 | InputDevice "Mouse" | ||
58 | InputDevice "Synaptics Touchpad" | ||
59 | ... | ||
60 | EndSection | ||
61 | |||
62 | Fuzz problems: | ||
63 | -------------- | ||
64 | |||
65 | The touchpad sensors are very sensitive to heat, and will generate a lot of | ||
66 | noise when the temperature changes. This is especially true when you power-on | ||
67 | the laptop for the first time. | ||
68 | |||
69 | The appletouch driver tries to handle this noise and auto adapt itself, but it | ||
70 | is not perfect. If finger movements are not recognized anymore, try reloading | ||
71 | the driver. | ||
72 | |||
73 | You can activate debugging using the 'debug' module parameter. A value of 0 | ||
74 | deactivates any debugging, 1 activates tracing of invalid samples, 2 activates | ||
75 | full tracing (each sample is being traced): | ||
76 | modprobe appletouch debug=1 | ||
77 | or | ||
78 | echo "1" > /sys/module/appletouch/parameters/debug | ||
79 | |||
80 | Links: | ||
81 | ------ | ||
82 | |||
83 | [1]: http://johannes.sipsolutions.net/PowerBook/touchpad/ | ||
84 | [2]: http://web.telia.com/~u89404340/touchpad/index.html | ||
diff --git a/Documentation/usb/proc_usb_info.txt b/Documentation/usb/proc_usb_info.txt index 729c72d34c89..f86550fe38ee 100644 --- a/Documentation/usb/proc_usb_info.txt +++ b/Documentation/usb/proc_usb_info.txt | |||
@@ -20,7 +20,7 @@ the /proc/bus/usb/BBB/DDD files. | |||
20 | 20 | ||
21 | to /etc/fstab. This will mount usbfs at each reboot. | 21 | to /etc/fstab. This will mount usbfs at each reboot. |
22 | You can then issue `cat /proc/bus/usb/devices` to extract | 22 | You can then issue `cat /proc/bus/usb/devices` to extract |
23 | USB device information, and user mode drivers can use usbfs | 23 | USB device information, and user mode drivers can use usbfs |
24 | to interact with USB devices. | 24 | to interact with USB devices. |
25 | 25 | ||
26 | There are a number of mount options supported by usbfs. | 26 | There are a number of mount options supported by usbfs. |
@@ -32,7 +32,7 @@ the /proc/bus/usb/BBB/DDD files. | |||
32 | still see references to the older "usbdevfs" name. | 32 | still see references to the older "usbdevfs" name. |
33 | 33 | ||
34 | For more information on mounting the usbfs file system, see the | 34 | For more information on mounting the usbfs file system, see the |
35 | "USB Device Filesystem" section of the USB Guide. The latest copy | 35 | "USB Device Filesystem" section of the USB Guide. The latest copy |
36 | of the USB Guide can be found at http://www.linux-usb.org/ | 36 | of the USB Guide can be found at http://www.linux-usb.org/ |
37 | 37 | ||
38 | 38 | ||
@@ -133,7 +133,7 @@ B: Alloc=ddd/ddd us (xx%), #Int=ddd, #Iso=ddd | |||
133 | are the only transfers that reserve bandwidth. Control and bulk | 133 | are the only transfers that reserve bandwidth. Control and bulk |
134 | transfers use all other bandwidth, including reserved bandwidth that | 134 | transfers use all other bandwidth, including reserved bandwidth that |
135 | is not used for transfers (such as for short packets). | 135 | is not used for transfers (such as for short packets). |
136 | 136 | ||
137 | The percentage is how much of the "reserved" bandwidth is scheduled by | 137 | The percentage is how much of the "reserved" bandwidth is scheduled by |
138 | those transfers. For a low or full speed bus (loosely, "USB 1.1"), | 138 | those transfers. For a low or full speed bus (loosely, "USB 1.1"), |
139 | 90% of the bus bandwidth is reserved. For a high speed bus (loosely, | 139 | 90% of the bus bandwidth is reserved. For a high speed bus (loosely, |
@@ -197,7 +197,7 @@ C:* #Ifs=dd Cfg#=dd Atr=xx MPwr=dddmA | |||
197 | | | |__NumberOfInterfaces | 197 | | | |__NumberOfInterfaces |
198 | | |__ "*" indicates the active configuration (others are " ") | 198 | | |__ "*" indicates the active configuration (others are " ") |
199 | |__Config info tag | 199 | |__Config info tag |
200 | 200 | ||
201 | USB devices may have multiple configurations, each of which act | 201 | USB devices may have multiple configurations, each of which act |
202 | rather differently. For example, a bus-powered configuration | 202 | rather differently. For example, a bus-powered configuration |
203 | might be much less capable than one that is self-powered. Only | 203 | might be much less capable than one that is self-powered. Only |
@@ -228,7 +228,7 @@ I: If#=dd Alt=dd #EPs=dd Cls=xx(sssss) Sub=xx Prot=xx Driver=ssss | |||
228 | For example, default settings may not use more than a small | 228 | For example, default settings may not use more than a small |
229 | amount of periodic bandwidth. To use significant fractions | 229 | amount of periodic bandwidth. To use significant fractions |
230 | of bus bandwidth, drivers must select a non-default altsetting. | 230 | of bus bandwidth, drivers must select a non-default altsetting. |
231 | 231 | ||
232 | Only one setting for an interface may be active at a time, and | 232 | Only one setting for an interface may be active at a time, and |
233 | only one driver may bind to an interface at a time. Most devices | 233 | only one driver may bind to an interface at a time. Most devices |
234 | have only one alternate setting per interface. | 234 | have only one alternate setting per interface. |
@@ -297,18 +297,21 @@ S: SerialNumber=dce0 | |||
297 | C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA | 297 | C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA |
298 | I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub | 298 | I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub |
299 | E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms | 299 | E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms |
300 | |||
300 | T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 | 301 | T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 |
301 | D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 | 302 | D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
302 | P: Vendor=0451 ProdID=1446 Rev= 1.00 | 303 | P: Vendor=0451 ProdID=1446 Rev= 1.00 |
303 | C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA | 304 | C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA |
304 | I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub | 305 | I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub |
305 | E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms | 306 | E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms |
307 | |||
306 | T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 | 308 | T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 |
307 | D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 | 309 | D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
308 | P: Vendor=04b4 ProdID=0001 Rev= 0.00 | 310 | P: Vendor=04b4 ProdID=0001 Rev= 0.00 |
309 | C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA | 311 | C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA |
310 | I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse | 312 | I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse |
311 | E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms | 313 | E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms |
314 | |||
312 | T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 | 315 | T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 |
313 | D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 | 316 | D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
314 | P: Vendor=0565 ProdID=0001 Rev= 1.08 | 317 | P: Vendor=0565 ProdID=0001 Rev= 1.08 |