
Originally Posted by
RR123RR
With this modification (according to the address I found in lsusb -v):
Code:
+EHCI_BUSES="0000:00:1d.0"
-EHCI_BUSES="0000:00:1a.0 0000:00:1d.0"
+XHCI_BUSES="0000:03:00.0"
-XHCI_BUSES="0000:04:00.0"
I get my ssh prompt back after resume instead of a total crash but I'm still not getting my screen back... any idea?
I followed the instructions and used your addresses.
I also did what Shakabra did.
I have also installed the jupiter power management tool..
My suspend and resume apparently works properly now - but only when plugged in. When on battery only the video goes wild on resume.
I slightly patched the script to reapply disabling of tap-to-click.. so I have:
in /etc/pm/sleep.d/20_zenbook_ux31
Code:
#!/bin/sh
EHCI_BUSES="0000:00:1d.0"
XHCI_BUSES="0000:03:00.0"
case "${1}" in
hibernate|suspend)
# Switch USB buses off
for bus in $EHCI_BUSES; do
echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/unbind
done
for bus in $XHCI_BUSES; do
echo -n $bus | tee /sys/bus/pci/drivers/xhci_hcd/unbind
done
;;
resume|thaw)
# Switch USB buses back on
for bus in $EHCI_BUSES; do
echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/bind
done
for bus in $XHCI_BUSES; do
echo -n $bus | tee /sys/bus/pci/drivers/xhci_hcd/bind
done
# Disable touch-to-tap on Zenbook touchpad
echo -n 0x90 0x80 > /sys/devices/platform/i8042/serio4/setreg
echo -n c > /sys/devices/platform/i8042/serio4/flags
;;
esac
and in /etc/pm/config.d/unload_module
Code:
SUSPEND_MODULES="xhci_hcd"
And as mentioned, I have the jupiter power management tool running..
When I shut the lid, it suspends and the power LED blinks in a similar way to how I recall it did under Windows7.. when I open the lid, I get the good ol' lock-screen prompt.
Anyone able to reproduce this?
EDIT: The video sometimes goes haywire when resuming with the power connected.. so there's still something odd going on
Bookmarks