I applied the patch and it fixed the pm-pmu error, but now another is coming up.
/usr/lib/pm-utils/functions: line 58: !grep: command not found
I've attached the full pm-suspend.log and my /usr/lib/pm-utils/functions file.
I think the remove_suspend_lock() function was the subject of an update the other day, but I'm not sure...
Here is the code in question:
remove_suspend_lock()
{
rm -f /var/run/pm-suspend
# This call will cause terminal corruption when using fglrx. This is a work around only.
# Tested and suggested by AMD/AGP (ATI) Linux engineering group
if !grep -q fglrx /proc/modules; then
chvt 1
fi
chvt $VT
openvt -- sh -c "sleep $1 ; rm -f /.suspended >/dev/null 2>&1 0<&1" >/dev/null 2>&1 0<&1 &
}
I applied the patch and it fixed the pm-pmu error, but now another is coming up.
/usr/lib/ pm-utils/ functions: line 58: !grep: command not found
I've attached the full pm-suspend.log and my /usr/lib/ pm-utils/ functions file. suspend_ lock() function was the subject of an update the other day, but I'm not sure...
I think the remove_
Here is the code in question:
remove_ suspend_ lock()
{
rm -f /var/run/pm-suspend
# This call will cause terminal corruption when using fglrx. This is a work around only.
# Tested and suggested by AMD/AGP (ATI) Linux engineering group
if !grep -q fglrx /proc/modules; then
chvt 1
fi
chvt $VT
openvt -- sh -c "sleep $1 ; rm -f /.suspended >/dev/null 2>&1 0<&1" >/dev/null 2>&1 0<&1 &
}
Should this be filed as a separate error? Thanks.