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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-29-2021, 06:55 PM
|
#1
|
Senior Member
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151
Rep:
|
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??
|
|
|
03-30-2021, 07:29 PM
|
#2
|
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
|
For testing purposes, what happens when you suspend (or sleep) the computer from the menu, then close and later reopen the lid?
|
|
|
05-22-2021, 04:09 PM
|
#3
|
Senior Member
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151
Original Poster
Rep:
|
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.
|
|
|
05-30-2021, 08:58 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,539
|
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.
|
|
|
All times are GMT -5. The time now is 05:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|