Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-19-2022, 01:00 AM
|
#1
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Rep: 
|
Can my desktop HDD spin down without the "laptop-mode" service?
UnionTech OS, abbreviated to "UOS", is currently running from the internal HDD on my desktop PC.
https://linux.die.net/man/8/laptop_mode
The above page says "The intent of laptop mode is to increase battery life by letting your hard drive spin down."
If I disable "laptop_mode", will my HDD keep spinning even when my desktop is sleeping?
|
|
|
08-19-2022, 02:36 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199
Rep: 
|
Do you mean sleeping with hibernation or similar ?
You can test this feature by using it.
And you can also use hdparm: https://wiki.archlinux.org/title/hdparm.
|
|
|
08-19-2022, 02:59 AM
|
#3
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Original Poster
Rep: 
|
Quote:
Originally Posted by Keruskerfuerst
Do you mean sleeping with hibernation or similar ?
|
I have never clicked on the "Hibernate" icon, which is just next to the "Suspend" icon, on which I sometimes click.
When I click on the "Suspend" icon, my PC will go to sleep, and it will wake up as soon as I press a key on the keyboard.
Quote:
Originally Posted by Keruskerfuerst
You can test this feature by using it.
|
Assuming "this feature" refers to hibernation, I will not use it.
Quote:
Originally Posted by Keruskerfuerst
|
I cannot manually run "hdparm" because UOS is always running from the HDD.
I believe UOS will automatically run "hdparm" after I click on the "Suspend" icon.
Last edited by Matthew Wai; 08-19-2022 at 03:05 AM.
|
|
|
08-20-2022, 12:53 AM
|
#5
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Original Poster
Rep: 
|
Quote:
Originally Posted by Keruskerfuerst
|
Have I understood correctly that the service "laptop-mode" allows an HDD to automatically spin down when the system has been idle for a specified amount of time?
|
|
|
08-20-2022, 03:53 AM
|
#6
|
Senior Member
Registered: Jul 2020
Posts: 1,471
|
Not quite. HDD spins down when idle by itself, but this feature has to be enabled and configured. laptop-mode does it by invoking hdparm, but there is no reason to use it just for that, using hdparm or smartctl without a middleman makes more sense to me. And yes, if your PC goes into ACPI-compliant sleep mode, disks will spin down regardless of what is installed and configured on you machine.
|
|
|
08-20-2022, 07:27 AM
|
#7
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Original Poster
Rep: 
|
Quote:
Originally Posted by lvm_
if your PC goes into ACPI-compliant sleep mode, disks will spin down regardless of what is installed and configured on you machine.
|
Please tell me whether the following statements are correct:
(1) Without "laptop-mode", an HDD will not spin down when it is idle.
(2) Without "laptop-mode", an HDD will still spin down when my PC goes to sleep.
|
|
|
08-20-2022, 09:11 AM
|
#8
|
Senior Member
Registered: Jul 2020
Posts: 1,471
|
1-no, other tools can do that too
2-yes
|
|
|
08-22-2022, 12:36 PM
|
#9
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
FWIW, I use TLP on my laptop, and I can see no reason why it shouldn't work on a desktop, too.
|
|
|
All times are GMT -5. The time now is 01:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|