Casey Bralla on 16 Mar 2011 16:19:56 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Having Trouble With HAL Scripts


I'm trying to debug why the suspend and hibernate scripts don't work on my Eee 
PC running Debian Sid.

KDE calls the scripts in /usr/lib/hal/scripts/ to execute hibernation.   
However, these scripts bomb if I try to directly execute them.   A little 
digging says that these scripts call another level of scripts in 
/usr/lib/hal/linux.  If I directly execute these scripts, IT WORKS!

So, "/usr/lib/hal/scripts/hal-system-power-hibernate" is supposed to call the 
script "/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux".

The first script fails with a cryptic message ".: 3: hal-functions: not found".  
A little digging showed that this sub-script "hal-function" was not being 
found because the path to it was not known to the system.  When I re-wrote the 
first script to add the path to the script "hal-function", it got farther bu 
still bombed.


So I'm convinced that the scripts are failing because the system does not know 
the path to the scripts.   So....  does anybody know how I can set the path to 
the hal scripts?
-- 

Casey Bralla
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug