maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo 5] How to disable alarmed rules? (https://talk.maemo.org/showthread.php?t=89688)

Dinho 2013-04-02 20:38

[Maemo 5] How to disable alarmed rules?
 
I used to have alarmed installed on my N900 and had some rules set up, including one for silencing the ringtone. Before giving the phone to my brother I had flashed the OS and removed alarmed. Even though Maemo has been flashed, the rule still activates. I tried to install alarmed again to remove the rule. I also flashed the eMMC to completely remove any lingering config file, but it didn't work. The phone still goes into silent profile automatically.

Can someone tell me how to disable the rules set up with alarmed? Thanks.

reinob 2013-04-03 08:09

Re: [Maemo 5] How to disable alarmed rules?
 
You would have to manually edit /var/cache/alarmd/alarm_queue.ini (as user, not as root).

If you know your way around it, then OK. Otherwise post again.

Dinho 2013-04-07 03:40

Re: [Maemo 5] How to disable alarmed rules?
 
I can open the file with vi, but have no idea what the parameters do. Will deleting the *.ini file remove all the rules?

saponga 2013-04-07 06:40

Re: [Maemo 5] How to disable alarmed rules?
 
Quote:

Originally Posted by Dinho (Post 1334546)
I can open the file with vi, but have no idea what the parameters do. Will deleting the *.ini file remove all the rules?

You need to identify the event' cookie in order to remove it.
http://talk.maemo.org/showpost.php?p=557134&postcount=1

nicolai 2013-04-07 10:31

Re: [Maemo 5] How to disable alarmed rules?
 
You can delete the ini file.
Rebooting the phone will create a new default ini file.

Nicolai

Estel 2013-04-07 10:54

Re: [Maemo 5] How to disable alarmed rules?
 
So, actually, this kind of things persist vanilla eMMC flash + regular flash? :eek: Shouldn't /var/ things get cleared during full fiasco flashing?

/Estel

Dinho 2013-04-07 13:56

Re: [Maemo 5] How to disable alarmed rules?
 
That was what I had thought, but apparently even after eMMC flashing it still persists.

reinob 2013-04-08 09:29

Re: [Maemo 5] How to disable alarmed rules?
 
Quote:

Originally Posted by Dinho (Post 1334631)
That was what I had thought, but apparently even after eMMC flashing it still persists.

/var is on rootfs, not on eMMC. You say in the first post that you "flashed the OS and removed alarmed". If you flashed the OS you didn't have to remove alarmed (because it doesn't come with the stock firmware), so at this point I'm not sure what you did and what you didn't do.

I would bet that flashing the combined image (aka rootfs) would necessarily replace /var/cache/alarmd/alarm_queue.ini with whatever comes as default (i.e. definitely not including anything alarmed-related, just HAM, modest, etc.)

If anybody happens to read this and be about to reflash his/her N900 it would be nice if this could be confirmed.


All times are GMT. The time now is 07:18.

vBulletin® Version 3.8.8