Active Topics

 



Notices


Reply
Thread Tools
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#101
automated profiles work for me

i LOVE this app
 
evad's Avatar
Posts: 354 | Thanked: 151 times | Joined on Mar 2008 @ London (UK) / Zielona Góra (PL)
#102
Originally Posted by f2thak View Post
automated profiles work for me
Tweakr profiles or "original" profiles?
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#103
 
evad's Avatar
Posts: 354 | Thanked: 151 times | Joined on Mar 2008 @ London (UK) / Zielona Góra (PL)
#104
Originally Posted by f2thak View Post
t w e a k r
Lucky you.
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#105
Originally Posted by evad View Post
Lucky you.
so this doesnt work for you then? ouch

it was funny with me a bit, but then it worked.. had it working for about 2 wks
 
skalogre's Avatar
Posts: 327 | Thanked: 249 times | Joined on Sep 2009 @ Λεμεσιανός, ρε!
#106
Originally Posted by evad View Post
Lucky you.
I agree. Go ahead and rub it in, f2thak you mean person
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#107
Originally Posted by skalogre View Post
I agree. Go ahead and rub it in, f2thak you mean person
Well I for one won't be "rubbing it in", 'cause it's not all peaches & cream for me either. While the built-in profile switcher won't work, I can at least enter the command that does, although even on the command line I can't switch to the General or Silent profiles (tried all lowercase as well).
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
evad's Avatar
Posts: 354 | Thanked: 151 times | Joined on Mar 2008 @ London (UK) / Zielona Góra (PL)
#108
Originally Posted by evad View Post
Installed alarmed 0.1.8-2 yesterday with great excitement to finally have tweakr profiles automatically switched, but unfortunately it doesn't seem to work, similarly to user skalogre couple of pages back in this thread. Here's my alarm_queue.ini:

Code:
[#00000b54]
(...)
action0.exec_command: /opt/alarmed/tweakrprofileswitcher.sh Dyskretny
(...)
I went down this path and created alamed command execution event with /opt/alarmed/tweakrprofileswitcher.sh Noc as a command to execute, which has added following entry to the queue:

Code:
[#00000b8e]
cookie: 2958
trigger: 1269731580
flags: 131072
alarm_appid: Noc
alarm_time: 1269645180
alarm_tm.tm_year: -1
alarm_tm.tm_mon: -1
alarm_tm.tm_mday: -1
alarm_tm.tm_hour: -1
alarm_tm.tm_min: -1
alarm_tm.tm_wday: -1
alarm_tm.tm_yday: -1
alarm_tm.tm_isdst: -1
recur_count: -1
action_cnt: 1
recurrence_cnt: 1
action0.flags: 36
action0.exec_command: /bin/ash -c '/opt/alarmed/tweakrprofileswitcher.sh Noc'
recurrence_tab0.mask_min: 8192
recurrence_tab0.mask_hour: 8388608
recurrence_tab0.mask_mday: 4294967294
Unfortunately - that doesn't work either. Additionally, when I try to execute command above manually, I get this:

Code:
user@n900:/var/cache/alarmd$ /bin/ash -c '/opt/alarmed/tweakrprofileswitcher.sh Noc'
/bin/ash: /opt/alarmed/tweakrprofileswitcher.sh: not found

# below command proves file is really there
user@n900:/var/cache/alarmd$ ls -l /opt/alarmed/tweakrprofileswitcher.sh
-rwxr-xr-x    1 root     root         1018 Mar 16 10:14 /opt/alarmed/tweakrprofileswitcher.sh
:(

UPDATE: GOT IT!
In /opt/alarmed/tweakrprofileswitcher.sh script I've changed first line from #!/bin/bash to #!/bin/ash - and now switching profiles works (even without a need to create a custom tweakrprofileswitcher.sh command)! Woohoo! :)
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________

Last edited by evad; 2010-03-26 at 23:33. Reason: Solution found :)
 

The Following User Says Thank You to evad For This Useful Post:
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#109
Originally Posted by evad View Post
UPDATE: GOT IT!
In /opt/alarmed/tweakrprofileswitcher.sh script I've changed first line from #!/bin/bash to #!/bin/ash - and now switching profiles works (even without a need to create a custom tweakrprofileswitcher.sh command)! Woohoo!
So obviously the ones who have this working "normally" have bash installed & the internal command doesn't use ash to run the scripts.

So the scripts should be changed to just use ash instead of bash. Case solved
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#110
originally it didnt work, so i tried command scripts, which also didnt work...... then there was an update and it worked???
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:45.