LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2004, 04:45 PM   #1
Kebos
LQ Newbie
 
Registered: Jan 2004
Location: Somewhere
Distribution: Slackware 9.1
Posts: 11

Rep: Reputation: 0
Alsaconf wont work after compiling new kernel


So... i just compiled my kernel from 2.4.22 to 2.6.0 and before i did the compiling, my sound worked perfectly. And now my sound don't work. I tried Alsaconf but it says something like: Cannot Detect PNP (something)... and it asked me if i want to scan for legacy thing. I'm using Slackware 9.1
 
Old 02-03-2004, 04:50 PM   #2
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
You probably have to compile the alsa module for kernel 2.6.
 
Old 02-03-2004, 04:55 PM   #3
Kebos
LQ Newbie
 
Registered: Jan 2004
Location: Somewhere
Distribution: Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
umm..... lol, im clueless to how to do that. Do i do anything different when compiling my kernel? Or do i just do: make menuconfig and twinker a bit?
 
Old 02-03-2004, 04:59 PM   #4
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
No, you don't need to recompile your kernel. A module saves you from doing that.

I wrote this thing how to remove the version of alsa that came with slack, and install a newer version. I would wait to see if other people respond with different ideas first. I'm not sure if its the same with 2.6.. I haven't upgraded my kernel yet.


Here it is if you want it:



Installing ALSA (latest version)
Needed packages: alsa-driver, alsa-oss, alsa-utils, alsa-lib, alsa-tools

To begin, remove all ALSA packages that are currently installed (remove packages as root).

# removepkg alsa-driver
# removepkg alsa-oss
# removepkg alsa-utils
# removepkg alsa-lib
# removepkg alsa-tools

Download the latest version of ALSA from http://www.alsa-project.org/. Links to download the latest version should be on their main page.
Untar the packages (extract as user):

$ tar -xvjf alsa-driver*.tar.bz2
$ tar -xvjf alsa-lib*.tar.bz2
$ tar -xvjf alsa-utils*.tar.bz2
$ tar -xvjf alsa-oss*.tar.bz2
$ tar -xvjf alsa-tools*.tar.bz2

Move to the alsa-driver directory. Then ./configure, make. Login as root and make install
Move to the alsa-lib directory. Then ./configure, make. Login as root and make install
Move to the alsa-utils directory. Then ./configure, make. Login as root and make install
Move to the alsa-oss directory. Then ./configure, make. Login as root and make install
Move to the alsa-tools directory. Then ./configure, make. Login as root and make install

Go to http://www.alsa-project.org/alsa-doc/ and find your sound card. Follow the instructions on their web site. Edit your /etc/modules.conf file according to their web site.

I have an Audigy Platinum card, so I would add this to my /etc/modules.conf file:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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

Change the permissions on /dev/mixer and /dev/dsp. Also make sure that your user is included in the group that /dev/mixer and /dev/dsp are in.
#chmod 666 /dev/mixer
#chmod 666 /dev/dsp
Reboot. Now open XMMS, open properties and configure the ALSA output plugin.
If you get an error from XMMS, or if you try adjusting the volume in gnome or KDE and get an error that says something like
Unable to open audio device '/dev/mixer'.
Please check that you have permissions to open '/dev/mixer'
and that you have sound support in your kernel.
Then edit your /etc/rc.d/rc.local file and add the following information:
ln -sf /dev/mixer0 /dev/mixer
ln-sf /dev/dsp0 /dev/dsp

Reboot, and that should have fixed the problem. Good luck.
 
Old 02-03-2004, 06:30 PM   #5
Kebos
LQ Newbie
 
Registered: Jan 2004
Location: Somewhere
Distribution: Slackware 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
I've solved the problem, thx anyways! What i did was i edited the rc.modules and i saw mostly everything was commented. So i removed the commented line that said: modprobe cs4232 which was my sound driver. So instead of using alsaconf i did this. thx
 
Old 02-03-2004, 10:28 PM   #6
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Just for future reference....

I had a similar problem.

I solved it by using SWARET to upgrade all my alsa stuff.

After that I ran alsaconf and all worked fine

Cheers,
Whitehat
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ps/2 Mouse Cannot Work After Compiling Kernel 2.6.13.4 asnoka Fedora 3 10-22-2005 06:35 AM
x windows doesn't work after compiling new kernel nobody_peterson Linux - General 1 08-18-2005 12:06 AM
snd_via82xxx. Kernel 2.6.6 modprobe/alsaconf errors. Sharky01252 Linux - Newbie 2 11-21-2004 01:10 PM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM
alsaconf wont detect my sound card biophysics Linux - Hardware 22 07-22-2003 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration