Upgrade FC1 auf FC2 kein Ton mehr

Michael Schwendt fedora at wir-sind-cool.org
Thu May 20 12:55:50 UTC 2004


On Thu, 20 May 2004 13:42:15 +0200, Sebastian Stupnicki wrote:

> gestern habe ich mein FC1 auf FC2 upgegraded, alles verlief ohne 
> Probleme bis auf der Sound, meine onboard Soundkarte wurde korrekt 
> erkannt jedoch kann ich keinen Sound abspielen. Das ausführen von  
> system-config-soundcard gab folgendes aus :
> 
> amixer: Mixer attach default error: No such device
> amixer: Mixer attach default error: No such device
> sox: Can't open output file '/dev/dsp': No such device
> -9

Jedesmal?

> dann ls -al /dev/dsp*  Ergebnis

/dev/dsp* sind nur die OSS kompatibelen Devices. Kommen zwar auch
ALSA, aber von den separaten Treibern über /etc/modprobe.conf.dist
 
> crw-------  1 yoss root 14,  3 23. Feb 22:02 /dev/dsp
> lrwxrwxrwx  1 root root      3 19. Mai 16:41 /dev/dsp0 -> dsp
> crw-------  1 yoss root 14, 19 23. Feb 22:02 /dev/dsp1
> crw-------  1 yoss root 55,  0 23. Feb 22:02 /dev/dsp56k
> 
> die Rechte scheinen in Ordung zu sein, oder ?

Wie sieht es in /dev/snd/* aus?
Was bekommst Du, wenn Du "alsamixer" ausführst?
Was bekommst Du, wenn Du "xmms" ausführst?
  
> dann [root at fedora root]# lsmod
> 
> Module                  Size  Used by
> snd_emu10k1            71172  0
> snd_rawmidi            17184  1 snd_emu10k1
> snd_seq_device          6152  2 snd_emu10k1,snd_rawmidi
> snd_ac97_codec         50436  1 snd_emu10k1
> snd_util_mem            3200  1 snd_emu10k1
> snd_hwdep               6276  1 snd_emu10k1
> snd_pcm_oss            40740  0
> snd_pcm                68872  2 snd_emu10k1,snd_pcm_oss
> snd_page_alloc          7940  2 snd_emu10k1,snd_pcm
> snd_timer              17156  1 snd_pcm
> snd_mixer_oss          13824  1 snd_pcm_oss
> snd                    38372  10 
> snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
> soundcore               6112  1 snd
> 
> hier blicke ich nicht durch
> 
> und am Ende
> 
>  cat /etc/modprobe.conf
> # Note: for use under 2.4, changes must also be made to modules.conf!
> alias eth0 8139too
> alias usb-controller uhci-hcd
> alias ieee1394-controller ohci1394
> alias char-major-195-* nvidia
> alias snd-card-0 cmpci
> install sound-slot-0 /sbin/modprobe --first-time --ignore-install 
> sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 
> || :; }
> remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 
> 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-0

Das ist falsch und ein Überbleibsel von FC1. FC2 verwendet ALSA's
alsactl:

install TREIBER /sbin/modprobe --ignore-install TREIBER && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove TREIBER { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove TREIBER

(TREIBER ersetzen!)





More information about the de-users mailing list