ALSA or ARTS strangeness
I dist-upgraded my Debian sid box the other night, and now I am seeing several strange things. For instance, my sound card, a SBLive, is not being detected correctly.
lspci shows that I have 01:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07) 01:08.1 Input device controller: Creative Labs SB Live! Game Port (rev 07) And this is how it has appeared in the mixer for years. However, kmix is now reporting the sound card as a SigmaTel STAC9708,11 Running mplayer, for instance, it errored out on alsa-lib repeatedly: alsa-init: using device default alsa-lib: confmisc.c:670: (snd_func_card_driver) cannot find card '0' alsa-lib: conf.c:3479: (_snd_config_evaluate) function snd_func_card_driver returned error: No such device alsa-lib: confmisc.c:391: (snd_func_concat) error evaluating strings alsa-lib: conf.c:3479: (_snd_config_evaluate) function snd_func_concat returned error: No such device alsa-lib: confmisc.c:1070: (snd_func_refer) error evaluating name alsa-lib: conf.c:3479: (_snd_config_evaluate) function snd_func_refer returned error: No such device alsa-lib: conf.c:3947: (snd_config_expand) Evaluate error: No such device alsa-lib: pcm.c:2146: (snd_pcm_open_noupdate) Unknown PCM default alsa-init: playback open error: No such device Could not open/initialize audio device -> no sound. Audio: no sound Whats more, I am unable to record with mencoder. I checked the bugs on most of the associated packages, and most were a year or more old. What can I do to get things back to scratch? Thanks, --Storm |
This appears to be alsa related.
Check to see which driver is being loaded (lsmod). It's possible that the EMU10K1 driver is using the controls from the ac97 driver, as the codec on some of the SB cards are ac97 compliant. |
Quote:
Code:
snd_emu10k1_synth 5504 0 Linux defiant 2.6.16 #1 PREEMPT Fri Jun 23 06:15:37 EDT 2006 i686 GNU/Linux Thanks, --Storm |
Looking through the alsa code, SigmaTel STAC9708 codec is only named in alsa-kernel/pci/ac97/ac97_codec.c (and a header in the same directory). Looking through the alsa-kernel/pci/emu10k1/ directory, the code is tied to the ac97 code very tightly.
Back to the original problem, try installing the latest alsa packages (driver, lib, and utils). The driver and the lib need to be close to the same revision, as they are tied together. Sometimes, distributions can get skewed when running close to the tip. |
Quote:
ii alsa-base 1.0.11-5 ii alsa-tools-gui 1.0.11-1 ii alsa-utils 1.0.11-6 ii alsamixergui 0.9.0rc2-1-9 Her sound works fine. And actually, my sound works, after a fashion. Apps like tvtime work fine, however, mplayer does not. On my box, I compiled 2.6.17, however, I am running on the 2.6.16 that I compiled back in June, which worked until I booted into 2.6.17 and back again after finding that no sound worked. --Storm |
All times are GMT -5. The time now is 03:41 AM. |