diff options
Diffstat (limited to 'Documentation/ABI/testing')
41 files changed, 1719 insertions, 42 deletions
diff --git a/Documentation/ABI/testing/configfs-spear-pcie-gadget b/Documentation/ABI/testing/configfs-spear-pcie-gadget new file mode 100644 index 000000000000..875988146a63 --- /dev/null +++ b/Documentation/ABI/testing/configfs-spear-pcie-gadget | |||
@@ -0,0 +1,31 @@ | |||
1 | What: /config/pcie-gadget | ||
2 | Date: Feb 2011 | ||
3 | KernelVersion: 2.6.37 | ||
4 | Contact: Pratyush Anand <pratyush.anand@st.com> | ||
5 | Description: | ||
6 | |||
7 | Interface is used to configure selected dual mode PCIe controller | ||
8 | as device and then program its various registers to configure it | ||
9 | as a particular device type. | ||
10 | This interfaces can be used to show spear's PCIe device capability. | ||
11 | |||
12 | Nodes are only visible when configfs is mounted. To mount configfs | ||
13 | in /config directory use: | ||
14 | # mount -t configfs none /config/ | ||
15 | |||
16 | For nth PCIe Device Controller | ||
17 | /config/pcie-gadget.n/ | ||
18 | link ... used to enable ltssm and read its status. | ||
19 | int_type ...used to configure and read type of supported | ||
20 | interrupt | ||
21 | no_of_msi ... used to configure number of MSI vector needed and | ||
22 | to read no of MSI granted. | ||
23 | inta ... write 1 to assert INTA and 0 to de-assert. | ||
24 | send_msi ... write MSI vector to be sent. | ||
25 | vendor_id ... used to write and read vendor id (hex) | ||
26 | device_id ... used to write and read device id (hex) | ||
27 | bar0_size ... used to write and read bar0_size | ||
28 | bar0_address ... used to write and read bar0 mapped area in hex. | ||
29 | bar0_rw_offset ... used to write and read offset of bar0 where | ||
30 | bar0_data will be written or read. | ||
31 | bar0_data ... used to write and read data at bar0_rw_offset. | ||
diff --git a/Documentation/ABI/testing/pstore b/Documentation/ABI/testing/pstore new file mode 100644 index 000000000000..ddf451ee2a08 --- /dev/null +++ b/Documentation/ABI/testing/pstore | |||
@@ -0,0 +1,41 @@ | |||
1 | Where: /dev/pstore/... | ||
2 | Date: March 2011 | ||
3 | Kernel Version: 2.6.39 | ||
4 | Contact: tony.luck@intel.com | ||
5 | Description: Generic interface to platform dependent persistent storage. | ||
6 | |||
7 | Platforms that provide a mechanism to preserve some data | ||
8 | across system reboots can register with this driver to | ||
9 | provide a generic interface to show records captured in | ||
10 | the dying moments. In the case of a panic the last part | ||
11 | of the console log is captured, but other interesting | ||
12 | data can also be saved. | ||
13 | |||
14 | # mount -t pstore -o kmsg_bytes=8000 - /dev/pstore | ||
15 | |||
16 | $ ls -l /dev/pstore | ||
17 | total 0 | ||
18 | -r--r--r-- 1 root root 7896 Nov 30 15:38 dmesg-erst-1 | ||
19 | |||
20 | Different users of this interface will result in different | ||
21 | filename prefixes. Currently two are defined: | ||
22 | |||
23 | "dmesg" - saved console log | ||
24 | "mce" - architecture dependent data from fatal h/w error | ||
25 | |||
26 | Once the information in a file has been read, removing | ||
27 | the file will signal to the underlying persistent storage | ||
28 | device that it can reclaim the space for later re-use. | ||
29 | |||
30 | $ rm /dev/pstore/dmesg-erst-1 | ||
31 | |||
32 | The expectation is that all files in /dev/pstore | ||
33 | will be saved elsewhere and erased from persistent store | ||
34 | soon after boot to free up space ready for the next | ||
35 | catastrophe. | ||
36 | |||
37 | The 'kmsg_bytes' mount option changes the target amount of | ||
38 | data saved on each oops/panic. Pstore saves (possibly | ||
39 | multiple) files based on the record size of the underlying | ||
40 | persistent storage until at least this amount is reached. | ||
41 | Default is 10 Kbytes. | ||
diff --git a/Documentation/ABI/testing/sysfs-ata b/Documentation/ABI/testing/sysfs-ata new file mode 100644 index 000000000000..0a932155cbba --- /dev/null +++ b/Documentation/ABI/testing/sysfs-ata | |||
@@ -0,0 +1,99 @@ | |||
1 | What: /sys/class/ata_... | ||
2 | Date: August 2008 | ||
3 | Contact: Gwendal Grignou<gwendal@google.com> | ||
4 | Description: | ||
5 | |||
6 | Provide a place in sysfs for storing the ATA topology of the system. This allows | ||
7 | retrieving various information about ATA objects. | ||
8 | |||
9 | Files under /sys/class/ata_port | ||
10 | ------------------------------- | ||
11 | |||
12 | For each port, a directory ataX is created where X is the ata_port_id of | ||
13 | the port. The device parent is the ata host device. | ||
14 | |||
15 | idle_irq (read) | ||
16 | |||
17 | Number of IRQ received by the port while idle [some ata HBA only]. | ||
18 | |||
19 | nr_pmp_links (read) | ||
20 | |||
21 | If a SATA Port Multiplier (PM) is connected, number of link behind it. | ||
22 | |||
23 | Files under /sys/class/ata_link | ||
24 | ------------------------------- | ||
25 | |||
26 | Behind each port, there is a ata_link. If there is a SATA PM in the | ||
27 | topology, 15 ata_link objects are created. | ||
28 | |||
29 | If a link is behind a port, the directory name is linkX, where X is | ||
30 | ata_port_id of the port. | ||
31 | If a link is behind a PM, its name is linkX.Y where X is ata_port_id | ||
32 | of the parent port and Y the PM port. | ||
33 | |||
34 | hw_sata_spd_limit | ||
35 | |||
36 | Maximum speed supported by the connected SATA device. | ||
37 | |||
38 | sata_spd_limit | ||
39 | |||
40 | Maximum speed imposed by libata. | ||
41 | |||
42 | sata_spd | ||
43 | |||
44 | Current speed of the link [1.5, 3Gps,...]. | ||
45 | |||
46 | Files under /sys/class/ata_device | ||
47 | --------------------------------- | ||
48 | |||
49 | Behind each link, up to two ata device are created. | ||
50 | The name of the directory is devX[.Y].Z where: | ||
51 | - X is ata_port_id of the port where the device is connected, | ||
52 | - Y the port of the PM if any, and | ||
53 | - Z the device id: for PATA, there is usually 2 devices [0,1], | ||
54 | only 1 for SATA. | ||
55 | |||
56 | class | ||
57 | Device class. Can be "ata" for disk, "atapi" for packet device, | ||
58 | "pmp" for PM, or "none" if no device was found behind the link. | ||
59 | |||
60 | dma_mode | ||
61 | |||
62 | Transfer modes supported by the device when in DMA mode. | ||
63 | Mostly used by PATA device. | ||
64 | |||
65 | pio_mode | ||
66 | |||
67 | Transfer modes supported by the device when in PIO mode. | ||
68 | Mostly used by PATA device. | ||
69 | |||
70 | xfer_mode | ||
71 | |||
72 | Current transfer mode. | ||
73 | |||
74 | id | ||
75 | |||
76 | Cached result of IDENTIFY command, as described in ATA8 7.16 and 7.17. | ||
77 | Only valid if the device is not a PM. | ||
78 | |||
79 | gscr | ||
80 | |||
81 | Cached result of the dump of PM GSCR register. | ||
82 | Valid registers are: | ||
83 | 0: SATA_PMP_GSCR_PROD_ID, | ||
84 | 1: SATA_PMP_GSCR_REV, | ||
85 | 2: SATA_PMP_GSCR_PORT_INFO, | ||
86 | 32: SATA_PMP_GSCR_ERROR, | ||
87 | 33: SATA_PMP_GSCR_ERROR_EN, | ||
88 | 64: SATA_PMP_GSCR_FEAT, | ||
89 | 96: SATA_PMP_GSCR_FEAT_EN, | ||
90 | 130: SATA_PMP_GSCR_SII_GPIO | ||
91 | Only valid if the device is a PM. | ||
92 | |||
93 | spdn_cnt | ||
94 | |||
95 | Number of time libata decided to lower the speed of link due to errors. | ||
96 | |||
97 | ering | ||
98 | |||
99 | Formatted output of the error ring of the device. | ||
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block index 4873c759d535..c1eb41cb9876 100644 --- a/Documentation/ABI/testing/sysfs-block +++ b/Documentation/ABI/testing/sysfs-block | |||
@@ -142,3 +142,67 @@ Description: | |||
142 | with the previous I/O request are enabled. When set to 2, | 142 | with the previous I/O request are enabled. When set to 2, |
143 | all merge tries are disabled. The default value is 0 - | 143 | all merge tries are disabled. The default value is 0 - |
144 | which enables all types of merge tries. | 144 | which enables all types of merge tries. |
145 | |||
146 | What: /sys/block/<disk>/discard_alignment | ||
147 | Date: May 2011 | ||
148 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
149 | Description: | ||
150 | Devices that support discard functionality may | ||
151 | internally allocate space in units that are bigger than | ||
152 | the exported logical block size. The discard_alignment | ||
153 | parameter indicates how many bytes the beginning of the | ||
154 | device is offset from the internal allocation unit's | ||
155 | natural alignment. | ||
156 | |||
157 | What: /sys/block/<disk>/<partition>/discard_alignment | ||
158 | Date: May 2011 | ||
159 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
160 | Description: | ||
161 | Devices that support discard functionality may | ||
162 | internally allocate space in units that are bigger than | ||
163 | the exported logical block size. The discard_alignment | ||
164 | parameter indicates how many bytes the beginning of the | ||
165 | partition is offset from the internal allocation unit's | ||
166 | natural alignment. | ||
167 | |||
168 | What: /sys/block/<disk>/queue/discard_granularity | ||
169 | Date: May 2011 | ||
170 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
171 | Description: | ||
172 | Devices that support discard functionality may | ||
173 | internally allocate space using units that are bigger | ||
174 | than the logical block size. The discard_granularity | ||
175 | parameter indicates the size of the internal allocation | ||
176 | unit in bytes if reported by the device. Otherwise the | ||
177 | discard_granularity will be set to match the device's | ||
178 | physical block size. A discard_granularity of 0 means | ||
179 | that the device does not support discard functionality. | ||
180 | |||
181 | What: /sys/block/<disk>/queue/discard_max_bytes | ||
182 | Date: May 2011 | ||
183 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
184 | Description: | ||
185 | Devices that support discard functionality may have | ||
186 | internal limits on the number of bytes that can be | ||
187 | trimmed or unmapped in a single operation. Some storage | ||
188 | protocols also have inherent limits on the number of | ||
189 | blocks that can be described in a single command. The | ||
190 | discard_max_bytes parameter is set by the device driver | ||
191 | to the maximum number of bytes that can be discarded in | ||
192 | a single operation. Discard requests issued to the | ||
193 | device must not exceed this limit. A discard_max_bytes | ||
194 | value of 0 means that the device does not support | ||
195 | discard functionality. | ||
196 | |||
197 | What: /sys/block/<disk>/queue/discard_zeroes_data | ||
198 | Date: May 2011 | ||
199 | Contact: Martin K. Petersen <martin.petersen@oracle.com> | ||
200 | Description: | ||
201 | Devices that support discard functionality may return | ||
202 | stale or random data when a previously discarded block | ||
203 | is read back. This can cause problems if the filesystem | ||
204 | expects discarded blocks to be explicitly cleared. If a | ||
205 | device reports that it deterministically returns zeroes | ||
206 | when a discarded area is read the discard_zeroes_data | ||
207 | parameter will be set to one. Otherwise it will be 0 and | ||
208 | the result of reading a discarded area is undefined. | ||
diff --git a/Documentation/ABI/testing/sysfs-block-zram b/Documentation/ABI/testing/sysfs-block-zram new file mode 100644 index 000000000000..c8b3b48ec62c --- /dev/null +++ b/Documentation/ABI/testing/sysfs-block-zram | |||
@@ -0,0 +1,99 @@ | |||
1 | What: /sys/block/zram<id>/disksize | ||
2 | Date: August 2010 | ||
3 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
4 | Description: | ||
5 | The disksize file is read-write and specifies the disk size | ||
6 | which represents the limit on the *uncompressed* worth of data | ||
7 | that can be stored in this disk. | ||
8 | |||
9 | What: /sys/block/zram<id>/initstate | ||
10 | Date: August 2010 | ||
11 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
12 | Description: | ||
13 | The disksize file is read-only and shows the initialization | ||
14 | state of the device. | ||
15 | |||
16 | What: /sys/block/zram<id>/reset | ||
17 | Date: August 2010 | ||
18 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
19 | Description: | ||
20 | The disksize file is write-only and allows resetting the | ||
21 | device. The reset operation frees all the memory assocaited | ||
22 | with this device. | ||
23 | |||
24 | What: /sys/block/zram<id>/num_reads | ||
25 | Date: August 2010 | ||
26 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
27 | Description: | ||
28 | The num_reads file is read-only and specifies the number of | ||
29 | reads (failed or successful) done on this device. | ||
30 | |||
31 | What: /sys/block/zram<id>/num_writes | ||
32 | Date: August 2010 | ||
33 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
34 | Description: | ||
35 | The num_writes file is read-only and specifies the number of | ||
36 | writes (failed or successful) done on this device. | ||
37 | |||
38 | What: /sys/block/zram<id>/invalid_io | ||
39 | Date: August 2010 | ||
40 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
41 | Description: | ||
42 | The invalid_io file is read-only and specifies the number of | ||
43 | non-page-size-aligned I/O requests issued to this device. | ||
44 | |||
45 | What: /sys/block/zram<id>/notify_free | ||
46 | Date: August 2010 | ||
47 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
48 | Description: | ||
49 | The notify_free file is read-only and specifies the number of | ||
50 | swap slot free notifications received by this device. These | ||
51 | notifications are send to a swap block device when a swap slot | ||
52 | is freed. This statistic is applicable only when this disk is | ||
53 | being used as a swap disk. | ||
54 | |||
55 | What: /sys/block/zram<id>/discard | ||
56 | Date: August 2010 | ||
57 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
58 | Description: | ||
59 | The discard file is read-only and specifies the number of | ||
60 | discard requests received by this device. These requests | ||
61 | provide information to block device regarding blocks which are | ||
62 | no longer used by filesystem. | ||
63 | |||
64 | What: /sys/block/zram<id>/zero_pages | ||
65 | Date: August 2010 | ||
66 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
67 | Description: | ||
68 | The zero_pages file is read-only and specifies number of zero | ||
69 | filled pages written to this disk. No memory is allocated for | ||
70 | such pages. | ||
71 | |||
72 | What: /sys/block/zram<id>/orig_data_size | ||
73 | Date: August 2010 | ||
74 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
75 | Description: | ||
76 | The orig_data_size file is read-only and specifies uncompressed | ||
77 | size of data stored in this disk. This excludes zero-filled | ||
78 | pages (zero_pages) since no memory is allocated for them. | ||
79 | Unit: bytes | ||
80 | |||
81 | What: /sys/block/zram<id>/compr_data_size | ||
82 | Date: August 2010 | ||
83 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
84 | Description: | ||
85 | The compr_data_size file is read-only and specifies compressed | ||
86 | size of data stored in this disk. So, compression ratio can be | ||
87 | calculated using orig_data_size and this statistic. | ||
88 | Unit: bytes | ||
89 | |||
90 | What: /sys/block/zram<id>/mem_used_total | ||
91 | Date: August 2010 | ||
92 | Contact: Nitin Gupta <ngupta@vflare.org> | ||
93 | Description: | ||
94 | The mem_used_total file is read-only and specifies the amount | ||
95 | of memory, including allocator fragmentation and metadata | ||
96 | overhead, allocated for this disk. So, allocator space | ||
97 | efficiency can be calculated using compr_data_size and this | ||
98 | statistic. | ||
99 | Unit: bytes \ No newline at end of file | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-bcma b/Documentation/ABI/testing/sysfs-bus-bcma new file mode 100644 index 000000000000..06b62badddd1 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-bcma | |||
@@ -0,0 +1,31 @@ | |||
1 | What: /sys/bus/bcma/devices/.../manuf | ||
2 | Date: May 2011 | ||
3 | KernelVersion: 2.6.40 | ||
4 | Contact: Rafał Miłecki <zajec5@gmail.com> | ||
5 | Description: | ||
6 | Each BCMA core has it's manufacturer id. See | ||
7 | include/linux/bcma/bcma.h for possible values. | ||
8 | |||
9 | What: /sys/bus/bcma/devices/.../id | ||
10 | Date: May 2011 | ||
11 | KernelVersion: 2.6.40 | ||
12 | Contact: Rafał Miłecki <zajec5@gmail.com> | ||
13 | Description: | ||
14 | There are a few types of BCMA cores, they can be identified by | ||
15 | id field. | ||
16 | |||
17 | What: /sys/bus/bcma/devices/.../rev | ||
18 | Date: May 2011 | ||
19 | KernelVersion: 2.6.40 | ||
20 | Contact: Rafał Miłecki <zajec5@gmail.com> | ||
21 | Description: | ||
22 | BCMA cores of the same type can still slightly differ depending | ||
23 | on their revision. Use it for detailed programming. | ||
24 | |||
25 | What: /sys/bus/bcma/devices/.../class | ||
26 | Date: May 2011 | ||
27 | KernelVersion: 2.6.40 | ||
28 | Contact: Rafał Miłecki <zajec5@gmail.com> | ||
29 | Description: | ||
30 | Each BCMA core is identified by few fields, including class it | ||
31 | belongs to. See include/linux/bcma/bcma.h for possible values. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-css b/Documentation/ABI/testing/sysfs-bus-css index b585ec258a08..2979c40c10e9 100644 --- a/Documentation/ABI/testing/sysfs-bus-css +++ b/Documentation/ABI/testing/sysfs-bus-css | |||
@@ -29,7 +29,7 @@ Contact: Cornelia Huck <cornelia.huck@de.ibm.com> | |||
29 | linux-s390@vger.kernel.org | 29 | linux-s390@vger.kernel.org |
30 | Description: Contains the PIM/PAM/POM values, as reported by the | 30 | Description: Contains the PIM/PAM/POM values, as reported by the |
31 | channel subsystem when last queried by the common I/O | 31 | channel subsystem when last queried by the common I/O |
32 | layer (this implies that this attribute is not neccessarily | 32 | layer (this implies that this attribute is not necessarily |
33 | in sync with the values current in the channel subsystem). | 33 | in sync with the values current in the channel subsystem). |
34 | Note: This is an I/O-subchannel specific attribute. | 34 | Note: This is an I/O-subchannel specific attribute. |
35 | Users: s390-tools, HAL | 35 | Users: s390-tools, HAL |
diff --git a/Documentation/ABI/testing/sysfs-bus-media b/Documentation/ABI/testing/sysfs-bus-media new file mode 100644 index 000000000000..7057e574154a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-media | |||
@@ -0,0 +1,6 @@ | |||
1 | What: /sys/bus/media/devices/.../model | ||
2 | Date: January 2011 | ||
3 | Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com> | ||
4 | linux-media@vger.kernel.org | ||
5 | Description: Contains the device model name in UTF-8. The device version is | ||
6 | is not be appended to the model name. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index f979d825d112..349ecf26ce10 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci | |||
@@ -74,6 +74,15 @@ Description: | |||
74 | hot-remove the PCI device and any of its children. | 74 | hot-remove the PCI device and any of its children. |
75 | Depends on CONFIG_HOTPLUG. | 75 | Depends on CONFIG_HOTPLUG. |
76 | 76 | ||
77 | What: /sys/bus/pci/devices/.../pci_bus/.../rescan | ||
78 | Date: May 2011 | ||
79 | Contact: Linux PCI developers <linux-pci@vger.kernel.org> | ||
80 | Description: | ||
81 | Writing a non-zero value to this attribute will | ||
82 | force a rescan of the bus and all child buses, | ||
83 | and re-discover devices removed earlier from this | ||
84 | part of the device tree. Depends on CONFIG_HOTPLUG. | ||
85 | |||
77 | What: /sys/bus/pci/devices/.../rescan | 86 | What: /sys/bus/pci/devices/.../rescan |
78 | Date: January 2009 | 87 | Date: January 2009 |
79 | Contact: Linux PCI developers <linux-pci@vger.kernel.org> | 88 | Contact: Linux PCI developers <linux-pci@vger.kernel.org> |
@@ -145,9 +154,11 @@ Date: July 2010 | |||
145 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com | 154 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com |
146 | Description: | 155 | Description: |
147 | Reading this attribute will provide the firmware | 156 | Reading this attribute will provide the firmware |
148 | given name(SMBIOS type 41 string) of the PCI device. | 157 | given name (SMBIOS type 41 string or ACPI _DSM string) of |
149 | The attribute will be created only if the firmware | 158 | the PCI device. The attribute will be created only |
150 | has given a name to the PCI device. | 159 | if the firmware has given a name to the PCI device. |
160 | ACPI _DSM string name will be given priority if the | ||
161 | system firmware provides SMBIOS type 41 string also. | ||
151 | Users: | 162 | Users: |
152 | Userspace applications interested in knowing the | 163 | Userspace applications interested in knowing the |
153 | firmware assigned name of the PCI device. | 164 | firmware assigned name of the PCI device. |
@@ -157,12 +168,27 @@ Date: July 2010 | |||
157 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com | 168 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com |
158 | Description: | 169 | Description: |
159 | Reading this attribute will provide the firmware | 170 | Reading this attribute will provide the firmware |
160 | given instance(SMBIOS type 41 device type instance) | 171 | given instance (SMBIOS type 41 device type instance) of the |
161 | of the PCI device. The attribute will be created | 172 | PCI device. The attribute will be created only if the firmware |
162 | only if the firmware has given a device type instance | 173 | has given an instance number to the PCI device. |
163 | to the PCI device. | ||
164 | Users: | 174 | Users: |
165 | Userspace applications interested in knowing the | 175 | Userspace applications interested in knowing the |
166 | firmware assigned device type instance of the PCI | 176 | firmware assigned device type instance of the PCI |
167 | device that can help in understanding the firmware | 177 | device that can help in understanding the firmware |
168 | intended order of the PCI device. | 178 | intended order of the PCI device. |
179 | |||
180 | What: /sys/bus/pci/devices/.../acpi_index | ||
181 | Date: July 2010 | ||
182 | Contact: Narendra K <narendra_k@dell.com>, linux-bugs@dell.com | ||
183 | Description: | ||
184 | Reading this attribute will provide the firmware | ||
185 | given instance (ACPI _DSM instance number) of the PCI device. | ||
186 | The attribute will be created only if the firmware has given | ||
187 | an instance number to the PCI device. ACPI _DSM instance number | ||
188 | will be given priority if the system firmware provides SMBIOS | ||
189 | type 41 device type instance also. | ||
190 | Users: | ||
191 | Userspace applications interested in knowing the | ||
192 | firmware assigned instance number of the PCI | ||
193 | device that can help in understanding the firmware | ||
194 | intended order of the PCI device. | ||
diff --git a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss index 4f29e5f1ebfa..f5bb0a3bb8c0 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss +++ b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss | |||
@@ -59,3 +59,15 @@ Kernel Version: 2.6.31 | |||
59 | Contact: iss_storagedev@hp.com | 59 | Contact: iss_storagedev@hp.com |
60 | Description: Displays the usage count (number of opens) of logical drive Y | 60 | Description: Displays the usage count (number of opens) of logical drive Y |
61 | of controller X. | 61 | of controller X. |
62 | |||
63 | Where: /sys/bus/pci/devices/<dev>/ccissX/resettable | ||
64 | Date: February 2011 | ||
65 | Kernel Version: 2.6.38 | ||
66 | Contact: iss_storagedev@hp.com | ||
67 | Description: Value of 1 indicates the controller can honor the reset_devices | ||
68 | kernel parameter. Value of 0 indicates reset_devices cannot be | ||
69 | honored. This is to allow, for example, kexec tools to be able | ||
70 | to warn the user if they designate an unresettable device as | ||
71 | a dump device, as kdump requires resetting the device in order | ||
72 | to work reliably. | ||
73 | |||
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd new file mode 100644 index 000000000000..fa72ccb2282e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-rbd | |||
@@ -0,0 +1,83 @@ | |||
1 | What: /sys/bus/rbd/ | ||
2 | Date: November 2010 | ||
3 | Contact: Yehuda Sadeh <yehuda@newdream.net>, | ||
4 | Sage Weil <sage@newdream.net> | ||
5 | Description: | ||
6 | |||
7 | Being used for adding and removing rbd block devices. | ||
8 | |||
9 | Usage: <mon ip addr> <options> <pool name> <rbd image name> [snap name] | ||
10 | |||
11 | $ echo "192.168.0.1 name=admin rbd foo" > /sys/bus/rbd/add | ||
12 | |||
13 | The snapshot name can be "-" or omitted to map the image read/write. A <dev-id> | ||
14 | will be assigned for any registered block device. If snapshot is used, it will | ||
15 | be mapped read-only. | ||
16 | |||
17 | Removal of a device: | ||
18 | |||
19 | $ echo <dev-id> > /sys/bus/rbd/remove | ||
20 | |||
21 | Entries under /sys/bus/rbd/devices/<dev-id>/ | ||
22 | -------------------------------------------- | ||
23 | |||
24 | client_id | ||
25 | |||
26 | The ceph unique client id that was assigned for this specific session. | ||
27 | |||
28 | major | ||
29 | |||
30 | The block device major number. | ||
31 | |||
32 | name | ||
33 | |||
34 | The name of the rbd image. | ||
35 | |||
36 | pool | ||
37 | |||
38 | The pool where this rbd image resides. The pool-name pair is unique | ||
39 | per rados system. | ||
40 | |||
41 | size | ||
42 | |||
43 | The size (in bytes) of the mapped block device. | ||
44 | |||
45 | refresh | ||
46 | |||
47 | Writing to this file will reread the image header data and set | ||
48 | all relevant datastructures accordingly. | ||
49 | |||
50 | current_snap | ||
51 | |||
52 | The current snapshot for which the device is mapped. | ||
53 | |||
54 | create_snap | ||
55 | |||
56 | Create a snapshot: | ||
57 | |||
58 | $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create | ||
59 | |||
60 | rollback_snap | ||
61 | |||
62 | Rolls back data to the specified snapshot. This goes over the entire | ||
63 | list of rados blocks and sends a rollback command to each. | ||
64 | |||
65 | $ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_rollback | ||
66 | |||
67 | snap_* | ||
68 | |||
69 | A directory per each snapshot | ||
70 | |||
71 | |||
72 | Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name> | ||
73 | ------------------------------------------------------------- | ||
74 | |||
75 | id | ||
76 | |||
77 | The rados internal snapshot id assigned for this snapshot | ||
78 | |||
79 | size | ||
80 | |||
81 | The size of the image when this snapshot was taken. | ||
82 | |||
83 | |||
diff --git a/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 b/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 new file mode 100644 index 000000000000..aa11dbdd794b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 | |||
@@ -0,0 +1,56 @@ | |||
1 | What: /sys/class/backlight/<backlight>/<ambient light zone>_max | ||
2 | What: /sys/class/backlight/<backlight>/l1_daylight_max | ||
3 | What: /sys/class/backlight/<backlight>/l2_bright_max | ||
4 | What: /sys/class/backlight/<backlight>/l3_office_max | ||
5 | What: /sys/class/backlight/<backlight>/l4_indoor_max | ||
6 | What: /sys/class/backlight/<backlight>/l5_dark_max | ||
7 | Date: Mai 2011 | ||
8 | KernelVersion: 2.6.40 | ||
9 | Contact: device-drivers-devel@blackfin.uclinux.org | ||
10 | Description: | ||
11 | Control the maximum brightness for <ambient light zone> | ||
12 | on this <backlight>. Values are between 0 and 127. This file | ||
13 | will also show the brightness level stored for this | ||
14 | <ambient light zone>. | ||
15 | |||
16 | What: /sys/class/backlight/<backlight>/<ambient light zone>_dim | ||
17 | What: /sys/class/backlight/<backlight>/l2_bright_dim | ||
18 | What: /sys/class/backlight/<backlight>/l3_office_dim | ||
19 | What: /sys/class/backlight/<backlight>/l4_indoor_dim | ||
20 | What: /sys/class/backlight/<backlight>/l5_dark_dim | ||
21 | Date: Mai 2011 | ||
22 | KernelVersion: 2.6.40 | ||
23 | Contact: device-drivers-devel@blackfin.uclinux.org | ||
24 | Description: | ||
25 | Control the dim brightness for <ambient light zone> | ||
26 | on this <backlight>. Values are between 0 and 127, typically | ||
27 | set to 0. Full off when the backlight is disabled. | ||
28 | This file will also show the dim brightness level stored for | ||
29 | this <ambient light zone>. | ||
30 | |||
31 | What: /sys/class/backlight/<backlight>/ambient_light_level | ||
32 | Date: Mai 2011 | ||
33 | KernelVersion: 2.6.40 | ||
34 | Contact: device-drivers-devel@blackfin.uclinux.org | ||
35 | Description: | ||
36 | Get conversion value of the light sensor. | ||
37 | This value is updated every 80 ms (when the light sensor | ||
38 | is enabled). Returns integer between 0 (dark) and | ||
39 | 8000 (max ambient brightness) | ||
40 | |||
41 | What: /sys/class/backlight/<backlight>/ambient_light_zone | ||
42 | Date: Mai 2011 | ||
43 | KernelVersion: 2.6.40 | ||
44 | Contact: device-drivers-devel@blackfin.uclinux.org | ||
45 | Description: | ||
46 | Get/Set current ambient light zone. Reading returns | ||
47 | integer between 1..5 (1 = daylight, 2 = bright, ..., 5 = dark). | ||
48 | Writing a value between 1..5 forces the backlight controller | ||
49 | to enter the corresponding ambient light zone. | ||
50 | Writing 0 returns to normal/automatic ambient light level | ||
51 | operation. The ambient light sensing feature on these devices | ||
52 | is an extension to the API documented in | ||
53 | Documentation/ABI/stable/sysfs-class-backlight. | ||
54 | It can be enabled by writing the value stored in | ||
55 | /sys/class/backlight/<backlight>/max_brightness to | ||
56 | /sys/class/backlight/<backlight>/brightness. \ No newline at end of file | ||
diff --git a/Documentation/ABI/testing/sysfs-class-led b/Documentation/ABI/testing/sysfs-class-led index 9e4541d71cb6..3646ec85d513 100644 --- a/Documentation/ABI/testing/sysfs-class-led +++ b/Documentation/ABI/testing/sysfs-class-led | |||
@@ -26,3 +26,12 @@ Description: | |||
26 | scheduler is chosen. Trigger specific parameters can appear in | 26 | scheduler is chosen. Trigger specific parameters can appear in |
27 | /sys/class/leds/<led> once a given trigger is selected. | 27 | /sys/class/leds/<led> once a given trigger is selected. |
28 | 28 | ||
29 | What: /sys/class/leds/<led>/inverted | ||
30 | Date: January 2011 | ||
31 | KernelVersion: 2.6.38 | ||
32 | Contact: Richard Purdie <rpurdie@rpsys.net> | ||
33 | Description: | ||
34 | Invert the LED on/off state. This parameter is specific to | ||
35 | gpio and backlight triggers. In case of the backlight trigger, | ||
36 | it is useful when driving a LED which is intended to indicate | ||
37 | a device in a standby like state. | ||
diff --git a/Documentation/ABI/testing/sysfs-class-net-batman-adv b/Documentation/ABI/testing/sysfs-class-net-batman-adv new file mode 100644 index 000000000000..38dd762def4b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-net-batman-adv | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | What: /sys/class/net/<iface>/batman-adv/mesh_iface | ||
3 | Date: May 2010 | ||
4 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
5 | Description: | ||
6 | The /sys/class/net/<iface>/batman-adv/mesh_iface file | ||
7 | displays the batman mesh interface this <iface> | ||
8 | currently is associated with. | ||
9 | |||
10 | What: /sys/class/net/<iface>/batman-adv/iface_status | ||
11 | Date: May 2010 | ||
12 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
13 | Description: | ||
14 | Indicates the status of <iface> as it is seen by batman. | ||
diff --git a/Documentation/ABI/testing/sysfs-class-net-mesh b/Documentation/ABI/testing/sysfs-class-net-mesh new file mode 100644 index 000000000000..748fe1701d25 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-net-mesh | |||
@@ -0,0 +1,69 @@ | |||
1 | |||
2 | What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms | ||
3 | Date: May 2010 | ||
4 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
5 | Description: | ||
6 | Indicates whether the batman protocol messages of the | ||
7 | mesh <mesh_iface> shall be aggregated or not. | ||
8 | |||
9 | What: /sys/class/net/<mesh_iface>/mesh/bonding | ||
10 | Date: June 2010 | ||
11 | Contact: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> | ||
12 | Description: | ||
13 | Indicates whether the data traffic going through the | ||
14 | mesh will be sent using multiple interfaces at the | ||
15 | same time (if available). | ||
16 | |||
17 | What: /sys/class/net/<mesh_iface>/mesh/fragmentation | ||
18 | Date: October 2010 | ||
19 | Contact: Andreas Langer <an.langer@gmx.de> | ||
20 | Description: | ||
21 | Indicates whether the data traffic going through the | ||
22 | mesh will be fragmented or silently discarded if the | ||
23 | packet size exceeds the outgoing interface MTU. | ||
24 | |||
25 | What: /sys/class/net/<mesh_iface>/mesh/gw_bandwidth | ||
26 | Date: October 2010 | ||
27 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
28 | Description: | ||
29 | Defines the bandwidth which is propagated by this | ||
30 | node if gw_mode was set to 'server'. | ||
31 | |||
32 | What: /sys/class/net/<mesh_iface>/mesh/gw_mode | ||
33 | Date: October 2010 | ||
34 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
35 | Description: | ||
36 | Defines the state of the gateway features. Can be | ||
37 | either 'off', 'client' or 'server'. | ||
38 | |||
39 | What: /sys/class/net/<mesh_iface>/mesh/gw_sel_class | ||
40 | Date: October 2010 | ||
41 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
42 | Description: | ||
43 | Defines the selection criteria this node will use | ||
44 | to choose a gateway if gw_mode was set to 'client'. | ||
45 | |||
46 | What: /sys/class/net/<mesh_iface>/mesh/orig_interval | ||
47 | Date: May 2010 | ||
48 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
49 | Description: | ||
50 | Defines the interval in milliseconds in which batman | ||
51 | sends its protocol messages. | ||
52 | |||
53 | What: /sys/class/net/<mesh_iface>/mesh/hop_penalty | ||
54 | Date: Oct 2010 | ||
55 | Contact: Linus Lüssing <linus.luessing@web.de> | ||
56 | Description: | ||
57 | Defines the penalty which will be applied to an | ||
58 | originator message's tq-field on every hop. | ||
59 | |||
60 | What: /sys/class/net/<mesh_iface>/mesh/vis_mode | ||
61 | Date: May 2010 | ||
62 | Contact: Marek Lindner <lindner_marek@yahoo.de> | ||
63 | Description: | ||
64 | Each batman node only maintains information about its | ||
65 | own local neighborhood, therefore generating graphs | ||
66 | showing the topology of the entire mesh is not easily | ||
67 | feasible without having a central instance to collect | ||
68 | the local topologies from all nodes. This file allows | ||
69 | to activate the collecting (server) mode. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-mmc b/Documentation/ABI/testing/sysfs-devices-mmc new file mode 100644 index 000000000000..5a50ab655843 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-mmc | |||
@@ -0,0 +1,21 @@ | |||
1 | What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_offset | ||
2 | Date: January 2011 | ||
3 | Contact: Chuanxiao Dong <chuanxiao.dong@intel.com> | ||
4 | Description: | ||
5 | Enhanced area is a new feature defined in eMMC4.4 standard. | ||
6 | eMMC4.4 or later card can support such feature. This kind of | ||
7 | area can help to improve the card performance. If the feature | ||
8 | is enabled, this attribute will indicate the start address of | ||
9 | enhanced data area. If not, this attribute will be -EINVAL. | ||
10 | Unit Byte. Format decimal. | ||
11 | |||
12 | What: /sys/devices/.../mmc_host/mmcX/mmcX:XXXX/enhanced_area_size | ||
13 | Date: January 2011 | ||
14 | Contact: Chuanxiao Dong <chuanxiao.dong@intel.com> | ||
15 | Description: | ||
16 | Enhanced area is a new feature defined in eMMC4.4 standard. | ||
17 | eMMC4.4 or later card can support such feature. This kind of | ||
18 | area can help to improve the card performance. If the feature | ||
19 | is enabled, this attribute will indicate the size of enhanced | ||
20 | data area. If not, this attribute will be -EINVAL. | ||
21 | Unit KByte. Format decimal. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power index 6123c523bfd7..8ffbc25376a0 100644 --- a/Documentation/ABI/testing/sysfs-devices-power +++ b/Documentation/ABI/testing/sysfs-devices-power | |||
@@ -29,9 +29,8 @@ Description: | |||
29 | "disabled" to it. | 29 | "disabled" to it. |
30 | 30 | ||
31 | For the devices that are not capable of generating system wakeup | 31 | For the devices that are not capable of generating system wakeup |
32 | events this file contains "\n". In that cases the user space | 32 | events this file is not present. In that case the device cannot |
33 | cannot modify the contents of this file and the device cannot be | 33 | be enabled to wake up the system from sleep states. |
34 | enabled to wake up the system. | ||
35 | 34 | ||
36 | What: /sys/devices/.../power/control | 35 | What: /sys/devices/.../power/control |
37 | Date: January 2009 | 36 | Date: January 2009 |
@@ -77,3 +76,92 @@ Description: | |||
77 | devices this attribute is set to "enabled" by bus type code or | 76 | devices this attribute is set to "enabled" by bus type code or |
78 | device drivers and in that cases it should be safe to leave the | 77 | device drivers and in that cases it should be safe to leave the |
79 | default value. | 78 | default value. |
79 | |||
80 | What: /sys/devices/.../power/wakeup_count | ||
81 | Date: September 2010 | ||
82 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
83 | Description: | ||
84 | The /sys/devices/.../wakeup_count attribute contains the number | ||
85 | of signaled wakeup events associated with the device. This | ||
86 | attribute is read-only. If the device is not enabled to wake up | ||
87 | the system from sleep states, this attribute is not present. | ||
88 | |||
89 | What: /sys/devices/.../power/wakeup_active_count | ||
90 | Date: September 2010 | ||
91 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
92 | Description: | ||
93 | The /sys/devices/.../wakeup_active_count attribute contains the | ||
94 | number of times the processing of wakeup events associated with | ||
95 | the device was completed (at the kernel level). This attribute | ||
96 | is read-only. If the device is not enabled to wake up the | ||
97 | system from sleep states, this attribute is not present. | ||
98 | |||
99 | What: /sys/devices/.../power/wakeup_hit_count | ||
100 | Date: September 2010 | ||
101 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
102 | Description: | ||
103 | The /sys/devices/.../wakeup_hit_count attribute contains the | ||
104 | number of times the processing of a wakeup event associated with | ||
105 | the device might prevent the system from entering a sleep state. | ||
106 | This attribute is read-only. If the device is not enabled to | ||
107 | wake up the system from sleep states, this attribute is not | ||
108 | present. | ||
109 | |||
110 | What: /sys/devices/.../power/wakeup_active | ||
111 | Date: September 2010 | ||
112 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
113 | Description: | ||
114 | The /sys/devices/.../wakeup_active attribute contains either 1, | ||
115 | or 0, depending on whether or not a wakeup event associated with | ||
116 | the device is being processed (1). This attribute is read-only. | ||
117 | If the device is not enabled to wake up the system from sleep | ||
118 | states, this attribute is not present. | ||
119 | |||
120 | What: /sys/devices/.../power/wakeup_total_time_ms | ||
121 | Date: September 2010 | ||
122 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
123 | Description: | ||
124 | The /sys/devices/.../wakeup_total_time_ms attribute contains | ||
125 | the total time of processing wakeup events associated with the | ||
126 | device, in milliseconds. This attribute is read-only. If the | ||
127 | device is not enabled to wake up the system from sleep states, | ||
128 | this attribute is not present. | ||
129 | |||
130 | What: /sys/devices/.../power/wakeup_max_time_ms | ||
131 | Date: September 2010 | ||
132 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
133 | Description: | ||
134 | The /sys/devices/.../wakeup_max_time_ms attribute contains | ||
135 | the maximum time of processing a single wakeup event associated | ||
136 | with the device, in milliseconds. This attribute is read-only. | ||
137 | If the device is not enabled to wake up the system from sleep | ||
138 | states, this attribute is not present. | ||
139 | |||
140 | What: /sys/devices/.../power/wakeup_last_time_ms | ||
141 | Date: September 2010 | ||
142 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
143 | Description: | ||
144 | The /sys/devices/.../wakeup_last_time_ms attribute contains | ||
145 | the value of the monotonic clock corresponding to the time of | ||
146 | signaling the last wakeup event associated with the device, in | ||
147 | milliseconds. This attribute is read-only. If the device is | ||
148 | not enabled to wake up the system from sleep states, this | ||
149 | attribute is not present. | ||
150 | |||
151 | What: /sys/devices/.../power/autosuspend_delay_ms | ||
152 | Date: September 2010 | ||
153 | Contact: Alan Stern <stern@rowland.harvard.edu> | ||
154 | Description: | ||
155 | The /sys/devices/.../power/autosuspend_delay_ms attribute | ||
156 | contains the autosuspend delay value (in milliseconds). Some | ||
157 | drivers do not want their device to suspend as soon as it | ||
158 | becomes idle at run time; they want the device to remain | ||
159 | inactive for a certain minimum period of time first. That | ||
160 | period is called the autosuspend delay. Negative values will | ||
161 | prevent the device from being suspended at run time (similar | ||
162 | to writing "on" to the power/control attribute). Values >= | ||
163 | 1000 will cause the autosuspend timer expiration to be rounded | ||
164 | up to the nearest second. | ||
165 | |||
166 | Not all drivers support this attribute. If it isn't supported, | ||
167 | attempts to read or write it will yield I/O errors. | ||
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 7564e88bfa43..e7be75b96e4b 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu | |||
@@ -183,21 +183,21 @@ Description: Discover and change clock speed of CPUs | |||
183 | to learn how to control the knobs. | 183 | to learn how to control the knobs. |
184 | 184 | ||
185 | 185 | ||
186 | What: /sys/devices/system/cpu/cpu*/cache/index*/cache_disable_X | 186 | What: /sys/devices/system/cpu/cpu*/cache/index3/cache_disable_{0,1} |
187 | Date: August 2008 | 187 | Date: August 2008 |
188 | KernelVersion: 2.6.27 | 188 | KernelVersion: 2.6.27 |
189 | Contact: mark.langsdorf@amd.com | 189 | Contact: discuss@x86-64.org |
190 | Description: These files exist in every cpu's cache index directories. | 190 | Description: Disable L3 cache indices |
191 | There are currently 2 cache_disable_# files in each | 191 | |
192 | directory. Reading from these files on a supported | 192 | These files exist in every CPU's cache/index3 directory. Each |
193 | processor will return that cache disable index value | 193 | cache_disable_{0,1} file corresponds to one disable slot which |
194 | for that processor and node. Writing to one of these | 194 | can be used to disable a cache index. Reading from these files |
195 | files will cause the specificed cache index to be disabled. | 195 | on a processor with this functionality will return the currently |
196 | 196 | disabled index for that node. There is one L3 structure per | |
197 | Currently, only AMD Family 10h Processors support cache index | 197 | node, or per internal node on MCM machines. Writing a valid |
198 | disable, and only for their L3 caches. See the BIOS and | 198 | index to one of these files will cause the specificed cache |
199 | Kernel Developer's Guide at | 199 | index to be disabled. |
200 | http://support.amd.com/us/Embedded_TechDocs/31116-Public-GH-BKDG_3-28_5-28-09.pdf | 200 | |
201 | for formatting information and other details on the | 201 | All AMD processors with L3 caches provide this functionality. |
202 | cache index disable. | 202 | For details, see BKDGs at |
203 | Users: joachim.deguara@amd.com | 203 | http://developer.amd.com/documentation/guides/Pages/default.aspx |
diff --git a/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl b/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl new file mode 100644 index 000000000000..b82deeaec314 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl | |||
@@ -0,0 +1,22 @@ | |||
1 | What: state | ||
2 | Date: Sep 2010 | ||
3 | KernelVersion: 2.6.37 | ||
4 | Contact: Vernon Mauery <vernux@us.ibm.com> | ||
5 | Description: The state file allows a means by which to change in and | ||
6 | out of Premium Real-Time Mode (PRTM), as well as the | ||
7 | ability to query the current state. | ||
8 | 0 => PRTM off | ||
9 | 1 => PRTM enabled | ||
10 | Users: The ibm-prtm userspace daemon uses this interface. | ||
11 | |||
12 | |||
13 | What: version | ||
14 | Date: Sep 2010 | ||
15 | KernelVersion: 2.6.37 | ||
16 | Contact: Vernon Mauery <vernux@us.ibm.com> | ||
17 | Description: The version file provides a means by which to query | ||
18 | the RTL table version that lives in the Extended | ||
19 | BIOS Data Area (EBDA). | ||
20 | Users: The ibm-prtm userspace daemon uses this interface. | ||
21 | |||
22 | |||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid b/Documentation/ABI/testing/sysfs-driver-hid new file mode 100644 index 000000000000..b6490e14fe83 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid | |||
@@ -0,0 +1,10 @@ | |||
1 | What: For USB devices : /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor | ||
2 | For BT devices : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor | ||
3 | Symlink : /sys/class/hidraw/hidraw<num>/device/report_descriptor | ||
4 | Date: Jan 2011 | ||
5 | KernelVersion: 2.0.39 | ||
6 | Contact: Alan Ott <alan@signal11.us> | ||
7 | Description: When read, this file returns the device's raw binary HID | ||
8 | report descriptor. | ||
9 | This file cannot be written. | ||
10 | Users: HIDAPI library (http://www.signal11.us/oss/hidapi) | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-arvo b/Documentation/ABI/testing/sysfs-driver-hid-roccat-arvo new file mode 100644 index 000000000000..55e281b0071a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-arvo | |||
@@ -0,0 +1,53 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/actual_profile | ||
2 | Date: Januar 2011 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: The integer value of this attribute ranges from 1-5. | ||
5 | When read, this attribute returns the number of the actual | ||
6 | profile which is also the profile that's active on device startup. | ||
7 | When written this attribute activates the selected profile | ||
8 | immediately. | ||
9 | Users: http://roccat.sourceforge.net | ||
10 | |||
11 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/button | ||
12 | Date: Januar 2011 | ||
13 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
14 | Description: The keyboard can store short macros with consist of 1 button with | ||
15 | several modifier keys internally. | ||
16 | When written, this file lets one set the sequence for a specific | ||
17 | button for a specific profile. Button and profile numbers are | ||
18 | included in written data. The data has to be 24 bytes long. | ||
19 | This file is writeonly. | ||
20 | Users: http://roccat.sourceforge.net | ||
21 | |||
22 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/info | ||
23 | Date: Januar 2011 | ||
24 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
25 | Description: When read, this file returns some info about the device like the | ||
26 | installed firmware version. | ||
27 | The size of the data is 8 bytes in size. | ||
28 | This file is readonly. | ||
29 | Users: http://roccat.sourceforge.net | ||
30 | |||
31 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/key_mask | ||
32 | Date: Januar 2011 | ||
33 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
34 | Description: The keyboard lets the user deactivate 5 certain keys like the | ||
35 | windows and application keys, to protect the user from the outcome | ||
36 | of accidentally pressing them. | ||
37 | The integer value of this attribute has bits 0-4 set depending | ||
38 | on the state of the corresponding key. | ||
39 | When read, this file returns the current state of the buttons. | ||
40 | When written, the given buttons are activated/deactivated | ||
41 | immediately. | ||
42 | Users: http://roccat.sourceforge.net | ||
43 | |||
44 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/mode_key | ||
45 | Date: Januar 2011 | ||
46 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
47 | Description: The keyboard has a condensed layout without num-lock key. | ||
48 | Instead it uses a mode-key which activates a gaming mode where | ||
49 | the assignment of the number block changes. | ||
50 | The integer value of this attribute ranges from 0 (OFF) to 1 (ON). | ||
51 | When read, this file returns the actual state of the key. | ||
52 | When written, the key is activated/deactivated immediately. | ||
53 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-kone b/Documentation/ABI/testing/sysfs-driver-hid-roccat-kone index 063bda7fe707..3ca3971109bf 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-roccat-kone +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-kone | |||
@@ -1,4 +1,4 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/actual_dpi | 1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_dpi |
2 | Date: March 2010 | 2 | Date: March 2010 |
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
4 | Description: It is possible to switch the dpi setting of the mouse with the | 4 | Description: It is possible to switch the dpi setting of the mouse with the |
@@ -16,14 +16,16 @@ Description: It is possible to switch the dpi setting of the mouse with the | |||
16 | 6 3200 | 16 | 6 3200 |
17 | 17 | ||
18 | This file is readonly. | 18 | This file is readonly. |
19 | Users: http://roccat.sourceforge.net | ||
19 | 20 | ||
20 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/actual_profile | 21 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_profile |
21 | Date: March 2010 | 22 | Date: March 2010 |
22 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 23 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
23 | Description: When read, this file returns the number of the actual profile. | 24 | Description: When read, this file returns the number of the actual profile. |
24 | This file is readonly. | 25 | This file is readonly. |
26 | Users: http://roccat.sourceforge.net | ||
25 | 27 | ||
26 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/firmware_version | 28 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/firmware_version |
27 | Date: March 2010 | 29 | Date: March 2010 |
28 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 30 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
29 | Description: When read, this file returns the raw integer version number of the | 31 | Description: When read, this file returns the raw integer version number of the |
@@ -32,12 +34,13 @@ Description: When read, this file returns the raw integer version number of the | |||
32 | number the decimal point has to be shifted 2 positions to the | 34 | number the decimal point has to be shifted 2 positions to the |
33 | left. E.g. a returned value of 138 means 1.38 | 35 | left. E.g. a returned value of 138 means 1.38 |
34 | This file is readonly. | 36 | This file is readonly. |
37 | Users: http://roccat.sourceforge.net | ||
35 | 38 | ||
36 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/profile[1-5] | 39 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/profile[1-5] |
37 | Date: March 2010 | 40 | Date: March 2010 |
38 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 41 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
39 | Description: The mouse can store 5 profiles which can be switched by the | 42 | Description: The mouse can store 5 profiles which can be switched by the |
40 | press of a button. A profile holds informations like button | 43 | press of a button. A profile holds information like button |
41 | mappings, sensitivity, the colors of the 5 leds and light | 44 | mappings, sensitivity, the colors of the 5 leds and light |
42 | effects. | 45 | effects. |
43 | When read, these files return the respective profile. The | 46 | When read, these files return the respective profile. The |
@@ -47,8 +50,9 @@ Description: The mouse can store 5 profiles which can be switched by the | |||
47 | The mouse will reject invalid data, whereas the profile number | 50 | The mouse will reject invalid data, whereas the profile number |
48 | stored in the profile doesn't need to fit the number of the | 51 | stored in the profile doesn't need to fit the number of the |
49 | store. | 52 | store. |
53 | Users: http://roccat.sourceforge.net | ||
50 | 54 | ||
51 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/settings | 55 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/settings |
52 | Date: March 2010 | 56 | Date: March 2010 |
53 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 57 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
54 | Description: When read, this file returns the settings stored in the mouse. | 58 | Description: When read, this file returns the settings stored in the mouse. |
@@ -57,8 +61,9 @@ Description: When read, this file returns the settings stored in the mouse. | |||
57 | When written, this file lets write settings back to the mouse. | 61 | When written, this file lets write settings back to the mouse. |
58 | The data has to be 36 bytes long. The mouse will reject invalid | 62 | The data has to be 36 bytes long. The mouse will reject invalid |
59 | data. | 63 | data. |
64 | Users: http://roccat.sourceforge.net | ||
60 | 65 | ||
61 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/startup_profile | 66 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/startup_profile |
62 | Date: March 2010 | 67 | Date: March 2010 |
63 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 68 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
64 | Description: The integer value of this attribute ranges from 1 to 5. | 69 | Description: The integer value of this attribute ranges from 1 to 5. |
@@ -66,8 +71,9 @@ Description: The integer value of this attribute ranges from 1 to 5. | |||
66 | that's active when the mouse is powered on. | 71 | that's active when the mouse is powered on. |
67 | When written, this file sets the number of the startup profile | 72 | When written, this file sets the number of the startup profile |
68 | and the mouse activates this profile immediately. | 73 | and the mouse activates this profile immediately. |
74 | Users: http://roccat.sourceforge.net | ||
69 | 75 | ||
70 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/tcu | 76 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/tcu |
71 | Date: March 2010 | 77 | Date: March 2010 |
72 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 78 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
73 | Description: The mouse has a "Tracking Control Unit" which lets the user | 79 | Description: The mouse has a "Tracking Control Unit" which lets the user |
@@ -77,8 +83,9 @@ Description: The mouse has a "Tracking Control Unit" which lets the user | |||
77 | Writing 0 in this file will switch the TCU off. | 83 | Writing 0 in this file will switch the TCU off. |
78 | Writing 1 in this file will start the calibration which takes | 84 | Writing 1 in this file will start the calibration which takes |
79 | around 6 seconds to complete and activates the TCU. | 85 | around 6 seconds to complete and activates the TCU. |
86 | Users: http://roccat.sourceforge.net | ||
80 | 87 | ||
81 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/weight | 88 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/weight |
82 | Date: March 2010 | 89 | Date: March 2010 |
83 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 90 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
84 | Description: The mouse can be equipped with one of four supplied weights | 91 | Description: The mouse can be equipped with one of four supplied weights |
@@ -96,3 +103,4 @@ Description: The mouse can be equipped with one of four supplied weights | |||
96 | 4 20g | 103 | 4 20g |
97 | 104 | ||
98 | This file is readonly. | 105 | This file is readonly. |
106 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-koneplus b/Documentation/ABI/testing/sysfs-driver-hid-roccat-koneplus new file mode 100644 index 000000000000..c1b53b8bc2ae --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-koneplus | |||
@@ -0,0 +1,112 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/actual_profile | ||
2 | Date: October 2010 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: The integer value of this attribute ranges from 0-4. | ||
5 | When read, this attribute returns the number of the actual | ||
6 | profile. This value is persistent, so its equivalent to the | ||
7 | profile that's active when the mouse is powered on next time. | ||
8 | When written, this file sets the number of the startup profile | ||
9 | and the mouse activates this profile immediately. | ||
10 | Users: http://roccat.sourceforge.net | ||
11 | |||
12 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/firmware_version | ||
13 | Date: October 2010 | ||
14 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
15 | Description: When read, this file returns the raw integer version number of the | ||
16 | firmware reported by the mouse. Using the integer value eases | ||
17 | further usage in other programs. To receive the real version | ||
18 | number the decimal point has to be shifted 2 positions to the | ||
19 | left. E.g. a returned value of 121 means 1.21 | ||
20 | This file is readonly. | ||
21 | Users: http://roccat.sourceforge.net | ||
22 | |||
23 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/macro | ||
24 | Date: October 2010 | ||
25 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
26 | Description: The mouse can store a macro with max 500 key/button strokes | ||
27 | internally. | ||
28 | When written, this file lets one set the sequence for a specific | ||
29 | button for a specific profile. Button and profile numbers are | ||
30 | included in written data. The data has to be 2082 bytes long. | ||
31 | This file is writeonly. | ||
32 | Users: http://roccat.sourceforge.net | ||
33 | |||
34 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/profile_buttons | ||
35 | Date: August 2010 | ||
36 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
37 | Description: The mouse can store 5 profiles which can be switched by the | ||
38 | press of a button. A profile is split in settings and buttons. | ||
39 | profile_buttons holds information about button layout. | ||
40 | When written, this file lets one write the respective profile | ||
41 | buttons back to the mouse. The data has to be 77 bytes long. | ||
42 | The mouse will reject invalid data. | ||
43 | Which profile to write is determined by the profile number | ||
44 | contained in the data. | ||
45 | This file is writeonly. | ||
46 | Users: http://roccat.sourceforge.net | ||
47 | |||
48 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/profile[1-5]_buttons | ||
49 | Date: August 2010 | ||
50 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
51 | Description: The mouse can store 5 profiles which can be switched by the | ||
52 | press of a button. A profile is split in settings and buttons. | ||
53 | profile_buttons holds information about button layout. | ||
54 | When read, these files return the respective profile buttons. | ||
55 | The returned data is 77 bytes in size. | ||
56 | This file is readonly. | ||
57 | Users: http://roccat.sourceforge.net | ||
58 | |||
59 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/profile_settings | ||
60 | Date: October 2010 | ||
61 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
62 | Description: The mouse can store 5 profiles which can be switched by the | ||
63 | press of a button. A profile is split in settings and buttons. | ||
64 | profile_settings holds information like resolution, sensitivity | ||
65 | and light effects. | ||
66 | When written, this file lets one write the respective profile | ||
67 | settings back to the mouse. The data has to be 43 bytes long. | ||
68 | The mouse will reject invalid data. | ||
69 | Which profile to write is determined by the profile number | ||
70 | contained in the data. | ||
71 | This file is writeonly. | ||
72 | Users: http://roccat.sourceforge.net | ||
73 | |||
74 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/profile[1-5]_settings | ||
75 | Date: August 2010 | ||
76 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
77 | Description: The mouse can store 5 profiles which can be switched by the | ||
78 | press of a button. A profile is split in settings and buttons. | ||
79 | profile_settings holds information like resolution, sensitivity | ||
80 | and light effects. | ||
81 | When read, these files return the respective profile settings. | ||
82 | The returned data is 43 bytes in size. | ||
83 | This file is readonly. | ||
84 | Users: http://roccat.sourceforge.net | ||
85 | |||
86 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/sensor | ||
87 | Date: October 2010 | ||
88 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
89 | Description: The mouse has a tracking- and a distance-control-unit. These | ||
90 | can be activated/deactivated and the lift-off distance can be | ||
91 | set. The data has to be 6 bytes long. | ||
92 | This file is writeonly. | ||
93 | Users: http://roccat.sourceforge.net | ||
94 | |||
95 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/tcu | ||
96 | Date: October 2010 | ||
97 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
98 | Description: When written a calibration process for the tracking control unit | ||
99 | can be initiated/cancelled. | ||
100 | The data has to be 3 bytes long. | ||
101 | This file is writeonly. | ||
102 | Users: http://roccat.sourceforge.net | ||
103 | |||
104 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/koneplus/roccatkoneplus<minor>/tcu_image | ||
105 | Date: October 2010 | ||
106 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
107 | Description: When read the mouse returns a 30x30 pixel image of the | ||
108 | sampled underground. This works only in the course of a | ||
109 | calibration process initiated with tcu. | ||
110 | The returned data is 1028 bytes in size. | ||
111 | This file is readonly. | ||
112 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-kovaplus b/Documentation/ABI/testing/sysfs-driver-hid-roccat-kovaplus new file mode 100644 index 000000000000..20f937c9d84f --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-kovaplus | |||
@@ -0,0 +1,100 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_cpi | ||
2 | Date: January 2011 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: The integer value of this attribute ranges from 1-4. | ||
5 | When read, this attribute returns the number of the active | ||
6 | cpi level. | ||
7 | This file is readonly. | ||
8 | Users: http://roccat.sourceforge.net | ||
9 | |||
10 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_profile | ||
11 | Date: January 2011 | ||
12 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
13 | Description: The integer value of this attribute ranges from 0-4. | ||
14 | When read, this attribute returns the number of the active | ||
15 | profile. | ||
16 | When written, the mouse activates this profile immediately. | ||
17 | The profile that's active when powered down is the same that's | ||
18 | active when the mouse is powered on. | ||
19 | Users: http://roccat.sourceforge.net | ||
20 | |||
21 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_sensitivity_x | ||
22 | Date: January 2011 | ||
23 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
24 | Description: The integer value of this attribute ranges from 1-10. | ||
25 | When read, this attribute returns the number of the actual | ||
26 | sensitivity in x direction. | ||
27 | This file is readonly. | ||
28 | Users: http://roccat.sourceforge.net | ||
29 | |||
30 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_sensitivity_y | ||
31 | Date: January 2011 | ||
32 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
33 | Description: The integer value of this attribute ranges from 1-10. | ||
34 | When read, this attribute returns the number of the actual | ||
35 | sensitivity in y direction. | ||
36 | This file is readonly. | ||
37 | Users: http://roccat.sourceforge.net | ||
38 | |||
39 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/firmware_version | ||
40 | Date: January 2011 | ||
41 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
42 | Description: When read, this file returns the raw integer version number of the | ||
43 | firmware reported by the mouse. Using the integer value eases | ||
44 | further usage in other programs. To receive the real version | ||
45 | number the decimal point has to be shifted 2 positions to the | ||
46 | left. E.g. a returned value of 121 means 1.21 | ||
47 | This file is readonly. | ||
48 | Users: http://roccat.sourceforge.net | ||
49 | |||
50 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile_buttons | ||
51 | Date: January 2011 | ||
52 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
53 | Description: The mouse can store 5 profiles which can be switched by the | ||
54 | press of a button. A profile is split in settings and buttons. | ||
55 | profile_buttons holds information about button layout. | ||
56 | When written, this file lets one write the respective profile | ||
57 | buttons back to the mouse. The data has to be 23 bytes long. | ||
58 | The mouse will reject invalid data. | ||
59 | Which profile to write is determined by the profile number | ||
60 | contained in the data. | ||
61 | This file is writeonly. | ||
62 | Users: http://roccat.sourceforge.net | ||
63 | |||
64 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile[1-5]_buttons | ||
65 | Date: January 2011 | ||
66 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
67 | Description: The mouse can store 5 profiles which can be switched by the | ||
68 | press of a button. A profile is split in settings and buttons. | ||
69 | profile_buttons holds information about button layout. | ||
70 | When read, these files return the respective profile buttons. | ||
71 | The returned data is 23 bytes in size. | ||
72 | This file is readonly. | ||
73 | Users: http://roccat.sourceforge.net | ||
74 | |||
75 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile_settings | ||
76 | Date: January 2011 | ||
77 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
78 | Description: The mouse can store 5 profiles which can be switched by the | ||
79 | press of a button. A profile is split in settings and buttons. | ||
80 | profile_settings holds information like resolution, sensitivity | ||
81 | and light effects. | ||
82 | When written, this file lets one write the respective profile | ||
83 | settings back to the mouse. The data has to be 16 bytes long. | ||
84 | The mouse will reject invalid data. | ||
85 | Which profile to write is determined by the profile number | ||
86 | contained in the data. | ||
87 | This file is writeonly. | ||
88 | Users: http://roccat.sourceforge.net | ||
89 | |||
90 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile[1-5]_settings | ||
91 | Date: January 2011 | ||
92 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
93 | Description: The mouse can store 5 profiles which can be switched by the | ||
94 | press of a button. A profile is split in settings and buttons. | ||
95 | profile_settings holds information like resolution, sensitivity | ||
96 | and light effects. | ||
97 | When read, these files return the respective profile settings. | ||
98 | The returned data is 16 bytes in size. | ||
99 | This file is readonly. | ||
100 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra b/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra new file mode 100644 index 000000000000..3f8de50e4ff1 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra | |||
@@ -0,0 +1,107 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_cpi | ||
2 | Date: August 2010 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: It is possible to switch the cpi setting of the mouse with the | ||
5 | press of a button. | ||
6 | When read, this file returns the raw number of the actual cpi | ||
7 | setting reported by the mouse. This number has to be further | ||
8 | processed to receive the real dpi value. | ||
9 | |||
10 | VALUE DPI | ||
11 | 1 400 | ||
12 | 2 800 | ||
13 | 4 1600 | ||
14 | |||
15 | This file is readonly. | ||
16 | Users: http://roccat.sourceforge.net | ||
17 | |||
18 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_profile | ||
19 | Date: August 2010 | ||
20 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
21 | Description: When read, this file returns the number of the actual profile in | ||
22 | range 0-4. | ||
23 | This file is readonly. | ||
24 | Users: http://roccat.sourceforge.net | ||
25 | |||
26 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/firmware_version | ||
27 | Date: August 2010 | ||
28 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
29 | Description: When read, this file returns the raw integer version number of the | ||
30 | firmware reported by the mouse. Using the integer value eases | ||
31 | further usage in other programs. To receive the real version | ||
32 | number the decimal point has to be shifted 2 positions to the | ||
33 | left. E.g. a returned value of 138 means 1.38 | ||
34 | This file is readonly. | ||
35 | Users: http://roccat.sourceforge.net | ||
36 | |||
37 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile_settings | ||
38 | Date: August 2010 | ||
39 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
40 | Description: The mouse can store 5 profiles which can be switched by the | ||
41 | press of a button. A profile is split in settings and buttons. | ||
42 | profile_settings holds information like resolution, sensitivity | ||
43 | and light effects. | ||
44 | When written, this file lets one write the respective profile | ||
45 | settings back to the mouse. The data has to be 13 bytes long. | ||
46 | The mouse will reject invalid data. | ||
47 | Which profile to write is determined by the profile number | ||
48 | contained in the data. | ||
49 | This file is writeonly. | ||
50 | Users: http://roccat.sourceforge.net | ||
51 | |||
52 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile[1-5]_settings | ||
53 | Date: August 2010 | ||
54 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
55 | Description: The mouse can store 5 profiles which can be switched by the | ||
56 | press of a button. A profile is split in settings and buttons. | ||
57 | profile_settings holds information like resolution, sensitivity | ||
58 | and light effects. | ||
59 | When read, these files return the respective profile settings. | ||
60 | The returned data is 13 bytes in size. | ||
61 | This file is readonly. | ||
62 | Users: http://roccat.sourceforge.net | ||
63 | |||
64 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile_buttons | ||
65 | Date: August 2010 | ||
66 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
67 | Description: The mouse can store 5 profiles which can be switched by the | ||
68 | press of a button. A profile is split in settings and buttons. | ||
69 | profile_buttons holds information about button layout. | ||
70 | When written, this file lets one write the respective profile | ||
71 | buttons back to the mouse. The data has to be 19 bytes long. | ||
72 | The mouse will reject invalid data. | ||
73 | Which profile to write is determined by the profile number | ||
74 | contained in the data. | ||
75 | This file is writeonly. | ||
76 | Users: http://roccat.sourceforge.net | ||
77 | |||
78 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile[1-5]_buttons | ||
79 | Date: August 2010 | ||
80 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
81 | Description: The mouse can store 5 profiles which can be switched by the | ||
82 | press of a button. A profile is split in settings and buttons. | ||
83 | profile_buttons holds information about button layout. | ||
84 | When read, these files return the respective profile buttons. | ||
85 | The returned data is 19 bytes in size. | ||
86 | This file is readonly. | ||
87 | Users: http://roccat.sourceforge.net | ||
88 | |||
89 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/startup_profile | ||
90 | Date: August 2010 | ||
91 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
92 | Description: The integer value of this attribute ranges from 0-4. | ||
93 | When read, this attribute returns the number of the profile | ||
94 | that's active when the mouse is powered on. | ||
95 | This file is readonly. | ||
96 | Users: http://roccat.sourceforge.net | ||
97 | |||
98 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/settings | ||
99 | Date: August 2010 | ||
100 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
101 | Description: When read, this file returns the settings stored in the mouse. | ||
102 | The size of the data is 3 bytes and holds information on the | ||
103 | startup_profile. | ||
104 | When written, this file lets write settings back to the mouse. | ||
105 | The data has to be 3 bytes long. The mouse will reject invalid | ||
106 | data. | ||
107 | Users: http://roccat.sourceforge.net | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-samsung-laptop b/Documentation/ABI/testing/sysfs-driver-samsung-laptop new file mode 100644 index 000000000000..0a810231aad4 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-samsung-laptop | |||
@@ -0,0 +1,19 @@ | |||
1 | What: /sys/devices/platform/samsung/performance_level | ||
2 | Date: January 1, 2010 | ||
3 | KernelVersion: 2.6.33 | ||
4 | Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
5 | Description: Some Samsung laptops have different "performance levels" | ||
6 | that are can be modified by a function key, and by this | ||
7 | sysfs file. These values don't always make a whole lot | ||
8 | of sense, but some users like to modify them to keep | ||
9 | their fans quiet at all costs. Reading from this file | ||
10 | will show the current performance level. Writing to the | ||
11 | file can change this value. | ||
12 | Valid options: | ||
13 | "silent" | ||
14 | "normal" | ||
15 | "overclock" | ||
16 | Note that not all laptops support all of these options. | ||
17 | Specifically, not all support the "overclock" option, | ||
18 | and it's still unknown if this value even changes | ||
19 | anything, other than making the user feel a bit better. | ||
diff --git a/Documentation/ABI/testing/sysfs-firmware-dmi b/Documentation/ABI/testing/sysfs-firmware-dmi new file mode 100644 index 000000000000..c78f9ab01e56 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-dmi | |||
@@ -0,0 +1,110 @@ | |||
1 | What: /sys/firmware/dmi/ | ||
2 | Date: February 2011 | ||
3 | Contact: Mike Waychison <mikew@google.com> | ||
4 | Description: | ||
5 | Many machines' firmware (x86 and ia64) export DMI / | ||
6 | SMBIOS tables to the operating system. Getting at this | ||
7 | information is often valuable to userland, especially in | ||
8 | cases where there are OEM extensions used. | ||
9 | |||
10 | The kernel itself does not rely on the majority of the | ||
11 | information in these tables being correct. It equally | ||
12 | cannot ensure that the data as exported to userland is | ||
13 | without error either. | ||
14 | |||
15 | DMI is structured as a large table of entries, where | ||
16 | each entry has a common header indicating the type and | ||
17 | length of the entry, as well as a firmware-provided | ||
18 | 'handle' that is supposed to be unique amongst all | ||
19 | entries. | ||
20 | |||
21 | Some entries are required by the specification, but many | ||
22 | others are optional. In general though, users should | ||
23 | never expect to find a specific entry type on their | ||
24 | system unless they know for certain what their firmware | ||
25 | is doing. Machine to machine experiences will vary. | ||
26 | |||
27 | Multiple entries of the same type are allowed. In order | ||
28 | to handle these duplicate entry types, each entry is | ||
29 | assigned by the operating system an 'instance', which is | ||
30 | derived from an entry type's ordinal position. That is | ||
31 | to say, if there are 'N' multiple entries with the same type | ||
32 | 'T' in the DMI tables (adjacent or spread apart, it | ||
33 | doesn't matter), they will be represented in sysfs as | ||
34 | entries "T-0" through "T-(N-1)": | ||
35 | |||
36 | Example entry directories: | ||
37 | |||
38 | /sys/firmware/dmi/entries/17-0 | ||
39 | /sys/firmware/dmi/entries/17-1 | ||
40 | /sys/firmware/dmi/entries/17-2 | ||
41 | /sys/firmware/dmi/entries/17-3 | ||
42 | ... | ||
43 | |||
44 | Instance numbers are used in lieu of the firmware | ||
45 | assigned entry handles as the kernel itself makes no | ||
46 | guarantees that handles as exported are unique, and | ||
47 | there are likely firmware images that get this wrong in | ||
48 | the wild. | ||
49 | |||
50 | Each DMI entry in sysfs has the common header values | ||
51 | exported as attributes: | ||
52 | |||
53 | handle : The 16bit 'handle' that is assigned to this | ||
54 | entry by the firmware. This handle may be | ||
55 | referred to by other entries. | ||
56 | length : The length of the entry, as presented in the | ||
57 | entry itself. Note that this is _not the | ||
58 | total count of bytes associated with the | ||
59 | entry_. This value represents the length of | ||
60 | the "formatted" portion of the entry. This | ||
61 | "formatted" region is sometimes followed by | ||
62 | the "unformatted" region composed of nul | ||
63 | terminated strings, with termination signalled | ||
64 | by a two nul characters in series. | ||
65 | raw : The raw bytes of the entry. This includes the | ||
66 | "formatted" portion of the entry, the | ||
67 | "unformatted" strings portion of the entry, | ||
68 | and the two terminating nul characters. | ||
69 | type : The type of the entry. This value is the same | ||
70 | as found in the directory name. It indicates | ||
71 | how the rest of the entry should be interpreted. | ||
72 | instance: The instance ordinal of the entry for the | ||
73 | given type. This value is the same as found | ||
74 | in the parent directory name. | ||
75 | position: The ordinal position (zero-based) of the entry | ||
76 | within the entirety of the DMI entry table. | ||
77 | |||
78 | === Entry Specialization === | ||
79 | |||
80 | Some entry types may have other information available in | ||
81 | sysfs. Not all types are specialized. | ||
82 | |||
83 | --- Type 15 - System Event Log --- | ||
84 | |||
85 | This entry allows the firmware to export a log of | ||
86 | events the system has taken. This information is | ||
87 | typically backed by nvram, but the implementation | ||
88 | details are abstracted by this table. This entry's data | ||
89 | is exported in the directory: | ||
90 | |||
91 | /sys/firmware/dmi/entries/15-0/system_event_log | ||
92 | |||
93 | and has the following attributes (documented in the | ||
94 | SMBIOS / DMI specification under "System Event Log (Type 15)": | ||
95 | |||
96 | area_length | ||
97 | header_start_offset | ||
98 | data_start_offset | ||
99 | access_method | ||
100 | status | ||
101 | change_token | ||
102 | access_method_address | ||
103 | header_format | ||
104 | per_log_type_descriptor_length | ||
105 | type_descriptors_supported_count | ||
106 | |||
107 | As well, the kernel exports the binary attribute: | ||
108 | |||
109 | raw_event_log : The raw binary bits of the event log | ||
110 | as described by the DMI entry. | ||
diff --git a/Documentation/ABI/testing/sysfs-firmware-gsmi b/Documentation/ABI/testing/sysfs-firmware-gsmi new file mode 100644 index 000000000000..0faa0aaf4b6a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-gsmi | |||
@@ -0,0 +1,58 @@ | |||
1 | What: /sys/firmware/gsmi | ||
2 | Date: March 2011 | ||
3 | Contact: Mike Waychison <mikew@google.com> | ||
4 | Description: | ||
5 | Some servers used internally at Google have firmware | ||
6 | that provides callback functionality via explicit SMI | ||
7 | triggers. Some of the callbacks are similar to those | ||
8 | provided by the EFI runtime services page, but due to | ||
9 | historical reasons this different entry-point has been | ||
10 | used. | ||
11 | |||
12 | The gsmi driver implements the kernel's abstraction for | ||
13 | these firmware callbacks. Currently, this functionality | ||
14 | is limited to handling the system event log and getting | ||
15 | access to EFI-style variables stored in nvram. | ||
16 | |||
17 | Layout: | ||
18 | |||
19 | /sys/firmware/gsmi/vars: | ||
20 | |||
21 | This directory has the same layout (and | ||
22 | underlying implementation as /sys/firmware/efi/vars. | ||
23 | See Documentation/ABI/*/sysfs-firmware-efi-vars | ||
24 | for more information on how to interact with | ||
25 | this structure. | ||
26 | |||
27 | /sys/firmware/gsmi/append_to_eventlog - write-only: | ||
28 | |||
29 | This file takes a binary blob and passes it onto | ||
30 | the firmware to be timestamped and appended to | ||
31 | the system eventlog. The binary format is | ||
32 | interpreted by the firmware and may change from | ||
33 | platform to platform. The only kernel-enforced | ||
34 | requirement is that the blob be prefixed with a | ||
35 | 32bit host-endian type used as part of the | ||
36 | firmware call. | ||
37 | |||
38 | /sys/firmware/gsmi/clear_config - write-only: | ||
39 | |||
40 | Writing any value to this file will cause the | ||
41 | entire firmware configuration to be reset to | ||
42 | "factory defaults". Callers should assume that | ||
43 | a reboot is required for the configuration to be | ||
44 | cleared. | ||
45 | |||
46 | /sys/firmware/gsmi/clear_eventlog - write-only: | ||
47 | |||
48 | This file is used to clear out a portion/the | ||
49 | whole of the system event log. Values written | ||
50 | should be values between 1 and 100 inclusive (in | ||
51 | ASCII) representing the fraction of the log to | ||
52 | clear. Not all platforms support fractional | ||
53 | clearing though, and this writes to this file | ||
54 | will error out if the firmware doesn't like your | ||
55 | submitted fraction. | ||
56 | |||
57 | Callers should assume that a reboot is needed | ||
58 | for this operation to complete. | ||
diff --git a/Documentation/ABI/testing/sysfs-firmware-log b/Documentation/ABI/testing/sysfs-firmware-log new file mode 100644 index 000000000000..9b58e7c5365f --- /dev/null +++ b/Documentation/ABI/testing/sysfs-firmware-log | |||
@@ -0,0 +1,7 @@ | |||
1 | What: /sys/firmware/log | ||
2 | Date: February 2011 | ||
3 | Contact: Mike Waychison <mikew@google.com> | ||
4 | Description: | ||
5 | The /sys/firmware/log is a binary file that represents a | ||
6 | read-only copy of the firmware's log if one is | ||
7 | available. | ||
diff --git a/Documentation/ABI/testing/sysfs-fs-ext4 b/Documentation/ABI/testing/sysfs-fs-ext4 index 5fb709997d96..f22ac0872ae8 100644 --- a/Documentation/ABI/testing/sysfs-fs-ext4 +++ b/Documentation/ABI/testing/sysfs-fs-ext4 | |||
@@ -48,7 +48,7 @@ Description: | |||
48 | will have its blocks allocated out of its own unique | 48 | will have its blocks allocated out of its own unique |
49 | preallocation pool. | 49 | preallocation pool. |
50 | 50 | ||
51 | What: /sys/fs/ext4/<disk>/inode_readahead | 51 | What: /sys/fs/ext4/<disk>/inode_readahead_blks |
52 | Date: March 2008 | 52 | Date: March 2008 |
53 | Contact: "Theodore Ts'o" <tytso@mit.edu> | 53 | Contact: "Theodore Ts'o" <tytso@mit.edu> |
54 | Description: | 54 | Description: |
@@ -85,7 +85,14 @@ Date: June 2008 | |||
85 | Contact: "Theodore Ts'o" <tytso@mit.edu> | 85 | Contact: "Theodore Ts'o" <tytso@mit.edu> |
86 | Description: | 86 | Description: |
87 | Tuning parameter which (if non-zero) controls the goal | 87 | Tuning parameter which (if non-zero) controls the goal |
88 | inode used by the inode allocator in p0reference to | 88 | inode used by the inode allocator in preference to |
89 | all other allocation hueristics. This is intended for | 89 | all other allocation heuristics. This is intended for |
90 | debugging use only, and should be 0 on production | 90 | debugging use only, and should be 0 on production |
91 | systems. | 91 | systems. |
92 | |||
93 | What: /sys/fs/ext4/<disk>/max_writeback_mb_bump | ||
94 | Date: September 2009 | ||
95 | Contact: "Theodore Ts'o" <tytso@mit.edu> | ||
96 | Description: | ||
97 | The maximum number of megabytes the writeback code will | ||
98 | try to write out before move on to another inode. | ||
diff --git a/Documentation/ABI/testing/sysfs-kernel-fscaps b/Documentation/ABI/testing/sysfs-kernel-fscaps new file mode 100644 index 000000000000..50a3033b5e15 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-fscaps | |||
@@ -0,0 +1,8 @@ | |||
1 | What: /sys/kernel/fscaps | ||
2 | Date: February 2011 | ||
3 | KernelVersion: 2.6.38 | ||
4 | Contact: Ludwig Nussel <ludwig.nussel@suse.de> | ||
5 | Description | ||
6 | Shows whether file system capabilities are honored | ||
7 | when executing a binary | ||
8 | |||
diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-cleancache b/Documentation/ABI/testing/sysfs-kernel-mm-cleancache new file mode 100644 index 000000000000..662ae646ea12 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-mm-cleancache | |||
@@ -0,0 +1,11 @@ | |||
1 | What: /sys/kernel/mm/cleancache/ | ||
2 | Date: April 2011 | ||
3 | Contact: Dan Magenheimer <dan.magenheimer@oracle.com> | ||
4 | Description: | ||
5 | /sys/kernel/mm/cleancache/ contains a number of files which | ||
6 | record a count of various cleancache operations | ||
7 | (sum across all filesystems): | ||
8 | succ_gets | ||
9 | failed_gets | ||
10 | puts | ||
11 | flushes | ||
diff --git a/Documentation/ABI/testing/sysfs-module b/Documentation/ABI/testing/sysfs-module new file mode 100644 index 000000000000..cfcec3bffc0a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-module | |||
@@ -0,0 +1,12 @@ | |||
1 | What: /sys/module/pch_phub/drivers/.../pch_mac | ||
2 | Date: August 2010 | ||
3 | KernelVersion: 2.6.35 | ||
4 | Contact: masa-korg@dsn.okisemi.com | ||
5 | Description: Write/read GbE MAC address. | ||
6 | |||
7 | What: /sys/module/pch_phub/drivers/.../pch_firmware | ||
8 | Date: August 2010 | ||
9 | KernelVersion: 2.6.35 | ||
10 | Contact: masa-korg@dsn.okisemi.com | ||
11 | Description: Write/read Option ROM data. | ||
12 | |||
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-laptop b/Documentation/ABI/testing/sysfs-platform-asus-laptop index 1d775390e856..cd9d667c3da2 100644 --- a/Documentation/ABI/testing/sysfs-platform-asus-laptop +++ b/Documentation/ABI/testing/sysfs-platform-asus-laptop | |||
@@ -27,7 +27,7 @@ KernelVersion: 2.6.20 | |||
27 | Contact: "Corentin Chary" <corentincj@iksaif.net> | 27 | Contact: "Corentin Chary" <corentincj@iksaif.net> |
28 | Description: | 28 | Description: |
29 | Some models like the W1N have a LED display that can be | 29 | Some models like the W1N have a LED display that can be |
30 | used to display several informations. | 30 | used to display several items of information. |
31 | To control the LED display, use the following : | 31 | To control the LED display, use the following : |
32 | echo 0x0T000DDD > /sys/devices/platform/asus_laptop/ | 32 | echo 0x0T000DDD > /sys/devices/platform/asus_laptop/ |
33 | where T control the 3 letters display, and DDD the 3 digits display. | 33 | where T control the 3 letters display, and DDD the 3 digits display. |
@@ -47,6 +47,20 @@ Date: January 2007 | |||
47 | KernelVersion: 2.6.20 | 47 | KernelVersion: 2.6.20 |
48 | Contact: "Corentin Chary" <corentincj@iksaif.net> | 48 | Contact: "Corentin Chary" <corentincj@iksaif.net> |
49 | Description: | 49 | Description: |
50 | Control the bluetooth device. 1 means on, 0 means off. | 50 | Control the wlan device. 1 means on, 0 means off. |
51 | This may control the led, the device or both. | 51 | This may control the led, the device or both. |
52 | Users: Lapsus | 52 | Users: Lapsus |
53 | |||
54 | What: /sys/devices/platform/asus_laptop/wimax | ||
55 | Date: October 2010 | ||
56 | KernelVersion: 2.6.37 | ||
57 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
58 | Description: | ||
59 | Control the wimax device. 1 means on, 0 means off. | ||
60 | |||
61 | What: /sys/devices/platform/asus_laptop/wwan | ||
62 | Date: October 2010 | ||
63 | KernelVersion: 2.6.37 | ||
64 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
65 | Description: | ||
66 | Control the wwan (3G) device. 1 means on, 0 means off. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi b/Documentation/ABI/testing/sysfs-platform-asus-wmi new file mode 100644 index 000000000000..2e7df91620de --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi | |||
@@ -0,0 +1,31 @@ | |||
1 | What: /sys/devices/platform/<platform>/cpufv | ||
2 | Date: Oct 2010 | ||
3 | KernelVersion: 2.6.37 | ||
4 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
5 | Description: | ||
6 | Change CPU clock configuration (write-only). | ||
7 | There are three available clock configuration: | ||
8 | * 0 -> Super Performance Mode | ||
9 | * 1 -> High Performance Mode | ||
10 | * 2 -> Power Saving Mode | ||
11 | |||
12 | What: /sys/devices/platform/<platform>/camera | ||
13 | Date: Jan 2010 | ||
14 | KernelVersion: 2.6.39 | ||
15 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
16 | Description: | ||
17 | Control the camera. 1 means on, 0 means off. | ||
18 | |||
19 | What: /sys/devices/platform/<platform>/cardr | ||
20 | Date: Jan 2010 | ||
21 | KernelVersion: 2.6.39 | ||
22 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
23 | Description: | ||
24 | Control the card reader. 1 means on, 0 means off. | ||
25 | |||
26 | What: /sys/devices/platform/<platform>/touchpad | ||
27 | Date: Jan 2010 | ||
28 | KernelVersion: 2.6.39 | ||
29 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
30 | Description: | ||
31 | Control the card touchpad. 1 means on, 0 means off. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-at91 b/Documentation/ABI/testing/sysfs-platform-at91 new file mode 100644 index 000000000000..4cc6a865ae66 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-at91 | |||
@@ -0,0 +1,25 @@ | |||
1 | What: /sys/devices/platform/at91_can/net/<iface>/mb0_id | ||
2 | Date: January 2011 | ||
3 | KernelVersion: 2.6.38 | ||
4 | Contact: Marc Kleine-Budde <kernel@pengutronix.de> | ||
5 | Description: | ||
6 | Value representing the can_id of mailbox 0. | ||
7 | |||
8 | Default: 0x7ff (standard frame) | ||
9 | |||
10 | Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in | ||
11 | "AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the | ||
12 | contents of mailbox 0 may be send under certain | ||
13 | conditions (even if disabled or in rx mode). | ||
14 | |||
15 | The workaround in the errata suggests not to use the | ||
16 | mailbox and load it with an unused identifier. | ||
17 | |||
18 | In order to use an extended can_id add the | ||
19 | CAN_EFF_FLAG (0x80000000U) to the can_id. Example: | ||
20 | |||
21 | - standard id 0x7ff: | ||
22 | echo 0x7ff > /sys/class/net/can0/mb0_id | ||
23 | |||
24 | - extended id 0x1fffffff: | ||
25 | echo 0x9fffffff > /sys/class/net/can0/mb0_id | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-ideapad-laptop b/Documentation/ABI/testing/sysfs-platform-ideapad-laptop new file mode 100644 index 000000000000..807fca2ae2a4 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-ideapad-laptop | |||
@@ -0,0 +1,6 @@ | |||
1 | What: /sys/devices/platform/ideapad/camera_power | ||
2 | Date: Dec 2010 | ||
3 | KernelVersion: 2.6.37 | ||
4 | Contact: "Ike Panhc <ike.pan@canonical.com>" | ||
5 | Description: | ||
6 | Control the power of camera module. 1 means on, 0 means off. | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-kim b/Documentation/ABI/testing/sysfs-platform-kim new file mode 100644 index 000000000000..c1653271872a --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-kim | |||
@@ -0,0 +1,48 @@ | |||
1 | What: /sys/devices/platform/kim/dev_name | ||
2 | Date: January 2010 | ||
3 | KernelVersion: 2.6.38 | ||
4 | Contact: "Pavan Savoy" <pavan_savoy@ti.com> | ||
5 | Description: | ||
6 | Name of the UART device at which the WL128x chip | ||
7 | is connected. example: "/dev/ttyS0". | ||
8 | The device name flows down to architecture specific board | ||
9 | initialization file from the SFI/ATAGS bootloader | ||
10 | firmware. The name exposed is read from the user-space | ||
11 | dameon and opens the device when install is requested. | ||
12 | |||
13 | What: /sys/devices/platform/kim/baud_rate | ||
14 | Date: January 2010 | ||
15 | KernelVersion: 2.6.38 | ||
16 | Contact: "Pavan Savoy" <pavan_savoy@ti.com> | ||
17 | Description: | ||
18 | The maximum reliable baud-rate the host can support. | ||
19 | Different platforms tend to have different high-speed | ||
20 | UART configurations, so the baud-rate needs to be set | ||
21 | locally and also sent across to the WL128x via a HCI-VS | ||
22 | command. The entry is read and made use by the user-space | ||
23 | daemon when the ldisc install is requested. | ||
24 | |||
25 | What: /sys/devices/platform/kim/flow_cntrl | ||
26 | Date: January 2010 | ||
27 | KernelVersion: 2.6.38 | ||
28 | Contact: "Pavan Savoy" <pavan_savoy@ti.com> | ||
29 | Description: | ||
30 | The WL128x makes use of flow control mechanism, and this | ||
31 | entry most often should be 1, the host's UART is required | ||
32 | to have the capability of flow-control, or else this | ||
33 | entry can be made use of for exceptions. | ||
34 | |||
35 | What: /sys/devices/platform/kim/install | ||
36 | Date: January 2010 | ||
37 | KernelVersion: 2.6.38 | ||
38 | Contact: "Pavan Savoy" <pavan_savoy@ti.com> | ||
39 | Description: | ||
40 | When one of the protocols Bluetooth, FM or GPS wants to make | ||
41 | use of the shared UART transport, it registers to the shared | ||
42 | transport driver, which will signal the user-space for opening, | ||
43 | configuring baud and install line discipline via this sysfs | ||
44 | entry. This entry would be polled upon by the user-space | ||
45 | daemon managing the UART, and is notified about the change | ||
46 | by the sysfs_notify. The value would be '1' when UART needs | ||
47 | to be opened/ldisc installed, and would be '0' when UART | ||
48 | is no more required and needs to be closed. | ||
diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power index 2875f1f74a07..b464d12761ba 100644 --- a/Documentation/ABI/testing/sysfs-power +++ b/Documentation/ABI/testing/sysfs-power | |||
@@ -99,9 +99,38 @@ Description: | |||
99 | 99 | ||
100 | dmesg -s 1000000 | grep 'hash matches' | 100 | dmesg -s 1000000 | grep 'hash matches' |
101 | 101 | ||
102 | If you do not get any matches (or they appear to be false | ||
103 | positives), it is possible that the last PM event point | ||
104 | referred to a device created by a loadable kernel module. In | ||
105 | this case cat /sys/power/pm_trace_dev_match (see below) after | ||
106 | your system is started up and the kernel modules are loaded. | ||
107 | |||
102 | CAUTION: Using it will cause your machine's real-time (CMOS) | 108 | CAUTION: Using it will cause your machine's real-time (CMOS) |
103 | clock to be set to a random invalid time after a resume. | 109 | clock to be set to a random invalid time after a resume. |
104 | 110 | ||
111 | What; /sys/power/pm_trace_dev_match | ||
112 | Date: October 2010 | ||
113 | Contact: James Hogan <james@albanarts.com> | ||
114 | Description: | ||
115 | The /sys/power/pm_trace_dev_match file contains the name of the | ||
116 | device associated with the last PM event point saved in the RTC | ||
117 | across reboots when pm_trace has been used. More precisely it | ||
118 | contains the list of current devices (including those | ||
119 | registered by loadable kernel modules since boot) which match | ||
120 | the device hash in the RTC at boot, with a newline after each | ||
121 | one. | ||
122 | |||
123 | The advantage of this file over the hash matches printed to the | ||
124 | kernel log (see /sys/power/pm_trace), is that it includes | ||
125 | devices created after boot by loadable kernel modules. | ||
126 | |||
127 | Due to the small hash size necessary to fit in the RTC, it is | ||
128 | possible that more than one device matches the hash, in which | ||
129 | case further investigation is required to determine which | ||
130 | device is causing the problem. Note that genuine RTC clock | ||
131 | values (such as when pm_trace has not been used), can still | ||
132 | match a device and output it's name here. | ||
133 | |||
105 | What: /sys/power/pm_async | 134 | What: /sys/power/pm_async |
106 | Date: January 2009 | 135 | Date: January 2009 |
107 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | 136 | Contact: Rafael J. Wysocki <rjw@sisk.pl> |
@@ -129,3 +158,17 @@ Description: | |||
129 | successful, will make the kernel abort a subsequent transition | 158 | successful, will make the kernel abort a subsequent transition |
130 | to a sleep state if any wakeup events are reported after the | 159 | to a sleep state if any wakeup events are reported after the |
131 | write has returned. | 160 | write has returned. |
161 | |||
162 | What: /sys/power/reserved_size | ||
163 | Date: May 2011 | ||
164 | Contact: Rafael J. Wysocki <rjw@sisk.pl> | ||
165 | Description: | ||
166 | The /sys/power/reserved_size file allows user space to control | ||
167 | the amount of memory reserved for allocations made by device | ||
168 | drivers during the "device freeze" stage of hibernation. It can | ||
169 | be written a string representing a non-negative integer that | ||
170 | will be used as the amount of memory to reserve for allocations | ||
171 | made by device drivers' "freeze" callbacks, in bytes. | ||
172 | |||
173 | Reading from this file will display the current value, which is | ||
174 | set to 1 MB by default. | ||
diff --git a/Documentation/ABI/testing/sysfs-ptp b/Documentation/ABI/testing/sysfs-ptp new file mode 100644 index 000000000000..d40d2b550502 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-ptp | |||
@@ -0,0 +1,98 @@ | |||
1 | What: /sys/class/ptp/ | ||
2 | Date: September 2010 | ||
3 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
4 | Description: | ||
5 | This directory contains files and directories | ||
6 | providing a standardized interface to the ancillary | ||
7 | features of PTP hardware clocks. | ||
8 | |||
9 | What: /sys/class/ptp/ptpN/ | ||
10 | Date: September 2010 | ||
11 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
12 | Description: | ||
13 | This directory contains the attributes of the Nth PTP | ||
14 | hardware clock registered into the PTP class driver | ||
15 | subsystem. | ||
16 | |||
17 | What: /sys/class/ptp/ptpN/clock_name | ||
18 | Date: September 2010 | ||
19 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
20 | Description: | ||
21 | This file contains the name of the PTP hardware clock | ||
22 | as a human readable string. | ||
23 | |||
24 | What: /sys/class/ptp/ptpN/max_adjustment | ||
25 | Date: September 2010 | ||
26 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
27 | Description: | ||
28 | This file contains the PTP hardware clock's maximum | ||
29 | frequency adjustment value (a positive integer) in | ||
30 | parts per billion. | ||
31 | |||
32 | What: /sys/class/ptp/ptpN/n_alarms | ||
33 | Date: September 2010 | ||
34 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
35 | Description: | ||
36 | This file contains the number of periodic or one shot | ||
37 | alarms offer by the PTP hardware clock. | ||
38 | |||
39 | What: /sys/class/ptp/ptpN/n_external_timestamps | ||
40 | Date: September 2010 | ||
41 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
42 | Description: | ||
43 | This file contains the number of external timestamp | ||
44 | channels offered by the PTP hardware clock. | ||
45 | |||
46 | What: /sys/class/ptp/ptpN/n_periodic_outputs | ||
47 | Date: September 2010 | ||
48 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
49 | Description: | ||
50 | This file contains the number of programmable periodic | ||
51 | output channels offered by the PTP hardware clock. | ||
52 | |||
53 | What: /sys/class/ptp/ptpN/pps_avaiable | ||
54 | Date: September 2010 | ||
55 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
56 | Description: | ||
57 | This file indicates whether the PTP hardware clock | ||
58 | supports a Pulse Per Second to the host CPU. Reading | ||
59 | "1" means that the PPS is supported, while "0" means | ||
60 | not supported. | ||
61 | |||
62 | What: /sys/class/ptp/ptpN/extts_enable | ||
63 | Date: September 2010 | ||
64 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
65 | Description: | ||
66 | This write-only file enables or disables external | ||
67 | timestamps. To enable external timestamps, write the | ||
68 | channel index followed by a "1" into the file. | ||
69 | To disable external timestamps, write the channel | ||
70 | index followed by a "0" into the file. | ||
71 | |||
72 | What: /sys/class/ptp/ptpN/fifo | ||
73 | Date: September 2010 | ||
74 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
75 | Description: | ||
76 | This file provides timestamps on external events, in | ||
77 | the form of three integers: channel index, seconds, | ||
78 | and nanoseconds. | ||
79 | |||
80 | What: /sys/class/ptp/ptpN/period | ||
81 | Date: September 2010 | ||
82 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
83 | Description: | ||
84 | This write-only file enables or disables periodic | ||
85 | outputs. To enable a periodic output, write five | ||
86 | integers into the file: channel index, start time | ||
87 | seconds, start time nanoseconds, period seconds, and | ||
88 | period nanoseconds. To disable a periodic output, set | ||
89 | all the seconds and nanoseconds values to zero. | ||
90 | |||
91 | What: /sys/class/ptp/ptpN/pps_enable | ||
92 | Date: September 2010 | ||
93 | Contact: Richard Cochran <richardcochran@gmail.com> | ||
94 | Description: | ||
95 | This write-only file enables or disables delivery of | ||
96 | PPS events to the Linux PPS subsystem. To enable PPS | ||
97 | events, write a "1" into the file. To disable events, | ||
98 | write a "0" into the file. | ||
diff --git a/Documentation/ABI/testing/sysfs-tty b/Documentation/ABI/testing/sysfs-tty new file mode 100644 index 000000000000..b138b663bf54 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-tty | |||
@@ -0,0 +1,19 @@ | |||
1 | What: /sys/class/tty/console/active | ||
2 | Date: Nov 2010 | ||
3 | Contact: Kay Sievers <kay.sievers@vrfy.org> | ||
4 | Description: | ||
5 | Shows the list of currently configured | ||
6 | console devices, like 'tty1 ttyS0'. | ||
7 | The last entry in the file is the active | ||
8 | device connected to /dev/console. | ||
9 | The file supports poll() to detect virtual | ||
10 | console switches. | ||
11 | |||
12 | What: /sys/class/tty/tty0/active | ||
13 | Date: Nov 2010 | ||
14 | Contact: Kay Sievers <kay.sievers@vrfy.org> | ||
15 | Description: | ||
16 | Shows the currently active virtual console | ||
17 | device, like 'tty1'. | ||
18 | The file supports poll() to detect virtual | ||
19 | console switches. | ||