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 a

Re: power drain after wifi connection

2011-05-26 Thread Paul Fertser
Radek Polak 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 a >> reboot

Re: [qtmoko] power drain after wifi connection

2011-05-26 Thread Timo Juhani Lindfors
Alfa21-mobile writes: > maybe deep-sleep is only related to the gsm-chip power state? I'm not sure. > btw I've hardware fix #1024 and deep-sleep enable in neocontrol. Indeed. I thought this thread was about wifi. If you measure wifi consumption you better power down your GSM, bluetooth, backlight

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: [qtmoko] power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 12:48 PM, Timo Juhani Lindfors wrote: > Alfa21 writes: >> afaik the difference is in the std-by power consumption and I think >> any script does not run during the std-by power state. > > You can measure suspend power consumption by taking a reading > immediately after res

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 12:44 PM, Radek Polak wrote: > On Thursday 26 May 2011 12:08:07 Paul Fertser wrote: >> Alfa21-mobile 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 if it is ok. All the scr

Re: [qtmoko] power drain after wifi connection

2011-05-26 Thread Timo Juhani Lindfors
Alfa21 writes: > afaik the difference is in the std-by power consumption and I think > any script does not run during the std-by power state. You can measure suspend power consumption by taking a reading immediately after resume. > mmh.. a question: I do not remember how to verify if it goes in

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 12:08 PM, Paul Fertser wrote: > Alfa21-mobile 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 amo

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 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

Re: power drain after wifi connection

2011-05-26 Thread Paul Fertser
Alfa21-mobile 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. > maybe the sc

Re: power drain after wifi connection

2011-05-26 Thread Alfa21-mobile
On Thu, May 26, 2011 at 6:02 AM, Paul Fertser 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 > .../unbind'' (or b

Re: power drain after wifi connection

2011-05-25 Thread Paul Fertser
Alfa21 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 /sys/bus/platform/drivers/s3c2440-sdi'', it sh

Re: [qtmoko] power drain after wifi connection

2011-05-25 Thread Alfa21
2011-05-26@01:01 Timo Juhani Lindfors > Alfa21 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#c

Re: power drain after wifi connection

2011-05-25 Thread Timo Juhani Lindfors
Alfa21 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 power consumption in

power drain after wifi connection (was: [QtMoko] USB charging (and network) from Windows 7)

2011-05-25 Thread Alfa21
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... root@neo:~# lsmod Module Size Used by sco 6501