aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-11-10 14:07:45 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 12:59:53 -0500
commitd4f373e57d3916814110968c5ea1155a8d972b5a (patch)
treeeb9e79187ab45942044e48c22c1b62c7c0c29ce1 /Documentation/kernel-parameters.txt
parent74c71ebd8d7c7a513022851a02bb52b9fa7e0dcb (diff)
USB: usb-storage: add "quirks=" module parameter
This patch (as1163b) adds a "quirks=" module parameter to usb-storage. This will allow people to make short-term changes to their unusual_devs list without rebuilding the entire driver. Testing will become much easier, and less-sophisticated users will be able to access their buggy devices after a simple config-file change instead of having to wait for a new kernel release. The patch also adds a documentation entry for usb-storage's "delay_use" parameter, which has been around for years but but was never listed among the kernel parameters. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 0b3f6711d2f1..8eb6e35405cd 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -91,6 +91,7 @@ parameter is applicable:
91 SUSPEND System suspend states are enabled. 91 SUSPEND System suspend states are enabled.
92 FTRACE Function tracing enabled. 92 FTRACE Function tracing enabled.
93 TS Appropriate touchscreen support is enabled. 93 TS Appropriate touchscreen support is enabled.
94 UMS USB Mass Storage support is enabled.
94 USB USB support is enabled. 95 USB USB support is enabled.
95 USBHID USB Human Interface Device support is enabled. 96 USBHID USB Human Interface Device support is enabled.
96 V4L Video For Linux support is enabled. 97 V4L Video For Linux support is enabled.
@@ -2383,6 +2384,34 @@ and is between 256 and 4096 characters. It is defined in the file
2383 usbhid.mousepoll= 2384 usbhid.mousepoll=
2384 [USBHID] The interval which mice are to be polled at. 2385 [USBHID] The interval which mice are to be polled at.
2385 2386
2387 usb-storage.delay_use=
2388 [UMS] The delay in seconds before a new device is
2389 scanned for Logical Units (default 5).
2390
2391 usb-storage.quirks=
2392 [UMS] A list of quirks entries to supplement or
2393 override the built-in unusual_devs list. List
2394 entries are separated by commas. Each entry has
2395 the form VID:PID:Flags where VID and PID are Vendor
2396 and Product ID values (4-digit hex numbers) and
2397 Flags is a set of characters, each corresponding
2398 to a common usb-storage quirk flag as follows:
2399 c = FIX_CAPACITY (decrease the reported
2400 device capacity by one sector);
2401 i = IGNORE_DEVICE (don't bind to this
2402 device);
2403 l = NOT_LOCKABLE (don't try to lock and
2404 unlock ejectable media);
2405 m = MAX_SECTORS_64 (don't transfer more
2406 than 64 sectors = 32 KB at a time);
2407 r = IGNORE_RESIDUE (the device reports
2408 bogus residue values);
2409 s = SINGLE_LUN (the device has only one
2410 Logical Unit);
2411 w = NO_WP_DETECT (don't test whether the
2412 medium is write-protected).
2413 Example: quirks=0419:aaf5:rl,0421:0433:rc
2414
2386 add_efi_memmap [EFI; x86-32,X86-64] Include EFI memory map in 2415 add_efi_memmap [EFI; x86-32,X86-64] Include EFI memory map in
2387 kernel's map of available physical RAM. 2416 kernel's map of available physical RAM.
2388 2417