Bug 118310 - autoyast doesn't set volumes
Summary: autoyast doesn't set volumes
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: AutoYaST (show other bugs)
Version: RC 1
Hardware: i686 SUSE Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 21:46 UTC by Karsten Kuenne
Modified: 2007-11-14 11:38 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Kuenne 2005-09-21 21:46:01 UTC
If I do an installation with autoyast and have the following in my profile: 
 
      <volume_settings config:type="list"> 
        <volume_entry config:type="list"> 
          <volume_component config:type="list"> 
            <volume_component_settings>Master</volume_component_settings> 
            <volume_component_settings 
config:type="integer">90</volume_component_settings> 
            <volume_component_settings 
config:type="boolean">false</volume_component_settings> 
          </volume_component> 
          <volume_component config:type="list"> 
            <volume_component_settings>Master Mono</volume_component_settings> 
            <volume_component_settings 
config:type="integer">0</volume_component_settings> 
            <volume_component_settings 
config:type="boolean">true</volume_component_settings> 
          </volume_component> 
          <volume_component config:type="list"> 
            <volume_component_settings>Headphone</volume_component_settings> 
            <volume_component_settings 
config:type="integer">0</volume_component_settings> 
            <volume_component_settings 
config:type="boolean">true</volume_component_settings> 
          </volume_component> 
... 
(and so on) 
 
I end up with a system with all volumes set to 0. This was working in SUSE 
9.3. The system in question is an IBM Thinkpad T43 with the builtin sound. 
 
Following are some messages from the y2log which I can't interpret but maybe 
show a problem: 
 
... 
2005-09-21 15:25:41 <1> sandcat(6203) [Interpreter] Call.ycp:167 Calling YaST 
client sound_auto (arguments: ["Write"]) 
2005-09-21 15:25:41 <1> sandcat(6203) [YCP] clients/sound_auto.ycp:31 
---------------------------------------- 
2005-09-21 15:25:41 <1> sandcat(6203) [YCP] clients/sound_auto.ycp:32 Sound 
auto started 
2005-09-21 15:25:42 <2> sandcat(6203) [Parser] sound/routines.ycp:728 Warning: 
Format string is not constant, no parameter checking possible 
2005-09-21 15:25:42 <2> sandcat(6203) [Parser] sound/routines.ycp:773 Warning: 
Format string is not constant, no parameter checking possible 
2005-09-21 15:25:42 <1> sandcat(6203) [wfm] Y2CCWFM.cc(createInLevel):153 
Parsing finished 
2005-09-21 15:25:42 <1> sandcat(6203) [Interpreter] clients/sound_auto.ycp:244 
Calling YaST client sound_write (arguments: [$["configure_detected":false, 
"modules_conf":[$["alias":"snd-card-0", "bus":"pci", "bus_id":"0000:00:1e.2", 
"model":"82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller", 
"module":"snd-intel8x0", "options":$["enable":"1", "index":"0"], 
"unique_key":"r0Vg.E9SukUjPv66"]], "rc_vars":$["LOAD_ALSA_SEQ":"yes"], 
"volume_settings":[[["Master", 90, false], ["Master Mono", 0, true], 
["Headphone", 0, true], ["PCM", 70, false], ["Line", 0, true], ["CD", 70, 
false], ["Mic", 0, true], ["Phone", 70, false], ["Aux", 0, true]]]]]) 
2005-09-21 15:25:42 <1> sandcat(6203) [YCP] Sound.ycp:804 Required kernel 
modules: ["snd-intel8x0"] 
2005-09-21 15:25:42 <1> sandcat(6203) [YCP] Joystick.ycp:68 Required joystick 
modules: [] 
2005-09-21 15:25:42 <1> sandcat(6203) [YCP] PackageSystem.ycp:288 want: 
["snd-intel8x0"] 
2005-09-21 15:25:42 <1> sandcat(6203) [wfm] Y2WFMComponent.cc(import):695 
Y2WFMComponent::import (PackageCallbacks) 
.... 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <2> sandcat(6203) [agent-modules] 
ModulesConf.cc(ModulesConf):95 ModulesConf: parseFile failed 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <1> sandcat(6203) [YCP] sound/write_routines.ycp:188 using 
hwcfg file: hwcfg-bus-pci-0000:00:1e.2 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] 
ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such 
file or directory 
2005-09-21 15:25:42 <2> sandcat(6203) [agent-modules] 
ModulesConf.cc(writeFile):545 Error while creating backup file in writeFile 
(): No such file or directory 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:179 
Sound::write_only: true 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1148 InitMixer: 0, 
snd-intel8x0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1150 Mixer devices: 
$["CD":70, "Front":70, "Headphone":70, "Master":70, "Master Mono":70, 
"PCM":70, "Synth":70] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1162 Mixer devices after 
merge: $["Aux":0, "CD":70, "Front":70, "Headphone":0, "Line":0, "Master":90, 
"Master Mono":0, "Mic":0, "PCM":70, "Phone":70, "Synth":70] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Aux, volume: 0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: CD, volume: 70 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Front, volume: 70 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Headphone, volume: 0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Line, volume: 0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Master, volume: 90 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Master Mono, volume: 0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Mic, volume: 0 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: PCM, volume: 70 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Phone, volume: 70 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 
0, channel: Synth, volume: 70 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1172 unmute devices: 
["Aux", "CD", "Front", "Headphone", "Line", "Master", "Master Mono", "Mic", 
"PCM", "Phone", "Synth"] 
2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] 
AlsaAudio.cc(alsaGetChannels):191 Mixer attach hw:0 error: No such device 
2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:586 
SCR::Dir() failed 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:208 Mixer 
is initialized 
2005-09-21 15:25:48 <3> sandcat(6203) [bash] ShellCommand.cc(shellcommand):78 
amixer: Mixer attach default error: No such device 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:81 Mixer 
(Mixer status before saving the volume): $["exit":1, "stderr":"amixer: Mixer 
attach default error: No such device\n", "stdout":""] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:82 
volume_settings: [["Synth", 70]] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:83 asound 
size: -1 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:216 
volume_settings: [["Synth", 70]] 
2005-09-21 15:25:48 <3> sandcat(6203) [bash] ShellCommand.cc(shellcommand):78 
amixer: Mixer attach default error: No such device 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:81 Mixer 
(Mixer status after saving the volume): $["exit":1, "stderr":"amixer: Mixer 
attach default error: No such device\n", "stdout":""] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:82 
volume_settings: [["Synth", 70]] 
2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:83 asound 
size: -1 
2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] 
AlsaAudio.cc(alsaSetVolume):137 Mixer attach hw:0 error: No such device 
2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:338 
SCR::Write() failed 
2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] 
AlsaAudio.cc(alsaSetMute):167 Mixer attach hw:0 error: No such device 
2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:339 
SCR::Write() failed 
2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] 
AlsaAudio.cc(alsaSetVolume):137 Mixer attach hw:0 error: No such device 
 
... (and so on) 
 
It repeats itself for the various volumes. 
 
If I do an interactive installation the volumes are set to some reasonable 
values.
Comment 1 Uwe Gansert 2005-09-23 08:45:07 UTC
Ladislav, this seems to be for you.
Did the autoyast map that I import to the sound module change from 9.3 to 10.0?

Comment 2 Ladislav Slezák 2005-09-23 12:29:31 UTC
There may be a problem with mixer initialization. I fixed one in normal
installation, may be that in autoyast mode it remains...
Comment 3 Karsten Kuenne 2005-09-23 14:55:56 UTC
Yes, that's how it looks like because after the installation was done there 
were no sound modules loaded and sound wasn't working at all. So it seems that 
during autoyast installations the sound isn't started and then of course the 
mixer settings fail. 
 
Comment 4 Stanislav Visnovsky 2007-10-09 10:44:44 UTC
Can this be reproduced with openSUSE 10.3?
Comment 5 Ladislav Slezák 2007-10-09 11:33:35 UTC
I don't know, but I didn't change anything related to autoyast in 10.3.

Karsten (or Uwe) could you check it in 10.3? Thank you a lot!
Comment 6 Karsten Kuenne 2007-10-11 13:01:53 UTC
I'm just starting to download 10.3. It'll probably take me another couple of weeks before I'll be able to try it, so please be patient.
Comment 7 Stephan Kulow 2007-11-10 15:42:51 UTC
just pinging...
Comment 8 Karsten Kuenne 2007-11-13 01:45:12 UTC
I did my first 10.3 autoyast installation and the volumes were set without my workaround! But let me run it a couple more times just to make sure I can't reproduce it anymore.
Comment 9 Ladislav Slezák 2007-11-13 05:59:41 UTC
OK, thank you for the testing!
Comment 10 Karsten Kuenne 2007-11-13 20:04:00 UTC
I did a couple more installations and it seems to work fine. Volumes are always set after the installation. I'd say it's fixed in 10.3.
Comment 11 Ladislav Slezák 2007-11-14 11:38:43 UTC
Nice to hear, thank you!