helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
805 stars 58 forks source link

Restart now goes to suspend #403

Open darkoverlordofdata opened 1 year ago

darkoverlordofdata commented 1 year ago

Describe the bug On my Laptop, when I select Restart from the System menu, it no longer restarts after turning off.

To Reproduce edit nano /etc/sysctl.conf, changing the flag 'hw.acpi.lid_switch_state' from "S3" to "NONE" Reboot. Select Restart on the system menu.

Expected behavior It used to work as expected, and turn off and then come back on.

Version (please complete the following information): On both 0.7.0 and 0.8.0_0H89 FreeBSD 13.0 and Freebsd 13.1 https://github.com/helloSystem/ISO/releases/tag/r0.7.0 https://github.com/helloSystem/ISO/releases/tag/experimental-13.1 not on vm Computer (please complete the following information): Dell Inspiron 3521 Additional context This worked originally only on 0.7.0 It broke after the first upgrade. It is broken on 0.8.0 after install.

In both cases I now have to open the lid on the laptop before restarting to get it to work.

probonopd commented 1 year ago

Thanks for reporting.

So the issue only happens after you made a manual edit to /etc/sysctl.conf?

Code in question: https://github.com/helloSystem/ISO/blob/26e9b2a9758699e0c1b8104470b583c4280c95ec/overlays/uzip/furybsd-settings/files/etc/sysctl.conf#L44

Should we set something else there by default?

probonopd commented 1 year ago

@darkoverlordofdata friendly ping, before this ticket gets closed.