Active Topics

 


Reply
Thread Tools
Erazor's Avatar
Posts: 160 | Thanked: 33 times | Joined on May 2010
#21
thx for the info


but i prefer my option


Greetz
Erazor
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#22
I would prefer it too ! But all I get is "Couldn't init modem", even if I run it as root... meanwhile it works OK with the phone dialpad :-(
__________________
maemo blog
 
Erazor's Avatar
Posts: 160 | Thanked: 33 times | Joined on May 2010
#23
WoOt??


hm thats a strange thing!?

PERHABS i got a solution for your problem

PHP Code:
root
leafpad 
/etc/sudoers 

copy this in the last line and make a new line
PHP Code:
user ALL NOPASSWDALL 
this will give you all rights in every program

or make it only for ussdquery
then it look so

PHP Code:
user ALL NOPASSWD: /bin/ussdquery.py 
perhabs you have to add your ussd code


PHP Code:
user ALL NOPASSWD: /bin/ussdquery.py *100


give it a try


hope this help you

Greetz
Erazor
 
Posts: 24 | Thanked: 1 time | Joined on Feb 2010
#24
@erazor Thanks dude. that what i have been trying to do for the longest while now!

@x-lette im gonna reflash and give this a try. i hope it doesnt have my phone rebooting again
 
Posts: 4 | Thanked: 7 times | Joined on May 2010
#25
Just for the records: to enable all service codes like
##21# and **21*<destination># (call diversion)
you have to add

[supplementary]
ssc=1

to /home/user/.osso/call-ui.ini
and reboot - finally works!

Without that the N900 supports USSD but not SS service codes and you get "service code unsupported".

Last edited by brothert; 2010-11-02 at 15:35.
 
Posts: 24 | Thanked: 1 time | Joined on Feb 2010
#26
ok tested and working. ussd-widget works now. no rebooting again. thanks
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#27
Originally Posted by Erazor View Post
WoOt??
hm thats a strange thing!?
PERHABS i got a solution for your problem
give it a try
Thanks for your help Erazor but I don't think that is the cause of the problem: if I run the script as root I get the same error, but if I run the commands inside (pnatd etc.) as plain user manually they work fine. So I guess there is something wrong with the error detection code that prints the message.
__________________
maemo blog
 
Erazor's Avatar
Posts: 160 | Thanked: 33 times | Joined on May 2010
#28
Originally Posted by fpp View Post
Thanks for your help Erazor but I don't think that is the cause of the problem: if I run the script as root I get the same error, but if I run the commands inside (pnatd etc.) as plain user manually they work fine. So I guess there is something wrong with the error detection code that prints the message.
hmm can it be that any programm kills the script.

strange thing

i let you know when i got a solution for this.
or can anybody tell us the fix



//edit


~.O now my N900 says the modem prob, too.

^^ *sigh*

Last edited by Erazor; 2010-11-09 at 22:51.
 
moudy91's Avatar
Posts: 165 | Thanked: 18 times | Joined on Jun 2010
#29
Originally Posted by Erazor View Post
^^

we only need ussdquery.py

then we can build us a queen beecon widget


i want to download ussd-common, but the maemo repo wont work

dont know why


//edit:


SOOOOOOOOOOO
I FOUND A SOLUTION


PHP Code:
root
apt
-get install ussd-common 
then make a queen beecon widget with the following command

PHP Code:
ussdquery.py *100#

edit *100# to your ussd code to check your money 

works like a charm


Greetz
Erazor



dear friend,
does this way work on pr 1.2 ??
 
Erazor's Avatar
Posts: 160 | Thanked: 33 times | Joined on May 2010
#30
Originally Posted by moudy91 View Post
dear friend,
does this way work on pr 1.2 ??
this should work with all PR

BTW USSD Widget works after the new release

Greetz
Erazor
 

The Following User Says Thank You to Erazor For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:04.