Fyde OS Logo

How to Use the hwtuner Tool to Switch the System's Sleep Mode

Last Update: 2024-03-13

The following guide or recipe requires shell access to your FydeOS installation, therefore developer mode is assumed to be enabled. If altering system file is required, you will also need to disable root file system verification.

This comprehensive guide is tailored for FydeOS for PC users who are grappling with issues related to the system not waking up from sleep mode or encountering problems upon awakening. We will utilize hwtuner, a powerful tool, to modify the sleep mode and address these issues.

What is hwtuner?

hwtuner, officially recognized as FydeOS Hardware Tuner, is a command-line tool engineered to debug and optimize system functions.

Accessing hwtuner

  1. Initiate Crosh: On your FydeOS desktop, simultaneously press Control + Alt + T.

  2. Enter the bash shell: Input the command shell into Crosh and hit Enter.

  3. Acquire administrator privileges: Input sudo su, then press Enter.

    Note: from FydeOS v17 and openFyde r114 onwards, sudo su will no longer work. Older versions will not be impacted.

  4. Enter the hwtuner: Input the command hwtuner into Crosh, then hit Enter.

  5. Verify the Version: Ensure that the version of hwtuner is 0.0.1.2cdd614c or higher.

Modifying System Sleep Mode

If your hwtuner version is up-to-date, you can proceed to modify the system sleep mode as follows:

  1. Navigate to the device and driver tuning menu: Look for Misc devices and driver tuning.

  2. Select the menu item: Input the number 4.

  3. Find the Sleep Mode Switch: Look for Switch suspend mode.

  4. Alter Sleep Mode: Input the number 0 to change the sleep mode to S2Idle.

  5. Save and Reboot: Press Enter. The system will automatically save your new configuration and reboot.

While these steps are typically effective in resolving sleep mode issues, they may not solve all problems. If you have any questions or doubts, we encourage you to post your queries in the FydeOS Community.

We use cookies to improve your browsing experience on our website, to analyse our website traffic, and to understand where our visitors are coming from.