Okay, the patch already was in the kernel source (release 2.6.20-9) and it is 
also enabled in linux-image-2.6.20-9-generic. However it does not seem to help 
for this problem.
I also disabled the libata_piix driver completely, so the PATA only piix was 
used again, but resuming still did not work.

The following procedure fixed the problem for me:
1. Disable the libata_piix kernel module (CONFIG_ATA_PIIX)
2. Apply the patch from 
http://marc.theaimsgroup.com/?l=linux-ide&m=116916643921306 , one line of the 
patch fails, it can easily be patched manually (just a line in the IDE makefile)
3. Activate the new CONFIG_BLK_DEV_IDEACPI kernel option
4. Compile and install the kernel and create a matching Initrd 
(update-initramfs)

Standby now works like before and the new kernel finally fixes bug
#21574 (speakers do not work after suspending).

Unfortunately I have no idea how this could make its way into Feisty. Disabling 
libata_piix is probably not an option, since it also covers Intel SATA 
controllers, which are not covered by the plain old piix driver. Still, the IDE 
ACPI patch should be added! This (or a similiar) patch has been in Ubuntu 
kernels for some time now and I cannot understand why it was not applied to the 
new Feisty kernels anymore.
The right way probably is to fix this libata ACPI code. I think that there is 
some function that is needed on this HP notebooks during resume, that the new 
libata ACPI functions do not call yet. However I don't think that this could 
make its way into Feisty, could it? Unfortunately I don't have the time to get 
into kernel development in the moment :-(

-- 
regression: suspend does not work on hp nw8240 with feisty
https://launchpad.net/bugs/74877

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to