Date: Sun, 6 Nov 2022 15:04:56 +0100 From: <louis.freebsd@xs4all.nl> To: <freebsd-current@FreeBSD.org> Subject: How to disable ACPI? (on FreeBSD14 CURRENT) Message-ID: <000501d8f1e8$c0442df0$40cc89d0$@xs4all.nl>
next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format. ------=_NextPart_000_0006_01D8F1F1.220895F0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I need to disable acpi and the indicated method for that is to add = ^hint.acpi.0.disabled=3D"1"^ in /boot/loader.conf . However that crashes my system !!!!!!=20 Not only that, to make it work again I have to edit loader.conf on a = system which does ^not start^. =20 =EF=BF=BD After a lot of searching Internet came to the help with, I could start = the system again: 1. Select 3. Escape to loader prompt at the splash screen 2. Type set hint.acpi.0.disabled=3D"0" on the loader prompt 3. Then type boot on the loader prompt edit the loader.conf Very very glad with that fix however =EF=BF=BD However the problem is still there, no idea how to prevent the system = from going to sleep (after about 10 minutes). No idea how to change those 10 minutes to a much longer time as well = ....=20 =EF=BF=BD Note that I have gnome as gui and use the system more or less as server = and manage the machine partly local via the GUI and partly remote via = SSH. =EF=BF=BD Related to GNOME I did try ^gsettings set = org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0^, = however that did not solve the problem as well. =EF=BF=BD In the end there seems to two problems a) A BSD-issue ACPI-turn off in the bootloader is crashing the system ! = ! and=20 b) a GNOME issue (switching the system off during user inactivity, which = is bullshit for a server / for ssh-login / with multiple users). What IMHO apart from the screen lock, this is not a GNOME task but an OS = function to be configured by the system administrator. =EF=BF=BD A third problem, not to be addressed here, is that recovery from sleep = mode does not work on my system as well (even not S1). =EF=BF=BD Most important for the moment is that the system keeps running / is not = going down after x-time !=20 =EF=BF=BD Louis ------=_NextPart_000_0006_01D8F1F1.220895F0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} span.E-mailStijl17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DNL = link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div = class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>I need to = disable acpi and the indicated method for that is to add = ^hint.acpi.0.disabled=3D"1"^ in /boot/loader.conf = .<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>However = that crashes my system !!!!!! <o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>Not only that, to make it work = again I have to edit loader.conf on a system which does ^not start^. = =C2=A0<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>After a lot of searching Internet came to the help with, I = could start the system again:<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>1. Select 3. Escape to loader = prompt at the splash screen<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>2. Type set = hint.acpi.0.disabled=3D"0" on the loader = prompt<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>3. = Then type boot on the loader prompt<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>edit the = loader.conf<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Very very glad with that fix = however<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>However the problem is still there, no idea how to prevent = the system from going to sleep (after about 10 = minutes).<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>No idea how to change those 10 minutes to a much longer = time as well .... <o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Note that I have gnome as gui and use the system more or = less as server and manage the machine partly local via the GUI and = partly remote via SSH.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Related to GNOME I did try ^gsettings set = org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0^, = however that did not solve the problem as well.<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>In the end there seems to two = problems<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>a) = A BSD-issue ACPI-turn off in the bootloader is crashing the system ! ! = and <o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>b) a = GNOME issue (switching the system off during user inactivity, which is = bullshit for a server / for ssh-login / with multiple = users).<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>What IMHO apart from the screen lock, this is not a GNOME = task but an OS=C2=A0 function to be configured by the system = administrator.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>A third problem, not to be addressed here, is that recovery = from sleep mode does not work on my system as well (even not = S1).<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Most important for the moment is that the system keeps = running / is not going down after x-time ! <o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p = class=3DMsoNormal><span = lang=3DEN-US>Louis<o:p></o:p></span></p></div></body></html> ------=_NextPart_000_0006_01D8F1F1.220895F0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501d8f1e8$c0442df0$40cc89d0$>