← Back to team overview

kernel-packages team mailing list archive

[Bug 1305371] Re: [Dell Inspiron 1525] suspend/resume failure

 

Same problem - after upgrading from 12.04 to 14.04, suspend works but
resume shows completely black screen and requires a hard reboot. Initial
testing seems to show that killing pulseaudio and running  rmmod
snd_hda_intel allows a successful suspend and resume.

I've been working on a script to suspend and resume pulseaudio; it
currently looks like this:

#!/bin/bash
case "$1" in
        suspend|hibernate)
                echo module usage:
                lsmod | grep ^snd_hda_intel
                echo searching for pulseaudio sessions...
                for p in /run/user/*/pulse/ ; do
                        ud=`dirname $p`
                        uid=`basename $ud`
                        echo unloading module for user $uid
                        sudo -u \#$uid PULSE_RUNTIME_PATH="$p" -i pacmd list-modules | grep -A1 'name: <module-alsa-card>' | grep 'argument:' | sed 's/^.*argument: <\(.*\)>.*$/\1/' > /var/run/pm-suspend-pa-alsa-arguments-$uid
                        sudo -u \#$uid PULSE_RUNTIME_PATH="$p" -i pacmd unload-module module-alsa-card
                done
                echo post-pulseaudio unload module usage:
                lsmod | grep ^snd_hda_intel
                rmmod snd_hda_intel
                echo pre-suspend module usage:
                lsmod | grep ^snd_hda_intel
                echo hopefully ready to suspend
                ;;
        resume|thaw)
                echo resume module usage:
                lsmod | grep ^snd_hda_intel
                modprobe snd_hda_intel
                echo post-modprobe module usage:
                lsmod | grep ^snd_hda_intel
                for p in /run/user/*/pulse/ ; do
                        ud=`dirname $p`
                        uid=`basename $ud`
                        arguments="`</var/run/pm-suspend-pa-alsa-arguments-$uid`"
                        echo loading module for user $uid
                        sudo -u \#$uid PULSE_RUNTIME_PATH="$p" -i pacmd load-module module-alsa-card $arguments
                done
                echo post-pulseaudio load module usage:
                lsmod | grep ^snd_hda_intel
                ;;
esac

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1305371

Title:
  [Dell Inspiron 1525] suspend/resume failure

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  suspend/resume failed. restart required to bring back system

  ProblemType: KernelOops
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-23-generic 3.13.0-23.45
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  Annotation: This occured during a previous suspend and prevented it from resuming properly.
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ashraf     1484 F.... pulseaudio
  Date: Thu Apr 10 06:30:00 2014
  ExecutablePath: /usr/share/apport/apportcheckresume
  Failure: suspend/resume
  HibernationDevice: RESUME=UUID=f4caffe3-3165-417b-bd56-386b8e3852b8
  InstallationDate: Installed on 2014-03-29 (11 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  InterpreterPath: /usr/bin/python3.4
  MachineType: Dell Inc. Inspiron 1525
  ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-23-generic root=UUID=26592a1f-092c-4949-9107-771865219fcd ro quiet splash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-23-generic N/A
   linux-backports-modules-3.13.0-23-generic  N/A
   linux-firmware                             1.127
  SourcePackage: linux
  Title: [Dell Inc. Inspiron 1525] suspend/resume failure
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 10/27/2009
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A17
  dmi.board.name: 0U990C
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA17:bd10/27/2009:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Inspiron 1525
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1305371/+subscriptions


References