Public bug reported:

Binary package hint: linux-image-2.6.22-14-generic

I know that there have been other bugs and fixes concerning sound
problems after a Feisty=>Gutsy upgrade, but this one seems different.

First, I'll give a summary of what I know, and then, I'll give lots of
supporting detail.

The summary:

After upgrading from Feisty to Gutsy on my Dell XPS 410 under kubuntu,
my sound stopped working completely,  No error messages are ever
generated, and every sound-related app behaves as if it's working.
However, no sound is produced.  This involves kernel 2.6.22-14-generic.
However, if I reboot under the older, 2.6.20-16-generic kernel with all
configuration unchanged, the sound starts working again.

The detail (also appears in this thread:
http://ubuntuforums.org/showthread.php?t=592782):

First of all, everything I am describing here was done under the
2.6.22-14-generic kernel.

To start my diagnosis, I did everything pertinent that's described in
these two pages, but nothing worked:

1. Comprehensive Sound Solution Guide:
    http://ubuntuforums.org/showthread.php?t=205449&highlight=gutsy+no+sound
2. Debugging Sound Problems:
    https://help.ubuntu.com/community/DebuggingSoundProblems

Also, I ran the ALSA Sound Information Script, and its output is posted
here: http://pastebin.ca/750760

I ran this command and got the following results:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

>From this, I assume that my sound device is snd_hda_intel.  Here's the
"Audio" section of the appropriate lscpi output:

$ lspci -vvnn
...
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller [8086:284b] (rev 02)
        Subsystem: Dell Unknown device [1028:01db]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at dffdc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
...

Why am I getting "<access denied>"?  To investigate this, I checked user
and device driver permissions:

$ ls -l /dev/*snd*
wxrwxrwx 1 root root  24 Oct 26 14:26 /dev/sndstat -> /proc/asound/oss/sndstat

/dev/snd:
total 0
crw-rw---- 1 root audio 116, 8 Oct 26 14:26 controlC0
crw-rw---- 1 root audio 116, 7 Oct 26 14:26 hwC0D2
crw-rw---- 1 root audio 116, 6 Oct 26 14:26 pcmC0D0c
crw-rw---- 1 root audio 116, 5 Oct 26 14:26 pcmC0D0p
crw-rw---- 1 root audio 116, 4 Oct 26 14:26 pcmC0D1p
crw-rw---- 1 root audio 116, 3 Oct 26 14:26 seq
crw-rw---- 1 root audio 116, 2 Oct 26 14:26 timer

$ ls -l /dev/*dsp*
crw-rw---- 1 root audio 14, 12 Oct 26 14:26 /dev/adsp
crw-rw---- 1 root audio 14,  3 Oct 26 14:26 /dev/dsp

I want to make sure that my user ID is permitted to use audio.  I'm
running as user "hippo", and this is the appropriate entry in
/etc/group:

audio:x:29:hippo

That looks OK, and so I ran some more appropriate commands:

$ tail -2 /proc/asound/oss/sndstat
Mixers:
0: SigmaTel STAC9227

$ modinfo snd_hda_intel
filename:       
/lib/modules/2.6.22-14-generic/updates/sound/pci/hda/snd-hda-intel.ko
description:    Intel HDA driver
license:        GPL
srcversion:     7C05112D0C9214E90DF6E16
alias:          pci:v000010DEd00000777sv*sd*bc*sc*i*
alias:          pci:v000010DEd00000776sv*sd*bc*sc*i*
alias:          pci:v000010DEd00000775sv*sd*bc*sc*i*
alias:          pci:v000010DEd00000774sv*sd*bc*sc*i*
alias:          pci:v000010DEd000007FDsv*sd*bc*sc*i*
alias:          pci:v000010DEd000007FCsv*sd*bc*sc*i*
alias:          pci:v000010DEd0000055Dsv*sd*bc*sc*i*
alias:          pci:v000010DEd0000055Csv*sd*bc*sc*i*
alias:          pci:v000010DEd0000044Bsv*sd*bc*sc*i*
alias:          pci:v000010DEd0000044Asv*sd*bc*sc*i*
alias:          pci:v000010DEd000003F0sv*sd*bc*sc*i*
alias:          pci:v000010DEd000003E4sv*sd*bc*sc*i*
alias:          pci:v000010DEd00000371sv*sd*bc*sc*i*
alias:          pci:v000010DEd0000026Csv*sd*bc*sc*i*
alias:          pci:v000010B9d00005461sv*sd*bc*sc*i*
alias:          pci:v00001039d00007502sv*sd*bc*sc*i*
alias:          pci:v00001106d00003288sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA00sv*sd*bc*sc*i*
alias:          pci:v00001002d0000960Csv*sd*bc*sc*i*
alias:          pci:v00001002d00007919sv*sd*bc*sc*i*
alias:          pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00004383sv*sd*bc*sc*i*
alias:          pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias:          pci:v00008086d0000293Fsv*sd*bc*sc*i*
alias:          pci:v00008086d0000293Esv*sd*bc*sc*i*
alias:          pci:v00008086d0000284Bsv*sd*bc*sc*i*
alias:          pci:v00008086d0000269Asv*sd*bc*sc*i*
alias:          pci:v00008086d000027D8sv*sd*bc*sc*i*
alias:          pci:v00008086d00002668sv*sd*bc*sc*i*
depends:        snd-pcm,snd-page-alloc,snd,snd-hwdep,snd
vermagic:       2.6.22-14-generic SMP mod_unload 586
parm:           power_save:Automatic power-saving timeout (in second, 0 = 
disable). (int)
parm:           index:Index value for Intel HD audio interface. (int)
parm:           id:ID string for Intel HD audio interface. (charp)
parm:           model:Use the given board model. (charp)
parm:           position_fix:Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 
= FIFO size). (int)
parm:           probe_mask:Bitmask to probe codecs (default = -1). (int)
parm:           single_cmd:Use single command to communicate with codecs (for 
debugging only). (bool)
parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (int)
parm:           power_save_controller:Reset controller in power save mode. 
(bool)
parm:           enable:bool

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 0 [0%] [-95.25dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',2
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Swap Center/LFE',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
fuse
snd-hda-intel

I ran alsamixer, and it shows all the controls and gives me no errors. I
set Master, PCM, Front, Surround, Center, LFE, and Side to 100%, and I
still don't hear anything.  In other words, this is not a case of the
sound simply being muted.

Just in case, I rebuilt my kernel as described in the "Getting the ALSA
drivers from a *fresh* kernel" section of the "Comprehensive Sound
Problems Solutions Guide" (link number 1 near the beginning of this bug
description). I also uninstalled and reinstalled linux-sound-base, alsa-
base, and alsa-utils, also as decribed in that guide. None of those
things helped, either.

Also, in ROM BIOS, my sound card is turned on.

When I try to do anything that involves sound, such as play a music
file, the program always indicates no error, and the program's console
output always states that the sound is happily playing without any
problem.

It's as if my sound card is correctly accepting all input passed to it,
but simply not generating any output.

After doing all this testing, and without changing any configuration, I
rebooted under 2.6.20-16-generic.  The sound works perfectly under that
kernel.

This leads me to believe that this is a kernel-specific problem in
2.6.22-14-generic.  My wild guess is that there is something in that
kernel that tells my sound card to mute itself in some way.

Anyway, thanks to all of you for looking into this.

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No sound at all after Gutsy upgrade
https://bugs.launchpad.net/bugs/157730
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to