Hi, I've also tried hard to get my PB 1400 wake up from sleep. I made very similar changes to the kernel and pmud - but I didn't find out the problem. I now know quite much about the PMU and I can now say that the problem is either that the kernel doesn't respond to the PMU interrupt after waking up or that the CPU is started with code inside the Mac OS ROM. In the latter case there is no hope to ever get waking up working correctly with PPC NuBus PowerBooks.
I made many patches that make the kernel more stable and faster on the NuBus PowerBooks. Not all of them are in the current CVS source tree - I still need to check them in. If you need any info about the NuBus PowerBooks just ask me. Tobias Am 12.11.2006 um 18:11 schrieb Jonas: > 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 > ------------------------------------------------------------------------- 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
