Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Asus G74 woes (suspend/hibernate; keyboard lights; etc)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
christofdeluca
n00b
n00b


Joined: 19 Mar 2005
Posts: 34

PostPosted: Mon Feb 27, 2012 1:56 am    Post subject: Asus G74 woes (suspend/hibernate; keyboard lights; etc) Reply with quote

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
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Mon Feb 27, 2012 1:08 pm    Post subject: Reply with quote

For a suspend to RAM I use the pm-utils and recommend you too.
Back to top
View user's profile Send private message
christofdeluca
n00b
n00b


Joined: 19 Mar 2005
Posts: 34

PostPosted: Mon Feb 27, 2012 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Feb 28, 2012 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
christofdeluca
n00b
n00b


Joined: 19 Mar 2005
Posts: 34

PostPosted: Tue Feb 28, 2012 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Feb 28, 2012 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
christofdeluca
n00b
n00b


Joined: 19 Mar 2005
Posts: 34

PostPosted: Tue Feb 28, 2012 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Wed Feb 29, 2012 10:26 am    Post subject: Reply with quote

Try enabling Asus Notebook WMI Driver in your kernel (CONFIG_ASUS_NB_WMI)
Back to top
View user's profile Send private message
christofdeluca
n00b
n00b


Joined: 19 Mar 2005
Posts: 34

PostPosted: Wed Feb 29, 2012 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum