summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 9c287c36b0..5f10d35b80 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -27,6 +27,8 @@ static inline int MIN(int a, int b) { return a < b ? a : b; }
const char help_str[] =
"Commands:\n"
+ " autofanctrl <on>\n"
+ " Turn on automatic fan speed control.\n"
" backlight <enabled>\n"
" Enable/disable LCD backlight\n"
" battery\n"
@@ -49,38 +51,44 @@ const char help_str[] =
" Sets the SMI mask for EC host events\n"
" eventsetwakemask <mask>\n"
" Sets the wake mask for EC host events\n"
+ " flasherase <offset> <size>\n"
+ " Erases EC flash\n"
" flashinfo\n"
" Prints information on the EC flash\n"
" flashread <offset> <size> <outfile>\n"
" Reads from EC flash to a file\n"
" flashwrite <offset> <infile>\n"
" Writes to EC flash from a file\n"
- " flasherase <offset> <size>\n"
- " Erases EC flash\n"
" hello\n"
" Checks for basic communication with EC\n"
" kbpress\n"
" Simulate key press\n"
" lightbar [CMDS]\n"
" Various lightbar control commands\n"
- " vboot [VAL]\n"
- " Get or set vboot flags\n"
" pstoreinfo\n"
" Prints information on the EC host persistent storage\n"
" pstoreread <offset> <size> <outfile>\n"
" Reads from EC host persistent storage to a file\n"
" pstorewrite <offset> <infile>\n"
" Writes to EC host persistent storage from a file\n"
+ " pwmgetfanrpm\n"
+ " Prints current fan RPM\n"
+ " pwmgetkblight\n"
+ " Prints current keyboard backlight percent\n"
+ " pwmsetfanrpm <targetrpm>\n"
+ " Set target fan RPM\n"
+ " pwmsetkblight <percent>\n"
+ " Set keyboard backlight in percent\n"
" queryec\n"
" Does an ACPI Query Embedded Controller command\n"
" readtest <patternoffset> <size>\n"
" Reads a pattern from the EC via LPC\n"
+ " reboot_ec <RO|A|B>\n"
+ " Reboot EC to RO or RW A/B\n"
" sertest\n"
" Serial output test for COM2\n"
" switches\n"
" Prints current EC switch positions\n"
- " version\n"
- " Prints EC version\n"
" temps <sensorid>\n"
" Print temperature.\n"
" tempsinfo <sensorid>\n"
@@ -89,22 +97,14 @@ const char help_str[] =
" Get the threshold temperature value from thermal engine.\n"
" thermalset <sensor_id> <threshold_id> <value>\n"
" Set the threshold temperature value for thermal engine.\n"
- " wireless <mask>\n"
- " Enable/disable WLAN/Bluetooth radio\n"
- " autofanctrl <on>\n"
- " Turn on automatic fan speed control.\n"
- " pwmgetfanrpm\n"
- " Prints current fan RPM\n"
- " pwmsetfanrpm <targetrpm>\n"
- " Set target fan RPM\n"
- " pwmgetkblight\n"
- " Prints current keyboard backlight percent\n"
- " pwmsetkblight <percent>\n"
- " Set keyboard backlight in percent\n"
" usbchargemode <port> <mode>\n"
" Set USB charging mode\n"
- " reboot_ec <RO|A|B>\n"
- " Reboot EC to RO or RW A/B\n"
+ " vboot [VAL]\n"
+ " Get or set vboot flags\n"
+ " version\n"
+ " Prints EC version\n"
+ " wireless <mask>\n"
+ " Enable/disable WLAN/Bluetooth radio\n"
"\n"
"Not working for you? Make sure LPC I/O is configured:\n"
" pci_write32 0 0x1f 0 0x88 0x00fc0801\n"