Active Topics

 

Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#431
New ASUI and settings test binaries.
  • fix: screen stayslit toggle sets both gconf values
  • fix: transitioning from secure keypad to secondary widget page would cause battery widget to be drawn in the upper left corner
  • fix: prevent runaway focus in/out loop
  • fix: power button unlock state is restored if ASUI crashes
  • popup clock/battery
  • screen dims when secondary key is required to unlock with power button

You will need to have performed the upgrade instructions from the previous test release before installing this.

@ mcow, does this binary allow you to toggle the stayslit setting in ASUI and get the correct blanking while connected to charger? Blank and lock&blank also toggle this setting. I was only changing one of the two gconf values which worked fine on my n810 but n800 might be different.

@ kroll, the clock page in asui-settings has three new values for popup duration, on-map and fullscreen. The popup will appear whenever the screen turns on and remain for <duration> seconds. Tapping the popup or pressing a key will close it early, if ASUI is mapped then tapping ASUI will also close the popup. If on-map is checked it will also appear whenever you open ASUI with the power button. Fullscreen setting makes the popup cover the entire screen instead of occupying a small window.

@ tso, I have reproduced your problem. Screen locked, dimmed indicator appeared but screen eventually dimmed after 1 minute and blanked after 2 (normal times). Not sure yet what mplayer did that wouldn't allow ASUI to allow blanking.

Last edited by auouymous; 2011-03-17 at 04:40.
 

The Following User Says Thank You to auouymous For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#432
Mplayer calls the MCE req_display_blanking_pause method to prevent screen from blanking. ASUI uses direct DSME access to prevent blanking for the flashlight and fullscreen clock and also to allow blanking. Seems that enabling blanking through DSME does not override MCE and there is no MCE method to allow blanking, that I can find.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#433
Still using 0.5.0 here (could not be bothered to fix the helper script), and while playing with the blanking_pause thing i found that a long press on lock&blank seems to disable future long presses, or even the ability to bring up ASUI via the power button. Only fix so far is a device reboot as simply restarting ASUI did not help.

edit: ugh, no sooner had i written that then i found out that letting the device dim the screen via the idle timer fixes it. The odd thing is that when that happens the screen acts as if it had been locked the whole time, so i had to unlock it via the power button. Once that was done i could long press again.

edit2: the lock bit above may have come from me accidentally turning on the autolock, oops.
__________________
Be warned, posts are often line of thoughts at highway speeds...

Last edited by tso; 2011-03-17 at 15:44.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#434
bah, i just set center dpad to lock&blank on short press.

on the ASUI script "issue" tho, why not use the uu option that is in the script already?
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#435
Originally Posted by tso View Post
on the ASUI script "issue" tho, why not use the uu option that is in the script already?
The script you have fetches from a different server that no longer has the files. Doesn't matter though because I just released 0.5.1.
  • fix: headphone connection change will relock the screen if it was locked
  • fix: screen stayslit toggle sets both gconf values
  • fix: transitioning from secure keypad to secondary widget page would cause battery widget to be drawn in the upper left corner
  • fix: prevent runaway focus in/out loop
  • fix: moved display state code from MCE dbus signal handler to dsme message handler, MCE lies about state when blanking is paused
  • fix: display notification if blanking pause is enabled when ASUI attempts to lock or blank the display
  • updated asui script to download from asui.garage.maemo.org
  • added 'reload' to asui convenience script
  • secondary key setting used along with power button to unlock screen
  • headphone connection change is treated like a power button press and screen can be unlocked with secondary key
  • popup clock/battery
  • new flight mode images
  • widgets and secure keypad are no longer forced to redraw if the popup clock is open

Bold items are new since last test binary.

@ mcow & tso, let me know if this fixes your problems or if you still have any.
 

The Following 5 Users Say Thank You to auouymous For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#436
New test binary.
  • more changes to the flight mode images
  • removed cpu percentage from popup clock
  • refreshed memory, frequency and temperature before drawing popup clock

If you are using the popup clock you will want to install this, run asui dt ; asui it . The flight mode button should blend with the lock buttons now, the tap action looks more like them and the current mode is highlighted.
 
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#437
Request: It would be nice if asui had an entry in sudoers so that "sudo asui" works. I hear that the canonical way to do this on Maemo is to put a file in /etc/sudoers.d and call "update-sudoers" from the postinst and postrm.

This would allow for snippets such as
Code:
#!/bin/sh
#taken from http://fanoush.wz.cz/maemo/initfs_flasher.tgz
# use gainroot to become root and relaunch itself
if [ `id -u` != 0 ] ; then
#if not already root, call itself as root
TTY=`tty`
[ "$TTY" = "not a tty" ] && unset TTY
exec sudo gainroot <<EOF # sudo $0 $*
if [ -z "$TTY" ] ; then exec $0 $* ; else exec <$TTY $0 $* ; fi
EOF
exit $?
fi
# real script follows
to be placed in the asui script resulting in less typing for me (I use an N800, I'm lazy )
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#438
Is there a known problem with the latest version(s) of ASUI on the N800 ?
It works fine on my N810, so I wanted to try it out on the older brother too... only there it doesn't work at all: it installs, but the power button doesn't do anything. The status bar icon dims briefly, then back again, nothing more.
However, just before I also installed Diablo-Turbo, so I don't know if ASUI would have worked on stock Diablo.
The N810 does also have DT, though, but runs the latest ASUI just fine, and Telescope too. There seems to be something different with the 800...
__________________
maemo blog
 
Posts: 86 | Thanked: 8 times | Joined on May 2010
#439
Originally Posted by fpp View Post
Is there a known problem with the latest version(s) of ASUI on the N800 ?
No problem of note here with 0.5.1, altho I don't have Diablo Turbo installed.

I haven't had a chance yet to see whether problems I reported with 0.5.0 have been resolved; will report back.

What is meant by "blanking pause"?
 

The Following User Says Thank You to mcow For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#440
Originally Posted by mcow View Post
What is meant by "blanking pause"?
Programs can, via a dbus signal, tell Maemo to not blank the screen for a minute. So programs like mplayer sends out such a message ever so often to ensure that the screen do not blank during playback.

and i am testing 0.5.1 now. So far the popup worked but the 60 second claim seems to not be the case (dimmed closer to 120 seconds then 60).

still, i guess if we want to be sure it dims perfectly each time we lock the screen we can switch the locking action to lock&blank. Just knowing that the blanking pause is in effect and can not be overridden is nice to know, as in the past i have wondered what was up when the screen would not blank on lock. The popup will at least inform any confused users.

edit: crap, seems there is some other issue now. When i press the power button to unlock there is a short flash of the ui and then the screen blanks again. Oh wait, a long press on the power button got me a view with a "press fullscreen to unlock" popup. Following that got me access to the ui again. Ah, it was part of the feature added earlier by request, right?
__________________
Be warned, posts are often line of thoughts at highway speeds...

Last edited by tso; 2011-03-18 at 17:10.
 
Reply

Tags
bada blows, bada rox

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:50.