Re: A question on the suggestions made by PowerTool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
========================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux