LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 04-18-2003, 12:27 AM   #1
Veonik
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9.0
Posts: 2

Rep: Reputation: 0
Having probs with ac97 and slack 9


I have onboard ac97 with the via 8233a southbridge chipset running slackware 9.0, and I compiled the alsa via82xx modules, but when I try to modprobe it says it cant find the modules.

I've tried compiling everything twice, and added the lines to modules.conf that it tells me too, but still no go.

Also, on a side note, when i did the ./configure on the alsa-driver-0.9.2, I had to add a --with-kernal=/usr because it said it couldnt find version.h.

Here's the whole version.h error:
Code:
checking for kernel version... The file /lib/modules/2.4.20/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
And if it matters, I'm a linux , so go easy on me please.

Last edited by Veonik; 04-18-2003 at 12:28 AM.
 
Old 04-18-2003, 12:46 AM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
well, in the 2.4.20 kernel, the 8233 is not supported (Was supposed to be)...it is in the 2.4.21 pre patches. the pre-7 wont compile without a pain, the pre-6 will. But it is still very buggy and doesn't work with esound, not sure about arts, either way being you are new dont mess with that.

You have to go with alsa, once you have it set up you wont have to worry. Ok, when programs install and they want to build modules for the kernel (which the alsa drivers are) they look for a symlink file called 'linux' in /usr/src. The symlink (same as a shortcut in windows) points to the current kernel source so the program knows where to put the modules. You dont have the source. Go to a slackware ftp and go into the 'k' section and download "kernel-source-2.4.20-noarch-5.tgz" then run
as root
Code:
 #installpkg kernel-source-2.4.20-noarch-5.tgz
It will intsall the kernel source and the symlink for you. Then get the alsa-drivers, alsa-lib, alsa-utilities. Unpack them into /usr/src. go into alsa-drivers
Code:
 
#./configure
#make
#make install
#./snddevices
then go into alsa-lib
Code:
#./configure
#make
#make install
then into alsa-utilities
Code:
 
#./configure
#make
#make install
Then you have to edit your /etc/modules.conf file. You have to be root to save this so easiest way is
Code:
# pico /etc/modules.conf
btw, on the command line (not sure if you know this) a # means you are root, $ means user. So make sure you are root through all this. Then place this into your /etc/modules.conf
Code:
# Alsa driver 
alias char-major-116 snd
alias snd-card-0  snd-via82xx

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
reboot, now you have to unmute your mixer
Code:
$ amixer set Master 22 unmute
$ amixer set PCM 22 unmute
$ amixer set CD 22 unmute
note, those last command were not as root.

This should get your sound working, you should put the amixer lines in your /etc/rc.d/rc.local file so they get run everytime you boot, otherwise you will have to run them (just the 3 amixer lines) everytime you boot. I think there is another command to restore the sound on boot also, i just use the rc.local way. Post back when you get it working or need more help.

good luck




Last edited by wr3ck3d; 04-18-2003 at 01:11 AM.
 
Old 04-18-2003, 01:17 AM   #3
Veonik
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9.0
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks alot! It works great.
 
Old 07-20-2003, 10:20 PM   #4
phatish
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
after installing the package... i can't get into

#./configure
the error msg:
#bash: ./configure: No such file or directory

i got the same problem as veonik

Thanks for the help
 
Old 07-21-2003, 12:37 AM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Quote:
Originally posted by phatish
after installing the package... i can't get into

#./configure
the error msg:
#bash: ./configure: No such file or directory
Are you running the ./configure as root user?
 
Old 07-21-2003, 06:37 AM   #6
phatish
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
nope... using the SU stuff...
my 2nd day on linux...so know nuts about it...
after changing to root. i can't find the files i downloaded...
 
Old 07-21-2003, 07:52 AM   #7
phatish
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
tried it as root... got the same problem

kernel-source:
Executing install script for kernel-source-2.4.20-noarch-5...

root@Shaun:~# ./configure
-bash: ./configure: No such file or directory
root@Shaun:~#


what do i do now?

