help with custom fdi file/hal access
phil
happyharrysco1 at yahoo.co.uk
Tue Feb 24 02:56:12 PST 2009
phil wrote:
> hi there, on fedora10 with hal 0.5.12-14 i'm trying to get some
> powersaving settings changed when the psu is connected/disconnected to
> my acer aspire one laptop. i have written the script that sets these
> powersaving options and i have saved it in
> /usr/lib/hal/scripts/hal-aao-powertweaks then i created the file
> /etc/hal/fdi/policy/30-aaopowertweaks.fdi with the contents
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <deviceinfo version="0.2">
> <device>
> <match key="ac_adaptor.present" bool="true">
> <append key="info.callouts.add"
> type="strlist">/usr/lib/hal/scripts/hal-aao-powertweaks</append>
> </match>
> </device>
>
> <device>
> <match key="ac_adaptor.present" bool="false">
> <append key="info.callouts.remove"
> type="strlist">/usr/lib/hal/scripts/hal-aao-powertweaks</append>
> </match>
> </device>
> </deviceinfo>
>
> and re-booted but it doesn't work. can anyone point a relative linux
> newb in the right direction to get this working
>
> thanks in advance
>
>
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
>
doesn't anyone know how to help me with this matter? i don't mind
learning myself so all i'm looking for is a hint to where i'm going wrong
More information about the hal
mailing list