How to suspend Dell e6400 laptop?

Using applications, configuring, problems
Message
Author
yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

How to suspend Dell e6400 laptop?

#1 Post by yr1945 »

can't suspend my dell laptop e6400 on most new OS's...

usually I can just close the lid on all older OS's...

even tried adding acpitool coupled with pupshutdown apps... still won't suspend... any suggestions? Thank You.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Have you tried Xenialpup 7.5 64 or 32 bit version?

If you are going to try and fix this.
Need to talk about one specific version of Puppy.
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 :shock:
YaPI(any iso installer)

yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

#3 Post by yr1945 »

yes, I have tried Xenialpup 7.5 32 bit version, as well as most other recent OS's... laptop will not suspend... Thank you.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hello yr1945.

Here is one way to do it!!!

Image

:lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

#5 Post by Marv »

@musher0, I never considered Foucault suspension :lol: :lol:
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#6 Post by jafadmin »

First try something simple to test dpms:

Code: Select all

xset dpms force off

That should blank the screen and unblank when mouse or keyboard are used.
If that works, try:

Code: Select all

xset dpms force standby
all:

Code: Select all

xset dpms force [{standby|suspend|off|on}]
Last edited by jafadmin on Mon 12 Feb 2018, 10:20, edited 1 time in total.

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#7 Post by Sailor Enceladus »

Did you try running?

Code: Select all

. /etc/acpi/actions/suspend.sh
Maybe running it from terminal will tell you what is wrong.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#8 Post by ally »

I have xenial64 7.5 running on a lenovo x230 and suspend does not work

the above command gives

Code: Select all

rmmod: ERROR: Module ehci_hcd is builtin.
suspbase used to work on tahrpup on lenovo x201 but not on xenial

Code: Select all

#!/bin/sh
sleep 1
echo mem > /sys/power/state


:)

edit: closing the suspends but immediately restarts

edit: [code]xset dpms force standby
blanks screen then comes straight back[/code]

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#9 Post by wiak »

ally wrote:I have xenial64 7.5 running on a lenovo x230 and suspend does not work

the above command gives

Code: Select all

rmmod: ERROR: Module ehci_hcd is builtin.
suspbase used to work on tahrpup on lenovo x201 but not on xenial
Might be related to the bug I posted about on xenialdog thread concerning suspend with xenial in link below. I have not managed to resolve the problem on my system:

http://murga-linux.com/puppy/viewtopic. ... 395#981395

wiak

yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

#10 Post by yr1945 »

I would like to Thank You for all the responses... nothing seems to work... still cannot suspend my laptop...

well, actually the suggestion from musher0 works (lol)

matchpoint
Posts: 168
Joined: Fri 26 Jan 2018, 20:54

#11 Post by matchpoint »

I clipped this from the Arch wiki. It may help those of you with enough experience.

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

#12 Post by Marv »

I loved the pic from musher0. I think we've all had systems that needed that. I'm intrigued by hardware/system interactions though... I set up a pristine Grub4Dos boot of xenialpup64 7.5 on my Fujitsu S761 i5 based laptop (it does have docking capabilities). Once booted with the timezone and wifi set up, nothing added at all, I suspended from lid closure , suspended by running

Code: Select all

/etc/acpi/actions/suspend.sh
in terminal, and suspended by running

Code: Select all

echo -n mem > /sys/power/state
in terminal. All basically worked and would work well with a few tweaks to the stock suspend.sh file. Two questions if you don't mind. Is it a USB based boot and what does your system do exactly, particularly in response to the echo command in terminal?

Another question, what is the output of

Code: Select all

lspci | grep Network
run in terminal? May seem irrelevant but I had an intel 6205n (IIRC) wireless card that caused many interrupt and memory space conflicts with newer kernels and among other things resulted in odd shutdown behavior. Fortunately I had 3 other identical systems with a different wifi card that were ok. Replaced that card and all 4 are now truly identical and happy.
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

#13 Post by yr1945 »

output of,,, lspci | grep Network...
Attachments
capture3502.png
(17.21 KiB) Downloaded 137 times

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

#14 Post by Marv »

Thanks, That's not the card I had issues with. In fact, I'm using both the intel 5100 and 5300 on my core 2 duos with no issues, some running a xenialpup64 7.5 deriv. Still curious about what your system does when you run the echo -n mem ... command in terminal. No response at all? Lock up?
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#15 Post by ally »

both above commands sleep but restarts immediately

:)

yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

#16 Post by yr1945 »

the command... echo -n mem > /sys/power/state... makes my laptop go to sleep for just one second and then the screen immediately comes back on again...

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#17 Post by bigpup »

Are you booting and running Puppy from a USB drive.
USB Flash drive or hard drive?

I remember something about suspend made to not work if running from a USB drive.

This code is in suspend.sh

Code: Select all

# do not suspend if usb media mounted
USBS=$(probedisk2|grep '|usb' | cut -d'|' -f1 )
for USB in $USBS
do
mount | grep -q "^$USB" && rm -f "$LOCKFILE" && exit 0
done
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 :shock:
YaPI(any iso installer)

yr1945
Posts: 212
Joined: Sat 17 Apr 2010, 18:38

#18 Post by yr1945 »

Thanks, but I boot from a CD.

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

#19 Post by Marv »

Invoking suspend with the echo command bypasses that USB check. The 1 second delay 'seems' like something is sending an interrupt that the kernel interprets as a power button press. I don't have any hardware that behaves in this manner so it's a bit of a 'thought experiment' for me. Doing that echo command and then entering dmesg in terminal and then looking at the final lines of the output (after a line that contains "suspend entry" in my system) might shed some light on what the kernel is doing. I'll attach those lines from my system doing a normal suspend and wake as an example. When you're ready to call a halt say so, otherwise I'm still puzzled.

@ally Thanks for the check. I replied but must have just previewed and slept. How are you booting?
Attachments
dmesg_suspend.gz
dmesg output for a working suspend. False gz, remove to view.
(2.22 KiB) Downloaded 122 times
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#20 Post by ally »

@marv

Code: Select all

  kernel /xenial64_7.5/vmlinuz   psubdir=xenial64_7.5 pmedia=atahd pfix=fsck intel_pstate=disable acpi_osi="!Windows 2012"
grub4dos

:)

Post Reply