Hi,
I have a Asus UX31E laptop and this (below) is one of the fixes for
it. I have NO idea how to go about it. Can some one please give
step by step advice.
The source of the following is:
https://help.ubuntu.com/community/As...ok#BIOS_Update
Suspend, Hibernate, Shut-down and Reboot
The kernel USB 3.0 (and sometimes 2.0) modules needs to be unloaded before suspending, and in kernels prior to 3.1 X also needs to disable/enable DPMS to get the screen back on resume. Save the following script as /etc/pm/sleep.d/20_zenbook (and make it executable):
IconsPage/warning.png If this workaround not used, there have been reports that the laptop's memory controller setting may be screwed. After an incorrect suspend, if the corruption happens, many memory blocks starting with ~1G will be corrupt. Good way to see it is to use "memtest86+". The only way to fix controller setting is to open the case and plug off the battery. Please note that on this ultrabook the battery is not a user serviceable part and this could mean that by opening you can get your warranty void! If you start Windows or Linux with a corrupted controller, you will get system crashes or/and damaged file system. More info here:
https://bugzilla.kernel.org/show_bug.cgi?id=42728 and
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/962798
For kernel 3.1 or newer (Ubuntu 12.04 LTS):
EHCI_BUSES="0000:00:1a.0 0000:00:1d.0"
case "${1}" in
hibernate|suspend)
# Switch USB buses off
for bus in $EHCI_BUSES; do
echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/unbind
done
;;
resume|thaw)
# Switch USB buses back on
for bus in $EHCI_BUSES; do
echo -n $bus > /sys/bus/pci/drivers/ehci_hcd/bind
done
;;
esac
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So how do you put this in a script file and make it executable so that it
runs each time the computer starts up? Does it still run if one uses a different desktop other than say Gnome? Will it work under em, XFCE or KDE?
Thanks heaps for the kind help.