maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

dattadude 2011-12-22 20:36

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 1140886)
open xterm and do:
Code:

smscon -reset
smscon -init


hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

yablacky 2011-12-22 22:09

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by silviumc (Post 1140733)
Alarm doesn't work in 0.9.4.-1

I have a file /opt/smscon/alarm.wav RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz

In /opt/smscon/smscon.log there's this error when receiving Alarm SMS:
ERROR: (ALARM) Could not get current phone profile.

Thank you for the report. I can reproduce it and are working on a solution.

UPDATE: fixed in 0.9.5

yablacky 2011-12-22 22:35

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by dattadude (Post 1140958)
hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

No, no don't flash!

If even resetting smscon does not help, it seems to me that you don't have write access to this file:
/home/user/.smscon-editor/smscon_config
or to the containing folder.

Could you please open xterm and enter following command (it is important to do it as normal user, not as root):
Code:

$ echo fluppy >/home/user/.smscon-editor/test
$ cat  </home/user/.smscon-editor/test
# --> should write fluppy onto the console
$ rm /home/user/.smscon-editor/test

Do all this commands work without error message? If there was any error message, please post them here, thank you.

Saturn 2011-12-22 22:40

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by dattadude (Post 1140958)
hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

My first advice is to stop using devel. First you need to learn more stuff about the OS and things you can do with it.
My second advice is to give better explanations.

Now,
1. open xterm
2. become root
3. copy paste (each line separately) the following commands (here an ssh connection would be ideal)
Code:

apt-get -y remove --purge smscon
apt-get -y remove --purge smscon-editor
apt-get -y remove --purge python-crypto pexpect libgmp3c2
apt-get clean

rm -rf /opt/smscon/
rm -rf /opt/smscon-editor/
rm -rf /home/user/.smscon-editor
rm -f /usr/bin/smscon-editor
rm -f /usr/bin/smscon
rm -f /etc/sudoers.d/smscon.sudoers
rm -f /etc/sudoers.d/smscon-editor.sudoers
rm -f /etc/event.d/smscon_boot
update-sudoers

4. then reboot your device
5. open xterm
6. become root
7. copy paste the following
Code:

apt-get update
apt-get -y install smscon-editor
apt-get clean

Go to the application menu and open SMSCON Editor.

yablacky 2011-12-23 01:39

Re: [Announce] SMScon (control your device with SMS)
 
NEW VERSION OF SMSCON AVAILABLE: 0.9.5-1

smscon 0.9.5-1 has been queued for loading into fremantle extras-devel repository.
  • FIX: Error in package installer (postremove).
  • FIX: Playing COM_ALARM sound failed some times.
  • FIX: Fix check for boolean parameters (yes/no)
  • FIX: Phone numbers written in human style like "(01234) 5678-99" will no longer confuse smscon.

dattadude 2011-12-23 05:41

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by yablacky (Post 1140988)
No, no don't flash!

If even resetting smscon does not help, it seems to me that you don't have write access to this file:
/home/user/.smscon-editor/smscon_config
or to the containing folder.

Could you please open xterm and enter following command (it is important to do it as normal user, not as root):
Code:

$ echo fluppy >/home/user/.smscon-editor/test
$ cat  </home/user/.smscon-editor/test
# --> should write fluppy onto the console
$ rm /home/user/.smscon-editor/test

Do all this commands work without error message? If there was any error message, please post them here, thank you.

hey,

thks for the response. . all commands give me a not found error as a normal user. . tried in stock and power kernel still same. . commands executed witout sudo gainroot . .

dattadude 2011-12-23 06:16

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by Saturn (Post 1140990)
My first advice is to stop using devel. First you need to learn more stuff about the OS and things you can do with it.
My second advice is to give better explanations.

Now,
1. open xterm
2. become root
3. copy paste (each line separately) the following commands (here an ssh connection would be ideal)
Code:

apt-get -y remove --purge smscon
apt-get -y remove --purge smscon-editor
apt-get -y remove --purge python-crypto pexpect libgmp3c2
apt-get clean

rm -rf /opt/smscon/
rm -rf /opt/smscon-editor/
rm -rf /home/user/.smscon-editor
rm -f /usr/bin/smscon-editor
rm -f /usr/bin/smscon
rm -f /etc/sudoers.d/smscon.sudoers
rm -f /etc/sudoers.d/smscon-editor.sudoers
rm -f /etc/event.d/smscon_boot
update-sudoers

4. then reboot your device
5. open xterm
6. become root
7. copy paste the following
Code:

apt-get update
apt-get -y install smscon-editor
apt-get clean

Go to the application menu and open SMSCON Editor.

Thank you so much for your help. . . Its working now. . I feel safe with my n900 again!!!!

yablacky 2011-12-23 08:06

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by dattadude (Post 1141057)
hey,

thks for the response. . all commands give me a not found error as a normal user. . tried in stock and power kernel still same. . commands executed witout sudo gainroot . .

This looks like that there was a directory missing. Could have tryied following command as normal user:

Code:

mkdir /home/user/.smscon-editor
I see that you in the meanwhile solved the problems by a rigorous de- and re-installing the app, fine! Congratulations!

silviumc 2011-12-23 08:25

Re: [Announce] SMScon (control your device with SMS)
 
I confirm the alarm is working in 0.9.5. I have a couple of suggestions:

- increase volume to maximum before playing the sound
- loop the sample for a configurable number of times, because playing just once is only a few seconds long for most "alarm.wav" files

Rammi 2011-12-23 15:59

Re: [Announce] SMScon (control your device with SMS)
 
I have been test-driving this wonderful application for the past one week. Initially I was quite thrilled getting the results of my SMS commands, but lately I have noticed something unusual. I load the SMSCON editor, test sending a sms, an email with my photo or even making a test call. Everything works, but when I try giving commands from the controlling mobile phone nothing happens except the exchange of messages between the two phones. Nothing gets executed, be it power command or location or even call command. I don' t forget to press the button " tests done".


All times are GMT. The time now is 11:56.

vBulletin® Version 3.8.8