t-nissieの日記: Debian GNU/Linux, hibernate.conf, uswsusp.conf, orinoco
日記 by
t-nissie
なんとかDebian etch on Sharp Mebius MURAMASA ()で
ハイバネーションが出来るようになりました。
● dpkg-reconfigure uswsusp を実行しててきとうにパラメタを入力していくと
次のような/etc/uswsusp.confが出来る。
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/hda3
compress = y
early writeout = y
RSA key file = /etc/uswsusp.key
shutdown method = platform
suspend loglevel = 7
max loglevel = 7
● ワイヤレスLANカードの不具合を避けるための /etc/hibernate/hibernate.conf
# hibernate.conf
# See hibernate.conf(5) for help on the configuration items.
TryMethod suspend2.conf
TryMethod disk.conf
TryMethod ram.conf
OnSuspend 20 /sbin/ifdown wlan0
OnSuspend 21 /sbin/modprobe -v -r orinoco_cs
OnSuspend 22 /sbin/modprobe -v -r orinoco
OnResume 20 /sbin/modprobe -v orinoco_cs
OnResume 21 /sbin/ifup wlan0
● ちなみに /etc/fstab は、
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / reiserfs notail 0 1
/dev/hda3 swap swap defaults 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
ハイバネーションが出来るようになりました。
● dpkg-reconfigure uswsusp を実行しててきとうにパラメタを入力していくと
次のような/etc/uswsusp.confが出来る。
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/hda3
compress = y
early writeout = y
RSA key file = /etc/uswsusp.key
shutdown method = platform
suspend loglevel = 7
max loglevel = 7
● ワイヤレスLANカードの不具合を避けるための /etc/hibernate/hibernate.conf
# hibernate.conf
# See hibernate.conf(5) for help on the configuration items.
TryMethod suspend2.conf
TryMethod disk.conf
TryMethod ram.conf
OnSuspend 20 /sbin/ifdown wlan0
OnSuspend 21 /sbin/modprobe -v -r orinoco_cs
OnSuspend 22 /sbin/modprobe -v -r orinoco
OnResume 20 /sbin/modprobe -v orinoco_cs
OnResume 21 /sbin/ifup wlan0
● ちなみに /etc/fstab は、
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / reiserfs notail 0 1
/dev/hda3 swap swap defaults 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
Debian GNU/Linux, hibernate.conf, uswsusp.conf, orinoco More ログイン