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 &
}

Should this be filed as a separate error? Thanks.

** Attachment added: "pm-suspend.log"
   http://launchpadlibrarian.net/13091423/pm-suspend.log

-- 
pm-suspend.log reports "power-pmu: failed to open /dev/pmu"
https://bugs.launchpad.net/bugs/210832
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to