Portál AbcLinuxu, 9. června 2025 21:41
# remove USB 1.1 driver
rmmod uhci_hcd
rmmod usbhid
rmmod ipw2200
# sync filesystem and clock
sync
/sbin/hwclock --systohc
# switch to console
#FGCONSOLE=`fgconsole`
chvt 6
#/usr/sbin/radeontool light off
# go to sleep
echo -n "mem" > /sys/power/state
# readjust the clock (it might be off a bit after suspend)
/sbin/hwclock --adjust
/sbin/hwclock --hctosys
# reload USB 1.1 driver
modprobe uhci_hcd
modprobe usbhid
modprobe ipw2200
# turn on the backlight and switch back to X
#radeontool light on
chvt 7
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.