LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-09-2006, 02:32 PM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
soundcore issues


I've been working on recompiling my kernel (2.6.16), because NO linux distro I've ever used has been able to work with my sound card (which is an Aztech ISA AZT2320). I needed to recompile my kernel anyways so that I could install ALSA.

I was poking around in the "menuconfig" and I found that I could compile an ALSA module specifically for my sound card right into the kernel!

I wanted to make sure soundcore was loaded into my kernel, so I hit the [ / ] button to bring up a search field. I typed in "soundcore" but, nothing came up.

I configured the built-in ALSA module with the mixer, and I try running Amarok to play an mp3, and it looks like it's playing, but I'm not hearing any sound.

Do I need to have soundcore present in my kernel to be able to make use of my sound card?
 
Old 05-10-2006, 08:01 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
After you recompile a kernel remember to reload all of your modules. This is especially true if you compiled ALSA as modules. If ALSA is built in as well make sure you've ran alsaconf to setup your "new to the kernel" sound card. After that make sure you've gone into alsamixer and unmuted any channels. Finally make sure that amaorak is trying to use ALSA to output sound, and that it has its own volume loud enough to hear.
 
Old 05-10-2006, 07:23 PM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
thanks for your response Penguin, but I've already done all that, and still no sound.

if I type:
Code:
# modprobe soundcore
I get an error saying that it cannot be found:
Code:
FATAL: Module soundcore not found.
Do I need to have soundcore loaded as a module to be able to have sound output? Because, if that's the case, I can't find the soundcore module anywhere in the kernel "menuconfig"
 
Old 05-10-2006, 07:44 PM   #4
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Well if you the module isn't found then you've haven't compiled it into the kernel. Be sure to run "make modules" and "make modules_install." Then try to modprobe the kernel. It looks like the module name is soundcore.o . When configuring your kernel, it will be in the "sound card" section, probably under Hardware, if I remember correctly from the last time I configured my kernel. What kind of sound card do you have? You might not even need that module to get sound. Have you tried "modprobe es1370"?
 
Old 05-10-2006, 08:08 PM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
I've run "make modules" and "make modules_install".

My biggest concern is whether or not I need soundcore for playback. soundcore is not in the sound section: the only entries in the "sound" section is ALSA and OSS.

My soundcard is an Aztech Systems AZT2320.

I'm just going to try recompiling, and see what happens.
 
Old 05-10-2006, 08:22 PM   #6
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
My best advice is to just compile everything in since your not sure. The worst that can happen is that your kernel is a couple k bigger.
 
Old 05-10-2006, 08:51 PM   #7
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
that's what I'm doing as we speak.

=) thanks for all your help Penguin, I'll put up a response as to what the situation is after my new kernel finishes compiling
 
Old 05-10-2006, 09:03 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Soundcore is the main option for sound support in Linux. ALSA and OSS are sub options to this. All you need to do is make sure the Sound support is compiled as a module instead of hard coded.

regards,
...drkstr
 
Old 05-11-2006, 02:14 PM   #9
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
ok, thanks drkstr.

how come I should keep it a module, and not hard-compile it into my kernel?
 
Old 05-11-2006, 03:53 PM   #10
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
During the kernel config, select the help option for "sound Support" It will state that there will be compatability issues if this hard coded when any of the sub options are compiled as modules. It is a good idea to set your device drivers as modules so things like 'alsaconf' will work properly, thus making it necessary to compile sound support as a module.

regards,
...drkstr
 
Old 05-12-2006, 01:57 PM   #11
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
ok. sweet. thanks drkstr.

another quick question, when I rifle off the "make modules && make modules_install" command, do I issue that command before or after I copy the kernel to the /boot folder?
 
Old 05-12-2006, 04:54 PM   #12
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
here is what I do when I compile my kernel:
Code:
make clean && make && make modules && make modules_install && make install
This will install your kernel image and System.map automatically, as well as install your modules to be loaded at boot. It will even reinstall your boot loader for you so the new kernel will boot correctly.

note: you can run 'make modules && make modules_install' at any time, it is independed of the kernel image compile which does not need to be done if you are just adding new modules. If however, you switched something from being hard coded to modular, the full make process will need to be preformed.

regards,
...drkstr

Last edited by drkstr; 05-12-2006 at 04:57 PM.
 
Old 05-12-2006, 04:56 PM   #13
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
The only downside to chaining, using the &&, is make sure that when you perform the commands your chaining together your sure everything is going to work. If something breaks in the middle of the chain, it'll be hard to tell what happened.
 
Old 05-13-2006, 08:37 PM   #14
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
thanks for the word of caution Penguin, and thanks for your response drkstr.
 
Old 05-15-2006, 01:50 PM   #15
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
I'm still not getting any sound.

I've checked to make sure I have the right modules, and I do. Everything seems fine, but I'm still not getting any sound.

 
  


Reply



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
Alsa And No Soundcore Module??? ssfrstlstnm Linux - Software 6 02-15-2005 07:07 PM
Soundcore daf0x Linux - Software 2 07-01-2004 01:36 AM
soundcore, modules ... h/w Linux - Hardware 5 10-14-2003 12:25 PM
Where is soundcore? Neuronet Linux - General 6 04-16-2003 10:43 AM
soundcore kmitchel Linux - Newbie 1 09-15-2001 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:03 PM.

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