How can I disable two ACPI devices via device.hints?
-
Hello fellow pfSensers,
I need some help on how I can disable two devices. There are many ACPI errors in the system log. It turns out to be two ACPI devices: acpi_acad0, and battery0. By using the devctl command, I can disable or suspend them, and the APCI errors are no longer repeated. I guess I can live with that – at every reboot, I just type in the command. But is there a way to do so via device.hints in /boot/loader.conf.local?
Information about the two devices obtained by devinfo:
• acpi_acad0 pnpinfo _HID=ACPI0003 _UID=0 CID=none at handle=_SB.PCI0.SBRG.H_EC.ADP1
• battery0 pnpinfo _HID=PNP0C0A _UID=1 CID=none at handle=_SB.PCI0.SBRG.H_EC.BAT0Thanks much in advance.
-
You should be able to create the file /boot/loader.conf.local and then add to it:
hint.acpi_acad.0.disabled=1 hint.battery.0.disabled=1
-
@stephenw10 Perfect! It works. Thanks!