Two ACPI questions (before upgrading)

Xurxo Fernández Gismero xurxo13 at terra.es
Tue May 6 16:45:55 UTC 2008


Hi,
I want to upgrade to 8.04 but I have some problems I need to solve.
1) There was some discussion about ubuntu shortening the life of hard
disks due to high frequency of load/unload cycles. It was solved
creating a script with the line hdparm -B 255 /dev/sda
in /etc/acpi/suspend.d resume.d and start.d

2) The keyboard/mouse of the laptop wasn't working after suspending to
ram. Workaround was to create scripts in /etc/acpi/resume.d and
suspend.d to unbind/bind a specific module:
...if [ -f /sys/bus/platform/drivers/i8042/bind ]; then
  echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind fi...

Suspend workaround is not working in Hardy and I read in a previous post
that the reason is that Hardy uses pm-utils scripts under /etc/pm now.

- Is the HD spinning bug still in hardy? Should I place the script in a
folder in /etc/pm?
- Can I solve the resuming/suspend bug copying the binding/unbinding
somewhere in /etc/pm? Does anyone know where? /etc/pm/suspend.d and
resume.d? 

Thanks in advance. 






More information about the ubuntu-users mailing list