FreeBSD Bugzilla – Attachment 245079 Details for
Bug 252030
No battery reading after upgrade to 12.2-RELEASE Fujitsu lifebook s936
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Hack that makes battery status work on Fujitsu Lifebooks
acpi_cmbat.c.diff (text/plain), 501 bytes, created by
freebsd
on 2023-09-20 21:24:31 UTC
(
hide
)
Description:
Hack that makes battery status work on Fujitsu Lifebooks
Filename:
MIME Type:
Creator:
freebsd
Created:
2023-09-20 21:24:31 UTC
Size:
501 bytes
patch
obsolete
>diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c >index 8c08868456d7..b79a19f82658 100644 >--- a/sys/dev/acpica/acpi_cmbat.c >+++ b/sys/dev/acpica/acpi_cmbat.c >@@ -383,6 +383,8 @@ acpi_cmbat_get_bix(void *arg) > "_BIX revision error\n"); > goto end; > } >+ // Force _BIX revision to 0. >+ sc->bix.rev = ACPI_BIX_REV_0; > #define ACPI_BIX_REV_MISMATCH_ERR(x, r) do { \ > ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), \ > "_BIX revision mismatch (%u != %u)\n", x, r); \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252030
:
220791
|
245079
|
245108