LinuxQuestions.org
Help answer threads with 0 replies.
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 05-31-2006, 07:25 PM   #16
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45

Quote:
If he has an ISA soundcard, lspci won't tell us anything. The old lsisa command is not included on most modern distros. The only thing to do (that I can think of) is snoop around in /proc.
This is only necissary if you do not know the manufactureer of your sound card. There really isn't that much more you need to know to select the right card in your kernel compile.


Quote:
I don't know how to compile my kernel. What will recompiling my kernel do? Does it mean I have to reinstall everything?
It’s not as bad as it sounds at all. You are just configuring your kernel (the heart of Linux) to recognize your system hardware.

First, download the latest 2.6 kernel from kernel.org and extract it to ‘/usr/src’.

Then you will need to configure your kernel to suit your needs. ‘cd’ to the extracted directory and run ‘make menuconfig’. This is where you pick all your system information. For the most part, the 2.6 kernel will try and automatically pick the right options for you. The best way to do this is to not removing anything, only add in what you think you might need as modules (indicated by <M>) Modules are good because if it is not needed, it will not be loaded into the memory, but if it is needed, it can be used. For me, the only thing I had to add was the correct module for my network card, everything else auto detected fine. Also, please see the instructions I gave earlier for configuring sound correctly.

Once you are done configuring, you will be ready to compile. This can be done many different ways but this is how I prefer to do it.

First, update you /etc/lilo.conf to give an option to boot to your old kernel in case something goes wrong. Add the following section:

Code:
prompt
timeout = 50

#Linux bootable partition begins
  image = /boot/vmlinuz.old
  root=/dev/hda1
  label = Linux.old
  read-only
#Linux bootable partition ends
Make sure the root=/dev/hda1 is the same partition as your primary boot partition.

Now create a script in your Linux kernel directory named ‘makekernel’ that contains this code:

Code:
#!/bin/bash
cp -f /boot/vmlinuz /boot/vmlinuz.old
cp -f /boot/System.map /boot/System.map.old

echo
make clean && make && make modules && make modules_install && make install
once you have saved it to the right place do this:
Code:
‘cd /usr/src/linux-2.6*’ && ‘chmod +x  makekernel’ && ‘./makekernel’
If all goes well you should be in your newly compiled kernel at reboot.

All you need to do from here is run ‘alsaconf’ and then ‘alsamixer’.

Let me know if you need any further help with this.

Regards,
…drkstr

**edit**
this must all be done as root.
**edit**

Last edited by drkstr; 05-31-2006 at 07:26 PM.
 
Old 05-31-2006, 07:44 PM   #17
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
hmm what does modprobe do? I spent a little time looking around on google and found this:

http://www.leuf.net/ww/wikidn?Compaq...1750LinuxNotes
 
Old 05-31-2006, 07:49 PM   #18
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
It loads the modules you have enabled in your kernel compile. Usually it's not needed since your system loads them automaticly when needed. ( I think this is called hotplug but I could be wrong )

regards,
...drkstr

**edit**
that looks like a pretty good guide specific to your hardware. You should follow it and see what happens. Post back if you need help.

**edit**

Last edited by drkstr; 05-31-2006 at 07:53 PM.
 
Old 06-01-2006, 04:09 AM   #19
Fortuner
LQ Newbie
 
Registered: May 2006
Location: BSD
Distribution: Slackware 10.2
Posts: 16

Rep: Reputation: 0
maybe you have to look at alsa official website and try too look at your soundcard page
 
Old 06-01-2006, 04:43 AM   #20
onedingo
Member
 
Registered: Jan 2006
Location: Pittsburgh, PA, US
Distribution: Arch
Posts: 69

Rep: Reputation: 20
Quote:
Originally Posted by osor
Ummm...
If he has an ISA soundcard, lspci won't tell us anything. The old lsisa command is not included on most modern distros. The only thing to do (that I can think of) is snoop around in /proc.
Yup. I should have been more clear & thoughtful.

lspci does nothing for isa cards but will rule out any pci sound cards.

I have not had to install on that machine in a while but sound setup went something like this (Slackware 10.2 w/ 2.4.31 kernel):

1. I used the documentation in the Linux kernel tarball
.\Documentation\sound\ESS1868 for mine
2. Tried modprobe snd-es18xx and it worked so added:
/sbin/modprobe snd-es18xx to /etc/rc.d/rc.modules
3. alsaconf
4. alsamixer
5. alsactl store

beserkjay, What kind of soundcard do you have? Or I guess it would actually be built in to your laptop.

Last edited by onedingo; 06-01-2006 at 04:57 AM.
 
Old 06-01-2006, 04:26 PM   #21
beserkjay
Member
 
Registered: May 2006
Posts: 53

Original Poster
Rep: Reputation: 15
Hmm when I try those different modprob commands, I get an error saying can't locate module.

How can I install them?

Last edited by beserkjay; 06-01-2006 at 04:30 PM.
 
Old 06-01-2006, 07:14 PM   #22
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Hmm when I try those different modprob commands, I get an error saying can't locate module.
A good indication you need to enable them in your kernel.

Quote:
How can I install them?
refer to my earlier post.

regards,
...drkstr
 
Old 06-01-2006, 10:04 PM   #23
onedingo
Member
 
Registered: Jan 2006
Location: Pittsburgh, PA, US
Distribution: Arch
Posts: 69

Rep: Reputation: 20
beserkjay,
The first thing you need to do is absolutely identify your sound hardware.

Type "Compaq Armada 1750" into google and learn what you can. I did that myself but there were *many* different subtypes for your machine. You will probably have to compare by serial # to find an exact match.

Note the BIOS/POST info during boot, hit the pause/break key so you can write it down, disable any damn boot splash (in the BIOS setup) that Compaq's typically have that hides this useful info.

AIDA16 is a discontinued product that will give lots of useful hardware info regardless of loaded OS. Floppy and CD boot versions are available. An easy way to get it is:

SysResCD - http://www.sysresccd.org/
Ultimate Boot CD - http://www.ultimatebootcd.com/

Do that and post what you find including any relevent links and info.
 
  


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
sound card doesn't work aral SUSE / openSUSE 3 09-05-2005 04:53 AM
i cannot get my sound card to work. greenbox Linux - Hardware 4 02-19-2005 09:34 PM
My sound card will not work jdmml Linux - Newbie 4 08-06-2004 05:43 AM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 06:25 PM
which sound card DOES work?? CrajeeBoy Linux - Hardware 6 04-04-2003 04:20 PM

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

All times are GMT -5. The time now is 09:02 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