LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-10-2003, 01:08 AM   #16
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
Unhappy


BTW: I got my shared network printer to print Linux Its on a W2K PC shared. I setup Samba-Swat and then just configured the printer WOW! IT WORKED!!!!!!

Still need help with the sound tho

Larry
 
Old 03-10-2003, 10:29 PM   #17
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
do you know what the module is called? if not check the alsa directory on your machine and look for a file with a .o extension, I told you to edit etc/modules.conf, that was a mistake on my part, instead do this:

add line to /etc/rc.d/rc.modules
/sbin/modprobe {your_snd_module}

{your_snd_module} is the file with the .o extension that was created when you compiled the driver

now:

run #chmod /dev/dsp 666
or modify user group privledges im not sure but if that does not work then ive got the syntax wrong and it is chmod 666 /dev/dsp

to start sound run /sbin/modprobe {your_snd_module} at terminal. or reboot
 
Old 03-10-2003, 11:03 PM   #18
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
Read post 15, I copied the terminal to that post as to what happened. I did the ./configure command that seemed to go ok but the next command make did not work. It gave an error which I copied to post 15. If you read post 15 maybe you can tell me what happened

Thanks
Larry
 
Old 03-11-2003, 03:46 PM   #19
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
ahh found your problem, you need to have th full kernel sources installed on your machine, you can either search for it as a package from your distro (the only thing that will work without a kernel recompile) or else you can download a kernel from www.kernel.org (2.4.20) and attempt to configure it manually directions at www.digitalhermit.com/linux/kernel.html
 
Old 03-11-2003, 07:55 PM   #20
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
So how did I not get a full kernel? I brought RHL 8.0 Boxed from CompUSA. Was it something I didn't install? I can add it from the RHL 8.0 CDs I have. This is turning into a real mess.
 
Old 03-11-2003, 09:56 PM   #21
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
you did get a full kernel, what you did not get were full kernel sources, these were likely omitted because they do not expect you to necessarily need it being that redhat is geared towards corporations and end users and it is about 150mb uncompressed. Most actual kernels are 1-2 mb and no more, dont think of this as a big mess think of this as a learning experience you might though just for peace of mind and so that you surely know how to do it as well as being fully up to date want to get the 2.4.20 kernel from www.kernel.org and use that
 
Old 03-12-2003, 01:10 AM   #22
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
Your kidding me right? so what your saying is with RHL 8.0 if you want to install a sound driver your screwed

Tell me then why does RHL update agent say I'm updated with kernel 2.4.18-26.8.0 if infact I can't install a sound driver with that kernel?

BTW: I did get 2 Source Code CDs with to Boxed RHL set

I also emailed RHL Support, they responded by saying they can't help me because the driver I downloaded from RealTek is not a RHL driver, great huh? The way I see it is if RHL recognized my embedded sound card I wouldn't be going through this.

I find this amazing, all I want is my RHL to recognize my sound card
 
Old 03-12-2003, 03:50 PM   #23
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
no no no thats not the way it is at all, what redhat has is the of kernel itself installed, they also have the source code to the kernel on one of the cds, if you tell it to on install it will install that, but normally it is part of the development package normally the kernel will support sound but some sound cards are not supported or the redhat installer did not pick it up correctly normally someone shouldnt have need of the sources if they are either aa newbie or are running a server, but they are an extra package just in case as you can see if it werent for your sound card you wouldnt need the kernel sources and you wouldnt otherwise care
 
Old 03-12-2003, 03:52 PM   #24
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
btw once you understand the process this really is no harder than installing a windows driver, and if something goes wrong with a windows driver your most likely just screwed over and it wont even tell you whats wrong
 
Old 03-12-2003, 11:48 PM   #25
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
Well I install the RHL source-code and the RHL update agent updated the source-code kernel to 2.4.18-26.8.0. It was under the "development tools" package section on the RHL CD.

So now that I have the source-code kernel I will try to install the downloaded driver I have for the RealTek ALC650' AC97 Sound Card.

I'll let you know what happens next.
 
Old 03-13-2003, 12:21 AM   #26
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
Well I was able to run the "./configure" command that seemed to work ok
then I ran the "make install" this seems to work ok as well except the text from the end of the terminal window

ALSA modules were successfully compiled.

rm -rf /lib/modules/2.4.18-26.8.0/kernel/sound
make[1]: Entering directory `/home/Larry/alsa-driver/acore'
mkdir -p /lib/modules/2.4.18-26.8.0/kernel/sound/acore
mkdir: cannot create directory `/lib/modules/2.4.18-26.8.0/ permi
sion denied
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/home/Larry/alsa-driver/acore'
make: *** [install-modules] Error 1


I tried the "./snddevices" command next that just said alot of permission denied stuff

So what next?
 
Old 03-13-2003, 03:57 PM   #27
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
permission to create the directory was denied, you need to either do this as root or from the console type the command su then it will ask you for your root password if you have one, if not it will just go now you have a console that has the same privileges as a root user
 
Old 03-13-2003, 05:00 PM   #28
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
I logged in as "root" and ran all 3 commands ok with no errors

./configure
make install
./snddevices

So now I have to enable this in the modules.conf but I'm not sure what to put in the file.
 
Old 03-13-2003, 05:04 PM   #29
LarryNY1
Member
 
Registered: Mar 2003
Location: Long Island, New York
Distribution: RedHat Linux 8.0 kernel 2.4.18-26.8.0
Posts: 36

Original Poster
Rep: Reputation: 15
I found this text file in the driver directory. It says what to do after I have created the package, but I just want to be sure this is correct?


Advanced Linux Sound Architecture - Driver
==========================================
Installation guide


The ALSA driver replaces the OSS/Free driver. The OSS/Free driver is
present in current Linux kernels (2.2). Since version 0.4.0, ALSA has
supported only 2.2+ kernels. The 2.0 kernels are no longer supported. You
must compile the kernel with sound support (you do not need to select
any of the other sound modules apart from sound support).

Before installing this driver, it will be helpful to read carefully
the documentation for insmod, modprobe, kmod and for the isapnp
module if you have an ISA PnP soundcard.

Module option name change after 0.9.0rc3
========================================

Note that module option names were changed in 0.9.0rc4. The 'snd_' prefix
was removed. You may use script in utils directory (module-options) to
convert your older /etc/modules.conf to newer one.

Quick install
=============

1) You must have full configured source for the Linux kernel which you
want to use for the ALSA drivers. Note that ALSA drivers are part
of the kernel, so there is necessary to resolve all symbol dependencies
between the used kernel and ALSA driver code. Partly installed kernels
(for example from distributor makers) can be unuseable for this action.
2) You must turn on sound support (soundcore module).
3) Run './configure' script.
If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
If you want sequencer support, use --with-sequencer=yes switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you want turn on debug mode use --with-debug=full switch.
If you want debug soundcard detection try --with-debug=detect switch.
If you have kernel source code in another directory than /usr/src/linux,
use --with-kernel=<kernel_directory>.
Example: ./configure --with-isapnp=yes --with-debug=full
4) Run 'make install'.
5) Run the './snddevices' script to create new sound devices in /dev directory.
Skip this step, if you have a kernel with the DEVFS support.
6) Edit your /etc/modules.conf (see the kmod support section below).
7) Run 'modprobe snd-xxxx' where xxxx is the name of your card.
Note: If you have a ISA PnP soundcard you need to first run the isapnp
program from isapnptools package to initialize your
soundcard. You can also use the native ISA PnP support by
using the --with-isapnp=yes configuration switch, in which
case you do not need the isapnptools package.

You can also look at the utils/alsasound file. This script is designed for
the RedHat distribution, but it can be used with other distributions which
use System V style rc init scripts.

Note: All mixer channels are muted by default. You must use a native
or OSS mixer program to unmute appropriate channels (for example a
mixer from the alsa-utils package).

Note: This document notices the /etc/modules.conf file. Many current
distributions uses the old /etc/conf.modules file. Both names are
valid.
 
Old 03-13-2003, 05:07 PM   #30
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
yeah thats correct, but as it sais in there since you are usiong 0.9.0rc7 that you do not need the snd prefix to your module
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
via audio AC97 in kernel 2.6.6 ? toucsdnim Linux - Hardware 3 05-22-2004 09:23 AM
Avance AC97 Audio TuxToaster Linux - Hardware 0 02-04-2004 08:13 AM
VT82C686 AC97 Audio fof3 Linux - Hardware 3 01-26-2004 08:43 AM
VT82C686 AC97 Audio fof3 Linux - Newbie 2 01-26-2004 08:42 AM
ac97 audio + devfs verigoth Linux - Hardware 2 02-07-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:16 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
Open Source Consulting | Domain Registration