Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#551
Originally Posted by ajalkane View Post
If I understood that script correctly, it does something very different. My phone doesn't even have the tools the script uses (iwlist/iwconfig), nor apt-cache search founds them. Are they from some external repo?
iDon't know.. I Don't used this option, and i also don't found this tools..
Someone ask me to add this to my N9QT, and I started to check.
This script is a part of Almehdin tweaker, that someone told me its work..
N9 tweak from Almehdin: http://forum.http://forum.meego.com/...ead.php?t=4991
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 29 | Thanked: 18 times | Joined on Oct 2011 @ finland
#552
Originally Posted by ajalkane View Post
I've looked into that, but I haven't found a way to do it. So unfortunately I can't unless someone knows how to do it.
isnt flightmode just that? (doesnt seem to work tho)

there is an app called "flightmode" - the author has put that into

/opt/flightmode/bin/..

so, someone has managed to get the connections cut with a gui button. However, i am not able to launch his "flightmode" app from CLI..

----------------

profilematic tells me:

"warning

profilematic lacks credentials that are needed to change flight mode, and
you have such rules.

reinstall profilematic to restore credentials (i installed it 5 mins ago)
if your firmware is pr 1.2 or earlier ... with later firmwares flight mode actions may not work at all..."

hmm.. of course i have the latest FW which was rolled out a couple of days ago. Not beeing able to go into flightmode is a real bummer, what is the point of this "OS improvement"?

Anyways, i hope you find a way around that obstacle.

Aside from that, your app is worth paying 10 euro for imo.
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#553
Originally Posted by zoolkhan View Post
isnt flightmode just that? (doesnt seem to work tho)
No. Flight mode cuts the phone also from GSM network.

there is an app called "flightmode" - the author has put that into

/opt/flightmode/bin/..

so, someone has managed to get the connections cut with a gui button. However, i am not able to launch his "flightmode" app from CLI..
If the flightmode application works still with PR 1.3, then I probably can work around the problem.

But in the meanwhile, you can use the flightmode program and put it to to ProfileMatic's Custom action like this:

Code:
aegis-exec /opt/flightmode/bin/...
__________________
My N9/N950 projects:
 
Posts: 1,320 | Thanked: 915 times | Joined on Feb 2010
#554
My problem resolved itself strangely!

It just started working today :S
__________________
Well Nokia do at least know how to build a decent phone, just apparently don't know how to support it..

N900 Died Replaced with N8, Requested E7, "Accidentally Broke E7", Now rolling with an N9 and im loving it!


My Contributions

N900 Conversations Wiki Page
 

The Following User Says Thank You to godofwar424 For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#555
Originally Posted by godofwar424 View Post
My problem resolved itself strangely!

It just started working today :S
Well great! If it starts happening again, do the instructions to run the daemon manually to get me the logs... and if there's problems starting the daemon or getting the logs let me know and I'll put up new instructions.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Posts: 1,320 | Thanked: 915 times | Joined on Feb 2010
#556
Originally Posted by ajalkane View Post
Well great! If it starts happening again, do the instructions to run the daemon manually to get me the logs... and if there's problems starting the daemon or getting the logs let me know and I'll put up new instructions.
Thanks will do
__________________
Well Nokia do at least know how to build a decent phone, just apparently don't know how to support it..

N900 Died Replaced with N8, Requested E7, "Accidentally Broke E7", Now rolling with an N9 and im loving it!


My Contributions

N900 Conversations Wiki Page
 
Posts: 61 | Thanked: 29 times | Joined on Nov 2011
#557
Originally Posted by ajalkane View Post
I just tried this, and for me on PR1.3 availability is not changing at all with ProfileMatic. But I guess your problem is a bit different? I might need your logs to figure out what's going on.
This has been fixed for me, turned it to be a stupid mistake from my side.
I had a rule that would make the availability offline at night and the idle rule had a return to previous toggle on for availability!

now all is good, you sir made my N9 perfect with your app. many thanx
 

The Following User Says Thank You to UnlimiteD3k For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#558
Great to see you working on this masterpiece again.

The NFC functionality has taken ProfileMatic to a whole new level of usefulness. I'll have to donate another beer soon.

As great as PM is, there might be some room for improvement. I have a couple of suggestions for rules and actions:

Rules:

- When on mobile data.
- When NOT on wlan or NOT on mobile data
- When charging

Actions:

- disable/enable screensaver
- launch/close application(s) from a list of installed applications.

The connecfion rules I mentioned are for my personal needs and could be handled by my script, but I can't figure out how to test for the active network in python. In other words, not too important.

The actions on the other hand could be very useful for everyone. An NFC tag on a car holder would launch Drive, Music player, activate Bluetooth and disable screensaver (for the music player). When the phone is picked up from the holder the reverse would happen. I know all of this is possible with scripts but this would make it a lot easier to set up for everyone.

(edit: beer money sent, don't pick an expensive bar...)

Last edited by slarti; 2012-07-11 at 12:19.
 

The Following 3 Users Say Thank You to slarti For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#559
Originally Posted by slarti View Post
As great as PM is, there might be some room for improvement. I have a couple of suggestions for rules and actions:

Rules:

- When on mobile data.
- When NOT on wlan or NOT on mobile data
- When charging
Good news, those have been implemented already, so will be in 1.7.0. Except the second item... Does it mean you'd like a condition when there is no internet connection? That one hasn't been implemented, but might be easy to add. Currently there is selection to match either when using WLAN as internet connection or mobile connection.

Actions:

- disable/enable screensaver
- launch/close application(s) from a list of installed applications.
Yes I agree they would be useful. Disable/enable screensaver is pretty easy to do if it's at all possible (security framework), so that might come sooner than later. Launching/closing applications on the other hand is a bit more annoying to implement so that'll take a bit more time. But I agree it would be user friendly and it is something I want to do in the future.

(edit: beer money sent, don't pick an expensive bar...)
Thank you! Now I know what to do in the weekend .
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#560
Originally Posted by UnlimiteD3k View Post
This has been fixed for me, turned it to be a stupid mistake from my side.
I had a rule that would make the availability offline at night and the idle rule had a return to previous toggle on for availability!

now all is good, you sir made my N9 perfect with your app. many thanx
Good to know. I love bugs that get fixed by themselves!
__________________
My N9/N950 projects:
 
Reply


 
Forum Jump


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