Hi, I am trying to add sleep mode for powerbook 1400. Here is what I have (on ancient 2.4.30-pre1 kernel with some modifications for battery recognition):
[EMAIL PROTECTED]:~$ cat /proc/cpuinfo processor : 0 cpu : 603e revision : 1.4 (pvr 0006 0104) bogomips : 77.61 machine : PowerMac,NuBus motherboard : M2 MacRISC detected as : 0 (<NULL>) pmac flags : 00000000 memory : 44MB pmac-generation : NuBus [EMAIL PROTECTED]:~$ ls /proc/pmu battery_0 info options [EMAIL PROTECTED]:~$ cat /proc/pmu/info PMU driver version : 2 PMU firmware version : 06 AC Power : 1 Battery count : 1 The pmud daemon recognizes AC power/battery (I modified PMU firmware version check to accept 06): Nov 12 19:08:53 pb pmud[336]: running /etc/power/pwrctl minimum battery Nov 12 19:08:55 pb pmud[336]: running /etc/power/pwrctl maximum ac Also pmud knows when lid is closed. But when it calls PMU_IOC_SLEEP ioctl something goes wrong. In that ioctl I call powerbook_sleep_Core99(). The first impressions are great - screen goes black, the hard drive spins down, the sleep LED starts to blink like in MacOS. But when I open the lid and press any key - LED stops blinking and nothing happens. Only Control+Apple+On/off reboots the system. Maybe here is somebody who can help with powerbook sleep ? I am not sure if powerbook_sleep_Core99() is suitable for 1400. But that's the only function without PCI :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nubus-pmac-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users
