Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How can I disable two ACPI devices via device.hints?

    Scheduled Pinned Locked Moved Hardware
    3 Posts 2 Posters 262 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wxppro
      last edited by

      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.BAT0

      Thanks much in advance.

      stephenw10S 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator @wxppro
        last edited by

        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
        
        W 1 Reply Last reply Reply Quote 1
        • W
          wxppro @stephenw10
          last edited by

          @stephenw10 Perfect! It works. Thanks!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.