SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what i did isto run alsaconf, configure alsamixer and save changes using alsactl store. and then the sound is fixed, both root and non-root users can play music. However whenever I reboot, the changes are not permanent and once again the message regarding the failure in loading the ALSA kernel modules is displayed while booting. What i do is to repeat what I did before, running alsaconf, alsamixer and alsactl.
How do I make this things permanent? I'm sure that I've installed the Kernel 2.6.7 stuffs including the alsa driver for 2.6.7 and i've installed the old alsa mixer and old kernel stuffs (2.4.26).
Originally posted by mmarkvillanueva I'm sure that I've installed the Kernel 2.6.7 stuffs including the alsa driver for 2.6.7 and i've installed the old alsa mixer and old kernel stuffs (2.4.26).
If you're upgrading the kernel, you don't need the alsa-driver package. Make sure you're building the right module for your card as part of the kernel compile and you should be set. I repeat: Don't install the alsa-driver package, because it will overwrite the correct modules for your kernel.
If you install the packages form DISC2/testing, you also NEED to install the ALSA package from that SAME directory. Any other combination doesn't work.
I suppose you already tried the command "alsamixer" from a console/term/xterm, and after setting your preferences and quitting alsamixer use the command "alsactl store". (At least that did the job for my three slack boxes).
yep! i've already done that. i have to find a way to make the changes permanently. remember after booting and logging, I just run sudo /usr/sbin/alsactl restore and the sound will work ok. But what I want to do is to prevent on doing this manually
i've noticed somthing fishy in my /dev i've already made a symlink of /dev/ttyS0 to /dev/modem after rebooting, /dev/modem is already gone when ls! as well as /dev/dsp and /dev/mixer
but when i run sudo /usr/sbin/alsactl restore, /dev/dsp and /dev/mixer will then appear.
I guess the problem here is not sound card but the /dev/ on how to permenently store changes particularly on symlinks... any suggestions? do i have to post this problem into a new thread. what would be the subject? i'm confused. this is really fishy
PROBLEM SOLVED.
the contents of my /etc/modules.conf is...
Code:
void@navi:~$ cat /etc/modules.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
# --- END: Generated by ALSACONF, do not edit. ---
alias char-major-24 sm56
options sm56 country=1
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-26 ppp_deflate
alias ppp-compress-24 ppp_deflate
so I added this line in the OSS section of /etc/rc.d/rc.modules
Code:
/sbin/modprobe snd-cs4236
and it works! I waited for few hours and rebooted this machine several times before posting this reply to ensure that this really fixed the problem. not sure if this is the most efficient solution though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.