View previous topic :: View next topic |
Author |
Message |
christofdeluca n00b
Joined: 19 Mar 2005 Posts: 34
|
Posted: Mon Feb 27, 2012 1:56 am Post subject: Asus G74 woes (suspend/hibernate; keyboard lights; etc) |
|
|
Just picked up a shiney new laptop, and I'm having problems making certain things work, as the title says, suspend/hibernate, the backlights on the keyboard, certain function keys, control+alt+delete, there's a small laundry list going on. If there's any gurus out there that can lend me a hand, I'd appreciate it! |
|
Back to top |
|
|
ultraincognito Guru
Joined: 03 Jun 2011 Posts: 346 Location: Ukraine
|
Posted: Mon Feb 27, 2012 1:08 pm Post subject: |
|
|
For a suspend to RAM I use the pm-utils and recommend you too. |
|
Back to top |
|
|
christofdeluca n00b
Joined: 19 Mar 2005 Posts: 34
|
Posted: Mon Feb 27, 2012 4:10 pm Post subject: |
|
|
I just barely got pm-hibernate to work, there's a switch in the bios to keep powering the usb bus that was causing it to hang on hibernate. pm-suspend fails still. |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Feb 28, 2012 5:39 pm Post subject: |
|
|
Some asus have bug with hibernation.
Try this, this has solve my problem and hibernation/suspend work fine
Create a file /etc/pm/sleep.d/20_custom-ehci_hcd
Code: | #!/bin/sh
TMPLIST=/tmp/ehci-dev-list
case "${1}" in
hibernate|suspend)
echo -n '' > $TMPLIST
for i in `ls /sys/bus/pci/drivers/ehci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
# Unbind ehci_hcd for first device XXXX:XX:XX.X:
echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
echo "$i" >> $TMPLIST
done
;;
resume|thaw)
for i in `cat $TMPLIST`; do
# Bind ehci_hcd for first device XXXX:XX:XX.X:
echo -n "$i" | tee /sys/bus/pci/drivers/ehci_hcd/bind
done
rm $TMPLIST
;;
esac |
chmod +x 20_custom-ehci_hcd |
|
Back to top |
|
|
christofdeluca n00b
Joined: 19 Mar 2005 Posts: 34
|
Posted: Tue Feb 28, 2012 10:19 pm Post subject: |
|
|
Sweet! Works like a charm! You don't know how to get the keyboard backlight and the function keys working, do you? |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Feb 28, 2012 11:10 pm Post subject: |
|
|
For hotkey enable "Asus Laptop Extras" as module in your kernel.
For keyboard backlight, try enabling "ASUS WMI Driver".
Look here http://acpi4asus.sourceforge.net/ |
|
Back to top |
|
|
christofdeluca n00b
Joined: 19 Mar 2005 Posts: 34
|
Posted: Tue Feb 28, 2012 11:30 pm Post subject: |
|
|
They both are enabled.
Code: | mjolnir linux # cat /usr/src/linux/.config | grep ASUS
CONFIG_USB_PEGASUS=m
CONFIG_ASUS_LAPTOP=m
CONFIG_ACPI_ASUS=m
|
The acpi4asus has been merged into the kernel since 2.6 something. And they don't load.
Code: | mjolnir linux # modprobe asus_laptop
FATAL: Error inserting asus_laptop (/lib/modules/3.2.6-gentoo/kernel/drivers/platform/x86/asus-laptop.ko): No such device
|
|
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Wed Feb 29, 2012 10:26 am Post subject: |
|
|
Try enabling Asus Notebook WMI Driver in your kernel (CONFIG_ASUS_NB_WMI) |
|
Back to top |
|
|
christofdeluca n00b
Joined: 19 Mar 2005 Posts: 34
|
Posted: Wed Feb 29, 2012 10:55 am Post subject: |
|
|
Ahh. Jeeze. It wasn't there on the list because I didn't have pci hotplugging enabled. I feel like a fool now. Thank you!@ |
|
Back to top |
|
|
|