Date: Wed, 27 Mar 2019 19:16:39 +0000 From: bugzilla-noreply@freebsd.org To: acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Message-ID: <bug-207419-16045-s9DyA8bUW4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207419-16045@https.bugs.freebsd.org/bugzilla/> References: <bug-207419-16045@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: wulf Date: Wed Mar 27 19:16:04 UTC 2019 New revision: 345589 URL: https://svnweb.freebsd.org/changeset/base/345589 Log: MFC: r344982, r345022 atrtc(4): install ACPI RTC/CMOS operation region handler FreeBSD base system does not provide an ACPI handler for the PC/AT RTC/CM= OS device with PnP ID PNP0B00; on some HP laptops, the absence of this handl= er causes suspend/resume and poweroff(8) to hang or fail [1], [2]. On these laptops EC _REG method queries the RTC date/time registers via ACPI before suspending/powering off. The handler should be registered before acpi_ec driver is loaded. This change adds handler to access CMOS RTC operation region described in section 9.15 of ACPI-6.2 specification [3]. It is installed only for ACPI version of atrtc(4) so it should not affect old ACPI-less i386 systems. It is possible to disable the handler with loader tunable: debug.acpi.disabled=3Datrtc Informational debugging printf can be enabled by setting hw.acpi.verbose= =3D1 in loader.conf [1] https://wiki.freebsd.org/Laptops/HP_Envy_6Z-1100 [2] https://wiki.freebsd.org/Laptops/HP_Notebook_15-af104ur [3] https://uefi.org/sites/default/files/resources/ACPI_6_2.pdf PR: 207419, 213039 Submitted by: Anthony Jenkins <Scoobi_doo@yahoo.com> Reviewed by: ian Discussed on: acpi@, 2013-2015, several threads Differential Revision: https://reviews.freebsd.org/D19314 Changes: _U stable/12/ stable/12/sys/x86/isa/atrtc.c --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207419-16045-s9DyA8bUW4>