* Temporarily disabling CONFIG_USB_SUSPEND
@ 2007-09-28 19:42 Chris Frey
2007-09-28 19:48 ` Chuck Ebbert
0 siblings, 1 reply; 2+ messages in thread
From: Chris Frey @ 2007-09-28 19:42 UTC (permalink / raw)
To: linux-kernel
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.
Thanks,
- Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Temporarily disabling CONFIG_USB_SUSPEND
2007-09-28 19:42 Temporarily disabling CONFIG_USB_SUSPEND Chris Frey
@ 2007-09-28 19:48 ` Chuck Ebbert
0 siblings, 0 replies; 2+ messages in thread
From: Chuck Ebbert @ 2007-09-28 19:48 UTC (permalink / raw)
To: Chris Frey; +Cc: linux-kernel
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-28 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 19:42 Temporarily disabling CONFIG_USB_SUSPEND Chris Frey
2007-09-28 19:48 ` Chuck Ebbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox