You are not logged in.

#1 2010-08-28 21:50:30

Dreamkey
Member
Registered: 2010-08-28
Posts: 45

Alsa: no more recognition of the card (solved)

Hello,
I have a problem with the sound on an old computer. I installed alsa-lib and alsa-utils; I firstly tried "cs4236 Onboard PnP Audio" with alsaconf (but it doesn't worked), after I tried "legacy - Probe legacy ISA (non-PnP) chips" and everything worked fine (using aplay, a video on youtube, gvolwheel...). But I restarted the computer (I forgotten to run "alsactl store"), and no more sound. If I try alsaconf and after choosing "legacy", I just have the time to read "error: midinfo " (ou error: cannot load module opl3sa2) before the driver selection screen, and a fail when alsa starts. Here some error messages:

$ aplay
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: Aucun fichier ou dossier de ce type
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: Aucun fichier ou dossier de ce type
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: Aucun fichier ou dossier de ce type
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: Aucun fichier ou dossier de ce type
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:654: audio open error: Aucun fichier ou dossier de ce type
$ alsamixer
cannot open mixer: No file or folder of this type
$ cat /etc/modprobe.d/sound.conf 
alias snd-card-0 snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x370 wss_port=0x530 isapnp=0 dma1=1 dma2=0 irq=5
$ /etc/rc.d/alsa restart
:: Saving ALSA Levels                                                    [BUSY]
/usr/sbin/alsactl: save_state:1504: No soundcards found...
                                                                         [DONE] 
:: Restoring ALSA Levels                                                 [BUSY]
/usr/sbin/alsactl: load_state:1610: No soundcards found...
                                                                         [FAIL]
$ gvolwheel 
Error opening mixer device /dev/mixer

I tried to reinstall alsa-lib and alsa-utils, kernel26, remove alsa from rc.conf, but no change.
Do you have a solution? Thanks smile

Last edited by Dreamkey (2010-08-29 21:27:06)

Offline

#2 2010-08-29 17:12:53

Dreamkey
Member
Registered: 2010-08-28
Posts: 45

Re: Alsa: no more recognition of the card (solved)

A little up : I tried all the afternoon to get it work, but nothing fix it completely.
I executed "yaourt -Rc alsa-lib alsa-utils", reboot, "sudo alsaconf" and the sound was working. I tried "alsactl store", added "@alsa" inside rc.conf, restart again... And no more sound.

I tried few times to desinstall/reinstall again to check all the points of this wiki but it doesn't work anymore. I installed  "alsa-plugins", added "options snd-opl3sa2 index=0" inside /etc/modprobe.d/modprobe.conf but I still get "ERROR: modinfo: could not find module snd-opl3sa2" after choosing "legacy"  mad



Edit: my apologies, if I thougt that "cs4236 Onboard PnP Audio" doesn't work it's because all channels were muted -_-'
So after adding snd-cs4236 inside rc.conf everything works fine.

Last edited by Dreamkey (2010-08-29 21:26:50)

Offline

Board footer

Powered by FluxBB