> STAT=`sysctl hw.acpi.video.lcd0.active |awk '{print $2}'` > > sync && sync && sync > > if [ $STAT = 1 ]; then > logger -t Lid Close at `date +'%Y%m%d %H:%M:%S'` > sysctl hw.acpi.video.lcd0.active=0 > sysctl hw.acpi.cpu.throttle_state=1 > echo A >/dev/speaker > else > logger -t Lid Open at `date +'%Y%m%d %H:%M:%S'` > sysctl hw.acpi.cpu.throttle_state=8 > sysctl hw.acpi.video.lcd0.active=1 > echo C >/dev/speaker > fi with a very recent current, # sysctl -a | grep video hw.acpi.reset_video: 1 # sysctl -a | grep lcd # i.e., those systls went away! randyReceived on Sat Jan 31 2004 - 11:31:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC