Results 1 to 4 of 4

Thread: What is usb autosuspend?

  1. #1
    Join Date
    Apr 2009
    Beans
    82

    What is usb autosuspend?

    After running powerTOP to see where most of my power consumption is taking place it tells me that the top cause of my wakeups is this

    36.7% (41.0) <interrupt> : uhci_hcd:usb3, ath

    then at the bottom it suggests how to fix that. It says
    "enable usb autosuspend by pressing the U key or adding usbcore.autosuspend=1 to the kernel command line in the grub config"

    I'd like to know exactly what that means before I enable it. Any info would help =)

  2. #2
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: What is usb autosuspend?

    My understanding is that it's a kind of powersaving mode for USB, but apart from that I don't know. It has not caused me any problems yet, and besides: if you pressed the U key and it caused problems, all you'd need to do is restart to get things back to normal. If Powertop changes your settings, it only does so temporarily.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  3. #3
    Join Date
    Apr 2009
    Location
    Budapest, Hungary
    Beans
    47
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: What is usb autosuspend?

    Quote Originally Posted by 3rdalbum View Post
    My understanding is that it's a kind of powersaving mode for USB, but apart from that I don't know. It has not caused me any problems yet, and besides: if you pressed the U key and it caused problems, all you'd need to do is restart to get things back to normal. If Powertop changes your settings, it only does so temporarily.
    Pressing U immediately stops my Logitech VX Nano mouse. I have to pull the wireless receiver out and put it back again.

  4. #4
    Join Date
    Dec 2005
    Location
    The Netherlands
    Beans
    682
    Distro
    Ubuntu Development Release

    Re: What is usb autosuspend?

    It is part of the laptop mode settings.

    You can set this in /etc/laptop-mode/conf.d/usb-autosuspend.conf:

    Code:
    #
    # Configuration file for Laptop Mode Tools module usb-autosuspend.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # USB autosuspend settings
    # ------------------------
    #
    # If you enable this setting, laptop mode tools will automatically enable the
    # USB autosuspend feature for all devices.
    #
    ###############################################################################
    
    # Enable USB autosuspend feature?
    CONTROL_USB_AUTOSUSPEND=1
    0=off, 1=on

    There are more of these config files inside /etc/laptopmode/conf.d
    More info on all options:

    man laptop-mode.conf

    From what I think I understand:
    1. off means that USB is always active.
    2. on means USB is deactivated and only activated when a USB device is inserted.

    basically it saves battery life to put it on but it would also switch off any usb devices currently attached (like mice) to save powerconsumption.


    OH! and lots of the options powertop advices on can be found in those files.
    Code:
    ac97-powersave.conf              lcd-brightness.conf
    auto-hibernate.conf              sched-mc-power-savings.conf
    battery-level-polling.conf       sched-mc-power-savings.conf~
    bluetooth.conf                   start-stop-programs.conf
    configuration-file-control.conf  terminal-blanking.conf
    cpufreq.conf                     usb-autosuspend.conf
    dpms-standby.conf                ethernet.conf                    
    video-out.conf                   hal-polling.conf                 
    wireless-ipw-power.conf          intel-hda-powersave.conf         
    wireless-iwl-power.conf          intel-sata-powermgmt.conf
    Last edited by Rinzwind; November 29th, 2009 at 05:12 PM.
    Hello, all my posts come without warranty

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •