![]() |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I uninstalled 0.11 and installed 0.12 but this is not working. Nothing happens when I cover or uncover sensor.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
hmm, I wonder why it works for me. I'll see what I can do.
In the meantime, please try to restart the service Code:
stop timenow.conf |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I installed new version, rebooted the phone, and it doesnt show lockscreen when uncovered but it does blanks display on covering it while lockscreen is active.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I guess I got what it is. Could a brave soul change sleep 2 to sleep 10 in /etc/event.d/timenow.conf and report back?
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I dont have any sleeps in my timenow.conf. Here is what it has:
Code:
start on started hildon-desktopEdit: Tried purging timenow and resinstalling it and noticed that during install apt reports: Code:
Setting up timenow (0.0.12) ... |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
there is only respawn which have limits 15 3, do you want me to change something in there? P.S. Restarting the daemon didn't worked for me. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
Code:
start on started hildon-desktop |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
wow! I got a bunch of supporting users :):)
please set timenow.conf as follows: Code:
start on started proximitydIt works for me like that. If it works for other people too, I will push the change to extras-devel. I'm asking because apparently the boot procedure is different for each phone and no solution is universal. if it fails please change the exec line to Code:
exec su user -c "run-standalone.sh /opt/timenowd/bin/timenowd 2>/home/user/.timenow/timenow.log" |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
1 Attachment(s)
Quote:
Code:
start on started proximityd |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
@Sohil876: that problem was there on 0.11 but hopefully it is fixed in 0.12, make sure you have 0.12
on the other hand Code:
/bin/sh: /opt/timenowd/bin/powerbutton: Permission deniedplease run ls -la /opt/timenowd/bin and post here, maybe there's a permission error. I also depend on rootsh so make sure you have that installed (which might not be the best way to do that, I might better add timenow to sudoers) |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
My powerbutton file had -rw-r--r-- permissions, and I chmodded it for testin to -rwxrwxrwx and timenow started working, so here it was permission error. I have rootsh already installed.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
Quote:
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
Quote:
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I meant the permission change only for testing if it is actually a permission problem and mainly for only to report it to qwazix. I am not enough skilled in linux systems to know if this "enable every and all permissions" has any ill side effects in the long run. Maybe qwazix can advice on more limited permission to run timenow.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Great. I only changed permission and its now working.
chmod 755 /opt/timenowd/bin/powerbutton Neither had to restart. Any changes recommended for /etc/event.d/timenow.conf? |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Happy to hear that the permission solved it. I'm not sure if the execute bit is enough for owner, as it is run as root, so I'd advise to just chmod +x /opt/timenowd/bin/powerbutton
For timenow.conf, I noticed that on my device it didn't start without a longer sleep period, probably because proximityd hadn't yet completely started (I also had to add respawn 15 3 to proximityd as reported earlier by pierrem. Thus if it works for you, leave it as is. I will introduce the longer delay as well as fix the permission thing in lucky version 0.13 in a few days. I might ponder using sudoers instead of rootsh too, but as they say if it ain't broke... Happy new year and thanks. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
Thanks buddy and Happy new year, Have fun!!! |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
/opt/timenowd/conf/settings.ini
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
please don't change settings.ini in /opt but rather in /home/user/.timenow
it has precedence. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
Will give it a try after new year party, Cheers!!! I changed the value to 15000 ms even which was given as max value there but it didn't work for me. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Not to mention that the /opt version will be overwritten on update
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
@qwazix
Please add a sudoers file and add a one-line post install / post-remove script. Depending on rootsh is really not the best idea. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Ok, but in two steps. First I will push a fix with only the permissions issue, so that I don't annoy the users any more with bugs, and then remove dependancy on rootsh with a nice big warning to save the old .deb in case things go south.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Thank qwazix again for this absolutely great app and its ongoing developement and superfast support. In my opinion this is one of the greatest single improvements on such a great phone that N900 is. Maybe the idea of using the proximity sensor to sense the removing from pocket is already used somewhere else, but I havent heard about it anywhere else, so in my opinion this is true innovation. Once again thank you very much.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
It is used, in recent lumias, but they stole it from me :P
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Quote:
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Thanks. Latest update is working for me without a reboot
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
:-)
. |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Great app, however it works for a couple of days then it stops working. It needs a reboot to start working again.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I have noticed this behavior lately also, but I cant say did it come with the latest versions by qwazix or had I already seen it on the cantruchs fork. I dont have to restart the phone, all that is needed is in terminal to "sudo gainroot" and "start proximityd" and it start to work again.
I havent got the time to properly troubleshoot the situation, but it seems that restarting the timenow.conf does not solve it, only restarting the proximityd does it. It also seems that the proximityd is alive when I restart it to get it workin, because I can also stop it without errors when timenow stops responding. Is proximityd part of timenow or is it standalone part by someone else? Is there use to try to check any logs or that kind of stuff about the communication between timenow and proximityd? |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Proximityd is not part of timenow, it's the same proximity daemon that powers shortcutd, timenow just depends on it.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
BTW since my last post I havent experienced any glitches with timenow, so I havent had any chance to investigate the problem I had for a while. As I'm not sure that it is even related to timenow, so I consider it now cured. Will inform of any new events.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Ok, now I got timenow in error condition, so it does not show when the proximity sensor is uncovered. I tested that the proximity sensor works during phonecall, so that the screen is blanked when I raise the phone to my ear (and cover the proximity sensor) and the screen lights back up instantly when the sensor is uncovered. I will not try to fix it by restarting the proximityd, so if anyone has any commands/ideas to test where the problem is, I'm open to suggestions.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I can't think of what to test but a start would be to check if proximityd is actually running
Code:
ps aux | grep proximity |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Yes, it is actually the proximityd that has stopped/crashed, because it doesnt show up on ps aux. Should it actually be on some daemon watch, so when it crashes it tries to restart it at least couple of time. Is there a file I could check for the watchlist or its log?
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
Have problem with mine. Doesn't show up when i cover the sensor and the display never goes to automatic lockscreen.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
@Breeze5
The proper function of Timenow should be as follows: 1. You lock the phone with the slider switch next to the headphone socket 2. Screen goes blank 3. You cover the proximity sensor with your finger or by putting the phone in your pocket 4. Nothing happens 5. You uncover the proximity sensor by removing the finger or taking the phone from your pocket 6. The lockscreen is displayed automatically 7. The screen goes blank after timeout or if you cover the proximity sensor again Could you Breeze5 tell exactly what happens and what not? |
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
I allways have to write "start proximityd" to get it work and when i leave my phone display on it never goes to mode "Automaticly lockscreen". So i have to do it every time manually with the slider when i put away my phone.
|
Re: [Announce - #MCCXII] Timenow: Proximity enabled lock screen
After unistalling timenow i have the same problem with the screen stays led for 5 min.
Anyone has the same poblem? |
| All times are GMT. The time now is 11:23. |
vBulletin® Version 3.8.8