Can't wake up after sleep.

If I put my pc to sleep by typing "zzz" it goes to sleep, (monitor turns off and the power led is blinking) ( light on wifi adapter remains on though). But when I press the power key, nothing shows up on monitor. The led on cpu case goes back to normal instead of blinking, light on motherboard is back on, but nothing on monitor. Tried pressing keys too but nothing worked.
Using freebsd 13 release with dwm.
 
No guesses, but can you connect to it from another machine, say via ssh. That will enable you to get more info. from the system.
 
Could you please add you /etc/rc.cong and /boot/loader.conf ?
I have the same issue (FreeBSD, DWM, intel graphics) but I do not remember the fix I found
I could compare you file with mine.
 
Could you please add you /etc/rc.cong and /boot/loader.conf ?
I have the same issue (FreeBSD, DWM, intel graphics) but I do not remember the fix I found
I could compare you file with mine.
rc.conf
Code:
zfs_enable="YES"
clear_tmp_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NONE"
hostname="a.a.a"
keymap="colemak.acc.kbd"
create_args_wlan0="country IN"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
wlans_run0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"

kld_list="amdgpu"
ntpd_enable="YES"
ntpd_sync_on_start="YES"

/boot/loader.conf
Code:
cryptodev_load="YES"
zfs_load="YES"
iichid_load="YES"
 
It's also because it's so specific to various vendors. Another issue of closed-source variations by vendors to protect their hardware.
Just look at the wiki and all the variations. No wonder it's not supported; who could be bothered.
 
I have an MSI P65 laptop and solve the same issue after installing desktop-installer (without WM, as I use DWM)

I will copy/paste my config files when I go home.

At least, I have powerd enabled.
 
kld_list="amdgpu"

What's the hardware?

Share a probe if you like. The first of these two commands is a one-off:
  1. pkg install -y sysutils/hw-probe sysutils/lsblk sysutils/pciutils sysutils/usbutils
  2. kldload fusefs && hw-probe -all -upload
AMD here, radeonkms.

For me: wake from sleep was previously unreliable, became reliable some time ago. FreeBSD 14.0-CURRENT. <https://bsd-hardware.info/?computer=6fbb1f806232>

… the wiki and all the variations. No wonder it's not supported; who could be bothered. …

There is the will to make things work; to fix, wherever possible/reasonable.

Like most wikis, the given page is not a true reflection of things.
 
What's the hardware?

Share a probe if you like:
  1. pkg install -y sysutils/hw-probe sysutils/lsblk sysutils/pciutils sysutils/usbutils
  2. hw-probe -all -upload
AMD here, radeonkms.

For me: wake from sleep was previously unreliable, became reliable some time ago. FreeBSD 14.0-CURRENT. <https://bsd-hardware.info/?computer=6fbb1f806232>



There is the will to make things work; to fix, wherever possible/reasonable.

Like most wikis, the given page is not a true reflection of things.
doas hw-probe -all -upload
Probe for hardware ... fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
fstat: /dev/fuse: No such file or directory
Ok
Reading logs ... Ok
Uploaded to DB, Thank you!

Probe URL: https://bsd-hardware.info/?probe=ff33f91374
 
fstat: /dev/fuse: No such file or directory

Yeah, sorry about that.


Interim workaround: <https://old.reddit.com/r/freebsd/comments/p3pub6/-/h8vzx55/> – edited into step (2) above.
 
Yeah, sorry about that.


Interim workaround: <https://old.reddit.com/r/freebsd/comments/p3pub6/-/h8vzx55/> – edited into step (2) above.
 
Thanks.

<https://bsd-hardware.info/?id=pci:1002-67df-1da2-e353#status> there's a note of someone disabling the EFI framebuffer during boot with FreeBSD 12.⋯. I don't know whether that's appropriate/required with 13.0-RELEASE-p3, neither can I guess whether it'll have any effect on wake.

Without attempting to sleep: can you switch from the desktop environment to ttyv1 and back?
Control-Alt-F2, Alt-F9

And does ttyv1 appear as it should?

Incidentally, re: <https://bsd-hardware.info/?probe=b7c1cae5a8&log=pkglist> try installing x11-drivers/xf86-video-amdgpu
 
Thanks.

<https://bsd-hardware.info/?id=pci:1002-67df-1da2-e353#status> there's a note of someone disabling the EFI framebuffer during boot with FreeBSD 12.⋯. I don't know whether that's appropriate/required with 13.0-RELEASE-p3, neither can I guess whether it'll have any effect on wake.

Without attempting to sleep: can you switch from the desktop environment to ttyv1 and back?
Control-Alt-F2, Alt-F9

And does ttyv1 appear as it should?

Incidentally, re: <https://bsd-hardware.info/?probe=b7c1cae5a8&log=pkglist> try installing x11-drivers/xf86-video-amdgpu
tty works normally, and I can return to xorg too.
I installed the port. Do I need to enable something/ load it to boot loader?
 
Sorry for the long response.
Back to home !
Here is the probe : Hakaba Probe

I do not see the configs files in probe, so :
/etc/rc.conf :

Bash:
mixer_enable="YES"
keymap="fr.kbd"
moused_enable="YES"
autofs_enable="YES"
git_daemon_enable="YES"
webcamd_enable="YES"
zfs_enable="YES"
zfsd_enable="YES"
ntpdate_enable="YES"
firewall_enable="YES"
firewall_type="client"
firewall_client_net="192.168.1.0/24"
firewall_script="/etc/ipfw.rules"
# below, added and solve the issue
powerd_enable="YES"
ntpdate_flags="-u pool.ntp.org"
ntpd_enable="YES"
nfs_client_enable="YES"
rpc_statd_enable="YES"
rpc_lockd_enable="YES"
devd_enable="YES"
devfs_system_ruleset="system"
dbus_enable="YES"
cupsd_enable="YES"
linux_enable="YES"
bsdstats_enable="YES"
 
I have had the same issue. Computer not coming back from Sleep. Setup is 13.0 release Efi boot.

I fixed it in the Bios. Just turned TPM and Bluethooth off. Also no secure and fast boot.

This fixed it for me without touching any config file.

Suspend/Resume works as it should do.

May be give it a try.
 
Back
Top