LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2021, 06:55 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Rep: Reputation: 73
System doesn't recover after closing the lid of the laptop


I am just about finished setting up this new HP 15s-er1004AU laptop with Ubuntu 20.04.

However, when I shut the lid then open a bit later, I see a blank black screen.

I watch and wait. Nothing.

I press space. Nothing.

I press the on switch. Nothing.

Finally, I hold down the off switch for a few seconds. Ubuntu reboots and I can log in.

On my older Samsung laptop (Ubu 18.04), when I open the lid after a few minutes or a few hours, or days even, I get the login screen, type my password and Ubuntu is up and running again.

On the new laptop, if I just leave it alone: screen goes black, but touch a button and the log in screen appears.

But not when the lid has been closed.

Is there something I can do about this problem? Any tips please?

Following other threads on askubuntu.com, I tried:

pedro@pedro-HP:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP1 S4 *disabled
GP17 S4 *enabled pci:0000:00:08.1
GPP0 S4 *disabled
pedro@pedro-HP:~$ sudo -s
[sudo] password for pedro:
Sorry, try again.
[sudo] password for pedro:
root@pedro-HP:/home/pedro# echo "LID" > /proc/acpi/wakeup
root@pedro-HP:/home/pedro# exit
exit
pedro@pedro-HP:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP1 S4 *disabled
GP17 S4 *enabled pci:0000:00:08.1
GPP0 S4 *disabled
pedro@pedro-HP:~$

I don't know what GPP1 or GPP0 are or how I might enable them on this HP laptop!

I can't find anything with HP or LID in /sys/devices/platform except a folder called hp-wmi.

Anyone know where I should set S4 to "enabled" on this HP??

Or how to make it wake up after closing the lid??
 
Old 03-30-2021, 07:29 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,892
Blog Entries: 28

Rep: Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347
For testing purposes, what happens when you suspend (or sleep) the computer from the menu, then close and later reopen the lid?
 
Old 05-22-2021, 04:09 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Sorry, I forgot all about this until now. Too many other things to do. Apologize!

I just suspended, then closed the lid, waited a few minutes, then reopened. I got my log in screen OK.

The trouble is, if I just close the lid, put the laptop in my bag, it quickly gets very hot and then will not start.

This happened to me twice, I don't want it to break. I now shutdown every time I want to put the laptop in my bag. (It boots very fast, so that is not too inconvenient.)

My old latop, a Samsung, also got warm, but never too hot.

This HP has Ryzen R7 processors, is very fast compared with my Samsung, but generates a lot of heat.

Apparently, it is still ticking over with the lid shut!

If I shut the lid, leave it on my desk and wait a long time, like overnight, I have found it sometimes won't recover.
 
Old 05-30-2021, 08:58 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,539

Rep: Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608Reputation: 2608
You can usually set what state happens when you close the lid. The states are
  • Standby - uses 90% power and blanks screen
  • Suspend - suspends cpu to S3 & saves state to ram. Uses very low power.
  • Hibernate - Saves state to disk & goes off.
  • Switch off.
You probably are going to standby, so the fans blow and the box overheats in your bag.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No image on screen after closing and opening my laptop's lid on Debian Squeeze rebelplankton Linux - Laptop and Netbook 2 11-01-2012 12:11 AM
screen hanging after closing laptop lid makaukelvin Linux - Laptop and Netbook 1 04-27-2012 08:50 PM
System lock when closing laptop lid on 12.2 brixtoncalling Slackware 10 03-31-2009 06:51 AM
closing laptop lid causes display to go crazy disciple061 Linux - Laptop and Netbook 0 03-20-2004 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration