[Om2008.9] trac/ticket/1742 && power-off from userland

matt_hsu matt_hsu at openmoko.org
Thu Nov 13 14:47:03 CET 2008


Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | Matthias Apitz wrote:
> |> Hello,
> |>
> |> The above mentioned ticket #1742 is serious for the standby time of 
> the
> |> FR;
> |>
> |> Does the driver for the Accton WLAN 802.11b/g SiP-M WM3236AQ provide
> |> some file in user-land to power the chip down as it can be done 
> with the
> |> GSM modem by writing a '0' to the file:
> |>
> | Hi Matthias,
> |
> | There is no sysfs exported to power-down the WLAN driver.
> | To configure GPJ11 can't power-down the WLAN device.
> | The only way to reduce the power-consumption of WLAN device is to
> | put it into suspend via wmi utility.
> |
> | http://svn.openmoko.org/trunk/src/target/AR6kSDK.build_sw.18/host/wmi/
>
> What is the story about GPJ11 then... it seems to be intended to be an
> "on switch" like the modem.
       I've tried to use GPJ11 as a switch to turn-on/off the WLAN.
       It only can be used as power-on trigger. You can't use a pull-up 
or pull-high-low transition to
       turn off the WLAN device. That's, this module could be turned off 
by any external IO operation except cutting its power source.  But its 
power source is from IO3V3. :(

       I've asked Accton about this question, they suggest us to use wmi 
to configure the power state of WLAN. 

       Matt
> Did we hear from somewhere that the module
> ignores it?
>
> Stable-tracking has a patch it that allows control of it by /sys...
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkcJckACgkQOjLpvpq7dMrzOQCfbDeZP9ayBoBoTDFx1epkQTZc
> 4eoAnjzmPUDF6Je/HJR4fylSJCpsOE+L
> =s3oZ
> -----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list