Hello,
I have been experiencing an issue on sporadic occasions. Having worked on my laptop, I close the lid and expect it to suspend. An hour later I open the lid, I see that it is on (not suspended) and am shown a black screen and the laptop is smoking hot (really hot). I hard shutdown turns the system off (havent tried any other way to get the system working because the temperature is so high I get scared, I dont really remember if the fans were on at this point, although I believe they are not because the temperature is really high).
This has happened a few times, but is not happening always. How can I test suspend action when laptop lid is closed? How can I test the laptop lid close sensor is working? What can I do if this happens again? Is there a way to log temperatures to make sure the system is shutting down when high temperatures are reached?
System: Fedora WS 34 on Dell XPS 15 with 4K touchscreen (this screen is heavy and I believe could generate a lot of heat too if it is left on).
thank you,
On 9/8/21 12:38 PM, Anil F Duggirala wrote:
This has happened a few times, but is not happening always. How can I test suspend action when laptop lid is closed? How can I test the laptop lid close sensor is working? What can I do if this happens again? Is there a way to log temperatures to make sure the system is shutting down when high temperatures are reached?
When you leave your laptop on but closed, is it sitting on a hard surface, and is there adequate ventilation? If not, you may want to prop up one side and/or shift it to someplace with better circulation. This won't eliminate the suspend issue, but it should help avoid future overheating while you're solving the problem.
On 9/8/21 14:11, Joe Zeff wrote:
When you leave your laptop on but closed, is it sitting on a hard surface, and is there adequate ventilation? If not, you may want to prop up one side and/or shift it to someplace with better circulation. This won't eliminate the suspend issue, but it should help avoid future overheating while you're solving the problem.
Hello Joe. I actually put the laptop in my backpack when this happened. I am usually on the move. Thanks for your suggestion though.
if you have ssh setup on the laptop you can ssh into the laptop remotely and/or ping it. If ping works or you can ssh into it it did not suspend.
I have mine so that suspend is disabled when the lid is close but in place I have this script started up in rc.local: #!/bin/bash laststate=open while [ true ] ; do lidstate=`cat /proc/acpi/button/lid/LID0/state | awk '{print $2}'` if [ "${lidstate}" == "open" ] && [ "${laststate}" == "closed" ] ; then logger -s "at `date` lid was opened - full speed" /usr/local/bin/highspeed laststate=${lidstate} grep -i mhz /proc/cpuinfo | logger -s elif [ "${lidstate}" == "closed" ] && [ "${laststate}" == "open" ] ; then logger -s "at `date` lid was closed - low speed" /usr/local/bin/lowspeed laststate=${lidstate} grep -i mhz /proc/cpuinfo | logger -s fi sleep 10 done
lowspeed does this: echo 400000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_max_freq echo 400000 > /sys/devices/system/cpu/cpufreq/policy2/scaling_max_freq echo 400000 > /sys/devices/system/cpu/cpufreq/policy3/scaling_max_freq echo 400000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
And that keeps mine cool while still leaving it running.
if I use it remotely via VNC I then run a script called highspeed that turns the max_freq to full
My script you could modify to report the lid state every 10 seconds rather than going low power and log that to a file with the date/time.
On Wed, Sep 8, 2021 at 1:39 PM Anil F Duggirala anilduggirala@fastmail.fm wrote:
Hello,
I have been experiencing an issue on sporadic occasions. Having worked on my laptop, I close the lid and expect it to suspend. An hour later I open the lid, I see that it is on (not suspended) and am shown a black screen and the laptop is smoking hot (really hot). I hard shutdown turns the system off (havent tried any other way to get the system working because the temperature is so high I get scared, I dont really remember if the fans were on at this point, although I believe they are not because the temperature is really high).
This has happened a few times, but is not happening always. How can I test suspend action when laptop lid is closed? How can I test the laptop lid close sensor is working? What can I do if this happens again? Is there a way to log temperatures to make sure the system is shutting down when high temperatures are reached?
System: Fedora WS 34 on Dell XPS 15 with 4K touchscreen (this screen is heavy and I believe could generate a lot of heat too if it is left on).
thank you, _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Wed, 8 Sep 2021 15:22:10 -0500 Roger Heflin rogerheflin@gmail.com wrote:
if you have ssh setup on the laptop you can ssh into the laptop remotely and/or ping it. If ping works or you can ssh into it it did not suspend.
I have mine so that suspend is disabled when the lid is close but in place I have this script started up in rc.local: #!/bin/bash laststate=open while [ true ] ; do lidstate=`cat /proc/acpi/button/lid/LID0/state | awk '{print $2}'` if [ "${lidstate}" == "open" ] && [ "${laststate}" == "closed" ] ; then logger -s "at `date` lid was opened - full speed" /usr/local/bin/highspeed laststate=${lidstate} grep -i mhz /proc/cpuinfo | logger -s elif [ "${lidstate}" == "closed" ] && [ "${laststate}" == "open" ] ; then logger -s "at `date` lid was closed - low speed" /usr/local/bin/lowspeed laststate=${lidstate} grep -i mhz /proc/cpuinfo | logger -s fi sleep 10 done
lowspeed does this: echo 400000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_max_freq echo 400000 > /sys/devices/system/cpu/cpufreq/policy2/scaling_max_freq echo 400000
/sys/devices/system/cpu/cpufreq/policy3/scaling_max_freq echo 400000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
And that keeps mine cool while still leaving it running.
if I use it remotely via VNC I then run a script called highspeed that turns the max_freq to full
My script you could modify to report the lid state every 10 seconds rather than going low power and log that to a file with the date/time.
On Wed, Sep 8, 2021 at 1:39 PM Anil F Duggirala anilduggirala@fastmail.fm wrote:
Hello,
I have been experiencing an issue on sporadic occasions. Having worked on my laptop, I close the lid and expect it to suspend. An hour later I open the lid, I see that it is on (not suspended) and am shown a black screen and the laptop is smoking hot (really hot). I hard shutdown turns the system off (havent tried any other way to get the system working because the temperature is so high I get scared, I dont really remember if the fans were on at this point, although I believe they are not because the temperature is really high).
This has happened a few times, but is not happening always. How can I test suspend action when laptop lid is closed? How can I test the laptop lid close sensor is working? What can I do if this happens again? Is there a way to log temperatures to make sure the system is shutting down when high temperatures are reached?
System: Fedora WS 34 on Dell XPS 15 with 4K touchscreen (this screen is heavy and I believe could generate a lot of heat too if it is left on).
Have you considered the possibility that you have a loose connection between the lid and the motherboard?
On 9/8/21 16:07, Geoffrey Leach wrote:
On Wed, 8 Sep 2021 15:22:10 -0500 Roger Heflin rogerheflin@gmail.com wrote:
Have you considered the possibility that you have a loose connection between the lid and the motherboard?
Yes, I have considered that. When I open the laptop again, it is smoking hot and the screen is on but black. I am not sure if it is black because the heat switched it to that state or because the laptop is simply stuck and it never performed the suspend. The first thing I considered was that the switch for lid closing was not working, but that doesnt fully explain why the laptop is stuck when I open it again (unless the freeze is caused by the heat).
thank you,
I learned on my work laptop running an os that will remain nameless, that when I push the power button to suspend it, that I needed to always watch the power light to validate that it actually did suspend.
Often enough it fails to suspend, and re-pressing the button it again will work. This laptop needs to suspend correctly for the same reason as yours, the backpack will not allow it to cool properly.
On Fri, Sep 17, 2021 at 10:00 AM Anil F Duggirala anilduggirala@fastmail.fm wrote:
On 9/8/21 16:07, Geoffrey Leach wrote:
On Wed, 8 Sep 2021 15:22:10 -0500 Roger Heflin rogerheflin@gmail.com wrote:
Have you considered the possibility that you have a loose connection between the lid and the motherboard?
Yes, I have considered that. When I open the laptop again, it is smoking hot and the screen is on but black. I am not sure if it is black because the heat switched it to that state or because the laptop is simply stuck and it never performed the suspend. The first thing I considered was that the switch for lid closing was not working, but that doesnt fully explain why the laptop is stuck when I open it again (unless the freeze is caused by the heat).
thank you, _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 9/8/21 15:22, Roger Heflin wrote:
if you have ssh setup on the laptop you can ssh into the laptop remotely and/or ping it. If ping works or you can ssh into it it did not suspend.
I have mine so that suspend is disabled when the lid is close but in place I have this script started up in rc.local:
Thanks for that Roger. I actually do want it to suspend. As I said in my op, the laptop has a heavy display, I dont think under any circumstance the display should be ON, even if it is blank.
Some day I wil learn more about scripting in linux, seems like fun.