No sound after suspend with Via codec (Ubuntu 12.10 64bit)

Bug #1052499 reported by Fernando Villas-Boas on 2012-09-18
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Herton R. Krzesinski
Quantal
Medium
Herton R. Krzesinski

Bug Description

Observed repeteadly in 12.10 64bit (Quantal), in a recent and fairly light fresh installation. All sound is muted after suspend, on all devices (System sounds, audio, video). [motherboard ASROCK N68C-S UCC] Never observed in previous 12.04 64bit system.
---
ApportVersion: 2.5.2-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: boxubu 1790 F.... pulseaudio
 /dev/snd/controlC0: boxubu 1790 F.... pulseaudio
 /dev/snd/pcmC0D0p: boxubu 1790 F...m pulseaudio
 /dev/snd/controlC1: boxubu 1790 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg: [ 15.122749] forcedeth 0000:00:07.0: eth0: MSI enabled
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=UUID=72e8f934-76ab-4dd2-b955-95d0ce586557
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120916)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-15-generic root=UUID=8489a22f-d595-47ac-80df-18ead9d145a9 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.5.0-15.20-generic 3.5.4
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/boxubu not ours.
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-15-generic N/A
 linux-backports-modules-3.5.0-15-generic N/A
 linux-firmware 1.92
RfKill:

Tags: quantal
Uname: Linux 3.5.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 09/19/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.60
dmi.board.name: N68C-S UCC
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.60:bd09/19/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68C-SUCC:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

affects: ubuntu-docs (Ubuntu) → ubuntu
Logan Rosen (logan) on 2012-09-18
affects: ubuntu → linux (Ubuntu)
tags: added: kernel-sound

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1052499

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: quantal

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc6-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing

apport information

tags: added: apport-collected
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

I tested the recent -15 upload and the 3.6.0rc6 packages, both have the issue of losing sound after suspend

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
summary: - no sound after suspend Ubuntu 12.10 64bit
+ No sound after suspend with Via codec (Ubuntu 12.10 64bit)
Changed in linux (Ubuntu):
assignee: nobody → Herton R. Krzesinski (herton)
Herton R. Krzesinski (herton) wrote :

It looks like the Via codec code can mute the line out outputs in some cases when the headphone jack doesn't have support to detect presence of the plug, and one of the cases is visible when resuming from suspend.

Can you do the following:

- Grab the output of /proc/asound/card0/codec#? before suspend, and after suspend, and attach the files to the bug, while running the kernel with the problem.
- Install the new kernel packages from http://people.canonical.com/~herton/lp1052499/, then test if the bug is fixed (I made a fix based on what I saw with hda-emu), also grab the output of /proc/asound/card0/codec#? before and after supend just to confirm everything is ok. Make sure you install both the linux-image and linux-image-extra debs.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Julian Taylor (jtaylor) wrote :

the patched kernel fixes the issue for me. thanks a lot.

attached the output of /proc/asound/card0/codec#0 with old and patched kernel
.pre before suspend, .post after suspend

Changed in linux (Ubuntu):
status: Incomplete → In Progress
Tim Gardner (timg-tpi) on 2012-09-26
Changed in linux (Ubuntu Quantal):
status: In Progress → Fix Committed
Bazon (bazonbloch) wrote :

 Installing the new kernel packages from http://people.canonical.com/~herton/lp1052499/ fixed it for me, too.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.5.0-16.24

---------------
linux (3.5.0-16.24) quantal-proposed; urgency=low

  [ Andy Whitcroft ]

  * SAUCE: ata_piix: add a disable_driver option
    - LP: #994870

  [ Christian König ]

  * (pre-stable) drm/radeon: make 64bit fences more robust v3 (3.5 stable)
    - LP: #1029582

  [ David Henningsson ]

  * SAUCE: ALSA: hda - use both input paths on Conexant auto parser
    - LP: #1037642
  * SAUCE: ALSA: hda - fix control names for multiple speaker out on
    IDT/STAC
    - LP: #1046734

  [ Herton Ronaldo Krzesinski ]

  * SAUCE: ALSA: hda/via - don't report presence on HPs with no presence
    support
    - LP: #1052499
  * SAUCE: ext4: fix crash when accessing /proc/mounts concurrently
    - LP: #1053019
  * SAUCE: ALSA: hda/realtek - Fix detection of ALC271X codec
    - LP: #1006690

  [ Kyle Fazzari ]

  * SAUCE: input: Cypress PS/2 Trackpad fix disabling tap-to-click
    - LP: #1048816

  [ Leann Ogasawara ]

  * [Config] Disable CONFIG_DRM_AST
    - LP: #1053290

  [ Stefan Bader ]

  * [Config] Disable the Cirrus QEMU drm driver
    - LP: #1038055

  [ Upstream Kernel Changes ]

  * Revert "KVM: VMX: Fix KVM_SET_SREGS with big real mode segments"
    - LP: #1045027
  * x86, efi: Handover Protocol
  * drm/i915: HDMI - Clear Audio Enable bit for Hot Plug
    - LP: #1056729
  * UBUNTU SAUCE: apparmor: fix IRQ stack overflow
    - LP: #1056078
  * drm/nouveau: fix booting with plymouth + dumb support
    - LP: #1043518
  * ALSA: hda - Add DeviceID for Haswell HDA
    - LP: #1057698
  * ALSA: hda - add Haswell HDMI codec id
    - LP: #1057698
  * ALSA: hda - Fix driver type of Haswell controller to AZX_DRIVER_SCH
    - LP: #1057698
  * ALSA: hda_intel: Add Device IDs for Intel Lynx Point-LP PCH
    - LP: #1011438, #1057698

  [ Wang Xingchao ]

  * SAUCE: ALSA: hda - Add another pci id for Haswell board
    - LP: #1057698

  [ Wen-chien Jesse Sung ]

  * SAUCE: drm/i915: Explicitly disable RC6 for certain models
    - LP: #1002170, #1008867
 -- Leann Ogasawara <email address hidden> Thu, 27 Sep 2012 13:55:52 -0700

Changed in linux (Ubuntu Quantal):
status: Fix Committed → Fix Released
mlaverdiere (mlaverdiere) wrote :

Despite the fix released, I experience the exact same problem, with Ubuntu 12.10 beta 2, kernel 3.5.0.17.19, with the following audio card (according to lspci): Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05).

Julian Taylor (jtaylor) wrote :

the fix still works fine for me.
You probably have a different issue. I guess you should open a new bug.

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers