Bug 128678 - CS46xx sound doesn't work after Update; doesn't work after YaSt configuration
Summary: CS46xx sound doesn't work after Update; doesn't work after YaSt configuration
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Sound (show other bugs)
Version: unspecified
Hardware: i686 Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 10:11 UTC by Ulrich Windl
Modified: 2007-06-07 12:37 UTC (History)
1 user (show)

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


Attachments
y2log for last YaST session (ncurses "yast sound") (1.76 KB, application/x-depot)
2005-10-17 13:42 UTC, Ulrich Windl
Details
YaST logs for some attempts to configure sound (690.59 KB, application/x-gzip)
2005-11-14 11:50 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2005-10-17 10:11:38 UTC
After updating from 9.3 to 10.0, sound was no longer working. Even after calling
the sound module in YaST, sound doesn't work. maybe the YaST module aborts
without message (looks to me like that).

Some details:
Hardware:
  SubVendor: pci 0x1013 "Cirrus Logic"
  SubDevice: pci 0x4280 "Crystal SoundFusion PCI Audio Accelerator"
  Revision: 0x01
  Driver: "Sound Fusion CS46xx"

YaST:
2005-10-17 11:55:58 <3> pc8032(20794) [agent-modules]
ModulesConf.cc(getOptions):169 Bad options for module: snd-cs46xx
2005-10-17 11:55:59 <3> pc8032(20794) [YCP] Linuxrc.ycp:26 Reading install.inf,
but file doesn't exist!!!


rcalsa restart:
 # rcalsasound restart
Starting sound driver:  cs46xx                                      done
/usr/sbin/alsactl: set_control:890: warning: device mismatch (0/2) for control #35
/usr/sbin/alsactl: set_control:892: warning: subdevice mismatch (0/0) for
control #35
/usr/sbin/alsactl: set_control:894: warning: name mismatch (IEC958 Playback
Default/IEC958 Playback Default) for control #35
/usr/sbin/alsactl: set_control:896: warning: index mismatch (0/0) for control #35
...
Comment 1 Takashi Iwai 2005-10-17 13:20:51 UTC
Note that alsasound init script doesn't load modules except for restart/reload.  The modules are loaded by udev/hotplug at boot time.  See README.SuSE in alsa package.

Do you have a /etc/sysconfig/hardware/hwcfg-* file including snd-cs46xx module?
If yes, what module options are set in /etc/modprobe.d/sound?

The warning messages from alsactl are harmless.  Ignore them.
Comment 2 Ulrich Windl 2005-10-17 13:41:29 UTC
There is no file "/etc/sysconfig/hardware/hwcfg-*" containing "cs46". Also, even ncurses yast terminates as soon as I select the displayed sound card for changing.
Comment 3 Ulrich Windl 2005-10-17 13:42:41 UTC
Created attachment 54323 [details]
y2log for last YaST session (ncurses "yast sound")
Comment 4 Takashi Iwai 2005-10-17 13:45:32 UTC
Ladsialv, it looks like a yast2-sound problem...
Comment 5 Ladislav Slezák 2005-10-17 14:28:15 UTC
Please, attach /etc/modprobe.d/sound file.
Comment 6 Ulrich Windl 2005-10-17 14:58:06 UTC
The two lines of text are hardly worth an attachment:
# H0_h.bPM+sbjw7xD:Crystal SoundFusion PCI Audio Accelerator
alias snd-card-0 snd-cs46xx
Comment 7 Ulrich Windl 2005-10-19 08:57:27 UTC
YaST's sound module also seems to abort for other hardware (ISA PnP Soundblaster AWE32).
Comment 8 Takashi Iwai 2005-10-20 11:03:23 UTC
Do you have any other additional setting in /etc/modprobe.conf or /etc/modprobe.conf.local?  Or any other files containing snd-* configuration in /etc/modprobe.d directory?
Comment 9 Ulrich Windl 2005-10-20 12:27:44 UTC
Three times "No". Sound works now, but the way YaST terminates during sound configuration makes me worry. Anything else I should provide?
Comment 10 Ulrich Windl 2005-10-27 14:35:31 UTC
Status update: after a reboot the sound does not work again. Only after a manual "alsaconf" things worked again.
Comment 11 Ulrich Windl 2005-11-14 11:49:26 UTC
A reboot seems to loose the configuration alsaconf used to get things up and working: After reboot sound won't work again.
When using YaST to configure the sound card, no CS46xx card is offered. On another attempt, the !quick and automatic setup" failed:
kernel: ALSA sound/pci/cs46xx/cs46xx_lib.c:427: cs46xx: failure waiting for FIFO command to complete
"normal setup" also failed
"manual setup also failed"

Once again, "alsaconf" could set up the sound with no problem. I'll attach YaST logs.
Comment 12 Ulrich Windl 2005-11-14 11:50:34 UTC
Created attachment 57232 [details]
YaST logs for some attempts to configure sound
Comment 13 Ulrich Windl 2005-11-21 07:43:01 UTC
"modprobe snd_cs46xx" does what "rcalsosound start" fails to do: Enable sound playback.
Comment 14 Ulrich Windl 2006-05-08 06:22:34 UTC
Being disappointed with the solutions SuSE could provide so far, I had another look and found this:
In /etc/modprobe.conf (why no longer modules.conf?) I found these lines:
# remove this if sound is configured
install char-major-116    /bin/true

(BUT SOUND IS CONFIGURED!)

In /etc/modprobe.d/sound there seem to be the correct settings however:
alias snd-card-0 snd-cs46xx
alias sound-slot-0 snd-cs46xx

Now it's your turn: Why didn't yast do that correctly, and what is the suggested SuSE solution to fix the problem permanently?
Comment 15 Ladislav Slezák 2007-06-07 12:37:55 UTC
Yast writes some additional data to /etc/modprobe.d/sound file as comments, if they are missing yast is confused and might not assign the configuration to the right card.

The problem was reported on 10.0, updating of 10.0 or a newer version works without problems.