Phi Tran is adding an ioctl to PARC 2006/601 Battery Project. This work is required and targeted for OpenSolaris 2008.11 release. I'm setting this admendment as self-approved as a simple ioctl should be straightforward. Proposal: I'm adding an ioctl in acpi_drv to allow for updating a computer laptop lid status. This is an extension of PSARC 2006/601 Battery Project. This ioctl is useful when the hardware lid status may have changed during suspend. Exported Interface: Project Private ioctl ACPI_DRV_IOC_LID_UPDATE If this ioctl returns 0 for the integer argument, then it means the laptop lid is closed. If ioctl returns a non-zero value for the argument, then it means the laptop lid is opened. References: PSARC 2006/601 Battery Project PSARC 2008/021 HAL Power Management Support