Bug 156657

Summary: Unable to add SB Live sound card using Yast2
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Aristide Aragon <novell>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Aristide Aragon 2006-03-09 19:21:55 UTC
I deleted my sound card (what was working fine since the original system install) from the yast2 sound module and tried to add it back, it doesn't work, even after rebooting, loading into Single user mode, etc... 
I get an error saying  "unable to load emu10k1 module" wether I choose quick, normal or advanced install. I know I'm using the same settings that it was using before.
I found other people are having the same problem here http://www.suseforums.net/lofiversion/index.php/t16744.html

I finally gave up and used alsaconf to configure it, but if possible I'd rather reverse this and use Yast2.

I used ps to "sniff" the modprobe parameter that Yast was attempting, I did it on the command line and it /does/ work, and it even returns success (ie. modprobe ... && echo OK does echo OK; I also get sound after doing this modprobe).

These are the only lines that come in y2log when Yast tries to load that module:

2006-03-09 12:23:34 <1> jr(7362) [YCP] sound/routines.ycp:618 modules: $["ac":$["size":6664, "used":"0"], "af_packet":$["size":25356, "used":"2"], "amd74xx":$["size":16048, "used":"0"], "battery":$["size":12296, "used":"0"], "bluetooth":$["size":55620, "used":"0"], "btcx_risc":$["size":6024, "used":"0"], "button":$["size":8736, "used":"0"], "cdrom":$["size":40888, "used":"1"], "cpufreq_ondemand":$["size":8108, "used":"0"], "cpufreq_powersave":$["size":2304, "used":"0"], "cpufreq_userspace":$["size":5828, "used":"0"], "dm_mod":$["size":65648, "used":"0"], "edd":$["size":12448, "used":"0"], "eeprom":$["size":9232, "used":"0"], "ehci_hcd":$["size":36744, "used":"0"], "emu10k1_gp":$["size":4608, "used":"0"], "fan":$["size":6152, "used":"0"], "firmware_class":$["size":12416, "used":"0"], "floppy":$["size":73792, "used":"0"], "forcedeth":$["size":22144, "used":"0"], "freq_table":$["size":5512, "used":"1"], "gameport":$["size":17808, "used":"2"], "generic":$["size":5892, "used":"0"], "i2c_algo_bit":$["size":10504, "used":"0"], "i2c_core":$["size":25752, "used":"7"], "i2c_isa":$["size":2944, "used":"0"], "i2c_nforce2":$["size":8576, "used":"0"], "i2c_sensor":$["size":3968, "used":"2"], "ide_cd":$["size":45984, "used":"0"], "ide_core":$["size":158616, "used":"4"], "ide_disk":$["size":19584, "used":"0"], "ieee1394":$["size":118648, "used":"1"], "ipv6":$["size":289024, "used":"18"], "it87":$["size":27040, "used":"0"], "ivtv_tveeprom":$["size":15904, "used":"0"], "libata":$["size":57608, "used":"2"], "lp":$["size":14336, "used":"0"], "nvidia":$["size":4390272, "used":"12"], "ohci1394":$["size":36684, "used":"0"], "ohci_hcd":$["size":22916, "used":"0"], "parport":$["size":43532, "used":"2"], "parport_pc":$["size":44912, "used":"1"], "pci_hotplug":$["size":31720, "used":"1"], "powernow_k8":$["size":12048, "used":"0"], "processor":$["size":28632, "used":"2"], "reiserfs":$["size":267120, "used":"2"], "sata_nv":$["size":11396, "used":"0"], "sata_sil":$["size":11780, "used":"3"], "scsi_mod":$["size":161976, "used":"3"], "sd_mod":$["size":20760, "used":"4"], "sg":$["size":42544, "used":"0"], "shpchp":$["size":101032, "used":"0"], "snd":$["size":77600, "used":"8"], "snd_ac97_bus":$["size":3328, "used":"1"], "snd_ac97_codec":$["size":117188, "used":"1"], "snd_emu10k1":$["size":133316, "used":"0"], "snd_hwdep":$["size":12448, "used":"1"], "snd_page_alloc":$["size":13200, "used":"2"], "snd_pcm":$["size":117260, "used":"2"], "snd_rawmidi":$["size":31904, "used":"1"], "snd_seq_device":$["size":11024, "used":"2"], "snd_timer":$["size":29320, "used":"2"], "snd_util_mem":$["size":6528, "used":"1"], "soundcore":$["size":11808, "used":"1"], "thermal":$["size":17932, "used":"0"], "usbcore":$["size":140596, "used":"4"], "usbhid":$["size":49696, "used":"0"], "v4l2_common":$["size":8192, "used":"0"], "video_buf":$["size":27012, "used":"0"], "videodev":$["size":12544, "used":"0"]]
2006-03-09 12:23:34 <1> jr(7362) [YCP] sound/routines.ycp:619 modname: snd-emu10k1
2006-03-09 12:23:34 <1> jr(7362) [YCP] sound/routines.ycp:620 mod_name: snd_emu10k1
2006-03-09 12:23:34 <1> jr(7362) [YCP] sound/routines.ycp:621 get_running_cards: []
2006-03-09 12:23:34 <1> jr(7362) [YCP] sound/routines.ycp:622 card_id: 1
2006-03-09 12:24:13 <1> jr(7362) [YCP] clients/sound.ycp:595 Sound module finished

I also  got lines there saying 
2006-03-09 12:23:34 <3> jr(7362) [bash] ShellCommand.cc(shellcommand):78 /dev/dsp*: No such file or directory
for /dev/dsp, /dev/mixer and /dev/audio; so I used mknod to make those files, it made the error go away from the log files, but it didn't help yast at all.

Now I have a "dummy" entry in yast for the sound card configured with alsaconf, as well as the yast detected version of this card. I can't do anything to the alsaconf version because there's no /etc/sysconfig/hardware file for it (alsaconf didn't create one), so if I try to "edit" that card with yast, it just crashes without an error message.
If possible I'd like to learn how to get rid of that card and how to configure it with Yast2
Comment 1 Michael Gross 2006-03-13 16:14:32 UTC
Clearly a YaST problem then.
Comment 2 Ladislav Slezák 2006-03-20 16:01:17 UTC
Remove /etc/modprobe.d/sound file, the yast module will see the real soundcard only.

The problem with removind sound cards should be already fixed in SUSE 10.1 (see bug #116483)