[SHR]does wakeup-on-wlan work on SHR?

2010-03-12 Thread niubee_007

Hello, 
I am trying to make my FreeRunner be a sip phone. 
But as wifi consume a lot of battery power and if I put FreeRunner into
suspend mode, I will lost wifi connectivity and my sip phone software can't
get any incoming call. 

I googled wakeup-on-wlan for SHR  and found this link 
http://shr-project.org/trac/ticket/305

I expect if SHR does support wakeup-on-lan, we should be able to put FR into
sleep mode, and send the magic packet (or other pre-defined packet) to FR,
and FR would be wake up.

I've tried many times but still can't get it work.

can someone elaborate how to make wakeup-on-wlan work? 
Thanks a lot. 
-- 
View this message in context: 
http://n2.nabble.com/SHR-does-wakeup-on-wlan-work-on-SHR-tp4720975p4720975.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR]does wakeup-on-wlan work on SHR?

2010-03-12 Thread Paul Fertser
niubee_007 pengning...@gmail.com writes:
 can someone elaborate how to make wakeup-on-wlan work? 

I tried to look into this and came to following conclusions:

1. hardware-wise, it should work (to the unknown extent, i saw exactly
0 documentation on the chip)
2. to actually give it a try one needs to do this kernel work:
   a) make sure WOL line can be configured as a wake up source
   b) add an option for unsafe handling of a device attached to
   s3c-mci (means assume the device attached to it retains its
   state over suspend/resume)
   c) add an option to keep the wlan module powered during suspend
3. I'm unsure how exactly to trigger WoL on ar6000. Is it supposed to
pulse the line on reception of a traditional ethernet WOL packet? Or
on any incoming traffic? What about secure (WPA/RSN) networks?

Probably Werner can comment more.

I was going to try that but got demotivated by the lack of community
interest.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR]does wakeup-on-wlan work on SHR?

2010-03-12 Thread niubee_007

2. to actually give it a try one needs to do this kernel work:
   a) make sure WOL line can be configured as a wake up source
   b) add an option for unsafe handling of a device attached to
   s3c-mci (means assume the device attached to it retains its
   state over suspend/resume)
   c) add an option to keep the wlan module powered during suspend
3. I'm unsure how exactly to trigger WoL on ar6000. Is it supposed to
pulse the line on reception of a traditional ethernet WOL packet? Or
on any incoming traffic? What about secure (WPA/RSN) networks?

Thanks for your info.
I am not familiar with kernel so it will take some time for me to study.

For WoL on ar6000, we can use wmiconfig to define the WOL packet. 
http://wiki.openmoko.org/wiki/Wmiconfig#Using_wmiconfig_to_enable_wakeup-on-wireless_.28wow.29

But FR can't be waked up by the WOL packet (here I use ICMP as WOL pkt).
I did not measure the GPIO1 level as I guess the problem would be in
software.

Traditional magic packet is also not working on SHR.

All my tests are done on SHR version
uImage-2.6.29-oe11+gitr119860+b90406de472c1aa5371ab593a2bb79136d5de658-r6-om-gta02.bin
full-om-gta02.jffs2 (22-Feb-2010).

Thanks again.

Best Regards

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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community