A question on the suggestions made by PowerTool
Robert P. J. Day
rpjday at mindspring.com
Sun May 20 14:32:15 UTC 2007
On Sun, 20 May 2007, Rogue wrote:
> Hi All,
>
> I just tried out Powertool[1] and the suggestion was " Enable the
> CONFIG_USB_SUSPEND kernel configuration option" ... Now this might sound dumb,
> but I am not sure how do I enable this option. Do activate this option, do I
> need to rebuild the kernel from source, or is there a configuration file that
> I can manipulate?
i'm guessing you'll have to build a new kernel and select that feature
during the configuration. if you look at the source file
drivers/usb/core/usb.c in the kernel tree:
...
#ifdef CONFIG_USB_SUSPEND
static int usb_autosuspend_delay = 2; /* Default delay value,
* in seconds */
module_param_named(autosuspend, usb_autosuspend_delay, int, 0644);
MODULE_PARM_DESC(autosuspend, "default autosuspend delay");
#else
#define usb_autosuspend_delay 0
#endif
...
that seems to suggest you can't just switch that behaviour on a
running kernel if it wasn't built with that option.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
More information about the fedora-list
mailing list