Isn't Wifi supposed to be off by default?
cchandel at yahoo.com
Wed Jan 14 02:48:59 CET 2009
I'm using FSO-unstable with 2.6.28 (from people.openmoko.org/andy Jan 7
Image). What I've noticed is that with the moredrivers kernel I seem to get
sporadic wakeups from suspend. For eg - I never got a full night's suspend.
And since I needed to keep auto suspend disabled since FSO suspends even
when plugged in to a USB cable, I would generally wake with the battery
pretty much discharged.
I was reading about the power consumption issues with WiFi, and so made a
small script to switch off WiFi containing
iwconfig eth0 txpower off
wmiconfig -i eth0 --wlan disable
ifconfig eth0 down (probably don't need this)
And last night I had an uninterrupted suspend from 22:51 to 05:53! But I
Lost about 13% power during this time (95% to 82%). Now, that sets me
wondering about two things :-
1. Were most of my wakeups because of WiFi? I should have kept track of
the reason - but I didn't. Will do so now. But, Isn't WiFi supposed to be
off by default?
2. Why is the phone consuming 13% power in 7 hrs? Seems rather high if I
look at from the perspective of simple nokia phones.
Powertop says Wakeups-from-idle per second : 523.6 interval: 5.0 s
Top causes for wakeups:
39.0% (204.0) <interrupt> : s3c-mci
38.3% (200.6) <interrupt> : S3C2410 Timer Tick
19.2% (100.4) ksdioirqd/mmc0 : schedule_timeout (process_timeout)
1.8% ( 9.6) python : schedule_hrtimeout_range
0.6% ( 3.0) <interrupt> : s3c2410_udc
0.2% ( 1.2) Xglamo : hrtimer_start (it_real_fn)
0.2% ( 1.0) gsm0710muxd : schedule_hrtimeout_range
0.2% ( 1.0) enlightenment : schedule_hrtimeout_range
0.2% ( 1.0) watchdog/0 : start_rt_bandwidth
0.1% ( 0.4) <kernel core> : schedule_delayed_work_on
I remember reading something about a tickless kernel patch. Has that been
incorporated? Any chances of incorporating CONFIG_CPU_FREQ_GOV_ONDEMAND,
CONFIG_ACPI_BATTERY,HPET, USB autosuspend, CONFIG_NO_HZ etc in the kernels?
Of course I understand that the kernel is still in active development - just
wanted to check if these are on the list :-)
View this message in context: http://n2.nabble.com/Isn%27t-Wifi-supposed-to-be-off-by-default--tp2154678p2154678.html
Sent from the Openmoko Kernel mailing list archive at Nabble.com.
More information about the openmoko-kernel