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 \n" + " Turn on automatic fan speed control.\n" " backlight \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 \n" " Sets the wake mask for EC host events\n" + " flasherase \n" + " Erases EC flash\n" " flashinfo\n" " Prints information on the EC flash\n" " flashread \n" " Reads from EC flash to a file\n" " flashwrite \n" " Writes to EC flash from a file\n" - " flasherase \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 \n" " Reads from EC host persistent storage to a file\n" " pstorewrite \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 \n" + " Set target fan RPM\n" + " pwmsetkblight \n" + " Set keyboard backlight in percent\n" " queryec\n" " Does an ACPI Query Embedded Controller command\n" " readtest \n" " Reads a pattern from the EC via LPC\n" + " reboot_ec \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 \n" " Print temperature.\n" " tempsinfo \n" @@ -89,22 +97,14 @@ const char help_str[] = " Get the threshold temperature value from thermal engine.\n" " thermalset \n" " Set the threshold temperature value for thermal engine.\n" - " wireless \n" - " Enable/disable WLAN/Bluetooth radio\n" - " autofanctrl \n" - " Turn on automatic fan speed control.\n" - " pwmgetfanrpm\n" - " Prints current fan RPM\n" - " pwmsetfanrpm \n" - " Set target fan RPM\n" - " pwmgetkblight\n" - " Prints current keyboard backlight percent\n" - " pwmsetkblight \n" - " Set keyboard backlight in percent\n" " usbchargemode \n" " Set USB charging mode\n" - " reboot_ec \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 \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"