maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   [Announce] advanced-systemui (ASUI) (https://talk.maemo.org/showthread.php?t=63292)

n9ots 2011-04-11 12:52

Re: [Announce] advanced-systemui
 
Quote:

Originally Posted by auouymous (Post 985302)

Could you install the debug binary asui dd;asui id as root, reproduce the problem and then send me the log file in /root/asui-*? After you have reproduced the problem type asui r as root to restore the release binary.

And play around with the power button, different combos of short and long taps and something might eventually cause it to shutdown. Also try setting the secondary unlock key to 'none'. Something is different on your device and we just need to find out what that is.

Do you have ssh? It might be a good idea to install it on your device so you can reboot it via ssh while conducting these tests.

I will reinstall asui and the debug bits when I have a day free to tinker.
SSH isn't a good option for me as my N800 is my only computer. (haven't had a "normal" computer since 2007 when I got my 770 (which I gave away when I got my N800))
I can no longer contemplate a computer that does not fit in my back pocket :)

tso 2011-04-11 14:51

Re: [Announce] advanced-systemui
 
heh, got my respects there. Tho i wonder how you deal with filling out web form. Or do you go with a bluetooth keyboard?

n9ots 2011-04-11 16:18

Re: [Announce] advanced-systemui
 
Bluetooth keyboard. and lots of swearing at web designers that do not pay attention to tab order.

Best computer I have had since my ThinkPad 730te running windows 3.11

mcow 2011-04-11 16:22

Re: [Announce] advanced-systemui
 
Regarding this change:
Quote:

screen&keys active notification whenever the screen turns on and is not locked
I didn't read back to see what the justification for this was, but my preference would be to see this notification only on unlock.

mcow 2011-04-11 16:33

Re: [Announce] advanced-systemui
 
btw, thanks for the full-screen in the Settings dialog. Nice to be able to view a page without a horizontal scrollbar.

On the Alarm settings page, you have "volume step in milliseconds" which I don't think is right.

auouymous 2011-04-11 18:35

Re: [Announce] advanced-systemui
 
New ASUI and settings test binaries.
  • fix: asui-settings messages describing alarm volume step were incorrect
  • fix: com.nokia.icd2.state_sig is now properly removed after first received signal (initialization)
  • com.nokia.bme.signal.battery_state_changed is now removed after first received signal (initialization)
  • don't wake ASUI process for unused system_ui, mce and bme signals
  • don't wake main thread if the dbus signal updates a non-visible value
  • listen for flight mode signal instead of polling
  • display "disconnecting" in wifi widget
  • a tap on battery status will toggle between active/idle and drain rate for last hour and last 24h

The optimizations eliminate a lot of process/thread switches and communication but probably won't make any noticable difference in battery usage.

The battery capacity can now be short tapped to toggle between the active/idle time and the new battery drain rate. It doesn't yet detect a charging cycle so it'll take an hour for the value to recover.


Quote:

Originally Posted by mcow (Post 985710)
I didn't read back to see what the justification for this was, but my preference would be to see this notification only on unlock.

You mentioned a problem were the notification was displayed and shouldn't have been so I "fixed" it by always displaying the notification. ;)

Just kidding, it seemed like a good idea to inform the user that the screen wasn't locked instead of not showing anything. I'll add a setting to disable it though.

--

I forgot to mention this back when I added the new asui commands but
if you add the following lines to /etc/telescope.keys you can use fullscreen to map ASUI and volume keys to rotate screen.
Code:

press(F6): shell(/usr/bin/asui show)
press(F7): shell(/usr/bin/asui right)
press(F8): shell(/usr/bin/asui left)

Run /etc/init.d/telescope-svc restart to restart Telescope after. Only works in the window thumbnail view and not launcher. :(

maacruz 2011-04-11 20:03

Re: [Announce] advanced-systemui
 
Quote:

Originally Posted by auouymous (Post 985302)
It looks like ICD blasts out a bunch of status_changed signals every 60 minutes, probably scans looking for networks. ASUI was sleeping the rest of the time.

That shouln't happen with the device in flight mode.
Today I did again the test, with a small difference: Restart ASUI, inmediately blank-lock the device, let it iddle for about 5 hours.
ASUI logs show no activity at all between the locking and unlocking, battery consumption 2% in the whole period ->10%/day->10 days idle time=expected battery life.
So, somehow ASUI fails to put the device in flight mode and wifi remains active, although both ASUI and the wifi applet show it is in flight mode.
I'll try with the new test binary now.
Btw, I have reproduced one of those touchscreen-keys locking funny bugs:
Plug the device to the charger, lock it, unplug, the touchscreen will be unlocked, but ASUI thinks the device is locked.

maacruz 2011-04-12 18:38

Re: [Announce] advanced-systemui
 
I think the ICD bug happens when changing to flight mode with wifi active, and if wifi is disconnected before changing to flight mode it doesn't happen.

auouymous 2011-04-13 02:28

Re: [Announce] advanced-systemui
 
New ASUI and settings test binaries.
  • fix: cpu usage should no longer exceed 100% or go negative
  • fix: turns off wifi and bluetooth before entering flight mode
  • only start/stop ssh servers if their init.d files exist
  • changed start/stop service buttons to toggle buttons to better highlight started services, at least if you use Diablo5 theme :)

I'm still testing it but the battery drain rate should work correctly now, even after a charge, and is documented on the widget page.

@ maacruz, does this fix your ICD problem?

Kroll 2011-04-13 07:52

Re: [Announce] advanced-systemui
 
Installed ASUI and last night found my n810 dead. It lost energy somehow very quick.
Maybe it is not ASUI, I'll tell you if it happen with n810 again.


All times are GMT. The time now is 20:19.

vBulletin® Version 3.8.8