Two ACPI questions (before upgrading)

Derek Broughton news at
Wed May 7 01:07:28 UTC 2008

Xurxo Fernández Gismero wrote:

> 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

Still seems somewhat debatable that there's a problem...
> 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

Which one, and how do you know?

> 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?

I'm sure you can if necessary, but I'd suspect that there's a better chance
that the i8042 driver is working properly.

More information about the ubuntu-users mailing list