You are not logged in.

#1 2015-12-18 01:13:45

bowshock
Member
From: Indonesia
Registered: 2013-02-08
Posts: 26

[Fixed for now] Fixing ALSA mute on reboot problem permanently ?

Problem: All sounds are muted after reboot. Alsamixer shows the relevant output is not muted.

Hardware: VT1708S
Driver: HDA Intel

No PulseAudio

lspci -v

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Santa Cruz Operation Device 1043
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at fe9f4000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT1708S Alt Analog [VT1708S Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Temporary fix that I found from Arch wiki does the job, temporarily. The problem resurfaces on the next reboot. Storing the asound.state through alsactl store doesn't work. I tried storing the aforementioned file on my home folder, but it didn't do anything when I attempted to restore the setting by invoking alsactl restore -f ~/asound.state. Disabling auto-mute doesn't seem to help.

cat /var/lib/alsa/asound.state

state.Intel {
        control.1 {
                iface MIXER
                name 'Speaker Playback Volume'
                value.0 42
                value.1 42
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 42'
                        dbmin -6300
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.2 {
                iface MIXER
                name 'Speaker Playback Switch'
                value.0 true
                value.1 true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.3 {
                iface MIXER
                name 'Headphone Playback Volume'
                value.0 42
                value.1 42
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 42'
                        dbmin -6300
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.4 {
                iface MIXER
                name 'Headphone Playback Switch'
                value.0 true
                value.1 true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.5 {
                iface MIXER
                name 'Independent HP'
                value Disabled
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 Disabled
                        item.1 Enabled
                }
        }
        control.6 {
                iface MIXER
                name 'Loopback Mixing'
                value Disabled
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 Disabled
                        item.1 Enabled
                }
        }
        control.7 {
                iface MIXER
                name 'Internal Mic Playback Volume'
                value.0 0
                value.1 0
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 31'
                        dbmin -3450
                        dbmax 1200
                        dbvalue.0 -3450
                        dbvalue.1 -3450
                }
        }
        control.8 {
                iface MIXER
                name 'Internal Mic Playback Switch'
                value.0 false
                value.1 false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.9 {
                iface MIXER
                name 'Mic Playback Volume'
                value.0 0
                value.1 0
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 31'
                        dbmin -3450
                        dbmax 1200
                        dbvalue.0 -3450
                        dbvalue.1 -3450
                }
        }
        control.10 {
                iface MIXER
                name 'Mic Playback Switch'
                value.0 false
                value.1 false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.11 {
                iface MIXER
                name 'Auto-Mute Mode'
                value Enabled
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 Disabled
                        item.1 Enabled
                }
        }
        control.12 {
                iface MIXER
                name 'Capture Volume'
                value.0 19
                value.1 19
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 31'
                        dbmin -1650
                        dbmax 3000
                        dbvalue.0 1200
                        dbvalue.1 1200
                }
        }
        control.13 {
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.14 {
                iface MIXER
                name 'Internal Mic Boost Volume'
                value.0 3
                value.1 3
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 3'
                        dbmin 0
                        dbmax 3075
                        dbvalue.0 3075
                        dbvalue.1 3075
                }
        }
        control.15 {
                iface MIXER
                name 'Mic Boost Volume'
                value.0 0
                value.1 0
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 3'
                        dbmin 0
                        dbmax 3075
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.16 {
                iface MIXER
                name 'Master Playback Volume'
                value 36
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 42'
                        dbmin -6300
                        dbmax 0
                        dbvalue.0 -900
                }
        }
        control.17 {
                iface MIXER
                name 'Master Playback Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.18 {
                iface CARD
                name 'Internal Mic Phantom Jack'
                value true
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }
        control.19 {
                iface CARD
                name 'Mic Jack'
                value false
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }
        control.20 {
                iface CARD
                name 'Speaker Phantom Jack'
                value true
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }
        control.21 {
                iface CARD
                name 'Headphone Jack'
                value false
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }
        control.22 {
                iface MIXER
                name 'Dynamic Power-Control'
                value Disabled
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 Disabled
                        item.1 Enabled
                }
        }
        control.23 {
                iface PCM
                name 'Playback Channel Map'
                value.0 0
                value.1 0
                comment {
                        access read
                        type INTEGER
                        count 2
                        range '0 - 36'
                }
        }
        control.24 {
                iface PCM
                name 'Capture Channel Map'
                value.0 0
                value.1 0
                comment {
                        access read
                        type INTEGER
                        count 2
                        range '0 - 36'
                }
        }
        control.25 {
                iface PCM
                device 2
                name 'Playback Channel Map'
                value.0 0
                value.1 0
                comment {
                        access read
                        type INTEGER
                        count 2
                        range '0 - 36'
                }
        }
        control.26 {
                iface MIXER
                name 'PCM Playback Volume'
                value.0 255
                value.1 255
                comment {
                        access 'read write user'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        tlv '0000000100000008ffffec1400000014'
                        dbmin -5100
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.27 {
                iface MIXER
                name 'Digital Capture Volume'
                value.0 0
                value.1 0
                comment {
                        access 'read write user'
                        type INTEGER
                        count 2
                        range '0 - 120'
                        tlv '0000000100000008fffff44800000032'
                        dbmin -3000
                        dbmax 3000
                        dbvalue.0 -3000
                        dbvalue.1 -3000
                }
        }
}

Is there a way to squish this problem permanently? I just rebooted, and as expected, the sound is muted without ways to restore it.

Thanks for reading

Last edited by bowshock (2015-12-19 00:50:51)

Offline

#2 2015-12-18 01:28:37

bowshock
Member
From: Indonesia
Registered: 2013-02-08
Posts: 26

Re: [Fixed for now] Fixing ALSA mute on reboot problem permanently ?

Alright, disabling Auto-Mute followed by reboot appeared to have solved the issue.

Offline

#3 2015-12-19 00:07:30

bowshock
Member
From: Indonesia
Registered: 2013-02-08
Posts: 26

Re: [Fixed for now] Fixing ALSA mute on reboot problem permanently ?

Update: The problem re-appears, and I'm confused of why I keep running into this ALSA being hard-muted trouble.

Latest update: I apologize for replying to my own post, but I've decided to re-install pulseaudio; followed by un-commenting module-device-restore on /etc/pulse/default.pa, and the sound is back. I had tested this by doing a few reboots, and the result is consistent. Have a good day.

Last edited by bowshock (2015-12-19 00:50:27)

Offline

Board footer

Powered by FluxBB