Re: power drain after wifi connection

2011-05-27 Thread Alfa21-mobile
I am quite sure they are not called after disconnect. I think that the kernel is responsible to turn wifi off in suspend (unless you want to keep it on during suspend e.g. for wake-on-wlan function). Yes, in suspend the kernel turns off the module completely, it shouldn't drain anything,

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 6:02 AM, Paul Fertser fercer...@gmail.com wrote: Basically, ``ls /sys/bus/platform/drivers/s3c2440-sdi'', it should let you know if the module (even when built-in) is binded or not. It shouldn't be if you want the card to not drain the battery. ``echo s3c2440-sdi

Re: power drain after wifi connection

2011-05-26 Thread Paul Fertser
Alfa21-mobile freerun...@my.is.it writes: so I can find the unbind here: root@neo:~# find /sys/bus/ -name '*unbind*'|grep sdi /sys/bus/platform/drivers/s3c-sdi/unbind ... how I can check if it's in bind or unbind state? If ar6000 is listed among the files at the path you mention, it's binded.

Re: power drain after wifi connection

2011-05-26 Thread Radek Polak
On Thursday 26 May 2011 12:08:07 Paul Fertser wrote: Alfa21-mobile freerun...@my.is.it writes: so I can find the unbind here: root@neo:~# find /sys/bus/ -name '*unbind*'|grep sdi /sys/bus/platform/drivers/s3c-sdi/unbind ... how I can check if it's in bind or unbind state? If

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 12:08 PM, Paul Fertser fercer...@gmail.com wrote: Alfa21-mobile freerun...@my.is.it writes: so I can find the unbind here: root@neo:~# find /sys/bus/ -name '*unbind*'|grep sdi /sys/bus/platform/drivers/s3c-sdi/unbind ... how I can check if it's in bind or unbind

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 12:44 PM, Radek Polak pson...@seznam.cz wrote: On Thursday 26 May 2011 12:08:07 Paul Fertser wrote: Alfa21-mobile freerun...@my.is.it writes: maybe the scripts in qtmoko try to unbind it using a wrong path? Possibly so :) You can run the script from terminal and see

Re: power drain after wifi connection

2011-05-26 Thread Radek Polak
On Thursday 26 May 2011 13:01:05 Alfa21-mobile wrote: and are executables... but I do not know neither if they are called after a wifi disconnection, nor if after an unbind/bind cycle the power consumption during stdby returns to the same state like after a reboot (now I'm testing this one)

Re: power drain after wifi connection

2011-05-26 Thread Paul Fertser
Radek Polak pson...@seznam.cz writes: On Thursday 26 May 2011 13:01:05 Alfa21-mobile wrote: and are executables... but I do not know neither if they are called after a wifi disconnection, nor if after an unbind/bind cycle the power consumption during stdby returns to the same state like after

Re: power drain after wifi connection

2011-05-25 Thread Timo Juhani Lindfors
Alfa21 freerun...@my.is.it writes: btw, in neocontrol I see around 225000 discharging current Sounds wrong, are you using the backlight? If yes, turn it off :-) You might want to steal some ideas from my comment in http://docs.openmoko.org/trac/ticket/2277#comment:23 on how to measure wifi

Re: power drain after wifi connection

2011-05-25 Thread Paul Fertser
Alfa21 freerun...@my.is.it writes: 2011-05-25@23:31 Paul Fertser Hm, you do not spare too many details, do you :) Are you really sure the ar6000 module is unbinded when you disable wifi? sorry, I didn't know which kind of details you meant... Basically, ``ls