Stop HDD from spinning down rapidly; Acer Nitro 5 AN515-51

13»

Answers

  • per99
    per99 Member Posts: 47 Enthusiast WiFi Icon
    May I ask: What is your comment to the fact that exacly the same thing happened when I used Ubuntu as when I used Windows + Ubuntu?

    And if it is Mint Cinnamon you suggest that I should install (whatever it is) – by the way I'm very greatful for all your efforts – how much would you say that my chanses increase, then, that I ever will be able to change the spinning down time? Do they incrase from 5 up to 7 percent or from 5 up to 75 percent?

    P.S. So i Googled. Cinnamon is more Linux/Unix – right? Do I install it from Windows? "Terminal command prompt" – from Ubuntu? (I'm afraid I'm running out of energy ... Maybe tomorrow ...)
  • JackE
    JackE ACE Posts: 45,080 Trailblazer
    >>>>May I ask: What is your comment to the fact that exacly the same thing happened when I used Ubuntu as when I used Windows + Ubuntu?>>>

    NO! You did not install or run anything in Windows! All you did was decompress a compressed tar.gz file into it's binary components shown in the first 5 steps. You cannot run APMTimer from Windows with only those components.

    In order to run APMTimer, those components must compiled into an executable file that runs in steps 6 - 11. That's why I posted that link so you could install and run APMTimer from the live USB stick terminal command prompt. 





    Jack E/NJ

  • per99
    per99 Member Posts: 47 Enthusiast WiFi Icon

    >>>All you did was decompress a compressed tar.gz file into it's binary components ...>>>


    No, I also compiled (using 'make') three new files, among them apmtimer, using Ubuntu ”inside” Windows (I DO have WSL!). To show this, I posted a screenshot with those three ”new” files April 7 11:08 AM Swedish time = UTC+01:00.


    >>>In order to run APMTimer, those components must compiled into an executable file that runs in steps 6 – 11.>>>


    As I have said, I compiled them. And I compiled them twice (different folders), with exactly the same result (the screenshot). The second time I did this, I booted from the USB flash – didn't use Windows at all!


    And it isn't necessary to actually install. If you read the information on the Sourceforge APMTimer site, it says: “You can optionally install the APMtimer utility to the /sbin directory.”


    My main concern right now is: Why would I expect anything “new” to happen with some other kind of Linux (Mint Cinnamon) than I already have? Of course I cannot be totally sure the original six files were compiled in the right way, previously, but since I got the same result twice, I'm beginning to believe they were.


    And when I tried to execute the apmtimer functions, I used exactly the right commands. The only question is whether there should be a space or not in one place. I described this in detail April 7 7:46 PM Swedish time.

  • per99
    per99 Member Posts: 47 Enthusiast WiFi Icon

    I think I'll add my final conclusions: This particular hard drive was manufactured approximately three years after when APMTimer was constructed. It seems as if Western Digital somehow has managed to prevent this tool from being able to alter the spinning down settings.


    Because when I downloaded an Ubuntu version from 2014 to my USB flash, I was able to run the apmtimer commands. Sadly, there were still some kind of in and out errors with regard to the hard drive, but when I by mistake typed sda instead of sdb, Ubuntu “said” to me: This doesn't seem to be a Western Digital hard drive, this seems to be a Kingston bla bla bla etc. Which shows that the program is OK, I guess.


    When I made those last experiments, the password for sdb was cleared. I also copied a file from the hard drive to somewhere else five seconds before I pressed Enter, in order to make sdb active while I tried to execute the command. I guess there is nothing more to do.

  • JackE
    JackE ACE Posts: 45,080 Trailblazer
    I would not trust anything using WSL at the firmware level. Maybe they should call in LINE. Even WINE doesn't do well for running Windows firmware executables.

    APMTimer has been reported to work under Linux, not LINE. I think you should bite the bullet dual boot Mint. Or bite the other bullet, spend kr1000 or so, and just install a 2.5" 1TB SSD to be done with it.

    Jack E/NJ