Fremantle closed packages/policy-settings-rx51

(initial)
(Info about policy.plc)
 
Line 26: Line 26:
If removed
If removed
  *Will uninstall package [http://wiki.maemo.org/Fremantle_closed_packages/Alsa-policy-enforcement-package alsa-policy-enforcement]
  *Will uninstall package [http://wiki.maemo.org/Fremantle_closed_packages/Alsa-policy-enforcement-package alsa-policy-enforcement]
 +
 +
-----
 +
Only two files are binary:
 +
./usr/share/policy/rules/rx51/policy.plc
 +
./usr/share/policy/rules/rx51/policy.dresc
 +
 +
First SWI prolog state file which contains policy rules, second compiled DRES rule file.
 +
 +
SWI prolog state files can be decompiled with shell scripts: [http://gitorious.org/community-ssu/policy-settings-rx51/blobs/master/scripts/plc-decompile plc-decompile] [http://gitorious.org/community-ssu/policy-settings-rx51/blobs/master/scripts/plc-predicates plc-predicates] (needs same version of SWI prolog interpreter as written in plc header)
 +
 +
File policy.plc was decompiled without problems back to prolog source files. CSSU now has modified version of policy.plc which enable headset jack button immediately when headset is connected. Original code enabled button only if there was active call. CSSU source repository si here:
 +
http://gitorious.org/community-ssu/policy-settings-rx51
 +
 +
File policy.dresc is still in binary form. There was no need to modify it. Some information about policy, prolog and dres written by Nokia developer is in TMO post: http://talk.maemo.org/showpost.php?p=1242804&postcount=44 There is info how to decompile policy.dresc...

Latest revision as of 12:53, 24 September 2012

Fremantle PR-1.3

Closed source package policy-settings-rx51

Description: Policy RX51 configuration.

Version installed as default:

0.4.10.7+0m5

Packages depending on it

ohm-plugins-misc
alsa-policy-enforcement (this needs 'policy-settings')

Contains files:

./usr/share/policy/rules/rx51/policy.plc
./usr/share/policy/rules/rx51/policy.dresc
./usr/share/policy/etc/rx51/alsaped.conf
./usr/share/policy/etc/rx51/syspart.conf
./usr/share/policy/etc/rx51/ohm/ohmd.ini
./usr/share/policy/etc/rx51/ohm/plugins.d
./usr/share/policy/etc/rx51/ohm/plugins.d/gconf.ini
./usr/share/policy/etc/rx51/pulse/xpolicy.conf
./usr/share/policy/etc/rx51/gconf/warranty.schemas

If removed

*Will uninstall package alsa-policy-enforcement

Only two files are binary:

./usr/share/policy/rules/rx51/policy.plc
./usr/share/policy/rules/rx51/policy.dresc

First SWI prolog state file which contains policy rules, second compiled DRES rule file.

SWI prolog state files can be decompiled with shell scripts: plc-decompile plc-predicates (needs same version of SWI prolog interpreter as written in plc header)

File policy.plc was decompiled without problems back to prolog source files. CSSU now has modified version of policy.plc which enable headset jack button immediately when headset is connected. Original code enabled button only if there was active call. CSSU source repository si here:

http://gitorious.org/community-ssu/policy-settings-rx51

File policy.dresc is still in binary form. There was no need to modify it. Some information about policy, prolog and dres written by Nokia developer is in TMO post: http://talk.maemo.org/showpost.php?p=1242804&postcount=44 There is info how to decompile policy.dresc...