[Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

Bug #400682 reported by Jamie Strandboge
96
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Daniel T Chen
Karmic
Fix Released
Medium
Daniel T Chen
Lucid
Fix Released
Medium
Daniel T Chen

Bug Description

I can't tell if this is a duplicate or not, but yesterday running an up to date Jaunty everything was fine, then I upgraded to Karmic (via update-manager -d), rebooted and there is no sound. I tried unmuting things with alsamixer and the gnome mixer, stopping and starting pulseaudio, removing ~/.pulse but nothing worked. :( I'm not sure where to go from here as I don't know the sound stack very well.

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5821 f.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,80862008,00100201'
   Controls : 32
   Simple ctrls : 22
Date: Fri Jul 17 08:36:11 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.15-4ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-3-generic x86_64

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
description: updated
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] [NEW] No sound after upgrade from Jaunty to Karmic

Can you hear output from "speaker-test -c2 -Dplug:front"?

On Jul 17, 2009 9:55 AM, "Jamie Strandboge" <email address hidden> wrote:

Public bug reported:

Binary package hint: pulseaudio

I can't tell if this is a duplicate or not, but yesterday running an up
to date Jaunty everything was fine, then I upgraded to Karmic (via
update-manager -d), rebooted and there is no sound. I tried unmuting
things with alsamixer and the gnome mixer, stopping and starting
pulseaudio, removing ~/.pulse but nothing worked. :( I'm not sure where
to go from here as I don't know the sound stack very well.

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5821 f.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
  Mixer name : 'SigmaTel STAC9227'
  Components : 'HDA:83847618,80862008,00100201'
  Controls : 32
  Simple ctrls : 22
Date: Fri Jul 17 08:36:11 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.15-4ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-3-generic x86_64

** Affects: pulseaudio (Ubuntu)
    Importance: Undecided
        Status: New

** Tags: amd64 apport-bug

--
No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682
You received this bug notification because you are a member of Ubuntu
Audio Team, which is subscribed to pulseaudio in ubuntu.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: No sound after upgrade from Jaunty to Karmic

I have been using karmic for some time now and I used to have sound. Yesterday, I updated the system and now the sound is no longer working on reboot. I think it may be related to this bug (although it is not an upgrade from Jaunty) because I have the same audio card.

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
 Subsystem: Dell Device [1028:0209]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 21
 Region 0: Memory at f6dfc000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Cannot hear anything from "speaker-test -c2 -Dplug:front".

Pulseaudio was updated yesterday I believe:

pulseaudio (1:0.9.15-4ubuntu2)
SECURITY UPDATE: root escalation from BIND_NOW re-execution.
0040-do-not-exec-for-bindnow.patch: use -Wl,-z,now instead of performing a racey re-exec.
CVE-2009-1894

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Reverting to pulseaudio 0.9.14-0ubuntu20 did not fix the problem on my laptop. I don't think pulseaudio is the problem, at least not for me.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I reverted gstreamer to 0.10.23 too but it still did not help.

However, I noticed that I have sound with mplayer. It seems like only gnome apps are affected maybe.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Please ignore my messages. My sound is back. It turns out it was simply a sound settings problem. Apparently my PCM level was reset to 0 (probably by one of the updates?).

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Unfortunately, no sound:

$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632573
 0 - Front Left
 1 - Front Right
Time per period = 5.973476
 0 - Front Left
 1 - Front Right
Time per period = 5.973441
 0 - Front Left
 1 - Front Right
Time per period = 5.978433
 0 - Front Left
 1 - Front Right
Time per period = 5.968532
 0 - Front Left
 1 - Front Right
Time per period = 5.973472
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Download full text (4.0 KiB)

I had tried looking at PCM before and while it was zero at one point, raising it I still don't have sound.

$ amixer scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 62 [97%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 53 [83%] [-8.25dB] [on]
  Front Right: Playback 53 [83%] [-8.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 233 [91%] [-4.40dB]
  Front Right: Playback 233 [91%] [-4.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 56 [88%] [-6.00dB] [on]
  Front Right: Playback 56 [88%] [-6.00dB] [on]
Simple mixer control 'Front Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 61 [95%] [-2.25dB] [on]
  Front Right: Playback 61 [95%] [-2.25dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Line Out'
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Mic In'
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'ADAT' 'Analog Mux 1' 'Analog Mux 2' 'Analog Mux 3'
  Item0: 'Digital Playback'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 10 [71%] [15.00dB] [on]
  Front Right: Capture 10 [71%] [15.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] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
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 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilitie...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 10:10 AM, Jamie Strandboge<email address hidden> wrote:
> Playback open error: -16,Device or resource busy

Something has already grabbed hw:0. Try:

pkill pulseaudio; speaker-test -c2 -Dplug:front

(See also sudo fuser -v /dev/dsp* /dev/snd/*)

Both 'Center' and 'LFE' are also muted, but I have not looked at your
codec output yet.

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

Hmmm, still no sound. pkill pulseaudio wasn't good enough cause pulseaudio kept restarting. I saw this in .xsession-errors:
** (gnome-volume-control-applet:5093): WARNING **: Connection failed, reconnecting...

** (gnome-volume-control-applet:5093): WARNING **: Unable to get default source

I did have a volume control applet open and then one in the notification area. I removed the applet, then fiddled with the notification area one. Eventually it went away and I got this in .xsession-errors:
** (gnome-volume-control:18676): WARNING **: Unable to find stream for bar
Assertion 'pa_atomic_load(&(c)->_ref) >= 1' failed at pulse/ext-stream-restore.c:202, function pa_ext_stream_restore_write(). Aborting.

At this point I could kill pulseaudio and it wouldn't restart. So I did:
$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632618
 0 - Front Left
 1 - Front Right
...

After this, I noticed that pulseaudio had restarted itself. I checked /var/log/user.log and see:
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

So this seems it is likely it, but I don't know how to proceed. Please advise. Thanks!

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 5:04 PM, Jamie Strandboge<email address hidden> wrote:
> Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Those messages are not related to your audio being muted, however.

Try disabling autospawn temporarily:
echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&
speaker-test -c2 -Dplug:front

(To revert to stock behavior, just rm ~/.pulse/client.conf)

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

Ok, that worked to stop autospawn, but still no sound:

$ echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&
> speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632583
 0 - Front Left
 1 - Front Right
Time per period = 5.973461
 0 - Front Left
 1 - Front Right
Time per period = 5.973476
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

Have you tried removing the state file? I think I missed a step when I let
you know on irc. You need:

sudo /sbin/alsa force-unload && sudo rm /var/lib/alsa/asound.state

then reboot

On Jul 18, 2009 9:00 PM, "Jamie Strandboge" <email address hidden> wrote:

Ok, that worked to stop autospawn, but still no sound:

$ echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&

> speaker-test -c2 -Dplug:front

speaker-test 1.0.20 Playback device is plug:front Stream parameters are
48000Hz, S16_LE, 2 channels...

Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384
Period size range from 32...
Time per period = 5.632583

0 - Front Left 1 - Front Right
Time per period = 5.973461

0 - Front Left 1 - Front Right
Time per period = 5.973476

0 - Front Left 1 - Front Right
...

-- No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682 You receive...

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

The output of your request is:
$ sudo /sbin/alsa force-unload && sudo rm /var/lib/alsa/asound.state
[sudo] password for jamie:
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Terminating processes: 4557lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc).

This didn't unload all the modules, so I did the force-unload again before the reboot:
$ sudo /sbin/alsa force-unload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc.

After logging in on reboot, still no sound:
$ ps auxww|grep pulse
jamie 5120 0.0 0.0 7340 892 pts/0 S+ 22:22 0:00 grep pulse
$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 11:27 PM, Jamie Strandboge<email address hidden> wrote:
> After logging in on reboot, still no sound:

What does "amixer -Dhw:0" report? Are you using analog speakers or
headphones connected via the jack?

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic
Download full text (8.0 KiB)

$ amixer -Dhw:0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 52 [81%] [-9.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 52 [81%] [-9.00dB] [on]
  Front Right: Playback 52 [81%] [-9.00dB] [on]
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 - 64
  Mono:
  Front Left: Playback 52 [81%] [-9.00dB] [on]
  Front Right: Playback 52 [81%] [-9.00dB] [on]
Simple mixer control 'Front Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [off]
  Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Line Out'
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Mic In'
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'ADAT' 'Analog Mux 1' 'Analog Mux 2' 'Analog Mux 3'
  Item0: 'Digital Playback'
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] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
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 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  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.00d...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sun, Jul 19, 2009 at 9:04 AM, Jamie Strandboge<email address hidden> wrote:
> I am using analog speakers connected to the input jack on the front of
> the computer. This was previously controlled by 'Front' in Jaunty

To avoid overloading the term "input", do you mean the front
microphone ("input") jack, or do you mean the headphone out jack? If
the former, see:

> Simple mixer control 'Mic Jack Mode',0
>  Capabilities: enum
>  Items: 'Mic In' 'Line In' 'Line Out'
>  Item0: 'Mic In'

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

I'm sorry. The front of the computer has two jacks-- a microphone and a headphone. The speakers are connected to the headphone jack. This jack showed up as 'Front' in the mixer in Jaunty.

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

To help pinpoint whether this is a driver regression, please try model=ref:

sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Still no sound. As before, I had to run /sbin/alsa force-unload twice to unload all the modules. Here is the output:

$ sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Terminating processes: 4512lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc).
[1]
$ sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc.

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632245
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I'm not sure why this is still Incomplete, as I think I gave everything asked of me.

That said, I decided to boot into kernel 2.6.28-13.45-generic (ie, Jaunty's kernel) on my up to date Karmic system, and I have sound with:
$ paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

Thanks; we'll need to git bisect next.

On Jul 21, 2009 8:00 PM, "Jamie Strandboge" <email address hidden> wrote:

I'm not sure why this is still Incomplete, as I think I gave everything
asked of me.

That said, I decided to boot into kernel 2.6.28-13.45-generic (ie, Jaunty's
kernel) on my up to date Karmic system, and I have sound with:
$ paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg

-- No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682 You receive...

Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Triaged
assignee: nobody → Daniel T Chen (crimsun)
summary: - No sound after upgrade from Jaunty to Karmic
+ [Karmic regression] No sound after upgrade from Jaunty to Karmic
summary: - [Karmic regression] No sound after upgrade from Jaunty to Karmic
+ [Karmic stac927x regression] No sound after upgrade from Jaunty to
+ Karmic
affects: pulseaudio (Ubuntu) → linux (Ubuntu)
tags: added: regression-potential
Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

As Daniel knows, I tried several kernels going back to http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.6/ and still no sound.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I am out of town, but when I get home I'll run 'apport-collect -p linux' and verify against the -5 kernel.

description: updated
tags: added: kernel-sound
Revision history for this message
draoi99 (draoi99) wrote :

This bug affects me too - same soundcard:

card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I have good sound in the speakers but no sound from the headphone jack. This was always the case for me in all previous releases so I used to add

options snd-hda-intel model=vaio

to /etc/modprobe.d/alsa-base.conf

I tried that again this time but still no sound from the headphones. I have a Sony Vaio VGN-FZ21M

.

Revision history for this message
Jamie Strandboge (jdstrand) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5664 F.... pulseaudio
 /dev/snd/pcmC0D0p: jamie 5664 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,80862008,00100201'
   Controls : 32
   Simple ctrls : 22
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=f17af5ae-d165-4d03-9443-5fea4eeb5d6c
Package: linux (not installed)
ProcCmdLine: root=UUID=027f6784-68b4-4dad-8387-c5319fedda74 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-5-generic N/A
 linux-firmware 1.15
RfKill:

Uname: Linux 2.6.31-5-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse kqemu kvm libvirtd lpadmin plugdev pulse pulse-access sbuild scanner video
WpaSupplicantLog:

dmi.bios.date: 08/04/2006
dmi.bios.vendor: Intel Corp.
dmi.bios.version: CO96510J.86A.4462.2006.0804.2059
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ965GF
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD41676-400
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrCO96510J.86A.4462.2006.0804.2059:bd08/04/2006:svn:pn:pvr:rvnIntelCorporation:rnDQ965GF:rvrAAD41676-400:cvn:ct2:cvr:

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
tags: added: apport-collected
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Still no sound with 2.6.31-5.24-generic

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

On Tue, Aug 11, 2009 at 6:09 PM, Jamie Strandboge<email address hidden> wrote:
> Still no sound with 2.6.31-5.24-generic

See http://kernel.ubuntu.com/git?p=dtchen/ubuntu-karmic.git;a=shortlog;h=refs/heads/audio-fixes

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

Please try the udev-related and pulseaudio-related packages in the
~ubuntu-audio-dev PPA.

On Aug 11, 2009 6:15 PM, "Jamie Strandboge" <email address hidden> wrote:

Still no sound with 2.6.31-5.24-generic

--
[Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

https://bugs.launchpad.net/bugs/400682

You received this bug notification because you are a bug assignee. Status in
“linux” package in Ubu...

I can't tell if this is a duplicate or not, but yesterday running an up to
date Jaunty everything wa...

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

I tried udev and pulseaudio from the PPA and still no sound. I have not tried a kernel with the above git commit though-- is that available somehwere?

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Added the following to /etc/modprobe.d/hda-model-test.conf and rebooted, but still no sound:
options snd-hda-intel enable_msi=1

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

On Sat, Aug 15, 2009 at 1:24 PM, Jamie Strandboge<email address hidden> wrote:
> Added the following to /etc/modprobe.d/hda-model-test.conf and rebooted, but still no sound:
> options snd-hda-intel enable_msi=1

Please first test without enable_msi=1.

http://kernel.ubuntu.com/~dtchen/test-kernels/jack/README.Source.asc
http://kernel.ubuntu.com/~dtchen/test-kernels/jack/SHA512SUMS.asc

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

Unfortunately, these kernels did not work with or without enable_msi=1.

$ cat /proc/version_signature
Ubuntu 2.6.31-6.26~~ubuntuaudiodev1-generic

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

Ok, so using enable_msi=1, please dump then attach here the contents of
/proc/asound/card*/codec* under the following conditions (make sure you have
disabled pulse's autospawn, i.e., echo autospawn = no|tee -a
~/.pulse/client.conf):

1) from a fresh boot (cold power cycle), log in on tty1 not from gdm, and
with headphones unplugged, use speaker-test -c2 -Dplughw:0

2) repeat (1) with headphones plugged

On Aug 16, 2009 7:35 PM, "Jamie Strandboge" <email address hidden> wrote:

Unfortunately, these kernels did not work with or without enable_msi=1.

$ cat /proc/version_signature
Ubuntu 2.6.31-6.26~~ubuntuaudiodev1-generic

--
[Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

https://bugs.launchpad.net/bugs/400682

You received this bug notification because you are a bug assignee. Status in
“linux” package in Ubu...

I can't tell if this is a duplicate or not, but yesterday running an up to
date Jaunty everything wa...

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

$ cat /proc/version_signature
Ubuntu 2.6.31-6.26~~ubuntuaudiodev1-generic

$ cat /etc/modprobe.d/hda-model-test.conf
options snd-hda-intel enable_msi=1

On a cold boot with pulseaudio set to not autospawn, logging in to tty1, with the speakers plugged into the back of the computer (ie 'not' headphones) and doing speaker-test -c2 -Dplughw:0 I heard white noise alternating between the left and right speakers. The test called it 'pink noise' but what I heard sounded like the ocean (without the undulations).

On a cold boot with pulseaudio set to not autospawn, logging in to tty1, with the speakers plugged into the front of the computer (ie 'with' headphones) and doing speaker-test -c2 -Dplughw:0 I heard nothing, even though the test said it was alternating between speakers.

Attached is the output of /proc/asound/card*/codec* from both of those runs.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Hopeful that the rear audio jack would work, I reenabled pulseaudio, rebooted and logged in and had the login sound. Interestingly, 'paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg' just hung. 'aplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg' resulted in horrible screeching noises.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Should mention rhythmbox does work though.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

On Mon, Aug 17, 2009 at 9:53 AM, Jamie Strandboge<email address hidden> wrote:
> 'aplay
> /usr/share/sounds/ubuntu/stereo/desktop-login.ogg' resulted in horrible
> screeching noises.

Right, aplay requires PCM input. At least we're making progress; it
seems the (alsa, via linux) pin-out config has regressed, so in this
case it's not a PA issue. I'll look further this evening when I'm off
work.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Derek (bugs-m8y) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

alsamixer was listing me as having this chipset so I googled. Sure 'nuff, I'm not the only one with issues after the karmic upgrade.

For some reason volume control is controlling the master channel, badly, (it properly registers raising/lowering in alsamixer, from 0 to 100% but if I use the gnome sound control to go from 100% to 0% to 100% it goes from 100% to 0% to 38% according to alsamixer, all the while showing 100% in the gnome control).

Additionally, volume control doesn't really work since all of a sudden all sound is going through some minor channel I had initially had muted called "Speaker 3" - the main volume control doesn't appear to control it at all.

If I unmute that I can control volume with alsamixer, but that's hardly convenient. Wiping ~/.pulse w/ pulse killed didn't help.

The hardware is reported in the gnome control panel as "Internal Audio 1 Input/1 Output" - there is no option to change outputs.

There are a number of other profiles, none of which offer an "Input" option, and anyway if I switch to them the output gets screwed up. Changes from "Internal Audio Stero" to "Null" when I do so, and doesn't work again until I restart pulse.

I'm guessing from this and the extensive debugging on this thread that support for this device is hopelessly mucked up.

So, guess I'm just going to lurk here and watch for developments.
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
SigmaTel STAC9227

Revision history for this message
Derek (bugs-m8y) wrote :

Now for no obvious reason after latest update and reboot a completely different channel (Center) is being used.
Master still doesn't work, adjusting volume still gets random results.

Revision history for this message
Andrius Štikonas (stikonas) wrote :

It seems that I have the same issue. If you need a tester on this (even recompiling the kernel), feel free to ask me.

Revision history for this message
Andrius Štikonas (stikonas) wrote :

I made some progress on this:
I downloaded:
http://git.alsa-project.org/?p=alsa.git;a=blob_plain;f=hda-analyzer/run.py;hb=HEAD
Then on page codec-0 there is GPIO section. I enabled checkbox enable[0] and sound started working.
I have absolutely no idea why this worked but at least I have sound now.
Can anyone reproduce the same behavior?

(And pluging my headphones did not turn off the speakers.)

Revision history for this message
Andrius Štikonas (stikonas) wrote :
Revision history for this message
Andrius Štikonas (stikonas) wrote :
Changed in linux (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Andrius Štikonas (stikonas) wrote :
Daniel T Chen (crimsun)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
summary: - [Karmic stac927x regression] No sound after upgrade from Jaunty to
+ [Karmic stac9227 regression] No sound after upgrade from Jaunty to
Karmic
Revision history for this message
Daniel T Chen (crimsun) wrote :

Jamie, I'm pretty busy the rest of this week, so if you have time to build from my git tree, the minimal fix is in http://kernel.ubuntu.com/git?p=dtchen/ubuntu-karmic.git;a=commitdiff;h=e4103061735f86d58ec5fd4f5811f65a6da1621d

This is a backport of changeset af6ee302020101bd16c7224c2b03a5fb36e17d99 from sound-2.6.git.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Analog Output continues to work fine bug Analog Headphones does not. This is after applying the above patch to 2.6.31-10.34.

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

Jamie, have you gotten a chance to test the latest commits in http://kernel.ubuntu.com/git?p=dtchen/ubuntu-karmic.git;a=shortlog;h=refs/heads/lp400682 ?

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I tried to build this against 10.35 with these patches applied in this order:
ece38231e54244be3fecdc5820b8e3188fec3f81
eae8954b7581724583870eb9ed184a7a590ad132
0bf501ba97e50697628dce458b41f8343e7d0cf4
9ea9b92ddfd37a0247815f56f4bb44e40cbba230

But the kernel FTBFS:
  CC [M] sound/pci/hda/patch_sigmatel.o
/home/jamie/ubuntu/sbuild/kernel/linux-2.6.31/sound/pci/hda/patch_sigmatel.c: In function 'stac92xx_init':
/home/jamie/ubuntu/sbuild/kernel/linux-2.6.31/sound/pci/hda/patch_sigmatel.c:4265: error: request for member 'hp_pins' in something not a structure or union
make[6]: *** [sound/pci/hda/patch_sigmatel.o] Error 1
make[5]: *** [sound/pci/hda] Error 2
make[4]: *** [sound/pci] Error 2
make[3]: *** [sound] Error 2

Changed in linux (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Reset status to 'In Progress' as the committed changes do not fix it for me (yet).

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

Sorry, brown paperbag bug. Fixed in commit 80abe54.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I tried with this commit too and it compiled fine. Rebooting into this kernel showed no change. Headphone out does not work. I used the PulseAudio Volume Control to make sure it wasn't muted and it was not. I then plugged the speakers into the regular output (non-headphone) and it works fine. Marking back to In Progress for now.

Changed in linux (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote :

Have we tested this with the latest karmic kernel? If not it might be worth doing so. Also does the latest upstream 2.6.32-rc3 kernel from the mainline kernel archive work for you?

Revision history for this message
Pete Graner (pgraner) wrote :

We have created a new package which contains the latest alsa. The latest alsa seems to have fixed a few problems that are similar to this. Could you please install linux-backports-modules-alsa and retest then report back to the bug.

Thanks

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Headphone output still doesn't work. Plugging the speakers into the front headphone jack, I went to Applications/Sound and Video/PulseAudio Volume Control, then set 'port' to 'Analog Headphones'. It is not muted and shows sound when playing an ogg file, but no sound comes through the speakers.

Plugging the speakers into the back of the computer and selecting 'Analog Output' in PulseAudio Volume Control produces sound (everything else looks the same as when selecting 'Analog Headphones').

$ cat /proc/version_signature
Ubuntu 2.6.31-14.46-generic
$ dpkg -l|grep alsa | awk '{print $1, $2, $3 }'
ii alsa-base 1.0.20+dfsg-1ubuntu5
ii alsa-utils 1.0.20-2ubuntu5
ii bluez-alsa 4.51-0ubuntu2
ii gstreamer0.10-alsa 0.10.25-2
ii libesd-alsa0 0.2.41-5
ii libsdl1.2debian-alsa 1.2.13-4ubuntu4
ii linux-backports-modules-alsa-2.6.31-14-generic 2.6.31-14.16
ii linux-backports-modules-alsa-karmic-generic 2.6.31.14.27

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

On Thu, Oct 15, 2009 at 12:54 PM, Jamie Strandboge <email address hidden> wrote:
> Headphone output still doesn't work. Plugging the speakers into the
> front headphone jack, I went to Applications/Sound and Video/PulseAudio
> Volume Control, then set 'port' to 'Analog Headphones'. It is not muted
> and shows sound when playing an ogg file, but no sound comes through the
> speakers.
>
> Plugging the speakers into the back of the computer and selecting
> 'Analog Output' in PulseAudio Volume Control produces sound (everything
> else looks the same as when selecting 'Analog Headphones').

Please attach labeled /proc/asound/card*/codec* when:

1) headphones/speakers are not inserted;
2) headphones/speakers are inserted into the front hp jack;
3) headphones/speakers are inserted into the rear jack

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I should also mention that alsamixer shows 100% for Headphone, PCM and Front, with Master as 64.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

No difference on 2.6.32-rc4.

$ cat /proc/version
Linux version 2.6.32-020632rc4-generic (root@zinc) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #020632rc4 SMP Mon Oct 12 09:08:14 UTC 2009

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Here are the files after doing a power cycle between each.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Here is the codec output when booting into a 2.6.28-13-generic and Karmic userspace. Sound used to work there, but no longer does. Perhaps it is a pulseaudio issue cause I noticed in the PulseAudio Volume Control shows the output device as 'Dummy Output'.

Revision history for this message
Daniel T Chen (crimsun) wrote :
Download full text (4.0 KiB)

The following was tested with the 20091012 snapshot in linux-backports-modules-alsa-2.6.31-14-generic (2.6.31-14.16):

testing hp_detect hint (unrelated due to misrouting)
testing different init verbs due to 5stack and 5stack-no-fp models

The key here is that vref and routing have regressed due to the autodetect changes in 2.6.29+:

$ diff -uN codec_hp_inserted_after_powercycle_2.6.28-13-generic.txt codec_hp_inserted_after_powercycle.txt
--- codec_hp_inserted_after_powercycle_2.6.28-13-generic.txt 2009-10-15 16:07:41.000000000 -0400
+++ codec_hp_inserted_after_powercycle.txt 2009-10-15 15:11:27.000000000 -0400
@@ -1,5 +1,6 @@
 Codec: SigmaTel STAC9227
 Address: 2
+Function Id: 0x1
 Vendor Id: 0x83847618
 Subsystem Id: 0x80862008
 Revision Id: 0x100201
@@ -11,30 +12,31 @@
 Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=0
 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
 GPIO: io=3, o=0, i=0, unsolicited=1, wake=1
- IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1
- IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
- IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0
+ IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
+ IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
+ IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
+Analog Loopback: 0x00
 Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
   Amp-Out caps: N/A
- Amp-Out vals: [0xff 0xff]
+ Amp-Out vals: [0x80 0x80]
   Converter: stream=0, channel=0
   Power: setting=D0, actual=D0
   Delay: 13 samples
 Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
   Amp-Out caps: N/A
- Amp-Out vals: [0xff 0xff]
+ Amp-Out vals: [0x6b 0x6b]
   Converter: stream=0, channel=0
- Power: setting=D3, actual=D3
+ Power: setting=D0, actual=D0
   Delay: 13 samples
 Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
   Amp-Out caps: N/A
- Amp-Out vals: [0xff 0xff]
+ Amp-Out vals: [0x80 0x80]
   Converter: stream=0, channel=0
   Power: setting=D0, actual=D0
   Delay: 13 samples
 Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
   Amp-Out caps: N/A
- Amp-Out vals: [0xff 0xff]
+ Amp-Out vals: [0x80 0x80]
   Converter: stream=0, channel=0
   Power: setting=D0, actual=D0
   Delay: 13 samples
@@ -73,10 +75,10 @@
   Pin Default 0x0221401f: [Jack] HP Out at Ext Front
     Conn = 1/8, Color = Green
     DefAssociation = 0x1, Sequence = 0xf
- Pin-ctls: 0xc0: OUT HP VREF_HIZ
- Unsolicited: tag=30, enabled=1
+ Pin-ctls: 0x00: VREF_HIZ
+ Unsolicited: tag=01, enabled=1
   Connection: 2
- 0x02* 0x03
+ 0x02 0x03*
 Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
   Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
     Vref caps: HIZ 50 GRD 80
@@ -85,7 +87,7 @@
     DefAssociation = 0x2, Sequence = 0x0
     Misc = NO_PRESENCE
   Pin-ctls: 0x24: IN VREF_80
- Unsolicited: tag=00, enabled=0
+ Unsolicited: tag=03, enabled=1
   Connection: 2
      0x02 0x03*
 Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
@@ -116,7 +118,7 @@
     Conn = 1/8, Color = Pink
     DefAssociation = 0x2, Sequence = 0x1
   Pin-ctls: 0x24: IN VREF_80
- Unsolicited: tag=00, enabled=0
+ Unsolicited: tag=02, enabled=1
   Connection:...

Read more...

Revision history for this message
Carl Andersson (q3orvar) wrote :

I have also the same problem when upgrading from jaunty to karmic.

I've tryed to follow this guide http://ubuntuforums.org/showthread.php?t=205449

I did every step up until "Getting the ALSA drivers from a *fresh* kernel" and nothing worked.

And then i read in the headlines "If you cannot use hear anything, and you have just installed Ubuntu, then it could very possibly be a bug"

**** List of PLAYBACK Hardware Devices ****
card 0: Audigy [Audigy 1 [Unknown]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Subdevices: 32/32
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  Subdevice #8: subdevice #8
  Subdevice #9: subdevice #9
  Subdevice #10: subdevice #10
  Subdevice #11: subdevice #11
  Subdevice #12: subdevice #12
  Subdevice #13: subdevice #13
  Subdevice #14: subdevice #14
  Subdevice #15: subdevice #15
  Subdevice #16: subdevice #16
  Subdevice #17: subdevice #17
  Subdevice #18: subdevice #18
  Subdevice #19: subdevice #19
  Subdevice #20: subdevice #20
  Subdevice #21: subdevice #21
  Subdevice #22: subdevice #22
  Subdevice #23: subdevice #23
  Subdevice #24: subdevice #24
  Subdevice #25: subdevice #25
  Subdevice #26: subdevice #26
  Subdevice #27: subdevice #27
  Subdevice #28: subdevice #28
  Subdevice #29: subdevice #29
  Subdevice #30: subdevice #30
  Subdevice #31: subdevice #31
card 0: Audigy [Audigy 1 [Unknown]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: Audigy [Audigy 1 [Unknown]], device 3: emu10k1 [Multichannel Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

03:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 05)
 Subsystem: Creative Labs Device 2005
 Flags: bus master, medium devsel, latency 64, IRQ 19
 I/O ports at e000 [size=64]
 Capabilities: <access denied>
 Kernel driver in use: EMU10K1_Audigy
 Kernel modules: snd-emu10k1

-Version-
Kernel : Linux 2.6.31-14-generic (i686)
Compiled : #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009
C Library : GNU C Library version 2.10.1 (stable)
Default C Compiler : GNU C Compiler version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
Distribution : Ubuntu 9.10

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

@Carl You don't have the same sound hardware as the original reporter.
Please file a new bug using "ubuntu-bug alsa-base".

Revision history for this message
Carl Andersson (q3orvar) wrote :

oops, im sorry

Revision history for this message
Khudsa (povale69) wrote :

Hello, I have the same problem with this hardware audio:
"lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)"

After some search for the solution I have re-installed ubuntu and the sound come back ... until I install de modem software driver, that I really don't need. After uninstall this driver the sound come back again.

Antonio.

Revision history for this message
Paweł Jankowski (pawel-jankowski-gmail) wrote :

Try to delete ~/.pulse-cookie directory. Maybe this resolve your problem.

Revision history for this message
Christoph Schmied (schmiedc) wrote :

Same problem here.
Upgraded from Jaunty to Karmic. In Jaunty everything worked fine. After the upgrade there was no sound anymore..
Also the touchpad of my Lenovo R500 ist not working anymore

cheers Chris

lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

Revision history for this message
Christoph Schmied (schmiedc) wrote :

Hi!

I did a clean Install today and all my errors are gone. Sound and Touchpad back again as used to. Until now no errors found.
So maybe affected people should concider a cleaninstall if you dont want to wait until bug is fixed :)

cheers Chris

Revision history for this message
VPablo (villumar) wrote :

I had uninstalled agrms driver for the modem and returned to have sound on ALC880 sound card with Si3054 modem. There is any uncompatibility with those drivers?

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

@VPablo That's a PA issue, not an ALSA issue.

On Nov 13, 2009 3:16 PM, "VPablo" <email address hidden> wrote:

I had uninstalled agrms driver for the modem and returned to have sound
on ALC880 sound card with Si3054 modem. There is any uncompatibility
with those drivers?

--
[Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

https://bugs.launchpad.net/bugs/400682

You received this bug notification because you are a bug assignee. Status in
“linux” package in Ubu...

I can't tell if this is a duplicate or not, but yesterday running an up to
date Jaunty everything wa...

Revision history for this message
ajayambawat (ajayambawat) wrote :

Using 2.6.31-14-generic, with the same card, there is no sound from front headset. Mic works fine. ( Intel MoBo 946GZIS )
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /proc/asound/card0/codec#* | grep Codec
Codec: SigmaTel STAC9227

Revision history for this message
lfuruya (lfuruya) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: luis 3206 F.... pulseaudio
 /dev/snd/pcmC0D0p: luis 3206 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe2220000 irq 22'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,80862111,00100201'
   Controls : 32
   Simple ctrls : 22
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=es_PE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
Uname: Linux 2.6.31-14-generic-pae i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare users vboxusers

Revision history for this message
lfuruya (lfuruya) wrote : AlsaDevices.txt
Revision history for this message
lfuruya (lfuruya) wrote : ArecordDevices.txt
Revision history for this message
lfuruya (lfuruya) wrote : BootDmesg.txt
Revision history for this message
lfuruya (lfuruya) wrote : Card0.Amixer.values.txt
Revision history for this message
lfuruya (lfuruya) wrote : Card0.Codecs.codec.2.txt
Revision history for this message
lfuruya (lfuruya) wrote : CurrentDmesg.txt
Revision history for this message
lfuruya (lfuruya) wrote : Dependencies.txt
Revision history for this message
lfuruya (lfuruya) wrote : PciMultimedia.txt
Revision history for this message
lfuruya (lfuruya) wrote : XsessionErrors.txt
tags: added: regression-release
removed: regression-potential
tags: added: karmic
Revision history for this message
ajayambawat (ajayambawat) wrote :

Any update on this ?
Eagerly waiting for a solution.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I finally upgraded this machine to lucid, and am still have the problem.

Changed in linux (Ubuntu Karmic):
assignee: nobody → Daniel T Chen (crimsun)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Approved the Karmic task and added the Lucid one. Since Karmic released with this bug, feel free to adjust the Karmic task as necessary.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

Please attach /proc/asound/card*/codec* from Lucid.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
robs9 (robs9)
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Released
status: Fix Released → In Progress
Revision history for this message
Lukasz (papciozoe) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rafael 2638 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xcf00 irq 21'
   Mixer name : 'CA0106'
   Components : ''
   Controls : 35
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8a2'/'USB Device 0x46d:0x8a2 at usb-0000:00:12.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08a2'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu12~9.10~ricotz1
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-15.22~ricotz1-generic
Uname: Linux 2.6.32-15-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Lukasz (papciozoe) wrote : AlsaDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : AplayDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : ArecordDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : BootDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card0.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card1.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : CurrentDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Dependencies.txt
Revision history for this message
Lukasz (papciozoe) wrote : PciMultimedia.txt
Revision history for this message
Lukasz (papciozoe) wrote : XsessionErrors.txt
Revision history for this message
Lukasz (papciozoe) wrote :

The same bug affected my Karmic Koala. Sound is turned off. It's happened after upgrading Alsa → alsa-base (1.0.20+dfsg-1ubuntu5) to 1.0.22.1+dfsg-0ubuntu3~ricotz1; and pulseaudio → pulseaudio (1:0.9.19-0ubuntu4.1) to 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu11~~karmic~ubuntuaudiodev1).
My kernel is : 2.6.32-15-generic.
Then I tried to downgrade to the previous version, but the sound hasn't returned.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Does it needs an apport-collect -p linux from lucid too?

I can provide if, just let me know.

tags: added: lucid
Revision history for this message
Lukasz (papciozoe) wrote :

Now, it seems to work :-) Great thanks for everyone who was working on that bug!

Revision history for this message
Lukasz (papciozoe) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rafael 2884 F.... pulseaudio
 /dev/snd/controlC1: rafael 2884 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xcf00 irq 21'
   Mixer name : 'CA0106'
   Components : ''
   Controls : 35
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8a2'/'USB Device 0x46d:0x8a2 at usb-0000:00:12.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08a2'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=a94f64da-061e-451a-bfb1-200266aac101
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Gigabyte Technology Co., Ltd. GA-MA770-UD3
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-17-preempt root=UUID=a01537c5-d1f0-4d9b-b692-9d943d1610be ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-17.26~ricotz1-preempt 2.6.32.10+drm33.1
RelatedPackageVersions: linux-firmware 1.33~dnjl0
RfKill:

Uname: Linux 2.6.32-17-preempt x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/31/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: GA-MA770-UD3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF4:bd12/31/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA770-UD3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA770-UD3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA770-UD3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Lukasz (papciozoe) wrote : AlsaDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : AplayDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : ArecordDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : BootDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card0.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card1.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : CurrentDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : IwConfig.txt
Revision history for this message
Lukasz (papciozoe) wrote : Lspci.txt
Revision history for this message
Lukasz (papciozoe) wrote : Lsusb.txt
Revision history for this message
Lukasz (papciozoe) wrote : PciMultimedia.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcCpuinfo.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcInterrupts.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcModules.txt
Revision history for this message
Lukasz (papciozoe) wrote : UdevDb.txt
Revision history for this message
Lukasz (papciozoe) wrote : UdevLog.txt
Revision history for this message
Lukasz (papciozoe) wrote : WifiSyslog.txt
Revision history for this message
Lukasz (papciozoe) wrote : XsessionErrors.txt
Revision history for this message
Sahil Arora (sahilarora946-deactivatedaccount) wrote :

i am also getting the same problem
i think sound softwares of ubuntu are not compatible with
ma processor intel i5 core.
my frrnds are working fine on old processor

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in linux (Ubuntu Lucid):
status: In Progress → Fix Released
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.