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

    Acpi_video?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 991 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.
    • E
      esheesle
      last edited by

      I'm trying to setup pfsense 2.3 to turn off my laptop monitor when i close the lid (nothing in bios to enable that).  I tried loading acpi_video but seems its missing.  Beyond pulling from another freebsd install, any ideas?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        We don't build anything in for that, you'd have to grab the module from a similar vintage install of FreeBSD (e.g. FreeBSD 10.3 for 2.3.x)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • F
          FranciscoFranco
          last edited by

          On FreeBSD I use sysctl.conf to hold these settings related to power and the lid:

          sysctl hw.acpi.lid_switch_state=S3
          
          1 Reply Last reply Reply Quote 0
          • F
            FranciscoFranco
            last edited by

            Yes it appears this would work. Pick your desired power state and add to /etc/sysctl.conf
            From pfSense Diagnosics > Command Prompt > Execute Shell Command:

            sysctl hw.acpi.lid_switch_state
            

            Shell Output - sysctl hw.acpi.lid_switch_state

            hw.acpi.lid_switch_state: NONE

            So the default is NONE. You can change it dynamically from the command prompt:
            sysctl hw.acpi.lid_switch_state=S3

            To make permanent create /etc/sysctl.conf
            hw.acpi.lid_switch_state=S3

            1 Reply Last reply Reply Quote 0
            • F
              FranciscoFranco
              last edited by

              I also see you can use System Tunables and add the sysctl.

              On menu under System >Advanced >System Tunables
              Pick 'add' and use hw.acpi.lid_switch_state as the tunable and desired Power State as 'value'

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