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)
-   -   'Fixed in Fremantle' and Diablo community SSU (https://talk.maemo.org/showthread.php?t=30648)

lma 2010-04-18 09:49

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by Addison (Post 615219)
Anyway, I was at least hoping to get a response on this.

Sorry, I wasn't ignoring you but I don't have an answer :-(

Frank Banul 2010-04-19 13:49

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I've noticed that I can no longer rotate the screen anymore using advanced backlight controls. It initially worked on install as I tested it immediately after SSU update. But I tried it again last night and nothing happens when I try to rotate to any orientation.

I'm not sure where the root problem lies so any pointers to ways of diagnosing this would be appreciated.

Frank

qwerty12 2010-04-19 16:07

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 614600)
Nah, too many unnecessary moving parts :-) If it's got to be in the filesystem let's stick it somewhere under /home/user (or even better /home/user/.osso so it gets backed up/restored automatically without additional configuration).

Done: http://slexy.org/view/s2YTcGLwFj

This patch, unlike melknin's, does not inhibit the ability for an application to display a help text instead using the hildon_code_dialog_set_help_text () function. Since the Lock Code Dialog that SystemUI uses does not set a help text, we see our owner information there instead.
For other HildonCodeDialog-utilizing applications that do set a help text, you'll see that instead. If not, you'll see the owner information. Perhaps slightly irritating but nothing major.

As it stands, you have nothing to lose by including the patch (providing that it's not buggy...) as it only has an effect if /home/user/.osso/owner_text.txt exists.

lma 2010-04-19 17:53

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by Frank Banul (Post 617678)
I've noticed that I can no longer rotate the screen anymore using advanced backlight controls.

Hm, if the controls are still there it probably means the applet still detects rotation support. Does the problem persist after restarting hildon-desktop? After a reboot?

Frank Banul 2010-04-19 18:59

Re: 'Fixed in Fremantle' and Diablo community SSU
 
The problem persisted after a 'killall hildon-deskop' but not after a reboot. Well at least not at first. I rotated several times.

When I rebooted, I then connected. As part of the connection, I connect to two jabber accounts and one skype account. OMWeather updates. And I ran rdate to set the time. Now I can't rotate any more.

So I disabled all 3 accounts and removed OMWeather from the desktop and rebooted. Rotation worked. I connected, rotation worked. Then I ran rdate and rotation stopped working.

Re-enabling the IM accounts and OMWeather allowed rotation to continue to work.

I admit that this rdate is of dubious origins. I don't even think I have a .deb anymore, I just have the executable that I restored after the last reflash and SSU install.

What are others using for time synchronization? My RTC is weak on this N810. It doesn't always save the time.

Quote:

Originally Posted by lma (Post 618064)
Hm, if the controls are still there it probably means the applet still detects rotation support. Does the problem persists after restarting hildon-desktop? After a reboot?

thanks,
Frank

lma 2010-04-19 19:48

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by Frank Banul (Post 618192)
Then I ran rdate and rotation stopped working.

Interesting, do you remember how much the clock was off, and in which direction?

Quote:

I admit that this rdate is of dubious origins. I don't even think I have a .deb anymore, I just have the executable that I restored after the last reflash and SSU install.
Could you strace it in case it does something other than set the clock?

Quote:

What are others using for time synchronization?
openntpd works nicely for me, no rotation problems so far.

Frank Banul 2010-04-19 21:28

Re: 'Fixed in Fremantle' and Diablo community SSU
 
1 Attachment(s)
Hi,

The clock was off maybe 2 minutes behind I think.

I've attached the strace.

Thanks for the openntpd pointer. I'll give that a try.

Quote:

Originally Posted by lma (Post 618279)
Interesting, do you remember how much the clock was off, and in which direction?



Could you strace it in case it does something other than set the clock?

thanks,
Frank

lma 2010-04-20 00:09

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I managed to reproduce it by stopping ntpd, setting the clock forward with "date -s" (rotation still working fine) and then back again. I guess running ntpd avoids the issue by ensuring the clock only increases monotonically.

xrandr (I cheated and just grabbed the debian package) also stops working so the bug isn't in the advanced backlight applet. I don't see anything clock-related in either the kernel or xserver patches either :-(

EDIT: I think this may explain it.

EDIT: Upstream bug, including patch. here.

qole 2010-04-20 05:27

Re: 'Fixed in Fremantle' and Diablo community SSU
 
One word for that last bit of diagnostic magic you just did there, lma:

Wow.

Frank Banul 2010-04-20 14:32

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Yeah I'll second the wow. Ima, you are a bug hunting ninja. Well done.

Frank


All times are GMT. The time now is 21:00.

vBulletin® Version 3.8.8