You are not logged in.

#1 2011-01-01 09:00:06

whitethorn
Member
Registered: 2010-05-02
Posts: 153

[SOLVED]pm-utils problems, acer aspire one 721

Hi,

I got a new laptop for christmas, slowly I've been getting it up and running.  Tonight I decided to try to get suspend and hibernation working.  I followed the archwiki guide, I removed the autodetect hook and added resume hook in mkinitcpio.conf.  I've tried using a different backend uswsusp.  So far the problems have remained the same.

In pm-suspend, the netbook will turn off and the power leds will flash, when I press a button the system comes back, so the hd spins up a couple leds flash ... But the screen remains blank, I've tried typing some commands to reboot but nothing really works only a hard reset gets it going again.

In pm-hibernate.  My screen goes dark except for a "_" in the top left corner the power leds turn orange and keep flashing but the computer never goes off. 

In /var/log/pm-suspend.log I can't find any errors.  Any ideas how to get this working?

Does pm-utils have problems with laptop-mode or cpufreq? Got those running yesterday.

Last edited by whitethorn (2011-01-03 21:07:33)

Offline

#2 2011-01-02 04:22:30

whitethorn
Member
Registered: 2010-05-02
Posts: 153

Re: [SOLVED]pm-utils problems, acer aspire one 721

Alright,  I've been trying some other stuff.  I tried using a different backend.  uswusp and kernel so far nothing helps get my system back from suspend mode.  Oddly enough when I try to get it to start after suspend it freezes.  Not even magic sysrq keys work.  Still kinda wondering what the problem might be, I've also tried implementing a suspend / rewake script which disables wicd and unloads my wireless modules which also hasn't helped yet.

Any ideas?

Offline

#3 2011-01-02 15:19:16

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: [SOLVED]pm-utils problems, acer aspire one 721

Might be a problem with the graphics card/graphics driver. What card is installed in the laptop and what graphics driver are you using?

Offline

#4 2011-01-02 16:57:15

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [SOLVED]pm-utils problems, acer aspire one 721

Pm-utils has no problem with laptop-mode or cpufreq-utils.

Also, did you try this: https://wiki.archlinux.org/index.php/Ac … wer_button ?

Offline

#5 2011-01-02 21:44:06

useradded
Member
From: Edinburgh, UK
Registered: 2010-05-15
Posts: 77

Re: [SOLVED]pm-utils problems, acer aspire one 721

pogeymanz wrote:

Pm-utils has no problem with laptop-mode or cpufreq-utils.

Just to be clear here, laptop-mode and laptop-mode-tools are not the same thing.  Since 1.4.0 pm-utils has included some power-saving hooks that can conflict with some of the hooks provided by laptop-mode-tools.  For example, both pm-utils and laptop-mode-tools provide a hook for controlling laptop-mode, which is related to the rate at which the kernel writes to disk when on battery vs AC power.

So pm-utils does not conflict with laptop-mode, indeed it's one of the settings it can control, but it does (potentially) conflict with laptop-mode-tools.

Offline

#6 2011-01-02 22:19:14

whitethorn
Member
Registered: 2010-05-02
Posts: 153

Re: [SOLVED]pm-utils problems, acer aspire one 721

MadTux wrote:

Might be a problem with the graphics card/graphics driver. What card is installed in the laptop and what graphics driver are you using?

VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
It's a ati radeon mobility 4225.   

I'm currently using catalyst-daemon from aur.  Pretty much the catalyst driver with a daemon which checks on boot if the kernel was updated.

Pm-utils has no problem with laptop-mode or cpufreq-utils.
Also, did you try this: https://wiki.archlinux.org/index.php/Ac … wer_button ?

Haven't tried that yet, I didn't use it because according to the lspci my system is much different from the one in the wiki is based on intel.  I have an AMD based system.  Currently I have removed laptop-mode, I also read that pm-utils and laptop-mode-tools do have hooks for some of the same things, so I decided to first get suspend and hibernate working then continue customizing. I don't use the lid to go into sleep mode at the moment I'm running the commands from a root terminal.

Here's my lspci.  I could try installing the other kernel.

$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Acer Incorporated [ALI] Device 9602
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
03:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
06:00.0 Network controller: Broadcom Corporation Device 4357 (rev 01)

Offline

#7 2011-01-03 20:40:08

whitethorn
Member
Registered: 2010-05-02
Posts: 153

Re: [SOLVED]pm-utils problems, acer aspire one 721

So I've been doing some more research, looks like I'm not the only one with this problem.

https://bugs.launchpad.net/ubuntu/+sour … bug/642091

I think I'm gonna try to build a kernel tonight, and I'm gonna switch to the radeon driver, looks like current catalyst driver doesn't work with resume.

edit:  Found this webpage

http://www.theplatform.info/user/mateib … ernate-fix

Tried out the proposed solution, it works perfectly.  Suspend and hibernate work how they should.  No need to remove fgrlx or build a custom kernel although that might've been fun.  So this thread is solved now to figure out how to get it to suspend when I close the lid.  Gonna start a new thread.

Edit: 

Tried around a bunch and found that my problem isn't with acpi it's only with apic.  So I can now use /etc/acpi/handler.sh to control different acpi events.

Last edited by whitethorn (2011-01-04 02:59:05)

Offline

Board footer

Powered by FluxBB