How can I turn off HDD power management at boot and resume?

From what I understand, putting 'hdparm -B 255 /dev/sda' in /etc/rc.local is not the way to do it (and probably won't work for resume from suspend). What is the recommended way to do this?

You could try https://aur.archlinux.org/packages/systemd-hddapm

Similar Messages

  • Can't turn off WiFi Power Management with iwconfig

    I had an issue with my WiFi connection dropping occasionally, and I found that my situation was the same as described in this part of the Wicd wiki article: <https://wiki.archlinux.org/index.php/Wi … connecting>, so I used iwconfig to turn power management off, like it said. But, the disconnecting issue is still there. I think power management is still on, because of this:
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/power/control"
    auto
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/device/power/control"
    on
    Yet, iwconfig still shows that power management is off:
    [<...>]$ iwconfig wlan0
    wlan0 IEEE 802.11bgn ESSID:"<...>"
    Mode:Managed Frequency:2.437 GHz Access Point: 00:21:A0:F9:FD:C3
    Bit Rate=54 Mb/s Tx-Power=15 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=48/70 Signal level=-62 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:2 Invalid misc:239 Missed beacon:0
    Info
    Using Wicd for network management
    Wireless card: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
    Using systemd
    [<...>]$ systemctl | grep net
    sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-net-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    sys-subsystem-net-devices-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    wicd.service loaded active running Wicd a wireless and wired network manager for Linux
    network.target loaded active active Network
    Last edited by thorion (2012-11-02 19:42:57)

    Haven't had this problem since I switched to NetworkManager, even with power management on...

  • How can I turn off the 101ncmdt on my camera and just have a camera

    my phone camera use to work very well and some how it got some other thing when I go to camera and it is called 101NCMDT. Now all my photos go to this mode instead of just camera. Because of this I can not send pictures to a lot of people. I hate it and just want my old simple camera on my phone back. It has also made the camera take pictures slower and it is very frustrating.          who am I writing to anyway?

        Let's get your camera working again, 1knarlysurfrat. That's definitely a strange mode. What phone do you have? Did you download any new applications before this started?
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • HT1807 How can I turn off everything, data, roaming, text messages, and phone calls, without shutting off my Wifi aswell?

    I am travelling and I would still like to get Wifi on my phone but i have no set up plan for anything else so I do not want the charges. Is there a way to turn everything off except for my connection to different Wifis?

    turn airplane mode on and then turn wifi back on with airplane mode on

  • Satellite A660 How can i turn off the lighting of the power button?

    Hello, I recently bought a new Toshiba A660-1FL.
    However bothers me is the lighting of the multimedia keys, if I work in the dark.
    In Bios I could turn off the led illumination, but the power on/off button is still lighting,that distracts me when i am working.
    This notebook has two power LED, so the power on lighting is in my opinion, unnecessary.
    My question is: How can i turn off the lighting of the power button?

    Here you can see the LED with the same function in front of you: http://s3.imgimg.de/uploads/t009aae62jpg.jpg
    Yes in fact, the difference is color, design, but also location and brightness of the LED.
    For me, this LED is too bright and it is distracting in the dark, as you can see here: http://s3.imgimg.de/uploads/leddf570760jpg.jpg
    I was today at a local electronics store, and saw that Toshiba has the brightest Power LED on A660, but why it must be placed under the LCD and not in the front as in my old notebook Toshiba A210.
    I also had the idea with a tape, but it would look ugly, and it must be removable without residue.
    P.S. Also the fingerprints on the glossy keyboard do not look nice.

  • How can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    how can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    Follow the instructions in this article. You can turn off the auto-renewal on either your i-device or via iTunes on your computer:
    Manage your auto-renewing subscriptions - Apple Support
    Cheers,
    GB

  • HT201150 How can I turn off this "feature" and have the power button bring me the shut down / restart / sleep dialog by default again?

    How can I turn off this "feature" and have the power button bring me the shut down / restart / sleep dialog by default again?
    With the position of the power button on the Retina MacBooks, any mistake turns off the screen in the middle of a presentation or any activity using a projector or big screen — a huge waste of time to wake up the display, enter password, have the projector sync back, watch audience disconnecting from what was being discussed, etc.
    This is very annoying, and seems to add to the increasing collection of options Apple decided to make by itself instead of allowing the user to choose.
    Come on Apple guys, I'm using my Mac because I want options and lots of preferences to tweak to my needs.
    If I needed the lobotomized version I'd be using my iPad!
    Any way (official or hack) to change this button back to its proper funcionality?
    Thanks!

    cterra wrote:
    How can I turn off this "feature" and have the power button bring me the shut down / restart / sleep dialog by default again?
    Not what you want, but you can get the shut down / restart / sleep dialog by holding the power button

  • How can I turn off base64 email encoding in iPlanet Process Manager?

    Email sent out from a workflow running in the Process
    Manager seems to be base64 encoded. How can I turn
    off the encoding?

    No worries. Typically you can rename a machine by just changing the name System Preferences -> Sharing. But there is also a command line option to adjust the name, and if you don't use the command line option, the server freaks out and will alert you about the change forever. ie - for servers, you need to use the command I describe below.
    The command is called changeip and can be run from command line in Terminal.app. It is for manually chaning the ip address and or name of a machine. It basically has 4 parameters: old ip address, new ip address, old machine name, new machine name.
    Basically the command looks like this:
    sudo changeip OLDIPADDRESS NEWIPADDRESS OLDNAME NEWNAME
    If any value is being kept the same, just repeat the identical information as both the old and new value.
    Example 1: Changing the IP address and host name. This would update the machine's ip address to be 192.168.1.2 and its name would be update to my_new_name.
    sudo changeip 192.168.1.1 192.168.1.2 my_old_name my_new_name
    Example 2: Keeping the IP address the same but updating the name. This would update the machine's name to my_new_name but would keep the same ip address.
    sudo changeip 192.168.1.1 192.168.1.1 my_old_name my_new_name
    Most likely you're just wanting to update the name, in which case you should follow the second example. If you run this, be sure to reboot the machine afterwards and test to make sure that any enabled services are running properly.

  • My power button doesnt work how can i turn off my device

    my power button doesnt work how can i turn off my device

        Angel525,
    I am sorry to hear about your phone being frozen. We want to make sure we work on this with you. You mentioned that you your power button is broken. Is it stuck or are you missing it? Please provide us details.
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • How can I Turn off my AppleTV

    How can I turn off my Apple TV?

    There is no power switch. You cannot turn off your Apple TV. You can only put it in standby (sleep) mode. To power the unit off your only option is to pull the plug.

  • How can I turn off other languages on my ipad running ios7?  It has Japanese or Chinese and the international keyboard is set to English.  Thank you.

    How can I turn off other languages on my ipad the next generation running ios7?  I have the international language set to English but it's showing a foreign language and sometimes it shows the foreign language with English.  Thank you.

    The complete backup and restore procedure is explained in the link above.
    If you don't want to do a restore, then your iPad may remain in the unstable state you have for the moment.
    You can change the country in the App Store. Have a look at the bottom of the App Store screen, you can change the country and also do the permanent change via Manage > Account.
    You can change the language in iTunes via General Preferences > under General tab.

  • How can I turn off the wireless modem on my HPG5200uk Desktop?

    How can I turn off the wireless modem on my HPG5200uk Desktop? I have an ethernet connection, and don't want to be blasted by unnecessary radio waves.
    This question was solved.
    View Solution.

    Hi,
    You may not have a wireless network adapter.
    If it is not in Network Adapters and you have no Device Manager errors or disabled devices under Network Adapters then that would be the case.
    Jaco
    Errare humanum est.

  • How can I turn off "find my ipad" to restore to factory settings if screen is not working?

    How can I turn off "Find My iPad" to restore to factory settings if screen is not working?  I can't get access to the apps on my mini pad.  I can see the device when I'm in iTunes.

    Try resetting the iPad by holding the home and power keys down until the Apple logo appears.
    Barry

  • How can I turn off icloud

    how can I turn off icloud so that I can continue to synch my iphone to Window Contacts

    Hi
    I looked an no such option exists there is only 4 options
    1. open itunes when phone is connected
    2. synch only checked songs and ...
    3. convert higher bit rate
    4. manually manage music and ...
    I never had this problem before I loaded this new version of itunes
    I really am beginning to think that Apple is making things harder not easier
    I wish i could go back to the simpler version
    But no I am stuck in limbo with no way to synch or back up my contacts

  • How can i turn off automatic printing on my ipad mini

    how can i turn off automatic printing on my ipad mini. every day My printer prints out a weekly calendar at the same time. How can I stop or disable this. Thanks

    The complete backup and restore procedure is explained in the link above.
    If you don't want to do a restore, then your iPad may remain in the unstable state you have for the moment.
    You can change the country in the App Store. Have a look at the bottom of the App Store screen, you can change the country and also do the permanent change via Manage > Account.
    You can change the language in iTunes via General Preferences > under General tab.

Maybe you are looking for

  • Keyboard and touchpad do not respond temporarily

    Hi all! While working on my Macbook Pro mid 2010 (Mountain Lion) the keyboard and touchpad sometimes don't repond. Everything else on the Macbook seems to work as usual, e. g. the power button works and I can see how the logfiles are updated on the c

  • Acroba 9 Pro Trial Version

    I downloaded a trial version of Acrobat 9 Pro this last Monday and it worked fine. On Tuesday, responded to an Adobe survey invitation to try me later. Since then I receive the attached error message: Licensing for this product has stopped working. Y

  • My js drop down is not showing up in safari with swishmax flash image

    Hi. I'm not a mac user so I'm a little out of my element here, but I've designed a new home page for my work site and and all is ok except that my flash image (created in swishmax) is interferring with the drop down js nav. Basically (from what i hea

  • Synching to a new computer

    Hello all, I have an iPhone that I have music on synched to a Windows PC.  I just bought an iMac and want to synch my phone to the iMac instead.  However, when I plug it in to synch, it wants to wipe my iPhone and use the music from the iMac (of whic

  • Which Is True for 24/7 Sleep? Hard Drive Could Fail Because It's Constantly Spinning or Because It's Suddenly Switched ON

    Hi. It's sleep vs. shutdown again. I read some computer components are better off on sleep mode, some components are better off shutted down. If each component lasts longer in sleep mode and some shutted down, what then is the best for Macs as a whol