![]() ![]() The script can have any name, but to ensure the load order, use the prefix 20_Īdd the execution permission: sudo chmod 755 /etc/pm/sleep.d/20_suspend-ehci-hcd Sudo nano /etc/pm/sleep.d/20_suspend-ehci-hcd Paste the script in /etc/pm/sleep.d/20_suspend-ehci-hcd and save it To fix the suspension and hibernation bug you can use the 20_suspend-ehci-hcd script (also tested working in Ubuntu 11.10 & 14.04):ġ # ! / bin / sh 2 # 3 # Suspend and Hibernate Fix Script 4 # 5 # Credits: Cuong Tham 6 7 TMPLIST_E=/ tmp/ ehci- dev- list 8 TMPLIST_X=/ tmp/ xhci- dev- list 9 E_DIR=/ sys/ bus/ pci/ drivers/ ehci_hcd 10 X_DIR=/ sys/ bus/ pci/ drivers/ xhci_hcd 11 E_BIND=$ E_DIR " "/ bind 12 E_UNBIND=$ E_DIR " "/ unbind 13 X_BIND=$ X_DIR " "/ bind 14 X_UNBIND=$ X_DIR " "/ unbind 15 16 unbindDev() " in 35 hibernate| suspend) 36 unbindDev $ TMPLIST_E $ E_DIR $ E_UNBIND 37 unbindDev $ TMPLIST_X $ X_DIR $ X_UNBIND 38 39 resume| thaw) 40 bindDev $ TMPLIST_E $ E_BIND 41 bindDev $ TMPLIST_X $ X_BIND 42 43 esac This section will guide you through fixing bug or enable functionalities which doesn't work out of the box. Use at your own risk.įixing or enabling notebook functionalities I make no guarantees, nor take any responsibility for any consequences following the use of this wiki page. This wiki is intended to help to fix problems related to Ubuntu and the Asus N53SV, but may be applicable to other models, such as the Asus N73 and N61 Series, where hardware specifications overlap. ![]() Fixing or enabling notebook functionalities. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |