Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions
Reload this Page ALSA in CRUX
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Other Distributions Post questions about distributions that do not have their own forums in here

Reply
 
Thread Tools Display Modes
Old 04-28-2008   #1 (permalink)
Linux User
 
usamamuneeb's Avatar
 
Join Date: Jun 2007
Location: Karachi, PAKISTAN
Posts: 412
Send a message via MSN to usamamuneeb
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
__________________
"Who says nothing is impossible? I have been doing nothing for years!"
usamamuneeb is offline   Reply With Quote
Old 04-28-2008   #2 (permalink)
Just Joined!
 
wildpossum's Avatar
 
Join Date: Apr 2008
Location: Sydney/Australia
Posts: 85
Send a message via Skype™ to wildpossum
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"
__________________
Grahame
AMD Phenom(QuadCore), 8GB ram, 3ware RAID6, HD3850(512MB) ...etc.
wildpossum is offline   Reply With Quote
Old 04-29-2008   #3 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,711
Send a message via AIM to Dapper Dan
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:
Code:
/etc/rc.d/alsa start
If you don't have the start up script anywhere, here's mine:
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
After make menuconfig, You'll find Alsa in "Device Drivers" --> "Sound card support" --> "Advanced Linux Sound Architecture"

Compile as Module. Also, make sure these are installed:
alsa-driver
alsa-lib
alsa-oss
alsa-utils

Last edited by Dapper Dan; 04-29-2008 at 02:09 AM.
Dapper Dan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:35 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0