WLAN on/off during suspend

Werner Almesberger werner at openmoko.org
Fri Jan 16 23:12:24 CET 2009


A while ago, someone asked in a thread which I believe was on this
list for a way to control whether WLAN gets powered down (and thus
loses state) during suspend.

Following the example of Larry Wall ("There's more than one way to
do it"), there are in fact three ways to control this ;-)

- if using a monolithic kernel, pass the boot parameter
  s3cmci.persist=1

- if using s3cmci.ko as a module,
  insmod s3cmci.ko persist=1

- in either case, you can switch it at run time through sysfs in
  /sys/module/s3cmci/parameters/persist

- Werner



More information about the devel mailing list