FS#5132 - mkinitcpio needs change to suspend hook
Attached to Project:
Arch Linux
Opened by James Rayner (iphitus) - Saturday, 29 July 2006, 06:04 GMT
Opened by James Rayner (iphitus) - Saturday, 29 July 2006, 06:04 GMT
|
Details
suspend2 2.2.7.4 removes its procfs support
in favour of a newer sysfs interface. This is in beyond2.2 and beyond3. It's now located at: /sys/power/suspend2 echo "" > /sys/power/suspend2/do_resume will not do it, as sys seems to ignore the empty echos, echo 1 > /sys/power/suspend2/do_resume works however To facilitate this new setup, the following needs to be added to the resume hook: if [ -e "/sys/power/suspend2" -a "x${resume2}" != "x" ]; then echo ${resume2} > /sys/power/suspend2/resume2 echo 1 > /sys/power/suspend2/do_resume fi It might be a good idea to leave the procfs setup there for people with other kernels, as 2.2.7.4 isnt 'officially' on 2.6.17, I backported for fixes. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 01 August 2006, 02:13 GMT
Reason for closing: Implemented
Additional comments about closing: mkinitcpio 0.4.4
Tuesday, 01 August 2006, 02:13 GMT
Reason for closing: Implemented
Additional comments about closing: mkinitcpio 0.4.4
Tonight I _swear_ I will sit down and hammer out a few bugs.