Posted: Fri 20 Jul 2012, 13:13 Post_subject:
First puppy that will not suspend on this machine

Asus 1201T with Athlon Neo 64 bit, 4 GB ram, radeon 3200 graphics

Code:

sh-4.1# uname -r
3.1.10-slacko_paeA
sh-4.1#

Suspend does not work, and acpitool -s gives:

Code:

sh-4.1# acpitool -s
Function Do_Suspend : could not open file : /proc/acpi/sleep.
You must have write access to /proc/acpi/sleep to suspend your computer.

acpi-tool-0.5.1 racy-5.3 version caused a lockup situation where the caplock button flashed rapidly and I had to to a hard shutdown. T

I found code for it acpitool 0.51 and compiled it and I have the same issue.

lsmod, relevant modules: it looks like laptop modules for acpi are congruent to what I have seen in other distros (i.e. slightly older puppies, ubuntu 12.01)

eeepc_wmi 1720 0
asus_wmi 10796 1 eeepc_wmi

In /proc/acpi there is no "sleep" file:-( Something is either set up differently OR something is not loading as a needed module. I cannot just create a dummy file there to see what happens because it just won't let me

Currently, I have replaced the suspend script with one that checks for ac adapter, prevents anything from happening with ac power, and then does a wmpoweroff after a two minute delay when on battery. Running off an SSD so boot is less than a minute. Still, suspend would be nice.

could not open file : /proc/acpi/sleep.
You must have write access to /proc/acpi/sleep to suspend your computer.

Try this:
In Rox file manager.
Check the properties of the sleep file /proc/acpi/sleep
Make sure write access is checked for all._________________I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected

Where in kernel configuration ACPI Hibernation and Sleep have to be enabled .
CONFIG_ACPI_SLEEP=y
CONFIG_PM_SLEEP=y

The kernel configuration file should normally be found in /etc/modules named DOTconfig-* and can also be found as /proc/config.gz IF kernel symbol CONFIG_IKCONFIG=y|m .

*

Another problem could occur if [/usr]/[s]bin/acpid is running . This acpi daemon occupies /proc/acpi/event and other binaries can be confused by not being allowed to read it because in use by acpid .

*

I would do a quick'n' dirty ' echo mem > /sys/power/state ' to check what happens . I had an unaccessible HDD connected once and that was enough to make the kernel return to desktop and not go to sleep .

where i am not sure if this means geater than 2.6.30(.0) or precisely greater than 2.6.3(.0) .

It is a simple patch by Debian maintainers . This patch could probably break things for kernel 2.6... . Debian is rough ware like some Puppy . So running Slacko Kernel 2.6.37.6 experiences with this acpitool are welcome !

Did you try what I suggested?_________________I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected

no_console_suspend
[HW] Never suspend the console
Disable suspending of consoles during suspend and
hibernate operations. Once disabled, debugging
messages can reach various consoles while the rest
of the system is being put to sleep (ie, while
debugging driver suspend/resume hooks). This may
not work reliably with all consoles, but is known
to work with serial and VGA consoles.

I would put that kernel parameter into the kernel line in /boot/grub/menu.lst
like

Bummer... I have a multitude of challenges that I don't feel like getting past with any puppies lately.

1> I want to use all of my 4 GB, having an athlon neo 64 bit
2> I want to use the fglrx driver
3> The rtl8192 wifi needs to work
4> I want suspend
5> Fast boot

-Item 1 for most puppies don't work
-Any Slacko PAE kernel (or regular), wish 4 doesn't work
-Fatdog, I can't get X to work, even with radeon unless I steak an xorg for radeon for another working puppy. Might tinker with this if ati pet is available for kernel it is built on
-Icepuppy 14 has highmem, but wish 3 seems not to come true
-Lighthouse has all the features I want, but takes forever to boot, like 3 times longer than Kubuntu 12.04.

I put an SSD in this machine so Kubuntu rocks, even with full KDE although being that ubuntu is heavier, the processor spends more time at its top end and the battery kicks fast.

I managed to get IcePuppy 14 with PAE going, which is lupu with a different kernel, so I had to track down the source sfs, and then I got the rtl8192se tar and built the .ko for that, then I got the radeon ati 11-12 from amd and the .run package ran and installed, then lastly, I used a slacko sfs for Virtualbox and did a "vboxdrv setup" to force the package to make the new modules.

So, Now I have what I want:-) It pretty much serves like Slacko does, but not only with suspend, but some nice acpi features that interact with power such that good things happen pugged and unplugged regarding performance and screen brightness.

If I knew how to bag this thing up for anyone, I would:-) I could remaster it, but I think it has limited need at the moment.