I needed to upgrade to kernel 3.9.3 to get Ubuntu fully working on my HP 530; How to fix black screen after update to 13.04 in a HP 530?
However, the laptop doesn't shutdown anymore or hangs when it is going in standby. I did some research and I found this kernel patch which wil solve the problem: https://bugzilla.kernel.org/show_bug.cgi?id=58401#c6
However, I don't know how to apply the patch? Just copy-paste the text in the terminal gives errors. Can somebody help me?