![]() |
Re: [Announce] advanced-systemui
Quote:
@ tso, caimanjosh When the screen is unlocked does power+dpad center perform whatever lock action you have set? I thought we had the that part working which would mean ASUI has the correct keycode for dpad center and should be able to unlock the screen with it as well. If you get the "press dpad center" notification when pressing hardware buttons it means the keys are unlocked, you just aren't pressing the correct key. Could both of you try installing the debug binary, produce the problem and send me the log? |
Re: [Announce] advanced-systemui
Yes, using dpad center to lock works. For a while i wondered if perhaps asui where quickly unlocking and locking the N800, but neither removing the lock settings on dpad center nor setting asui to hide on lock had any effect on the behavior.
i will try the debug build as soon as possible. |
Re: [Announce] advanced-systemui
1 Attachment(s)
i think this should hold a log of the event in question.
|
Re: [Announce] advanced-systemui
There are some funny race conditions around hardware keys and touchscreen locking
- once the cursor keys were inverted (left to right, up to down), I had to rotate the screen up to down and then back to normal to get them working right - sometimes it says I have to press the key to unlock but the touchscreen is not locked - sometimes the touchscreen is locked but not the keys Unrelated, may be already not relevant, on monday I've seen abnormally high battery comsumption with 0.5.2, about 0.8%/hour, with the device completely idle. It hasn't repeated again with 0.5.3, so may be you fixed the cause, or it is another race condition. |
Re: [Announce] advanced-systemui
Quote:
[2] [10.190857] event 4 (screen press) [2] [10.367950] event 5 (screen release) [2] [11.911529] event 4 [2] [12.115478] event 5 (another screen tap) [2] [13.247558] event 4 [2] [13.326446] event 5 (and a third time to unmap ASUI) [2] [13.326446] window_unmap() [2] [30.369629] [DBUS] power button pressed (blank=0) [2] [30.376190] window_map() - can't get keyboard, unmap [2] [31.483551] [DBUS] signal: com.nokia.mce.signal.tklock_mode_ind (lock) [2] [34.750763] displayed turns off briefly, until power button is pressed [2] [36.074096] [DBUS] power button pressed (blank=0) [2] [36.265930] [DBUS] signal: com.nokia.mce.signal.tklock_mode_ind (unlock) You pressed power button three times, a menu or something prevented it from mapping ASUI on the second press but it did lock the screen&keys and the third press unlocked the screen&keys. It didn't receive any key events so you should've only seen the "press dpad" notification when pressing power button, was it also appearing when pressing the keys? Or was it continuously reappearing when not pressing keys? When power button is pressed the screen and keys are unlocked but MCE remains in a locked state so there would be no sounds. ASUI must then tell MCE to unlock if no secondary key or manually disables the screen and makes sure keys are not disabled so you can press the secondary key. It could be that my functions to control keypad and screen aren't working correctly on n800. Can you confirm via SSH with device unlocked and working correctly that the following locks and then unlocks the hardware keys (n800)? Code:
echo 1 > /sys/devices/platform/omap2_mcspi.1/spi1.0/disable_kpDoes writing 1 and 0 to /sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts lock (n800 and n810) and unlock the screen? I have been rewriting all of the power button handler code in an attempt to only have it activate on short presses. It failed to work since MCE doesn't send the short press signal when device is locked, screen is locked or when alarm is active. It did however result in much cleaner handling code and eliminated several issues but I need to test it more before breaking anyones tablets and I doubt it would resolve your current problem. Quote:
Quote:
Quote:
For a couple months now I've had a 0.4%/minute drain, with no load and screen off, after turning off wifi or entering flight mode. Even happened after I reformated and hadn't yet installed ASUI. I had to reboot every time I used wifi. Recently found out that if I stop ssh and all wifi services the problem goes away. So your 0.8%/hour is nothing! ;) |
Re: [Announce] advanced-systemui
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] advanced-systemui
New ASUI and settings binaries.
Snoozing alarms in charging runlevel prevents device from booting or shutting off even when disconnected from charger. Dismissing the alarm causes device to boot up and all of my attempts to force the device to boot and then handle the alarm failed with it keeping the screen from blanking so I gave up and just dismissed it outright. Everything functioning properly is more important than playing an alarm in the charging runlevel. If you use alarms either keep the device off or boot it up to charge, until I get around to fixing this. @ tso, did I unknowningly fix your problem with this? Any new problems? |
Re: [Announce] advanced-systemui
Nope, dpad center seems to still be unable to unlock screen.
|
Re: [Announce] advanced-systemui
Quote:
Quote:
|
Re: [Announce] advanced-systemui
given that it can be done by setting the disable_ts to 1 while leaving disable_kp as 0, yes i think it can.
|
| All times are GMT. The time now is 20:19. |
vBulletin® Version 3.8.8