Sound stopped working after an upgrade from Ubuntu 8.04 (with all
patches) to Ubuntu Studio 9.04. The same hardware still worked fine in
Windows.

After MUCH debugging and a lot of learning about Linux sound, I fixed
this problem by replacing /var/lib/asound.state with a copy from a
working installation of a similar card. Many thanks to Frank Pivone on
the Linux Audio Users list.

As I understand it, alsa generates this file after probing the card and
deciding which driver to use. It seems that Ubuntu Studio 9.04 got that
wrong. Many switches that were in the working asound.state were not in
the bad one, including a mute for the master output. I didn't compare
them for level controls, only switches.

In my case the card was a Creative Audigy2 SB0400 Value and the driver
module was emu10k1.

The replacement asound.state file has controls numbered up to 227  vs
216 for the oroginal.

The following 14 switch controls existed only in the good file.

The Master Playback Switch only existed in the good file. If it exists 
on the sound card and is muted by default, there would be no sound output.

There are 3 possible duplicated controls.

control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Front Playback Switch'
value.0 true
value.1 true

control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value true
}

control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Side Playback Switch'
value.0 true
value.1 true

control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 true
value.1 true

control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 true
value.1 true

control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false

control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Front Mic Playback Switch'
value.0 true
value.1 true

control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true

control.15 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true

control.20 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value false

control.21 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true

control.22 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true

-----------------

The following controls existed in both files.


Bad file, Good file
Control 29 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Tone Control - Switch'
value.0 false
value.1 falseiface MIXER

Bad file, Good file
control.31 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'IEC958 Optical Raw Playback Switch'
value.0 false
value.1 false

Bad file, Good file NB also see control 13, an apparent duplicate
control.35 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Playback Switch'
value true

Bad file, Good file
control.39 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'PC Speaker Playback Switch'
value true

Bad file, Good file
control.41 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Phone Playback Switch'
value true

Bad file, Good file NB also see control 9, a possible duplicate
control.46 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Line Playback Switch'
value true

Bad file, Good file NB also see control 7, a possible duplicate.
control.48 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'CD Playback Switch'
value true

Bad file, Good file
control.52 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Aux Playback Switch'
value true

Bad file, Good file
control.60 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name '3D Control - Switch'
value false

-- 
No sound from any application after upgrading to Jaunty. I am using Dell Studio.
https://bugs.launchpad.net/bugs/406356
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to