Re: git: a9880bfe1181 - main - acpi_ged: New driver to ACPI generic event device
- In reply to: Takanori Watanabe : "git: a9880bfe1181 - main - acpi_ged: New driver to ACPI generic event device"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Oct 2022 14:04:10 UTC
In message <202210241002.29OA26Pk076760@gitrepo.freebsd.org>, Takanori Watanabe writes: > The branch main has been updated by takawata: > > URL: https://cgit.FreeBSD.org/src/commit/?id=a9880bfe1181b7a32d026339bae113f2 > 4300e5e1 > > commit a9880bfe1181b7a32d026339bae113f24300e5e1 > Author: Takanori Watanabe <takawata@FreeBSD.org> > AuthorDate: 2022-10-18 05:41:53 +0000 > Commit: Takanori Watanabe <takawata@FreeBSD.org> > CommitDate: 2022-10-24 09:57:36 +0000 > > acpi_ged: New driver to ACPI generic event device > > New driver to ACPI generic event device, defined in ACPI spec. > Some ACPI power button may not work without this. > > In qemu arm64 with "virt" machine, with ACPI firmware, > enable devd check devd message by > and invoke following command in qemu monitor > (qemu) system_powerdown > and make sure some power button input event appear. > (setting sysctl hw.acpi.power_button_state=S5 is not work, > because ACPI tree does not have \_S5 object.) > > Reviewed by: andrew, hrs > Differential Revision: https://reviews.freebsd.org/D37032 > --- > share/man/man4/acpi_ged.4 | 64 +++++++++ > sys/arm64/conf/std.virt | 1 + > sys/conf/files | 1 + > sys/dev/acpica/acpi_ged.c | 267 +++++++++++++++++++++++++++++++++++ > ++ > sys/modules/acpi/Makefile | 2 +- > sys/modules/acpi/acpi_ged/Makefile | 11 ++ > 6 files changed, 345 insertions(+), 1 deletion(-) Hi, This fails to build. src/sys/dev/acpica/acpi_ged.c:201:31: error: no member named 'evt' in 'struct acpi_ged_softc'; did you mean 'evts'? rawirq = rman_get_start(sc->evt[i].r); ^~~ evts -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0