Announcement

Collapse
No announcement yet.

USB Power on standby

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    USB Power on standby

    Hi all,

    I have a problem with USB power management when my system goes into standby (manually, I don't allow automatic standby).

    What I want is for the USB devices to be powered down when in standby mode. I have a problem with my USB wifi modem which doesn't seem to like being left in a powered up state when the system is asleep ... when I resume it usually plays up, sometimes necessitating a restart. Also, I like my USB keyboard to be powered down too (so my cat doesn't inadvertently wake the system up if he steps on the keyboard ). I want to be able to resume the system just by pressing the power switch momentarily. My old system running 12.04 worked this way by default (no USB power when sleeping).

    The system specs are in my sig below. I thought it was a problem with my motherboard for a while, but I think I've been through all the power settings in the BIOS and it hasn't made any difference.

    Any help appreciated.

    Rod.
    Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
    Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.


    #2
    Google uncovered this...perhaps it can help?

    http://stackoverflow.com/questions/4...off-with-linux

    Comment


      #3
      Thanks Steve.

      Honestly I'm dizzy from reading heaps of web pages similar to this The goal posts keep moving in Linux all the time ... previous fixes are deprecated and of course, the latest is systemd.

      The best I've come up with is adding a script in /etc/pm/sleep.d to turn off USB power when suspending the PC. But apparently that may not work because the "suspend" option is deprecated now too!
      Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
      Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

      Comment


        #4
        I wonder if some aspect of systemd might be helpful now. Something to research, perhaps.

        Comment

        Working...
        X