Why can't root write to /sys/module/ipw2200/parameters/led?
Robert P. J. Day
rpjday at mindspring.com
Sun Apr 1 20:59:06 UTC 2007
On Sun, 1 Apr 2007, Miles Lane wrote:
> [root at hogwarts ~]# echo 1 > /sys/module/ipw2200/parameters/led
> -bash: /sys/module/ipw2200/parameters/led: Permission denied
because if you look at the source code for ipw2200.c in the kernel
source tree, the "led" module parameter is defined as read-only:
...
module_param(led, int, 0444);
MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n");
...
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 test
mailing list