• Anyone having trouble with sleep?

    From Phillip@21:1/5 to All on Sat Jan 4 10:48:06 2025
    I've been having trouble getting my machines to sleep/standby/suspend (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving the
    mouse. In fact, even pressing the power button won't rez the system to
    resume. Funny enough the CPU fan will still spin in all sleep states
    (except hibernate) but no other fans do.

    And this isn't just 1 machine. I've got 5 right now with this problem
    and all have the exact same symptom (CPU fan running), 2 on Arch (I
    think one of those might actually be Manjaro), 1 is Gentoo and the rest
    are Debian. All updated to the current latest of their respective
    distro's and none have the same hardware. 2 are using GIGABYTE
    Motherboards (one has an nVIDIA GPU), 1 is using an MSI motherboard and
    the other 2 are Intel motherboards (yeah, I still have em).

    Hibernate works like a charm so right now I've just been using that but
    I'd really like to get some type of sleep state other then hibernate
    working. Any recommendations? I've been though the man pages and online
    and there just doesn't seem to be much about this issue.

    I've also looked at /sys/power/ to ensure support is there, which is it
    for the states I'm targeting in the /etc/systemd/sleep.conf file. I've
    looked at that file for days. I feel like there is something simple I'm missing.

    In case it matters I'm running KDE on all machines. Some are using SDDM
    and some are on startx.


    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Phillip on Sat Jan 4 17:02:41 2025
    Phillip <nntp@fulltermprivacy.com> writes:
    I've been having trouble getting my machines to sleep/standby/suspend (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving
    the mouse. In fact, even pressing the power button won't rez the
    system to resume. Funny enough the CPU fan will still spin in all
    sleep states (except hibernate) but no other fans do.

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    https://wiki.ubuntu.com/DebuggingKernelSuspend describes how to get some
    debug information about this. We didn’t try to follow it; she just
    doesn’t suspend the computer.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Sat Jan 4 17:55:08 2025
    On 04/01/2025 17:02, Richard Kettlewell wrote:
    Phillip <nntp@fulltermprivacy.com> writes:
    I've been having trouble getting my machines to sleep/standby/suspend
    (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving
    the mouse. In fact, even pressing the power button won't rez the
    system to resume. Funny enough the CPU fan will still spin in all
    sleep states (except hibernate) but no other fans do.

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    https://wiki.ubuntu.com/DebuggingKernelSuspend describes how to get some debug information about this. We didn’t try to follow it; she just doesn’t suspend the computer.

    It's been a feature of some hardware since forever.
    My laptops never used to resume after a 'lid down' event.

    But the latest one does...

    --
    "What do you think about Gay Marriage?"
    "I don't."
    "Don't what?"
    "Think about Gay Marriage."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip@21:1/5 to Richard Kettlewell on Sat Jan 4 16:17:34 2025
    On 1/4/25 12:02 PM, Richard Kettlewell wrote:
    Phillip <nntp@fulltermprivacy.com> writes:
    I've been having trouble getting my machines to sleep/standby/suspend
    (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving
    the mouse. In fact, even pressing the power button won't rez the
    system to resume. Funny enough the CPU fan will still spin in all
    sleep states (except hibernate) but no other fans do.

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    https://wiki.ubuntu.com/DebuggingKernelSuspend describes how to get some debug information about this. We didn’t try to follow it; she just doesn’t suspend the computer.


    It never occurred to me to look at the kernel. Thanks for sharing. I'll
    try that angle.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Phillip on Sat Jan 4 22:44:25 2025
    On 2025-01-04 22:17, Phillip wrote:
    On 1/4/25 12:02 PM, Richard Kettlewell wrote:
    Phillip <nntp@fulltermprivacy.com> writes:
    I've been having trouble getting my machines to sleep/standby/suspend
    (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving
    the mouse. In fact, even pressing the power button won't rez the
    system to resume. Funny enough the CPU fan will still spin in all
    sleep states (except hibernate) but no other fans do.

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    https://wiki.ubuntu.com/DebuggingKernelSuspend describes how to get some
    debug information about this. We didn’t try to follow it; she just
    doesn’t suspend the computer.


    It never occurred to me to look at the kernel. Thanks for sharing. I'll
    try that angle.

    Depends on your distro. For example, openSUSE Leap had a bug with those symptoms about a month ago, the kernel would crash on restore from
    hibernation. A recent update solved it.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Richard Kettlewell on Sun Jan 5 01:00:59 2025
    On Sat, 04 Jan 2025 17:02:41 +0000, Richard Kettlewell wrote:

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    To further complicate things my Windows 11 laptop doesn't do sleep well if
    a WSL instance is running. I've got the feeling it's related to turning
    off the display. I may have the wrong terminology but it can hibernate
    okay and doesn't take too long to return to an operation state.

    When I first got the laptop I had it boxed up to return to Amazon but
    decided to find a workaround if I could.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Woozy Song@21:1/5 to Phillip on Sun Jan 5 11:02:36 2025
    Phillip wrote:
    I've been having trouble getting my machines to sleep/standby/suspend (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving the mouse. In fact, even pressing the power button won't rez the system to resume. Funny enough the CPU fan will still spin in all sleep states
    (except hibernate) but no other fans do.

    And this isn't just 1 machine. I've got 5 right now with this problem
    and all have the exact same symptom (CPU fan running), 2 on Arch (I
    think one of those might actually be Manjaro), 1 is Gentoo and the rest
    are Debian. All updated to the current latest of their respective
    distro's and none have the same hardware. 2 are using GIGABYTE
    Motherboards (one has an nVIDIA GPU), 1 is using an MSI motherboard and
    the other 2 are Intel motherboards (yeah, I still have em).

    Hibernate works like a charm so right now I've just been using that but
    I'd really like to get some type of sleep state other then hibernate
    working. Any recommendations? I've been though the man pages and online
    and there just doesn't seem to be much about this issue.

    I've also looked at /sys/power/ to ensure support is there, which is it
    for the states I'm targeting in the /etc/systemd/sleep.conf file. I've
    looked at that file for days. I feel like there is something simple I'm missing.

    In case it matters I'm running KDE on all machines. Some are using SDDM
    and some are on startx.



    I have one machine similar. Fans keep running in sleep mode, and
    keyboard doesn't wake it up. So have to turn it off and on again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 186283@ud0s4.net@21:1/5 to rbowman on Sun Jan 5 00:19:46 2025
    On 1/4/25 8:00 PM, rbowman wrote:
    On Sat, 04 Jan 2025 17:02:41 +0000, Richard Kettlewell wrote:

    My partner’s computer has a similar issue. Based on some reading around
    the subject the kernel is crashing, most likely in some driver, while
    putting the computer to sleep.

    To further complicate things my Windows 11 laptop doesn't do sleep well if
    a WSL instance is running. I've got the feeling it's related to turning
    off the display. I may have the wrong terminology but it can hibernate
    okay and doesn't take too long to return to an operation state.

    When I first got the laptop I had it boxed up to return to Amazon but
    decided to find a workaround if I could.


    Remember CP/M and DOS ... fueled a huge computer revolution
    in Biz and Science - and they'd fit on a low-density floppy
    with room to spare. I sometimes despair when I hear people
    bitch about how their i9 isn't fast enough or Win or Lin
    don't have drivers for the latest bit of off-brand tech
    junk they bought direct from AliBaba.

    But people want computers to be 'magic', solve all, do all.
    This led to COMPLICATED systems and software and the need
    for hot-running expensive hardware and gigabit networks.
    Then they wonder why it all never seems to work right ...

    Is the problem insufficient hardware/software - or
    more like 'ridiculous expectations' ?

    I started with Usenet and the similar Compuserve Groups
    using DOS boxes and a 12/2400 modem. Actually used CS with
    the modem attached to a dumb terminal ... ATTD .....

    Oh, and chemical-film cameras can yield high-rez pix.
    I have a Pentax 6x7 medium format - beautiful ! It
    just ain't "instant". Take the RIGHT shot, not 99
    kinda-sorta-maybe shots.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Phillip on Sun Jan 5 06:50:40 2025
    On Sat, 4 Jan 2025 10:48:06 -0500, Phillip wrote:

    I've been having trouble getting my machines to sleep/standby/suspend (basically anything that isn't hibernate).

    I’ve had about 5 Linux laptops over the years (3 of which were actually
    sold new with some kind of Linux installed), and I’ve never had trouble
    with sleep on any of them.

    I know hibernate gives you longer life, but I’ve never felt the need for that. E.g. my current laptop, a Galago Pro, drains something like 15% (estimated) of its battery if left asleep over a 24-hour period. That
    means I could leave it aside for 3-4 days and still have half a charge
    left.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Sun Jan 5 07:46:40 2025
    On Sat, 4 Jan 2025 17:55:08 +0000, The Natural Philosopher wrote:

    My laptops never used to resume after a 'lid down' event.

    Wasn’t there also a sleep/resume keystroke you could press?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to 186282@ud0s4.net on Sun Jan 5 14:45:00 2025
    On 2025-01-05 06:19, 186282@ud0s4.net wrote:

    ...

      Oh, and chemical-film cameras can yield high-rez pix.
      I have a Pentax 6x7 medium format - beautiful ! It
      just ain't "instant". Take the RIGHT shot, not 99
      kinda-sorta-maybe shots.

    With dust. There could be dust in the negative, or in the lab. In the
    negative, in the chemicals, in the possitivation optics. With so many
    places for dust, the final prints had dust printed as well.

    Then look at the photos 20 years later, the colours degrade.

    And the delay. I could take a year to shoot a colour roll, the thing was expensive so we did few photos.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter 'Shaggy' Haywood@21:1/5 to All on Mon Jan 6 22:57:02 2025
    Groovy hepcat Phillip was jivin' in comp.os.linux.misc on Sun, 5 Jan
    2025 02:48 am. It's a cool scene! Dig it.

    I've been having trouble getting my machines to sleep/standby/suspend (basically anything that isn't hibernate).

    The issue I'm having is that anytime I have it initiate any of the
    states listed above (and all variants), I can never pull it out of
    sleep. Resume doesn't happen when pressing on the keyboard or moving
    the mouse. In fact, even pressing the power button won't rez the
    system to resume. Funny enough the CPU fan will still spin in all
    sleep states (except hibernate) but no other fans do.

    I had a similar problem with one laptop. I would listen to music on it
    while travelling (on train or bus). Closing the lid would blank the
    video and put the machine in a low power state while still playing the
    music.
    But when I opened the lid and pressed a key or touched the track pad,
    it didn't respond. I even tried the power button, but no dice!
    I found that I could switch to a text console (Ctrl-Alt-F1), then
    switch back (Alt-F7), and the video would magically come back on. But
    it was annoying having to do that. My solution: new laptop.

    --


    ----- Dig the NEW and IMPROVED news sig!! -----


    -------------- Shaggy was here! ---------------
    Ain't I'm a dawg!!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)