Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 05-23-2014, 04:48 AM   #1
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 199

Rep: Reputation: 16
Suspend function on Acer c720, Debian sid, xfce

Hi All,

Having difficulty with fixing suspend/hibernate functions on Acer c720 running Debian sid (Kernel = 3.13-1-amd64).

There are various approaches to fix these functions on chrubuntu, archlinux etc, but not so much for Debian. Have tried various recipes:

From here:

NB: This works for the first time suspend is used, but the mouse freezes the next time "log out" is selected in the applications menu. Can get around that with the keyboard, but There are endless error messages that prevent the machine from ever shutting down cleanly.

from here:

and from here:

(The part entitled: "another solution that may work for Debian")

The present set of fixes is as follows:

/etc/rc.local is executable. It looks like this:


#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.
sleep 2
echo 93 > /sys/class/backlight/intel_backlight/brightness
echo EHCI > /proc/acpi/wakeup
echo HDEF > /proc/acpi/wakeup
echo XHCI > /proc/acpi/wakeup
echo LID0 > /proc/acpi/wakeup
echo TPAD > /proc/acpi/wakeup
echo TSCR > /proc/acpi/wakeup
exit 0


/etc/pm/sleep.d/05_sound is executable. It looks like this:


# File: "/etc/pm/sleep.d/05_Sound".
mods=( btusb bnep ath3k rfcomm bluetooth )
case "${1}" in
#stop bluetooth service
service bluetooth stop

#unload bluetooth modules
for m in "${mods[@]}"
/sbin/rmmod $m

# Unbind ehci for preventing error
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/unbind
# Unbind snd_hda_intel for sound
echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/unbind
# Bind ehci for preventing error
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/bind
# Bind snd_hda_intel for sound
echo -n "0000:00:1b.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind
echo -n "0000:00:03.0" | tee /sys/bus/pci/drivers/snd_hda_intel/bind

#load bluetooth modules
for m in "${mods[@]}"
/sbin/modprobe $m

#start bluetooth service
service bluetooth start

And I also made a copy of this file in the same directory, named 05_Sound (with a capital S), also executable.

Finally, in the file /etc/default/grub I amended the LINUX_DEFAULT line to read:

GRUB_CMDLINE_LINUX_DEFAULT="quiet tpm_tis.interrupts=0 modprobe.blacklist=ehci_hcd,ehci_pci nmi_watchdog=0 "

and then ran:

$ sudo update-grub2


The result is that both suspend and hibernate do the same thing, which is just to lock the screen.

Any thoughts?

Thanks in advance...

Old 05-26-2014, 05:09 AM   #2
Registered: Jul 2006
Location: Qld
Distribution: Debian sid, Ubuntu
Posts: 199

Original Poster
Rep: Reputation: 16
Well not exactly "SOLVED", but a solution that gets the result.

the programs s2ram and s2disk (I think they are part of the uswsuspend package, which had to be installed) seem to work okay although neither locks the screen on resume by itslef.

Altered sudoers so that the commands sudo /usr/sbin/s2ram and sudo /usr/sbin/s2disk don't require any password, then placed the following little scripts into two desktop launchers:

For suspend:

sudo /usr/sbin/s2ram

And for hibernate:

sh sudo /usr/sbin/s2disk

So it is a single click on an icon to suspend or hibernate, and the machine wakes back up with the screen locked.

Bluetooth and sound both seem to be operating fine after resume/chill. When there is a lot of data to image, the second hibernate attempt fails (due to the limited swap size, I imagine). Have not tried wifi.

I am surprised this works - too cheap. Maybe the old scripts /etc/rc.local and /etc/pm/sleep.d/05_sound, which were intended to fix the known hardware issues, are still getting run. If anyone knows, please post here.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bluetooth not loading on Acer c720 with Debian aal Linux - Laptop and Netbook 3 04-27-2014 11:11 PM
[SOLVED] How to upgrade libc6 on Acer c720 to get touchpad working after installing Debian? aal Linux - Laptop and Netbook 7 04-24-2014 08:09 AM
LXer: Acer C720 - The Perfect Little Linux PC LXer Syndicated Linux News 0 02-12-2014 06:00 AM
Debian sid in acer aspire 6530G sieira Linux - Laptop and Netbook 3 03-30-2009 09:56 PM
Xfce 4.6 Suspend and Hibernate Function does not work properly with my notebook. phys Slackware 2 03-09-2009 06:46 PM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration