Results 1 to 3 of 3
A call for Dapper Dan once more....
I think this is a faster method than PM. So here lies a problem. I compiled the kernel for CRUX without keeping in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-28-2008 #1Linux User
- Join Date
- Jun 2007
- Posts
- 458
ALSA in CRUX
A call for Dapper Dan once more....
I think this is a faster method than PM. So here lies a problem. I compiled the kernel for CRUX without keeping in mind ALSA. I just compiled the cs4236 module for ALSA. Don't know if ALSA is built. Now /etc/rc.d/alsa start does not work as there is no alsa script in /etc/rc.d.
That definitely means ALSA's not there??
Now for some instructions on compiling the kernel *with* ALSA. I'll keep on Googling"When you have nothing to say, say nothing."
- 04-28-2008 #2
Not having a /etc/rc.d/alsa process script file does NOT mean that the alsa module is not in the kernel /lib/2.6.x.x/modules area. The /etc/rc.d/alsa process script file is placed there by your distribution and usually shouldn't disappear if your only regenerated a new kernel. You must have executed something else to remove it.
The only way to see if the module is built and exists for you to use with the current kernel is to do a:
"sudo /sbin/modprobe alsa".
If it loads correctly there is no response, if not it will tell you why it couldn't load it.
You are able to see if it is indeed loaded correctly by doing "sudo lsmod | grep alsa".
I suspect you only probably simply need to "sudo make modules", "sudo make install"
- 04-29-2008 #3
usamamuneeb, I seem to remember alsa was not enabled by default. At least I don't think it was in 2.3. If it's not in 2.4, it's simple enough to do in Crux as I'm sure you've already done a kernel re-compile or two by now. After enabling, edit /etc/rc.conf to include it at start up. To start immediately from the command line:
If you don't have the start up script anywhere, here's mine:Code:/etc/rc.d/alsa start
After make menuconfig, You'll find Alsa in "Device Drivers" --> "Sound card support" --> "Advanced Linux Sound Architecture"Code:#!/bin/sh # # /etc/rc.d/alsa: store/restore ALSA mixer levels # # location of the alsactl executable ALSACTL=/usr/sbin/alsactl case $1 in start) $ALSACTL restore ;; stop) $ALSACTL store ;; restart) $0 stop sleep 2 $0 start ;; *) echo "Usage: $0 [start|stop|restart]" ;; esac # End of file
Compile as Module. Also, make sure these are installed:
alsa-driver
alsa-lib
alsa-oss
alsa-utilsLast edited by Dapper Dan; 04-29-2008 at 02:09 AM.


Reply With Quote
