maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Advanced Interface Switcher (https://talk.maemo.org/showthread.php?t=60473)

Estel 2012-08-02 20:41

Re: [ANNOUNCE] Advanced Interface Switcher
 
sixwheeledbeast, I have AIS installed and 97-88% of time in C4. It is not "direct" AIS flaw, as it seems to not affect most users. I have no idea what triggers such behavior. What do You use? Bluetooth, GSM, wifi, any combination of those?

/Estel

sixwheeledbeast 2012-08-02 21:40

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by Estel (Post 1246633)
sixwheeledbeast, I have AIS installed and 97-88% of time in C4. It is not "direct" AIS flaw, as it seems to not affect most users. I have no idea what triggers such behavior. What do You use? Bluetooth, GSM, wifi, any combination of those?

Wifi only
No SIM in device.
Installed it twice and rebooted after each, Same results.

412b 2012-08-02 22:01

Re: [ANNOUNCE] Advanced Interface Switcher
 
so I did a deep and successful research, but I need more feedback.
the scenario is as follows:
- install AIS
- turn off all signal strength getters, set one of the interfaces to show dialog on click, other one not
- reboot
- make device settle down
- powertop
- toggle interface w/o dialog on->off->on (or opposite)
- powertop
- if powertop changed, reboot
- let device settle down
- get interface dialog
- powertop
- if powertop didn't change open Settings, don't save, powertop
- open Settings, save settings powertop
On my device wakeups' arise seems to happen after getting interface dialog.
If yours powertop shows the same, get last svn revision from garage and replace files in /opt/maemo/usr/lib/hildon-desktop/advifsw, then reboot, let device calm down and repeat the powertop procedure.

peterleinchen 2012-08-02 22:10

Re: [ANNOUNCE] Advanced Interface Switcher
 
1 Attachment(s)
--edit
You were too fast 412b. My answer relates to sixwheeledbeasts post
--edit

I am afraid I have to report similar.
Not as bad as sixwheeledbeast ones (not hitting c4 at all), but it definitely wakes up CPU (hindering to deep sleep).
But my (standard) batt still keeps me a day with middle usage.
I attach my outputs as zip.
first one is asis
second deinstalled (rebooted) aifs and apm
third only aifs
fourth only apm
fifth aifs and apm
six aifs and apm (rebooted)

@sixwheeledbeast (and Estel)
my experience with powertop output is that I do use it three times in a row and do see differences. First output is not reliable, but average of three gives a tendency.

Hopefully 412b got an idea, but even if not I am keepin this piece of wonderful soft (from devel)!

sixwheeledbeast 2012-08-02 22:24

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by peterleinchen (Post 1246674)

my experience with powertop output is that I do use it three times in a row and do see differences. First output is not reliable, but average of three gives a tendency.

I do agree sometimes you can catch the device doing something, althought the results posted where the best out of a number of tries.

Estel 2012-08-02 22:49

Re: [ANNOUNCE] Advanced Interface Switcher
 
sixwheeledbeast, as You're the one that have high possibility of being affected by bug (I'm not at all), could You do as 412b requested? I tried, but I'm not affected by increased wakeups even after the 1st part of test.

/Estel

sixwheeledbeast 2012-08-03 21:30

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by 412b (Post 1246668)
so I did a deep and successful research, but I need more feedback.

OK gonna little busy this weekend but will find time to test your suggestions and report back.

sixwheeledbeast 2012-08-04 13:27

Re: [ANNOUNCE] Advanced Interface Switcher
 
1 Attachment(s)
So it's taken most of this morning but I have complied three powertop's per stage. See attached.

In each section I have calculated the mean amount of wake ups

If it is certain setting causing this issue I think it would be best to provide a warning within the application somewhere.
Also I think the application should come default as the least energy consuming settings.

I currently have AIS set to all settings disabled (except WLAN and GSM on startup) I am currently getting 900-1100 Total wakeup's (double pre-installation).

412b 2012-08-09 15:13

Re: [ANNOUNCE] Advanced Interface Switcher
 
Released a fresh build (13).
powertop shows me 0 or 1 for hildon-status-menu and wakeups are good.

what's new:
- enabling/disabling interface at all (needs reboot in this built, almost made it to change in runtime)
- default values for signal strength and network name set to false
- minor review

peterleinchen 2012-08-09 17:49

Re: [ANNOUNCE] Advanced Interface Switcher
 
1 Attachment(s)
Thanks 412b,

seen it this morning and installed and at first glance it looks better. Will check it over weekend ...

Okay, did some checks and I have to say thanks again.
Attached a few powertop outputs. I still have over 1000 HW wakeups, but my percentual Cx state ratio and also average duration shows better values!
Thumbs up!


All times are GMT. The time now is 09:59.

vBulletin® Version 3.8.8