public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chuck Ebbert <cebbert@redhat.com>
To: Chris Frey <cdfrey@foursquare.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Temporarily disabling CONFIG_USB_SUSPEND
Date: Fri, 28 Sep 2007 15:48:36 -0400	[thread overview]
Message-ID: <46FD5A94.1010306@redhat.com> (raw)
In-Reply-To: <20070928194251.GA7666@foursquare.net>

On 09/28/2007 03:42 PM, Chris Frey wrote:
> Hi,
> 
> Is there a global means to disable the CONFIG_USB_SUSPEND feature, perhaps
> through /proc or /sysfs?
> 
> I know this can be done, in a semi-reliable manner, on a per-device
> basis by writing 0 or 2 to the /sys/.../device/power/state file, but
> I'm looking for something that will have the same effect as disabling
> CONFIG_USB_SUSPEND, but without recompiling the kernel.
> 

Kernel boot option usbcore.autosuspend=-1 if usbcore is built-in.

# modprobe usbcore autosuspend=-1

(0 now means suspend immediately)

      reply	other threads:[~2007-09-28 19:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 19:42 Temporarily disabling CONFIG_USB_SUSPEND Chris Frey
2007-09-28 19:48 ` Chuck Ebbert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46FD5A94.1010306@redhat.com \
    --to=cebbert@redhat.com \
    --cc=cdfrey@foursquare.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox