Public bug reported:

Binary package hint: linux-image-powerpc

On PowerPC, G4 tibook, suspend worked fine for kernels 2.6.38-1 and earlier. 
In kernel 2.6.38-8 and later (the kernels in between did not boot on PPC), 
suspend fails. This appears to be because the recent kernels do not suspend 
when the PMU_IOC_SLEEP is issued. This is quite easily demonstrated:

1. Create the following file (pmus.pl), lifted directly from /usr/lib
/pm-utils/pm-functions

#!/usr/bin/perl
sub PMU_IOC_SLEEP { 0x20004200; }
open PMU, "/dev/pmu" or die "open /dev/pmu: $!";
ioctl PMU, &PMU_IOC_SLEEP, 0;

On 2.6.38-1, running the perl script causes the system to suspend.

On 2.6.38-8 and later (including the current 11.10 kernel), the script
executes, but the system does not suspend.

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/779110

Title:
  suspend fails on powerpc > 2.6.38-1 in IOCTL PMU_IOC_SLEEP

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to