Thanks
 
Old 08-08-2003, 05:18 AM   #8
planet09
LQ Newbie
 
Registered: Aug 2003
Location: Romania
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Tnx, for this post. I resolve the problem, but I don't hear the soud clear. The sound have a noise.
Please help me.
PS: My distrib is Slack 9.0
 
Old 08-08-2003, 10:57 AM   #9
luxitan
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
i did all that wr3ck3d said with no errors but when i do the last stuff:

amixer set Master 22 unmute
amixer: Mixer attach default error: No such file or directory

it's the same if i do it as root

have any idea??


[EDIT]

nevermind i didn't saw the ./snddevices part, now it's rocking!!!

thaks for the great help

Last edited by luxitan; 08-08-2003 at 11:10 AM.
 
Old 08-08-2003, 06:42 PM   #10
Bjørn
LQ Newbie
 
Registered: Aug 2003
Location: The Netherlands
Posts: 24

Rep: Reputation: 15
My onboard AC97 wasn't working with kernel 2.4.20 but after upgrading to the 2.4.21 kernel package, it started to work like magic. At least, I think that did it, and the post about the prepatches seems to confirm that.

planet09:
My sound wasn't clear either, at least the music I played with xmms wasn't. Later, I figured out the volume was just set too high and it was clipping. If you use KDE and aRts sound mixer, try running "artscontrol" and reduce you general volume.
 
Old 08-15-2003, 07:52 AM   #11
planet09
LQ Newbie
 
Registered: Aug 2003
Location: Romania
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
[QUOTE]Originally posted by Bjørn
[B]My onboard AC97 wasn't working with kernel 2.4.20 but after upgrading to the 2.4.21 kernel package, it started to work like magic. At least, I think that did it, and the post about the prepatches seems to confirm that.

Tnx Bjørn, I upgrade finnaly my kernel 2.4.20 to 2.4.21 and sound works great (better then in windoze). Sorry for my english.
 
Old 08-16-2003, 11:46 AM   #12
noparking247
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Same Problem

Hey Guys,
I'm new, and I'm kinda stuck in the same situation as the first user.
I'm using an Elite Group P4VXAD (http://www.ecsusa.com/products/p4vxad_v3.html) MoBo w/ AC97 Audio Codec: Compliant with AC97 2.2 specification (built in) and Slack doesn't seem to like it. I've looked around and can't find anything to do about it (other then Alsa, but I have no clue how to use that).
Any input would be greatly appreciated, Thanks in advance,
-Matt

Go easy on me please, I'm also a
 
Old 08-19-2003, 08:49 PM   #13
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Hey all, I just managed to get ALSA all installed ok, but, on following the guide at the top of this thread and going to unmute the mixer, i get this error:
Code:
stevo@stevo: ~$ mixer set Master 22 unmute
amixer: Mixer attach default error: No such file or directory
Another person said they didn't see the "./snddevices" part, what part is this? on the alsa guide?

Thanks.
 
Old 08-19-2003, 09:09 PM   #14
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
never mind, I user Kmix and I solved it.
Thanks!!!!
 
Old 09-02-2003, 04:40 AM   #15
bigbacon
LQ Newbie
 
Registered: Sep 2003
Distribution: slack 9
Posts: 3

Rep: Reputation: 0
Wow,

After many hours trying to get my sound card to work i found this thread....

Thanks to everyone who replied to this thread.

I hope some day i might be of some help.

Thanks again,
Big-B
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Probs with CUPS and Slack 9.1 Aman9090 Slackware 6 03-10-2004 03:21 PM
trying to install slack on vmware.. HD probs.. trey85stang Slackware 3 01-25-2004 02:32 AM
realtek ac97 whitout hotplug in slack 9.1 punker Linux - Hardware 1 01-17-2004 09:12 AM
Yet another zsnes make problem...in slack 9.1...redefinition probs cbreeze34 Linux - Software 0 11-29-2003 09:07 PM
slack probs, and mandy spork545 Slackware 7 08-09-2003 09:12 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration