You are not logged in.

#1 2011-02-27 01:18:53

cshake
Member
Registered: 2007-12-19
Posts: 18

[NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

I recently got one of these netbooks because of the AMD C-50 chip and installed Arch x86-64 (required using the latest version of Archboot, the 2011.02_02 testiso segfaulted during boot and the 2010.05 official doesn't have a new enough kernel for the ethernet or wifi chips). As a side note, AIF forgets to add cryptdevice= lines to grub.cfg if you use luks, that caused some hair pulling until I found the problem.

I'm all up and running on the desktop (Xfce4), but still have 2 major problems to sort out: suspend and sound, but I'll keep this thread just to suspend. (sound works, but not through the headphone jack)

The problem is yet again the "black screen on resume", it suspends fine but won't get back to the desktop. I verified that the system does wake up and the kernel is responsive by logging in through ssh - full functionality. The screen comes on with the backlight, but is just black. I'm using the xf86-video-ati drivers (it's a HD 6250 card), and haven't had any other visual problems with them, except the white screen of death when attempting to run compiz-fusion (so I went back to just the Xfce4.6 built-in compositor).

I looked at uswsusp based on a bunch of old forum posts, but didn't install it because a) it's marked as deprecated, and b) the kernel already wakes up fine. I also checked top when ssh'd in to it after a resume, and no processes were taking any real amount of processor - the xfce4-cpugraph-plugin was sitting in the tray and using 0-1% as expected. That also indicated that X was back up and running, it just wasn't displaying. As expect with ssh working, /var/log/pm-suspend.log shows no problems. "resume" is in the mkinitcpio hooks. I've tried both X and windows-style three finger salutes (really every combination of shift, ctrl, alt, bksp, and del) after the screen comes up black, with no response except the system beep starts sounding after a while.

I haven't tried working on hibernating and have no plans to anytime soon, since I use lvm on luks and the swap partition is in the lvm. I tried once just for kicks, it went first to a sort of sleep where the power LED went orange for a second or two, then back to power-on with a blank screen and tons of HD activity (seemingly saving state to swap), then turned off. Upon power on, it went through the normal power on cycle, the only difference from normal boot was that partitions showed incomplete shutdown and had to restore journals.

Has anyone else run into this, and possibly has a fix?


Edit: Seems I've found other problems with the video driver, switching to virtual consoles just shows a blank screen with no prompt, then switching back to vc7 (X) showed the screen wrapped halfway around horizontally (my left side panel was int the middle, etc). A second set of switching to consoles and back to vc7 just brings up a white screen with some glitches at the top, no cursor or anything. Every time I go back and forth is shows a different type of screen glitch, and eventually it goes back to working. Maybe I'll have to go for the catalyst drivers after all.

Edit Nov 2011: back to non-solved at request of another poster.

Last edited by cshake (2011-11-26 19:01:37)

Offline

#2 2011-02-27 03:35:14

cshake
Member
Registered: 2007-12-19
Posts: 18

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

After switching to the catalyst drivers, compiz works, but the system still fails to resume from standby.
I did what was suggested this post with extracting the official driver and copying the new files into the /etc/ati/ folder without running the full installer, but that didn't make any difference (the catalyst-hook package in AUR didn't give me a version with the "unsupported hardware" thing in the first place though). What happens now on resume is that the backlight doesn't even try to turn on, but the kernel still wakes up and everything else is working.

Here's the entirety of everything.log from initiating sleep until a few minutes after trying to wake up: (weirdly the timestamp doesn't change between sleeping and waking, though I left it 10-15 seconds in sleep)

Feb 26 22:09:59 localhost kernel: PM: Syncing filesystems ... done.
Feb 26 22:09:59 localhost kernel: PM: Preparing system for mem sleep
Feb 26 22:09:59 localhost kernel: Freezing user space processes ... (elapsed 0.01 seconds) done.
Feb 26 22:09:59 localhost kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Feb 26 22:09:59 localhost kernel: PM: Entering mem sleep
Feb 26 22:09:59 localhost kernel: Suspending console(s) (use no_console_suspend to debug)
Feb 26 22:09:59 localhost kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: PCI INT A disabled
Feb 26 22:09:59 localhost kernel: sd 0:0:0:0: [sda] Stopping disk
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:13.2: PCI INT B disabled
Feb 26 22:09:59 localhost kernel: ohci_hcd 0000:00:13.0: PCI INT A disabled
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:12.2: PCI INT B disabled
Feb 26 22:09:59 localhost kernel: ohci_hcd 0000:00:12.0: PCI INT A disabled
Feb 26 22:09:59 localhost kernel: [fglrx] IRQ 42 Disabled
Feb 26 22:09:59 localhost kernel: [fglrx] Preparing suspend fglrx in kernel.
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:01.1: PCI INT B disabled
Feb 26 22:09:59 localhost kernel: ACPI handle has no context!
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:14.2: PCI INT A disabled
Feb 26 22:09:59 localhost kernel: [fglrx] Suspending fglrx in kernel completed.
Feb 26 22:09:59 localhost kernel: [fglrx] Power down the ASIC .
Feb 26 22:09:59 localhost kernel: ahci 0000:00:11.0: PCI INT A disabled
Feb 26 22:09:59 localhost kernel: PM: suspend of devices complete after 701.056 msecs
Feb 26 22:09:59 localhost kernel: PM: late suspend of devices complete after 40.870 msecs
Feb 26 22:09:59 localhost kernel: ACPI: Preparing to enter system sleep state S3
Feb 26 22:09:59 localhost kernel: PM: Saving platform NVS memory
Feb 26 22:09:59 localhost kernel: Disabling non-boot CPUs ...
Feb 26 22:09:59 localhost kernel: CPU 1 is now offline
Feb 26 22:09:59 localhost kernel: SMP alternatives: switching to UP code
Feb 26 22:09:59 localhost kernel: Back to C!
Feb 26 22:09:59 localhost kernel: PM: Restoring platform NVS memory
Feb 26 22:09:59 localhost kernel: Enabling non-boot CPUs ...
Feb 26 22:09:59 localhost kernel: SMP alternatives: switching to SMP code
Feb 26 22:09:59 localhost kernel: Booting Node 0 Processor 1 APIC 0x1
Feb 26 22:09:59 localhost kernel: NMI watchdog enabled, takes one hw-pmu counter.
Feb 26 22:09:59 localhost kernel: CPU1 is up
Feb 26 22:09:59 localhost kernel: ACPI: Waking up from system sleep state S3
Feb 26 22:09:59 localhost kernel: fglrx_pci 0000:00:01.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100403)
Feb 26 22:09:59 localhost kernel: ahci 0000:00:11.0: restoring config space at offset 0x1 (was 0x2300003, writing 0x2300007)
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:12.2: BAR 0: set to [mem 0xf054a000-0xf054a0ff] (PCI address [0xf054a000-0xf054a0ff])
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:12.2: restoring config space at offset 0x1 (was 0x2b00000, writing 0x2b00013)
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:13.2: BAR 0: set to [mem 0xf0548000-0xf05480ff] (PCI address [0xf0548000-0xf05480ff])
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:13.2: restoring config space at offset 0x1 (was 0x2b00000, writing 0x2b00013)
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.0: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.2: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.3: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
Feb 26 22:09:59 localhost kernel: atl1c 0000:06:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
Feb 26 22:09:59 localhost kernel: atl1c 0000:06:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
Feb 26 22:09:59 localhost kernel: atl1c 0000:06:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0100004)
Feb 26 22:09:59 localhost acpid: client 3606[0:0] has disconnected
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
Feb 26 22:09:59 localhost kernel: PM: early resume of devices complete after 26.240 msecs
Feb 26 22:09:59 localhost kernel: fglrx_pci 0000:00:01.0: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:01.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:01.1: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:01.1: irq 40 for MSI/MSI-X
Feb 26 22:09:59 localhost kernel: ahci 0000:00:11.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
Feb 26 22:09:59 localhost kernel: ohci_hcd 0000:00:12.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Feb 26 22:09:59 localhost kernel: ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Feb 26 22:09:59 localhost kernel: ehci_hcd 0000:00:13.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Feb 26 22:09:59 localhost kernel: HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.0: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.2: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.3: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 26 22:09:59 localhost kernel: pci 0000:00:15.3: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
Feb 26 22:09:59 localhost kernel: [fglrx] Power up the ASIC
Feb 26 22:09:59 localhost kernel: brcm80211 0000:07:00.0: setting latency timer to 64
Feb 26 22:09:59 localhost kernel: [fglrx] Preparing resume fglrx in kernel.
Feb 26 22:09:59 localhost kernel: sd 0:0:0:0: [sda] Starting disk
Feb 26 22:09:59 localhost kernel: [fglrx] Resuming fglrx in kernel completed.
Feb 26 22:09:59 localhost kernel: [fglrx] IRQ 42 Enabled
Feb 26 22:09:59 localhost kernel: atl1c 0000:06:00.0: irq 41 for MSI/MSI-X
Feb 26 22:09:59 localhost kernel: usb 2-1: reset high speed USB device using ehci_hcd and address 2
Feb 26 22:09:59 localhost kernel: elantech: retrying ps2 command 0xe6 (2).
Feb 26 22:09:59 localhost kernel: elantech: retrying ps2 command 0xf8 (2).
Feb 26 22:09:59 localhost kernel: elantech: retrying ps2 command 0xf8 (1).
Feb 26 22:09:59 localhost kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Feb 26 22:09:59 localhost kernel: ata1.00: configured for UDMA/133
Feb 26 22:09:59 localhost kernel: wl_ops_set_rts_threshold: Enter
Feb 26 22:09:59 localhost kernel: Associated:    True
Feb 26 22:09:59 localhost kernel: PM: resume of devices complete after 3750.421 msecs
Feb 26 22:09:59 localhost kernel: PM: Finishing wakeup.
Feb 26 22:09:59 localhost kernel: Restarting tasks ... done.
Feb 26 22:09:59 localhost kernel: video LNXVIDEO:00: Restoring backlight state
Feb 26 22:10:00 localhost logger: ACPI action undefined: ACAD
Feb 26 22:10:00 localhost laptop-mode: Laptop mode 
Feb 26 22:10:00 localhost laptop-mode: enabled, 
Feb 26 22:10:00 localhost logger: ACPI action undefined: BAT1
Feb 26 22:10:00 localhost acpid: client connected from 3606[0:0]
Feb 26 22:10:00 localhost acpid: 1 client rule loaded
Feb 26 22:10:00 localhost laptop-mode: not active [unchanged]
Feb 26 22:10:00 localhost logger: ACPI action undefined: BAT1
Feb 26 22:10:00 localhost laptop-mode: Laptop mode 
Feb 26 22:10:00 localhost laptop-mode: enabled, 
Feb 26 22:10:00 localhost laptop-mode: not active [unchanged]
Feb 26 22:10:56 localhost dhcpcd[3708]: wlan0: renewing lease of 192.168.2.161
Feb 26 22:10:56 localhost dhcpcd[3708]: wlan0: acknowledged 192.168.2.161 from 192.168.2.1
Feb 26 22:10:56 localhost dhcpcd[3708]: wlan0: leased 192.168.2.161 for 1800 seconds
Feb 26 22:12:34 localhost logger: PowerButton pressed: PWRF
Feb 26 22:13:00 localhost kernel: [fglrx] ASIC hang happened
Feb 26 22:13:00 localhost kernel: Pid: 3606, comm: X Tainted: P         C  2.6.37-ARCH #1
Feb 26 22:13:00 localhost kernel: Call Trace:
Feb 26 22:13:00 localhost kernel: [<ffffffffa02ce8e9>] KCL_DEBUG_OsDump+0x9/0x10 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa02dbccc>] firegl_hardwareHangRecovery+0x1c/0x50 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa035a799>] ? _ZN4Asic9WaitUntil15ResetASICIfHungEv+0x9/0x10 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa035a74c>] ? _ZN4Asic9WaitUntil15WaitForCompleteEv+0x6c/0xb0 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa035f64c>] ? _ZN8AsicR60012IO_QuietdownEv+0x2c/0x40 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa0358e4a>] ? _ZN15ExecutableUnits10CPRingIdleE15idle_WaitMethod12_QS_CP_RING_+0xfa/0x1a0 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa0363b47>] ? _ZN11AsicCypress21initializeMicroEngineEv+0x147/0x160 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa0358cfb>] ? _ZN15ExecutableUnits7PM4idleE15idle_WaitMethod+0x4b/0x90 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa03589e6>] ? _ZN15ExecutableUnits9assertPM4Eb+0x56/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa0360aa0>] ? _ZN8AsicR6009assertPM4Eb+0x40/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa02f8490>] ? firegl_cmmqs_enableqs+0x0/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa03361f4>] ? CMMQS_ReinitializeHardware+0x44/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa02f93e0>] ? firegl_cmmqs_Enable_QS+0x70/0x110 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffff810625ce>] ? capable+0xe/0x40
Feb 26 22:13:00 localhost kernel: [<ffffffffa02f84a2>] ? firegl_cmmqs_enableqs+0x12/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa02f8490>] ? firegl_cmmqs_enableqs+0x0/0x70 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffffa02d791a>] ? firegl_ioctl+0x1ea/0x250 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffff81036278>] ? do_page_fault+0x1c8/0x4c0
Feb 26 22:13:00 localhost kernel: [<ffffffffa02c9519>] ? ip_firegl_unlocked_ioctl+0x9/0x10 [fglrx]
Feb 26 22:13:00 localhost kernel: [<ffffffff81146415>] ? do_vfs_ioctl+0x95/0x540
Feb 26 22:13:00 localhost kernel: [<ffffffff8110bf8e>] ? remove_vma+0x4e/0x70
Feb 26 22:13:00 localhost kernel: [<ffffffff8110d534>] ? do_munmap+0x2e4/0x360
Feb 26 22:13:00 localhost kernel: [<ffffffff81146941>] ? sys_ioctl+0x81/0xa0
Feb 26 22:13:00 localhost kernel: [<ffffffff8100bed2>] ? system_call_fastpath+0x16/0x1b
Feb 26 22:13:00 localhost kernel: pubdev:0xffffffffa04fe1c0, num of device:1 , name:fglrx, major 8, minor 82. 
Feb 26 22:13:00 localhost kernel: device 0 : 0xffff88010a5e4000 .
Feb 26 22:13:00 localhost kernel: Asic ID:0x9804, revision:0x22, MMIOReg:0xffffc90004100000.
Feb 26 22:13:00 localhost kernel: FB phys addr: 0xe0000000, MC :0xf00000000, Total FB size :0x10000000.
Feb 26 22:13:00 localhost kernel: gart table MC:0xf0fc57000, Physical:0xefc57000, size:0x39c000.
Feb 26 22:13:00 localhost kernel: mc_node :FB, total 1 zones
Feb 26 22:13:00 localhost kernel: MC start:0xf00000000, Physical:0xe0000000, size:0x10000000.
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x0, size:0xfc57000, reference count:26, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x0, size:0x1000000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xfc57000, size:0x39d000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xfff4000, size:0xc000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: mc_node :GART_USWC, total 2 zones
Feb 26 22:13:00 localhost kernel: MC start:0x3b420000, Physical:0x0, size:0x48000000.
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x20000, size:0x2000000, reference count:6, mapping count:0,
Feb 26 22:13:00 localhost kernel: mc_node :GART_CACHEABLE, total 3 zones
Feb 26 22:13:00 localhost kernel: MC start:0x10400000, Physical:0x0, size:0x2b020000.
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x4900000, size:0x300000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x3200000, size:0x1400000, reference count:4, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x1800000, size:0x100000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x1500000, size:0x300000, reference count:2, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x1200000, size:0x300000, reference count:2, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x1100000, size:0x100000, reference count:3, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x1000000, size:0x100000, reference count:2, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xf00000, size:0x100000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xe00000, size:0x100000, reference count:2, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xa00000, size:0x400000, reference count:6, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x600000, size:0x400000, reference count:3, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x200000, size:0x400000, reference count:3, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0x0, size:0x200000, reference count:6, mapping count:0,
Feb 26 22:13:00 localhost kernel: Mapped heap -- Offset:0xef000, size:0x11000, reference count:1, mapping count:0,
Feb 26 22:13:00 localhost kernel: GRBM : 0xa0003828, SRBM : 0x20008040 .
Feb 26 22:13:00 localhost kernel: CP_RB_BASE : 0x3b4400, CP_RB_RPTR : 0x10 , CP_RB_WPTR :0x10.
Feb 26 22:13:00 localhost kernel: CP_IB1_BUFSZ:0x0, CP_IB1_BASE_HI:0x0, CP_IB1_BASE_LO:0x0.
Feb 26 22:13:00 localhost kernel: last submit IB buffer -- MC :0x0. Can't found mapped physical page for this MC .
Feb 26 22:13:00 localhost kernel: Dump the trace queue.
Feb 26 22:13:00 localhost kernel: End of dump

I pressed the power button after a minute to see if that did anything, as you can see in there, but it didn't do anything.

Xorg wakes up fine, this is the end of Xorg.0.log.old after rebooting with a hard reset:

[   887.344] (II) AIGLX: Suspending AIGLX clients for VT switch
[   887.347] (II) fglrx(0): Backup framebuffer data.
[   887.355] (II) fglrx(0): Backup complete.
[   893.770] (II) Open ACPI successful (/var/run/acpid.socket)
[   893.770] (II) AIGLX: Resuming AIGLX clients after VT switch
[   893.853] (II) fglrx(0): Restore framebuffer data.
[   893.857] (II) fglrx(0): Restore complete.
[   893.892] (II) fglrx(0): UVD feature is enabled(II) fglrx(0): 

As before, any suggestions?

Last edited by cshake (2011-02-27 03:51:09)

Offline

#3 2011-02-27 22:52:17

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

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

I had a similar problem, I haven't tried suspending or hibernating in a while.  So I'm not sure if this still works. I got suspend and hibernate to work by adding "noapic" to the kernel parameters in /etc/defaults/grub or to /boot/grub/menu.lst depending on what version of grub your using.  I found this in a post on ubuntuforums according to them your supposed to add "noapic noacpi". I tried around and it worked fine with just noapic.

Offline

#4 2011-03-01 01:28:41

cshake
Member
Registered: 2007-12-19
Posts: 18

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

whitethorn: I tried 'noapic' but it made the kernel not recognize my sata hard drive (Momentus XT), so that's a no-go.

I installed uswsusp and tried every possible combination of options for s2ram with the official fglrx driver, to no avail, and even DummyXServer and all that in hibernate-script. So, I went back to the open drivers to run through s2ram with them, as a sort of last ditch effort.

Lo and behold, `s2ram -f -a 1` works perfectly with xf86-video-ati, so I'm back to using that now. Hopefully the problems with it will be fixed in an update eventually (switching to virtual consoles or setting the runlevel back down to 3 blanks the screen, and in the case of going down to init 3 makes it unusable except through ssh, and Compiz throws a white screen of death). Since this is a kernel command to s2ram instead of an entirely userspace one, I could theoretically go back to not using s2ram, but since I have to use OSS for sound right now I'd rather stick to s2ram because it handles the sound shutdown/restart easily.

So, for anyone who finds this thread and has the same problems, I'll detail what I've had to do to get this laptop model working (all with the latest software versions available in the arch repositories and/or AUR as of this posting):

How to get Arch working on an Acer AO522

Sound:
Sound card: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] -- Conexant CX 20584

  • ALSA with conexant drivers works with internal speakers, but does not send to headphone jack

  • OSSv4 doesn't recognize the card and throws warnings about unknown card, but works through internal speaker and headphone jack. Internal speaker is left channel only, jack sensing doesn't work (no auto-mute), but I sent int-speaker to pcm2 to mute it manually and just use the headphone jack anyway, so it works fine

I haven't done any real tests of audio input yet - ossxmix shows channels for input and all that, but the gnome sound recorder throws errors when I try to record. It's not really important to me, so that's not high on my priority list to figure out.

Video:
Video card: Integrated ATI Radeon™ HD 6250

  • ATI Proprietary drivers (tested with catalyst-hook and catalyst-utils from AUR): Nearly everything except suspend/resume works perfectly. The kernel resumes fine after a suspend, but the video is blank and eventually throws an "ASIC hang detected" and dumps in kernel.log from fglrx. It requires setting s3_bios on the kernel boot line (or s2ram -a1 or any of the userspace switches) for it to turn the backlight back on at all. When switching to a virtual console, the first console you go to (via ctrl+alt+F[1-6]) will corrupt keyboard input by dropping every other letter or doing other weird things, so login is impossible. Switching from that vc to another with just alt+F[1-6] brings up a console that works perfectly. This may be an Xorg thing though.

  • Open drivers (xf86-video-ati): Suspends and resumes fine when s3_bios is set on the kernel boot line (or s2ram -a1), but switching from X to a virtual console or going back to runlevel 3 from 5 will show a blank screen with no cursor. If still in init:5, switching back to vc7 with alt+F7 will work 1 out of 5 times or so, with the other times showing nasty video glitches or just a white screen. Compiz dies with a white screen when started with fusion-icon (fglrx driver works with compiz with no config changes), so you'll need to use another wm (xfwm4 works great for me, the only thing I wanted from compiz was the hot corner for showing application windows and it's not that important)

Requires acpi_sleep=s3_bios to be set on the grub kernel boot line for either video driver, or use of uswsusp

Wireless Networking:
Wifi card: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

  • brcm80211 module, probably auto-detected by udev but I specified it manually. Everything works, but requires kernel 2.6.37 so that means installing from Archboot instead of the official 2010.05 CD which uses an older kernel.

Wired Ethernet:
Ethernet card: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)

  • atl1c module, also probably auto-detected by udev but I specified it manually. As with wifi, everything works but requires kernel 2.6.37 or higher, so the 2010.05 install CD doesn't see it (meaning if you boot the official CD, you'll have no networking support at all on this laptop!)

Anything not listed above:
I didn't have to do anything special, it just worked

Last edited by cshake (2011-03-01 01:32:02)

Offline

#5 2011-07-23 18:37:27

nullstring
Member
Registered: 2011-07-23
Posts: 14

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

I am having very similar suspend issues with my Acer Aspire One 720 (ao720)

Have you made any progress getting suspend to work for fglrx?

Offline

#6 2011-10-14 13:08:25

nicoadamo
Member
From: Argentina
Registered: 2011-03-23
Posts: 12

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

Why is the thread marked as "Solved" ? Me and the guy who posted below are having problems with suspend, and the solution explained (acpi_sleep=ac3_bios) doesn't work as expected.
There is also a bug reported at launchpad (it is about the AMD chip e350, but it's from the same Fusion family):
https://bugs.launchpad.net/archlinux/+bug/767975

Last edited by nicoadamo (2011-11-26 19:04:42)

Offline

#7 2011-11-26 19:00:33

cshake
Member
Registered: 2007-12-19
Posts: 18

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

nicoadamo wrote:

Why is the thread marked as "Solved" ? My and the guy who posted below are having problems with suspend, and the solution explained (acpi_sleep=ac3_bios) doesn't work as expected.
There is also a bug reported at launchpad (it is about the AMD chip e350, but it's from the same Fusion family):
https://bugs.launchpad.net/archlinux/+bug/767975

I marked it as solved because it was working for me as of my above post. I'll mark it as non-solved because it doesn't work (last I checked) with the fglrx driver, but if you see my above post I have a netbook that suspends and resumes fine, so that's "solved" in my book. The post before yours also uses a different model netbook, though I don't know the difference in hardware between them.

The broadcom wifi drivers still kernel panic randomly, but that's not a suspend issue.

Offline

#8 2011-11-26 19:07:35

nicoadamo
Member
From: Argentina
Registered: 2011-03-23
Posts: 12

Re: [NON-SOLVED/Workaround] Acer Aspire One 522 (AO522) suspend issues

Thanks for changing the Thread's Name!!
Not very sure about hardware differences, but I believe they're not many... My notebook is Gateway brand, which is part of Acer. And all micros where the problem is observed are AMD Fusion.

Offline

Board footer

Powered by FluxBB