Bug 428906
| Summary: | volume not saved on reboot (not restored on boot) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikel Ward <mikel> | ||||||
| Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 8 | CC: | johan-fedora, pierre-bugzilla | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-09-09 22:38:38 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Mikel Ward
2008-01-15 22:52:32 UTC
Change component from initscripts to alsa-utils. At first I thought it was due to /sbin/salsa being called so late in S01reboot, but it now seems it's because alsactl store isn't doing anything useful. Created attachment 291762 [details]
/etc/alsa/asound.state after setting master volume to 40%
Created attachment 291763 [details]
/etc/alsa/asound.state after setting master volume to 100%
My master device is described by the GNOME Volume Applet as: Playback: ALSA PCM: on hw:0 (STAC92xx Analog) via DMA (PulseAudio Mixer) If I go to File->Change Device, I get the following options: - HDA Intel (Alsa Mixer) - SigmaTel STAC9205 (OSS Mixer) - Playback: ALSA PCM: on hw:0 (STAC92xx Analog) via DMA (PulseAudio Mixer) Obviously the third of these is selected. amixer shows the controls/components for the HDA Intel (Alsa Mixer) device when I use the "controls" command. $ amixer -c 0 controls numid=12,iface=MIXER,name='Front Playback Switch' numid=11,iface=MIXER,name='Front Playback Volume' numid=6,iface=MIXER,name='Capture Switch' numid=9,iface=MIXER,name='Capture Switch',index=1 numid=5,iface=MIXER,name='Capture Volume' numid=8,iface=MIXER,name='Capture Volume',index=1 numid=4,iface=MIXER,name='Analog Loopback' numid=13,iface=MIXER,name='IEC958 Playback Con Mask' numid=14,iface=MIXER,name='IEC958 Playback Pro Mask' numid=15,iface=MIXER,name='IEC958 Playback Default' numid=16,iface=MIXER,name='IEC958 Playback Switch' numid=1,iface=MIXER,name='Digital Input Source' numid=2,iface=MIXER,name='Input Source' numid=3,iface=MIXER,name='Input Source',index=1 numid=7,iface=MIXER,name='Mux Capture Volume' numid=10,iface=MIXER,name='Mux Capture Volume',index=1 Changing the card number to 1 or 2 produces an error. Yet it sets the PulseAudio device (ALSA PCM: on hw:0 (STAC92xx Analog) via DMA (PulseAudio Mixer)) when I use the "set" command. $ amixer set Master 50% Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 65536 Mono: Front Left: Playback 32768 [50%] [on] Front Right: Playback 32768 [50%] [on] I've been able to work around this by changing the volume control applet to use device 0: HDA Intel (Alsa mixer). I also had to change my volume up and down keys to run "amixer -c 0 cset numid=11 +10%" rather than "amixer set Master 10%+". It should be obvious this isn't ideal. That amixer command doesn't actually work. amixer set Master accepts % increments (e.g. 10%+ to turn the volume up 10%), but amixer cset doesn't. :-( It's not going to be handled by alsa anymore... PA now saves and restores audio device volumes automatically in rawhide. |