Notices


Reply
Thread Tools
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#941
CHRISTMAS VERSION OF SMSCON AVAILABLE: 0.9.7

smscon 0.9.7-1 has been queued for loading into fremantle extras-devel repository

CHANGES:
  • FIX: Send battery status notification only if charge is below 10% AND discharging (not OR discharning). If devices can't tell change/discharge status; discharge is assumed.
  • FIX: Don't check for bootloader if in test mode.
  • FIX: Wrong error message that daemon did not start on devices with extended "ps" command installed.

Enjoy it!
 

The Following 8 Users Say Thank You to yablacky For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#942
No more error messages for me, thanks.

Just one minor thing: the pid now has the value if "root" instead of the pid number itself (INFO: Daemon smscon_daemon started [PID=root].). That must be because the busybox and gnu ps have a different order in output. No showstopper whatsover, just a cosmetic thing.

Ehh, correction, it also influences the stop of smscon:
Code:
user:~# smscon -stop
sh: invalid number 'root'
INFO: Daemon smscon_daemon stopped [PID=root].
INFO: Script smscon_script was not running.

Last edited by ade; 2011-12-25 at 16:18.
 

The Following User Says Thank You to ade For This Useful Post:
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#943
Originally Posted by ade View Post
... just a cosmetic thing....
No, thank you for the report, it is not just cosmetic because the pid is used to send signals to process. Have to fix it.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#944
yablacky and Saturn - thanks for Your quick responses! I generally agree with all ideas You both have written, so just some highlights:

Originally Posted by yablacky View Post
What about a straight forward solution to have COM_ENABLE/COM_DISABLE commands that allow to modify settings remotely. So its explicitly up to the regular owner when he/she begins being interested in getting notifications about what happened with the phone.

This would be analogous to the GPS location/tracking feature which also requires explicit command to make the phone sending notifications and when to stop.
Ideal solution IMO. Especially, connected with Saturn's "photo hunting" (making photo after keyboard is opened). BTW, about the latter - would it be possible, to set burst (3-4) auto-photos, triggered on keyboard open, instead of 1? That would made our chances - to get proper face images - close to 100%. I think, that one photo could result in either blurry image (most people mechanically adjust screen angle, just after sliding keyboard open), or one took fraction of second too early (picturing pants or torso). With 4 images burst (considering, that our camera is quite slow at 'bursting', so 4 photos would take 1,5-2 seconds to complete), we're almost sure, to get at least one usable.

Originally Posted by yablacky View Post
In the log file you send (thanx!), the tests are logged twice with no reasonable amount of time in between, so you got 4 replies instead of 2 (where it should be 1 due to the superfluous "does not load at boot").

May be there is a bug that tests may be triggered unintentionally more than once too easily. Will do more investigation on it....
You're right, early in the logs, I've clicked "test" twice every time, but then, I had 8 messages total (instead of 2). On later part, I used it only once, and I got 4 messages. Considering, that "isn't loaded during boot" was unneeded, but proper, we can assume that every message was send twice, instead of once (per click). Indeed, I had two "not loaded during boot", and two "test message".

If we add it to my assumption (seems to be confirmed in logs), that program "think" first message sending failed, and immediately try to sending it again, we may have found reason.

In later part of posted log, You can find something, going like "sending message failed" and following it "trying to re-send message after 15 min", but both executed in 1-2 seconds interval. Also, I'm 100% sure, that every click on "test" resulted in message send and received properly, so there should be none indication of "sending message failed", yet there is in logs. It seems, that smscon send message properly, then, for unknown reason, think it failed, and try to re-send it - immediately, instead of 15 minutes later (ignoring 15 min interval, again for reasons unknown). Successful sending of second message is acknowledged by smscon properly, so no other attempts are made.

---

Just notified something - while e-mail account is encrypted in settings file properly, in smscon.log, it's written in plain text (if updating settings, where value of updated thing is also stored). Last time I posted log, I almost published it with my e-mail account data and password inside I think it should be encrypted also, like in settings file (If it is possible), or at least people warned, to delete it from logs, after updating in settings. Let leave posting logs alone - it's just not very wise, to have e-mail account data and password written in plain text file, on '/opt/smscon/smscon.log'

yablacky, thanks for such extensive work on this wonderful program, and Saturn, thanks for implementing controlling new features in Editor so quickly. I'm glad You both weren't scarred by my wall-of-text report

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-12-25 at 17:45.
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#945
Originally Posted by yablacky View Post
Did you try to set an empty password? Don't do it. Empty password is converted to the default password which is 12345.

Why did you decide to go back to 0.7?
Hello, I decided download last version 0.9.7-1 but I have a different messages. After that, application finally disappears.
I have kernel 48.
Please I need your help.
Attached Images
     

Last edited by emotion; 2011-12-25 at 19:22.
 
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#946
Originally Posted by emotion View Post
Hello, I decided download last version 0.9.7-1 but I have a different messages. After that, application finally disappears.
I have kernel 48.
Please I need your help.
Please, in xterm try this:
Code:
$ sudo smscon -version
    ## expected output is
    0.9.7
$ smscon -version
    ## expected output is
    0.9.7
$ ls -la /home/user/.smscon-editor
    ## expected output is
    drwxr-xr-x    2 user users  4096 Dec 25 16:28 .
    drwxr-xr-x   50 user users  4096 Dec 22 18:54 ..
    -rw-r--r--    1 user users  1962 Dec 25 16:28 smscon_config
Please tell me all the output of all above commands, no matter if it is expected output or not. Please do that even if you have success with following:

Code:
$ smscon -init!
    ## expected output is
    WARNING: Do not edit "smscon" directly. Use "/opt/smscon/smscon_config -set OPTION VALUE" instead!
    # (in above message "smscon" and "/opt/smscon...." is interchanged... - this got fixed in next version)
    WARNING: Forced to create new script file "/opt/smscon/smscon_script".
    WARNING: The initial script file "/opt/smscon/smscon_script" does yet nothing. Edit it directly!
Tell me output of above command.
 

The Following User Says Thank You to yablacky For This Useful Post:
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#947
NEW RELEASE OF SMSCON AVAILABLE SOON: 0.9.8-1

smscon 0.9.8-1 has been queued for loading into fremantle extras-devel repository

Changes:
  • FIX: Fixed problems with daemon process ids on devices with extended "ps" command installed.
    This bug might prevent power users from using smscon.
    So this fix is reason for early release of new version.
  • FIX: Fixed interchanged message parameters in smscon -init! command output.
  • ADD: Added usage hints to initial smscon_script file (minor change).
 

The Following 4 Users Say Thank You to yablacky For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#948
Originally Posted by yablacky View Post
Please, in xterm try this:
Code:
$ sudo smscon -version
    ## expected output is
    0.9.7
$ smscon -version
    ## expected output is
    0.9.7
$ ls -la /home/user/.smscon-editor
    ## expected output is
    drwxr-xr-x    2 user users  4096 Dec 25 16:28 .
    drwxr-xr-x   50 user users  4096 Dec 22 18:54 ..
    -rw-r--r--    1 user users  1962 Dec 25 16:28 smscon_config
Please tell me all the output of all above commands, no matter if it is expected output or not. Please do that even if you have success with following:

Code:
$ smscon -init!
    ## expected output is
    WARNING: Do not edit "smscon" directly. Use "/opt/smscon/smscon_config -set OPTION VALUE" instead!
    # (in above message "smscon" and "/opt/smscon...." is interchanged... - this got fixed in next version)
    WARNING: Forced to create new script file "/opt/smscon/smscon_script".
    WARNING: The initial script file "/opt/smscon/smscon_script" does yet nothing. Edit it directly!
Tell me output of above command.
Hello. When I write en xterm, say that I need a password....
Attached Images
 
 
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#949
Originally Posted by emotion View Post
Hello. When I write en xterm, say that I need a password....
Hi,
so that output means that the smscon application installation is broken (or might not be installed regularly et all?? ). An installation via application manager or dpkg would have make sure that a password is not asked from user.

So how to proceed in your case?

I recommend to de-install both, first smscon-editor then smscon via application manager. Then, when both apps are removed, enter xterm, become root and execute following commands:

Code:
rm -rf /opt/smscon
rm -rf /opt/smscon-editor
rm -rf /home/user/.smscon-editor
Then install smscon and then smscon-editor in this order via application manager from extras devel repository and start again!

This is rigorous but may bring you back on the the track!

Let me know your experience.

Last edited by yablacky; 2011-12-26 at 20:43.
 

The Following User Says Thank You to yablacky For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#950
Originally Posted by yablacky View Post
Hi,
so that output means that the smscon application installation is broken (or might not be installed regularly et all?? ). An installation via application manager or dpkg would have make sure that a password is not asked from user.

So how to proceed in your case?

I recommend to de-install both, first smscon-editor then smscon via application manager. Then, when both apps are removed, enter xterm, become root and execute following commands:

Code:
rm -rf /opt/smscon
rm -rf /opt/smscon-editor
rm -rf /home/user/.smscon-editor
Then install smscon and then smscon-editor in this order via application manager from extras devel repository and start again!

This is rigorous but may bring you back on the the track!

Let me know your experience.

Thanks for reply, I did exactly your advice, but my problem continue.... I have the same images of post 946
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:01.