Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Very Quiet System
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Mon Nov 24, 2003 4:27 pm    Post subject: Very Quiet System Reply with quote

Hi All,
I have just installed Gentoo (Gnome 2.2) and now find the system very quiet.I have enabled sound events but still no sound ...what do I do now?

Mr.G. :?
Back to top
View user's profile Send private message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Mon Nov 24, 2003 5:37 pm    Post subject: Deatils, please? Reply with quote

It's hard to know where to start without more details, like if you're using ALSA, what sound card you've got, and whether you were getting sound before you emerged GNOME.

If you're using ALSA, you want to look here for how to install, configure, and troubleshoot it. There's a step involving alsamixer, which turns on your primary sound channels -- that may be a good place to start if you had sound before.
Back to top
View user's profile Send private message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Tue Nov 25, 2003 10:06 am    Post subject: Reply with quote

hi,
I have Realtek AC'97 Audio on board (MPU-401?)
I am not sure if ALSA is loaded how do I find out ?

Mr.G.
Back to top
View user's profile Send private message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Tue Nov 25, 2003 4:01 pm    Post subject: Boing boing boing Reply with quote

I think we can probably assume that you're not using ALSA at the moment.

What's ALSA? It is one of the archetectures that Linux computers can use to drive their sound hardware. ALSA stands for Advanced Linux Sound Archetecture, and it is going to be built in to the next version of the Linux kernel, so you might as well start using it now. This way you'll be ready for the future.

(Like everything else Linux, there are alternatives. One major alternative to ALSA is OSS, which stands for Open Sound System or something along those lines. OSS seems to be gradually fading into the woodwork, but it is venerable and established. At some point when configuring ALSA, you'll have to opportunity to enable OSS compatibility. I figured I might as well do it, and I've had no problems, so I recommend that you do too.)

Just follow the bouncing ball in the document I referenced above. Scroll up, click the link, and print it out.

Here's a quick overview of what you'll do though -- basically what you're going to do is this:

- Configure your kernel to load the sound support module (this just makes your kernel aware of your sound hardware -- the kernel's job is to deal with hardware, after all)
- Compile the sound support module and install it (can't get very far without having a binary, can we?)
- Configure your make.conf to be alsa-aware (basically you add alsa to your USE flags if it's not there already, and add a line that sets a variable that stands for your sound hardware -- that trims down the compile time later)
- Emerge the alsa-driver package
- Add ALSA to your list of services
- Start ALSA for the first time
- Enjoy sound on your desktop!

It sounds like a lot. It's not. Really it's not. Again, look at the user documentation for ALSA and follow it step by step. It's just like baking bread, except that bread makes no sound.

Next, a tip.

The major tripping point for me is in installing your new sound-supporting kernel. You need to recall what boot loader you chose when you first installed Gentoo. I use LILO because it's simple. The other major option is GRUB. I can't tell you which one you use -- you have to remember or figure it out. The point is this, though: If you're using LILO, don't forget to run /sbin/lilo after you recompile your kernel and copy it to /boot!

That's important to know, so I'll say it again:

If using LILO as a boot manager, first, recompile kernel. Second, copy new kernel bzImage to /boot. Third, ***run /sbin/lilo!***

If you don't run /sbin/lilo, then the computer will probably load the old kernel, not the new recompiled one, even though you've copied the over the old one. This will lead to crazy behaviour. It has to do with how LILO deals with the /boot file system (read: STUPIDLY), and has caught me about a hundred times, but I've finally learned my lesson. Now I pass this knowledge on to you. Use it wisely.

This tip only counts if you're using LILO. I've never had the nerve to dive into GRUB, so you're on your own there. I use LILO because I understand how it breaks.

Hope that helps.
Back to top
View user's profile Send private message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Tue Nov 25, 2003 4:59 pm    Post subject: Reply with quote

Hi There,
thank you for your posting ...I have some more work to do by the looks of things...

I use LILO (which was a pain to set up if you have never done it before)

I may have to change kernel ..I am tring to get network set up so that I can emerge

The strange thing is one of the gnome games has got sound...I must look at modules to see what is there...

I'm used to having all these things set up for me but I am finding it a great way to learn Linux (even its the hard way)

thank you again

Dave T.
Back to top
View user's profile Send private message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Tue Nov 25, 2003 5:16 pm    Post subject: Yep Reply with quote

Gentoo is a learning person's Linux distro, all right. I've learned a ton just getting the system set up, and I still have a loooong way to go.

It pays off though.

The trick is to take it in chunks and to figure out what to pay attention to first. Networking is a big part of Gentoo, so that's probably where you should focus. You'll end up recompiling things a lot until it all settles in, but consider it practice and you'll get more nimble with each iteration. Pretty soon you'll know how to get what you want out of the system and you'll be comfortable doing what you need to make it work.

For example: I have a PS/2 trackball mouse that I use for desktop work, but that is no good for playing games. I have a USB mouse that works much better, but I had no idea how to get both mice to work at the same time. I remembered that configuring the PS/2 trackball had been a bit of a chore, and involved mucking around with X config files, so I was a bit daunted. I thought it was an overly-weird want on my part, so for months I just suffered with the trackball.

A few days ago, I got tired of that situation. I did a little research here on the forums, found a solution that was close to what I needed, and jumped right in. Experience with editing .conf files made it more comfortable for me.

Good luck!
Back to top
View user's profile Send private message
MrGreen
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 211

PostPosted: Tue Nov 25, 2003 6:42 pm    Post subject: Reply with quote

Yes I agree the system is what you make it...

I am looking into networking (lots to read up on!)

When I started install I printed off instructions and followed them ..was O.k. till I got to LILO ....

Then I had XF86Config to sort out :lol:

I went for the Stage 3 install + GRP So I could have Gnome I even managed to get NVIDIA working but the system is still a little bare...

Where is the best place to learn about kernel compiling as it seems to be my next task...

Dave .T
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum