[Karmic] - Digital outputs missing on sound cards

Bug #421351 reported by Neil Wilson
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
Fix Released
Medium
Daniel T Chen

Bug Description

Binary package hint: pulseaudio

In the latest pulseaudio/kernel release, the sound server is not enumerating my cards properly.

The RS870 HDMI output is not picked up at all, and the Digital output on the ALC888 card is missing. All three outputs show on 'aplay -L' although the output from 'aplay -l' has changed.

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: neil 2933 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf0000000 irq 16'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,10250206,00100202 HDA:14f12c06,10250093,00100000'
   Controls : 29
   Simple ctrls : 17
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfdec000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [on]
Date: Sun Aug 30 07:08:56 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.16~test6-3-g57e1-0ubuntu2
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-8-generic x86_64

Revision history for this message
Neil Wilson (neil-aldur) wrote :
tags: added: karmic regression
Neil Wilson (neil-aldur)
description: updated
Revision history for this message
Neil Wilson (neil-aldur) wrote :

Here's the output of 'pulseaudio -vvv' prior to clearing the state directory

Revision history for this message
Neil Wilson (neil-aldur) wrote :

And afterwards

description: updated
Revision history for this message
Neil Wilson (neil-aldur) wrote :

I have the same problem with an M-Audio Transit device - the Digital outputs are not enumerated.

This is the log on hotplug.

Revision history for this message
Neil Wilson (neil-aldur) wrote :

However if the M-Audio device is present on boot, then the Digital devices are enumerated.

Revision history for this message
Neil Wilson (neil-aldur) wrote :
Revision history for this message
Neil Wilson (neil-aldur) wrote :

Debugging suggests this is ALSA related.

affects: pulseaudio (Ubuntu) → linux (Ubuntu)
Revision history for this message
Neil Wilson (neil-aldur) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: neil 4212 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf0000000 irq 16'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,10250206,00100202 HDA:14f12c06,10250093,00100000'
   Controls : 28
   Simple ctrls : 16
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfdec000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [off]
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=a1085570-586c-4eac-a7cb-52ca2f87881e
Lsusb:
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Acer Aspire 5536
Package: linux (not installed)
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-generic root=UUID=d408b188-d059-4e08-8d94-ee7307e90bd3 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-9-generic N/A
 linux-firmware 1.16
Uname: Linux 2.6.31-9-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 02/27/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.03
dmi.board.name: JV50PU
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.03:bd02/27/2009:svnAcer:pnAspire5536:pvr0100:rvnAcer:rnJV50PU:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5536
dmi.product.version: 0100
dmi.sys.vendor: Acer

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: neil 4212 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf0000000 irq 16'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,10250206,00100202 HDA:14f12c06,10250093,00100000'
   Controls : 28
   Simple ctrls : 16
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfdec000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [off]
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=a1085570-586c-4eac-a7cb-52ca2f87881e
Lsusb:
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Acer Aspire 5536
Package: linux (not installed)
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-generic root=UUID=d408b188-d059-4e08-8d94-ee7307e90bd3 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-9-generic N/A
 linux-firmware 1.16
Uname: Linux 2.6.31-9-generic x86_64
UserGroups:

dmi.bios.date: 02/27/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.03
dmi.board.name: JV50PU
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.03:bd02/27/2009:svnAcer:pnAspire5536:pvr0100:rvnAcer:rnJV50PU:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5536
dmi.product.version: 0100
dmi.sys.vendor: Acer

Neil Wilson (neil-aldur)
summary: - Regression - pulseaudio not enumerating sound cards properly
+ [Karmic] - Digital outputs missing on sound cards
affects: linux (Ubuntu) → alsa-lib (Ubuntu)
Revision history for this message
Neil Wilson (neil-aldur) wrote :

After some hefty debugging it appears that downgrading libasound2 to version 1.0.20-3ubuntu3 restores the digital outputs. The regression on 3ubuntu4.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 421351] Re: [Karmic] - Digital outputs missing on sound cards

Is this symptom reproducible using the ubuntu-audio-dev PPA version?

On Sep 5, 2009 1:40 PM, "Neil Wilson" <email address hidden> wrote:

** Summary changed:

- Regression - pulseaudio not enumerating sound cards properly

+ [Karmic] - Digital outputs missing on sound cards
** Package changed: linux (Ubuntu) => alsa-lib (Ubuntu)

-- [Karmic] - Digital outputs missing on sound cards
https://bugs.launchpad.net/bugs/421351

You received this bug notification because you are a member of Ubuntu Audio
Team, which is subscribe...

Daniel T Chen (crimsun)
Changed in alsa-lib (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
importance: Undecided → Medium
status: New → Fix Committed
Neil Wilson (neil-aldur)
Changed in alsa-lib (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Neil Wilson (neil-aldur) wrote :

The fault is still there in the PPA version.

The difference in the pulse logs is as follows.

for 3ubuntu3 I get.

D: alsa-mixer.c: Looking at profile output:iec958-stereo
D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958) (iec958-stereo)
D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open iec958:0
D: alsa-mixer.c: Profile output:iec958-stereo supported.

for 3ubuntu5~ubuntuaudiodev1 I get

D: alsa-mixer.c: Looking at profile output:iec958-stereo
D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958) (iec958-stereo)
D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)conf.c: Expand error (walk): File exists
I: (alsa-lib)confmisc.c: Unable to find definition 'cards.HDA-Intel.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
I: (alsa-lib)conf.c: function snd_func_refer returned error: No such file or directory
I: (alsa-lib)conf.c: Evaluate error: No such file or directory
I: (alsa-lib)pcm.c: Unknown PCM iec958:0

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Tried the latest version (ubuntuaudiodev3) and the digital outputs are restored.

The problem is with the configuration tree walk and the duplicate ID code. Has the problem been reported upstream?

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Sun, Sep 6, 2009 at 3:20 PM, Neil Wilson<email address hidden> wrote:
> The problem is with the configuration tree walk and the duplicate ID
> code. Has the problem been reported upstream?

Yes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-lib - 1.0.20-3ubuntu5

---------------
alsa-lib (1.0.20-3ubuntu5) karmic; urgency=low

  * debian/patches/:
    + Refresh Add-config-file-for-SB-XFi-driver.patch
    + Revert conf parsing changes (LP: #421351)

 -- Daniel T Chen <email address hidden> Sun, 06 Sep 2009 10:21:01 -0400

Changed in alsa-lib (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Wowbagger (ha87psc02) wrote :

By "Fix released" do you mean that the fix is in the main repositories, or that it is wending its way through a release process - because I updated today (11th Oct 2009) and I still get the "unable to find definition" errors for my Intal HDA Realtek ALC662's SPDIF output.

Revision history for this message
CyprianD (cypriand) wrote :

How do I get alsa-lib - 1.0.20-3ubuntu5? I'm on 1:0.9.21-0ubuntu3~~karmic~ubuntuaudiodev1 and I have this problem. Analog audio output shows up and works, digital doesn't.

Cyprian

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.