wakeup-on-wlan works!

niubee_007 pengningkun at gmail.com
Fri Mar 12 10:51:58 CET 2010



Timo Juhani Lindfors wrote:
> 
> niubee_007 <pengningkun at gmail.com> writes:
>> I googled wakeup-on-wlan for SHR  and found this link 
>> http://shr-project.org/trac/ticket/305
> 
> I have been trying to get wake on wlan work on debian for a long
> time. Using andy-tracking a3587e4ed77974ad on gta02v5. That
> 
>  echo 1 >/sys/module/s3cmci/parameters/persist
> 
> finally did the trick and I can finally make the phone wake up on
> wlan! Thanks a lot for pointing me to this ticket. (I really wish we
> had distro independent documentation for kernel /sys parameters...)
> 
> Anyways, here's what I did:
> 
> 
> ##### turn wlan off
> sudo ifdown wlan
> om wifi power 0
> sleep 5
> 
> 
> ##### check that the wakeup pin is high
> #
> http://docs.openmoko.org/trac/browser/trunk/doc/hardware/GTA02v2/gpio.txt?rev=2587&format=txt
> # GPF5    I       EINT5   WLAN_GPIO1              wlan wakeup GPIO
> sudo bin/gpio | grep ^F -A1
> 
> 
> ##### turn wlan on
> om wifi power 1
> sudo ifup wlan=private_c22
> 
> ##### check that the wakeup pin is low
> sudo bin/gpio | grep ^F -A1
> 
> ##### set the magic parameter mentioned in
> http://shr-project.org/trac/ticket/305
> sudo sh -c 'echo 0 > /sys/module/s3cmci/parameters/persist'
> 
> 

Happy to know you succeed on WOL.  will have a try on debian.
just to confirm you are using '0' instead of '1' in below script?
##### set the magic parameter mentioned in
http://shr-project.org/trac/ticket/305
sudo sh -c 'echo 0 > /sys/module/s3cmci/parameters/persist'

Thanks.
-- 
View this message in context: http://n2.nabble.com/SHR-does-wakeup-on-wlan-work-on-SHR-tp4720975p4721325.html
Sent from the Openmoko Community mailing list archive at Nabble.com.



More information about the community mailing list