wow. you questions made me a bit smarter this morning. I read some documentation and this what i have:
from kernel source
Documentation/kernel-parameters.txt
"Module parameters for loadable modules are specified only as the
parameter name with optional '=' and value as appropriate, such as:
modprobe usbcore blinkenlights=1
Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate, such as:
usbcore.blinkenlights=1
This document may not be entirely up to date and comprehensive. The command
"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
module. Loadable modules, after being loaded into the running kernel, also
reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
parameters may be changed at runtime by the command
"echo -n ${value} > /sys/module/${modulename}/parameters/${parm}"."
It's mean you need to make:
echo -n 60 > /sys/module/usbcore/parameters/autosuspend
or some other timing.
it can be so easy and at same time not. The ubuntu kernel do NOT have this option :(
wow. you questions made me a bit smarter this morning. I read some documentation and this what i have: kernel- parameters. txt
from kernel source
Documentation/
"Module parameters for loadable modules are specified only as the
parameter name with optional '=' and value as appropriate, such as:
modprobe usbcore blinkenlights=1
Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate, such as:
This document may not be entirely up to date and comprehensive. The command ${modulename} /parameters/ . Some of these ${modulename} /parameters/ ${parm} "."
"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
module. Loadable modules, after being loaded into the running kernel, also
reveal their parameters in /sys/module/
parameters may be changed at runtime by the command
"echo -n ${value} > /sys/module/
It's mean you need to make: usbcore/ parameters/ autosuspend
echo -n 60 > /sys/module/
or some other timing.
it can be so easy and at same time not. The ubuntu kernel do NOT have this option :(