Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215733 (razzle) - digital out not working properly after kernel upgrade (alsa)
Summary: digital out not working properly after kernel upgrade (alsa)
Status: RESOLVED FIXED
Alias: razzle
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 17:49 UTC by Matthias
Modified: 2008-04-04 12:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2008-04-01 17:49:39 UTC
I recently upgraded from gentoo-sources 2.6.22-r2 to 2.6.24-r3 and since then my audigy 1 (emu10k1) soundcard's digital out is not working anymore like before. 
I removed asound.state, reran alsaconf and changed all sliders in alsamixer at least once to be sure. 
Following a suggestion from the gentoo forums I added this to my .asoundrc:

pcm.!default {
 type plug
 slave { pcm "spdif" }
}

This partially fixed the digital out in so far that some programs (e.g. audacious) manage to get sound out of my speakers, while mplayer requires the parameters "-ao alsa:device=spdif" in order to do the same.
However it's not possible to play two audio streams at the same time nor can I control the volume with alsamixer.
Flash applets can't be convinced to produce sound however.

Analog output works fine on the other hand. It's impossible to use the Analog/Digital Output Jack or IEC958 Optical Raw switches in alsamixer while audacious is playing though, they remain constantly enabled for the duration of the playback.

I haven't gotten dolby digital/dts passthrough to work at all since the upgrade.

Alsa is compiled as kernel modules.

Here's my /etc/conf.d/alsasound:
ENABLE_OSS_EMUL="yes"
RESTORE_ON_START="yes"
SAVE_ON_STOP="yes"


cat /proc/asound/cards 
 0 [Audigy         ]: Audigy - Audigy 1 [SB0090]
                      Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xdf00, irq 21

 cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Nov 20 19:16:42 2007 UTC).

/etc/modules.d/alsa:
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---

lsmod:
Module                  Size  Used by
snd_emu10k1_synth       6912  0 
snd_emux_synth         31360  1 snd_emu10k1_synth
snd_seq_virmidi         6528  1 snd_emux_synth
snd_seq_midi_emul       5888  1 snd_emux_synth
snd_emu10k1           125888  4 snd_emu10k1_synth
snd_util_mem            4480  2 snd_emux_synth,snd_emu10k1
snd_hwdep               8836  2 snd_emux_synth,snd_emu10k1

aplay -L:
aplay -L 
default:CARD=Audigy
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Default Audio Device
front:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Audigy,DEV=0
    Audigy 1 [SB0090], ADC Capture/Standard PCM Playback
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
Comment 1 Mike Pagano gentoo-dev 2008-04-02 18:07:03 UTC
Can you please test with the latest vanilla kernel which is vanilla-sources-2.6.25_rc8 at this point.
Comment 2 Mike Pagano gentoo-dev 2008-04-02 18:19:44 UTC
Similar bug?

http://bugzilla.kernel.org/show_bug.cgi?id=10151
Comment 3 Matthias 2008-04-04 12:29:09 UTC
(In reply to comment #2)
> Similar bug?
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=10151
> 

the suggestion in comment #10 (
http://bugzilla.kernel.org/show_bug.cgi?id=10151#c10) worked for me. Apparently shutting down alsasound and removing the modules was not enough but rebooting to single runlevel did the job.

Thanks!