whitelist acer 2012 wlmi

Bug #46181 reported by Emilio Scalise
14
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Suspend to ram and hibernate with acer 2012wlmi works well with ati fglrx driver and current Dapper. I had to disable vbesave, because it's not needed, and causes hard lockups with the video card after resume (both ram and disk).
I also added some services to be restarted.

The strange thing I had to do is adding the usb modules in MODULES. If I don't add them the usb mouse don't work after swsusp. After suspend to ram the mouse works well also without setting MODULES.

I've done many tests, suspending and resuming the machine. I'm using it within a week.
This is my working /etc/default/acpi-support:

# Uncomment the next line to enable ACPI suspend to RAM
ACPI_SLEEP=true

# Comment the next line to disable suspend to disk
ACPI_HIBERNATE=true

# Change the following to "standby" to use ACPI S1 sleep, rather than S3.
# This will save less power, but may work on more machines
ACPI_SLEEP_MODE=mem

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES="usbhid hiddev ehci_hcd uhci_hcd"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

# Should we save and restore state using the VESA BIOS Extensions?
SAVE_VBE_STATE=false

# The file that we use to save the vbestate
VBESTATE=/var/lib/acpi-support/vbestate

# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=true

# Save and restore video state?
# SAVE_VIDEO_PCI_STATE=true

# Should we switch the screen off with DPMS on suspend?
USE_DPMS=true

# Use Radeontool to switch the screen off? Seems to be needed on some machines
# RADEON_LIGHT=true

# Uncomment the next line to switch away from X and back again after resume.
# This is needed for some hardware, but should be unnecessary on most.
# DOUBLE_CONSOLE_SWITCH=true

# Set the following to "platform" if you want to use ACPI to shut down
# your machine on hibernation
HIBERNATE_MODE=shutdown

# Comment this out to disable screen locking on resume
LOCK_SCREEN=true

# Uncomment this line to have DMA disabled before suspend and reenabled
# afterwards
# DISABLE_DMA=true

# Uncomment this line to attempt to reset the drive on resume. This seems
# to be needed for some Sonys
# RESET_DRIVE=true

# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES="mysql sl-modem-daemon ifplugd"

# Restart Infra Red services on resume - off by default as it crashes some
# machines
RESTART_IRDA=false

# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines
ENABLE_LAPTOP_MODE=false

Revision history for this message
Ankit Jain (luckyankit) wrote :

Thanks for reporting this. I have also been struggling to make fglrx work with hibernation. This seems to be working rather well. I wonder if the final release of dapper can take into account this.

Revision history for this message
Emilio Scalise (emisca) wrote :

I'm using it as main machine, I suspend it many times per day, and it works reliably....
Good job Ubuntu developers....

Revision history for this message
Ankit Jain (luckyankit) wrote :

Actually am not able to get suspend to ram to work. I am not sure its the problem with fglrx driver in particular but whenever I try to resume after suspending I get a blank screen and display doen't lit up, even though the processor is working. I have tried many different things but it still doesn't work. Do you have any idea about this?

I am running ubuntu on dell 600m and have a ati radeon 9000 card.

Revision history for this message
emisca (emisca-email) wrote :

Have you tried with the r200 driver? It supports your card and is opensource... Perhaps, you could have problems with your bios and acpi implementation...... I don't know!

My notebook has a mobility radeon 9700.

Revision history for this message
Paul Sladen (sladen) wrote :

Emilo: Please include the output of:

  cat /var/lib/acpi-support/*-*

so we can identify your laptop. Is

  SAVE_VBE_STATE=false

the only change you have to make the the config (besides enabling Suspend)?

Changed in acpi-support:
status: Unconfirmed → Needs Info
Revision history for this message
Emilio Scalise (emisca) wrote :

emi@portatileemi:~$ cat /var/lib/acpi-support/*-*
V1.30
Acer
Aspire 2010
Aspire

Yes, I have changed, SAVE_VBE_STATE=false, modified the MODULE line (if I don't modify it the usb mouse doesn't work after suspend to disk), and modified the STOP_SERVICES line to include slmodem-daemon and ifplugd.

Bye!

Revision history for this message
Emilio Scalise (emisca) wrote :

Today I installed the last fglrx driver 8.25.18. Suspend to disk and to ram still work with the same configuration.

After the latest upgrades, the password is not asked after resume, why?

Revision history for this message
Emilio Scalise (emisca) wrote :

With the final dapper, suspend to ram, hibernation and screen lock work.

I've found a new (I don't know if is really new...): services listed in SERVICES="..." are restarted also if they are not running before hibernate. For example, if mysql is listed in services, it's started after resume even if it's disabled in the runlevel.
What packages is responsable for that behaviour?

This is my current acpi-support file:

# Uncomment the next line to enable ACPI suspend to RAM
ACPI_SLEEP=true

# Comment the next line to disable suspend to disk
ACPI_HIBERNATE=true

# Change the following to "standby" to use ACPI S1 sleep, rather than S3.
# This will save less power, but may work on more machines
ACPI_SLEEP_MODE=mem

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES="usbhid hiddev ehci_hcd uhci_hcd kqemu acerhk"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

# Should we save and restore state using the VESA BIOS Extensions?
SAVE_VBE_STATE=false

# The file that we use to save the vbestate
VBESTATE=/var/lib/acpi-support/vbestate

# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=true

# Save and restore video state?
# SAVE_VIDEO_PCI_STATE=true

# Should we switch the screen off with DPMS on suspend?
USE_DPMS=true

# Use Radeontool to switch the screen off? Seems to be needed on some machines
# RADEON_LIGHT=true

# Uncomment the next line to switch away from X and back again after resume.
# This is needed for some hardware, but should be unnecessary on most.
# DOUBLE_CONSOLE_SWITCH=true

# Set the following to "platform" if you want to use ACPI to shut down
# your machine on hibernation
HIBERNATE_MODE=shutdown

# Comment this out to disable screen locking on resume
LOCK_SCREEN=true

# Uncomment this line to have DMA disabled before suspend and reenabled
# afterwards
# DISABLE_DMA=true

# Uncomment this line to attempt to reset the drive on resume. This seems
# to be needed for some Sonys
# RESET_DRIVE=true

# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES="mysql sl-modem-daemon ifplugd postgresql-8.1"

# Restart Infra Red services on resume - off by default as it crashes some
# machines
RESTART_IRDA=false

# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines
ENABLE_LAPTOP_MODE=false

Revision history for this message
alex hardy (xstation108) wrote :

i would like to disable suspend on my acer 2200 labtop but do not have acpi-support listed (suspend keeps dropping ssh and postfix after 30-45 minutes of inactivity)

here is what locate has found please advise

/usr/bin/acpi
/usr/bin/acpi_listen
/usr/sbin/acpid
/usr/share/doc/acpi
/usr/share/doc/acpi/AUTHORS
/usr/share/doc/acpi/changelog.Debian.gz
/usr/share/doc/acpi/changelog.gz
/usr/share/doc/acpi/copyright
/usr/share/doc/acpi/README
/usr/share/doc/acpid
/usr/share/doc/acpid/changelog.Debian.gz
/usr/share/doc/acpid/changelog.gz
/usr/share/doc/acpid/copyright
/usr/share/doc/acpid/examples
/usr/share/doc/acpid/examples/ac.gz
/usr/share/doc/acpid/examples/ac.sh.gz
/usr/share/doc/acpid/examples/default.gz
/usr/share/doc/acpid/examples/default.sh.gz
/usr/share/doc/acpid/README.gz
/usr/share/man/man1/acpi.1.gz
/usr/share/man/man8/acpid.8.gz
/usr/share/man/man8/acpi_listen.8.gz
/var/cache/apt/archives/acpid_1.0.4-1ubuntu11_i386.deb
/var/lib/dpkg/info/acpi.list
/var/lib/dpkg/info/acpi.md5sums
/var/lib/dpkg/info/acpid.conffiles
/var/lib/dpkg/info/acpid.config
/var/lib/dpkg/info/acpid.list
/var/lib/dpkg/info/acpid.postinst
/var/lib/dpkg/info/acpid.postrm
/var/lib/dpkg/info/acpid.prerm
/var/lib/dpkg/info/acpid.templates
/var/log/acpid
/var/run/acpid.socket

many thanks

alex

Revision history for this message
Paul Sladen (sladen) wrote :

Alex: you have a separate issue, please report your request in a separate bug report. However, I suspect that going System->Preferences->Power Management and setting the "Put computer to sleep when idle" timer to "Never" should cure your issue.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Marking as fix released based on comment 8: All appears well with the problems originally reported.

Changed in acpi-support:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.