+ . /etc/default/acpi-support ++ ACPI_SLEEP=true ++ ACPI_HIBERNATE=true ++ ACPI_SLEEP_MODE=mem ++ MODULES= ++ MODULES_WHITELIST= ++ SAVE_VBE_STATE=true ++ VBESTATE=/var/lib/acpi-support/vbestate ++ POST_VIDEO=true ++ USE_DPMS=true ++ HIBERNATE_MODE=shutdown ++ LOCK_SCREEN=true ++ STOP_SERVICES='mysql ' + . /usr/share/acpi-support/power-funcs ++ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11 ++ POWERSTATE=/var/lib/acpi-support/powerstate ++ LAPTOP_MODE=/usr/sbin/laptop-mode ++ HDPARM='/sbin/hdparm -q' ++ LIDSTATE=/var/lib/acpi-support/lidstate + . /usr/share/acpi-support/device-funcs + DeviceConfig ++ dmidecode ++ sed -n -e '/System Information/,/^\(\t[^\t]\|[^\t]\)/{/Manufacturer/{s/.*: *//;s/*$//;p}}' + manufacturer=Compaq ++ dmidecode ++ sed -n -e '/System Information/,/^\(\t[^\t]\|[^\t]\)/{/Product Name/{s/.*: *//;s/*$//;p}}' + model='Presario 701EA 470023-576' ++ dmidecode ++ sed -n -e '/System Information/,/^\(\t[^\t]\|[^\t]\)/{/Version/{s/.*: *//;s/*$//;p}}' + version=0F0C + '[' -f /usr/share/acpi-support/Compaq.config ']' + . /usr/share/acpi-support/Compaq.config ++ case "$model" in + '[' xtrue '!=' xtrue ']' ++ pidof PowerManager + '[' '' ']' + '[' xtrue = xtrue ']' + for x in '/tmp/.X11-unix/*' ++ echo /tmp/.X11-unix/X0 ++ sed s#/tmp/.X11-unix/X## + displaynum=0 + getXuser ++ finger ++ grep -m1 ':0 ' ++ awk '{print $1}' + user=tormod + '[' xtormod = x ']' + '[' xtormod '!=' x ']' ++ cut -d: -f6 ++ getent passwd tormod + userhome=/home/tormod + export XAUTHORITY=/home/tormod/.Xauthority + XAUTHORITY=/home/tormod/.Xauthority + '[' x/home/tormod/.Xauthority '!=' x ']' + export DISPLAY=:0 + DISPLAY=:0 + . /usr/share/acpi-support/screenblank ++ su tormod -c '(xscreensaver-command -throttle; xscreensaver-command -lock)' xscreensaver-command: throttled. xscreensaver-command: activating and locking. ++ xset dpms force off ++ '[' x = xtrue ']' + . /etc/acpi/prepare.sh ++ touch /var/lock/acpisleep ++ cardctl eject ++ '[' -f /var/run/irattach.pid ']' ++ for x in '/sys/module/*_ircc' '/sys/module/*_ircc2' +++ basename '/sys/module/*_ircc' ++ rmmod '*_ircc' ++ for x in '/sys/module/*_ircc' '/sys/module/*_ircc2' +++ basename '/sys/module/*_ircc2' ++ rmmod '*_ircc2' ++ '[' -d /sys/module/ndiswrapper ']' +++ /sbin/ifconfig +++ awk '/^[^ ]+/ {print $1}' ++ INTERFACES='eth0 lo' ++ for x in '$INTERFACES' ++ ifdown eth0 There is already a pid file /var/run/dhclient.eth0.pid with pid 5921 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.0.2 Copyright 2004 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/eth0/00:08:02:02:f4:f0 Sending on LPF/eth0/00:08:02:02:f4:f0 Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.1.1 port 67 ++ ifconfig eth0 down ++ for x in '$INTERFACES' ++ ifdown lo ++ ifconfig lo down ++ for x in '/sys/class/net/*' ++ '[' -e /sys/class/net/eth0/device/driver ']' ++++ readlink /sys/class/net/eth0/device/driver +++ tr '[:upper:]' '[:lower:]' +++ basename ../../../bus/pci/drivers/8139too ++ MODULES=' 8139too' ++ for x in '/sys/class/net/*' ++ '[' -e /sys/class/net/lo/device/driver ']' ++ for x in '/sys/class/net/*' ++ '[' -e /sys/class/net/sit0/device/driver ']' ++ for x in '/sys/class/usb_host/*' ++ '[' -e /sys/class/usb_host/usb1/device/driver ']' ++++ readlink /sys/class/usb_host/usb1/device/driver +++ basename ../../../bus/pci/drivers/uhci_hcd +++ tr '[:upper:]' '[:lower:]' ++ MODULES=' 8139too uhci_hcd' ++ for x in '$STOP_SERVICES' ++ invoke-rc.d --quiet mysql stop ++ for x in '$MODULES' ++ rmmod 8139too ++ for x in '$MODULES' ++ rmmod uhci_hcd +++ fgconsole ++ CONSOLE=7 ++ chvt 12 ++ for SCRIPT in '/etc/acpi/suspend.d/*.sh' ++ . /etc/acpi/suspend.d/50-tosh-save-brightness.sh +++ TOSH_LCD=/proc/acpi/toshiba/lcd +++ '[' -e /proc/acpi/toshiba/lcd ']' ++ '[' xtrue = xtrue ']' ++ vbetool dpms off + '[' x = xtrue ']' + '[' x = xtrue ']' + sleep 4 + '[' x = xtrue ']' + '[' x = xtrue ']' + . /etc/acpi/resume.sh ++ sleep 2 ++ echo 'post video card...' ++ sync ++ sync ++ sync ++ sleep 1 ++ '[' xtrue = xtrue ']' ++ vbetool post ++ sleep 2 ++ echo 'restore card state ...' ++ sync ++ sync ++ sync ++ sleep 1 ++ '[' xtrue = xtrue ']' ++ vbetool vbestate restore ++ sleep 2 ++ echo 'source resume.d ...' ++ sync ++ sync ++ sync ++ sleep 1 ++ for SCRIPT in '/etc/acpi/resume.d/*.sh' ++ . /etc/acpi/resume.d/49-855-resolution-set.sh +++ '[' -x /usr/sbin/855resolution ']' ++ for SCRIPT in '/etc/acpi/resume.d/*.sh' ++ . /etc/acpi/resume.d/50-tosh-restore-brightness.sh +++ '[' x '!=' x ']' +++ unset TOSH_LCD +++ cat /sys/class/firmware/timeout cat: /sys/class/firmware/timeout: No such file or directory ++ timeout= ++ echo 100 /etc/acpi/resume.sh: line 33: /sys/class/firmware/timeout: No such file or directory ++ for x in '$MODULES' ++ modprobe 8139too ++ ifrename Warning: Interface name is `eth0' at line 2, can't be mapped reliably. ++ for x in '$MODULES' ++ modprobe uhci_hcd ++ ifrename Warning: Interface name is `eth0' at line 2, can't be mapped reliably. ++ sleep 2 ++ echo 'reset firmware timeout..' ++ sync ++ sync ++ sync ++ sleep 1 ++ echo /etc/acpi/resume.sh: line 47: /sys/class/firmware/timeout: No such file or directory ++ cardctl insert ++ '[' -f /var/run/irdadev ']' ++ ifup -a ++ hwclock --hctosys ++ sleep 2 ++ echo 'make sure screen is on..' ++ sync ++ sync ++ sync ++ sleep 1 ++ '[' xtrue = xtrue ']' ++ vbetool dpms on ++ rmmod ac ++ modprobe ac ++ rmmod battery ++ modprobe battery ++ /etc/acpi/power.sh ++ sleep 2 ++ echo 'double console switch..' ++ echo CONSOLE=7 CONSOLE=7 ++ sync ++ sync ++ sync