The time now is Thu 23 May 2013, 19:04
All times are UTC - 4 |
| Author |
Message |
bwh1969
Joined: 25 Oct 2010 Posts: 126 Location: Allentown, PA
|
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
| Code: | sh-4.1# cd /proc/acpi
sh-4.1# ls
ac_adapter alarm battery button event wakeup
sh-4.1# |
I have NEVER had sleep issues with any puppy on this machine.
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.
Ideas?
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: Sat 21 Jul 2012, 18:06 Post subject:
|
|
| Quote: | 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.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Sat 21 Jul 2012, 19:27 Post subject:
|
|
I am not sure : Normally these files are not needed in /proc/acpi .
The relevant files are in /sys/power:
disk image_size resume state
| Code: | | cat /sys/power/state |
gives me
| Quote: | | 2.6.30.9-KRG-i386-compiled-AcerLaptop-rev2 |
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 .
*
EDIT : The racy acpitool from here acpi-tool-0.5.1 racy-5.3 is patched to support kernel versions >=3.0 :
| Quote: | - if(strncmp(str,"2.6",3)==0)
+ else |
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 !
|
|
Back to top
|
|
 |
bwh1969
Joined: 25 Oct 2010 Posts: 126 Location: Allentown, PA
|
Posted: Tue 24 Jul 2012, 15:12 Post subject:
|
|
Took a picture with my phone, after doing
| Code: | | echo mem > /sys/power/state |
See attached, it is the same thing that happens when using the "racy" acpitool 0.51. Capslock then flashes quickly which is generally happens during a "panic" situation.
| Code: | | cat /sys/power/state |
gives only
| Description |
|
| Filesize |
13.24 KB |
| Viewed |
339 Time(s) |

|
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: Wed 25 Jul 2012, 17:59 Post subject:
|
|
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.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Wed 25 Jul 2012, 18:14 Post subject:
|
|
| bwh1969 wrote: | Took a picture with my phone, after doing
| Code: | | echo mem > /sys/power/state |
See attached, it is the same thing that happens when using the "racy" acpitool 0.51. Capslock then flashes quickly which is generally happens during a "panic" situation.
| Code: | | cat /sys/power/state |
gives only
|
Looks the kernel code is not ok . The kernel code changes a lot between a.b.x and a.b.(x+1) .
http://www.kernel.org/doc/Documentation/kernel-parameters.txt
| Quote: | 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
" kernel /puppy_version/vmlinuz pmedia=usbflash pdev=sdb1 no_console_suspend "
And of course check as bigpup said, permissions :
mine is
-rw-r--r-- 1 root root 0 2012-07-26 00:15 sleep
|
|
Back to top
|
|
 |
bwh1969
Joined: 25 Oct 2010 Posts: 126 Location: Allentown, PA
|
Posted: Wed 25 Jul 2012, 20:16 Post subject:
|
|
| Code: | | sh-4.1# ls -lR /proc/acpi |
| Code: | total 0
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 ac_adapter
-rw-r--r-- 1 root root 0 2012-07-25 20:05 alarm
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 battery
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 button
-r-------- 1 root root 0 2012-07-25 19:59 event
-rw-r--r-- 1 root root 0 2012-07-25 20:05 wakeup |
And with the added grub option no_console_suspend, the racy version says now::
| 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. |
Notably, since sleep does not exist in /proc/acpi, I guess it would be difficult to write to.
which before it would try to suspend and lock up. So now the only way to get an attempt at suspend is
| Code: |
echo mem > /sys/power/state |
and again, X is killed and a bunch lines scroll by in the terminal and it locks up with the flashing caps lock.
I am not a kernel compiler, but obviously, there is something awry with the way the kernel is compiled to get sleep to work on this machine.
Specs again
Asus 1201T eeepc
1.6 GHz Athlon Neo 64 bit
4 GB RAM
Radeon 3200 Graphics
Realtek 8192se wifi
full results
| Code: | sh-4.1# ls -lR /proc/acpi
/proc/acpi:
total 0
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 ac_adapter
-rw-r--r-- 1 root root 0 2012-07-25 20:05 alarm
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 battery
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 button
-r-------- 1 root root 0 2012-07-25 19:59 event
-rw-r--r-- 1 root root 0 2012-07-25 20:05 wakeup
/proc/acpi/ac_adapter:
total 0
dr-xr-xr-x 2 root root 0 2012-07-25 20:05 AC0
/proc/acpi/ac_adapter/AC0:
total 0
-r--r--r-- 1 root root 0 2012-07-25 20:05 state
/proc/acpi/battery:
total 0
dr-xr-xr-x 2 root root 0 2012-07-25 20:05 BAT0
/proc/acpi/battery/BAT0:
total 0
-rw-r--r-- 1 root root 0 2012-07-25 20:05 alarm
-r--r--r-- 1 root root 0 2012-07-25 20:05 info
-r--r--r-- 1 root root 0 2012-07-25 20:05 state
/proc/acpi/button:
total 0
dr-xr-xr-x 3 root root 0 2012-07-25 20:05 lid
/proc/acpi/button/lid:
total 0
dr-xr-xr-x 2 root root 0 2012-07-25 20:05 LID
/proc/acpi/button/lid/LID:
total 0
-r--r--r-- 1 root root 0 2012-07-25 20:05 state |
| Code: | sh-4.1# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA Wireless LAN Controller (rev 10)
03:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)
|
| Code: | sh-4.1# lsmod
Module Size Used by
cpufreq_ondemand 4301 1
powernow_k8 10331 1
mperf 851 1 powernow_k8
iptable_mangle 904 0
iptable_nat 2575 0
nf_nat 9805 1 iptable_nat
ipt_REJECT 1529 1
nf_conntrack_ftp 4065 0
nf_conntrack_irc 2379 0
iptable_filter 804 1
xt_state 791 19
nf_conntrack_ipv4 7226 22 iptable_nat,nf_nat
nf_conntrack 37918 6 iptable_nat,nf_nat,nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
nf_defrag_ipv4 787 1 nf_conntrack_ipv4
ip_tables 7021 3 iptable_mangle,iptable_nat,iptable_filter
fan 1714 0
snd_hda_codec_realtek 192633 1
arc4 978 2
ecb 1401 1
snd_hda_intel 16434 0
snd_hda_codec 54223 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 3704 1 snd_hda_codec
snd_pcm_oss 27363 0
snd_mixer_oss 9846 1 snd_pcm_oss
btusb 7813 0
bluetooth 60647 1 btusb
snd_pcm 47101 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
uvcvideo 46209 0
videodev 57950 1 uvcvideo
snd_seq_dummy 907 0
rtl8192se 66372 0
fglrx 2836724 41
rtlwifi 68797 1 rtl8192se
mac80211 135762 2 rtl8192se,rtlwifi
cfg80211 113722 2 rtlwifi,mac80211
snd_seq_oss 19155 0
snd_seq_midi 3248 0
snd_rawmidi 11838 1 snd_seq_midi
snd_seq_midi_event 3636 2 snd_seq_oss,snd_seq_midi
pcspkr 1195 0
snd_seq 32220 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
agpgart 18054 1 fglrx
atl1c 23233 0
snd_timer 11743 2 snd_pcm,snd_seq
snd_seq_device 3541 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
k8temp 2351 0
snd 32906 12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3321 1 snd
snd_page_alloc 4777 2 snd_hda_intel,snd_pcm
i2c_piix4 6468 0
i2c_core 12559 2 videodev,i2c_piix4
eeepc_wmi 1720 0
asus_wmi 10796 1 eeepc_wmi
sparse_keymap 1936 1 asus_wmi
rfkill 9954 3 bluetooth,cfg80211,asus_wmi
shpchp 17991 0
wmi 5863 1 asus_wmi
battery 8263 0
video 9383 0
thermal 6162 0
evdev 5816 1
button 3275 1 fglrx
processor 20517 2 powernow_k8
thermal_sys 9722 4 fan,video,thermal,processor
hwmon 965 3 k8temp,asus_wmi,thermal_sys
ac 2293 0
fuse 47547 2
aufs 119852 74
squashfs 18852 1
| [/code]
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Thu 26 Jul 2012, 09:44 Post subject:
|
|
looks like the acpi modules are loaded : ac=power-adapter, button=ON/OFF-button, fan=:, battery=:, video=:, thermal=:
evdev for the keyboard is also loaded and also frequency scaling by cpu_freq_ondemand and powernow_k8 available .
No clue really . Have myself problems with suspend now, the same like yours .
Tried
chmod 0666 /proc/acpi/sleep
disconnect from internet before
set SLEEP from S1 to S3 in the Bios
with no luck .
It is the kernel configuration i am most confident of, must try other kernels .
|
|
Back to top
|
|
 |
bwh1969
Joined: 25 Oct 2010 Posts: 126 Location: Allentown, PA
|
Posted: Thu 26 Jul 2012, 10:47 Post subject:
Rock and hard place |
|
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.
|
|
Back to top
|
|
 |
ggg
Joined: 26 Apr 2011 Posts: 48
|
Posted: Thu 26 Jul 2012, 11:20 Post subject:
|
|
Lighthouse has all the features I want, but takes forever to boot, like 3 times longer than Kubuntu 12.04.
Since when has five been a multitude and forever been timed at less than five minutes?
Use Lighthouse and suspend at will, but only reboot or shutdown once in a blue moon!
|
|
Back to top
|
|
 |
bwh1969
Joined: 25 Oct 2010 Posts: 126 Location: Allentown, PA
|
Posted: Thu 26 Jul 2012, 16:19 Post subject:
You know |
|
Everyone wants everything today, these days:-)
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.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|