Need some general Mandrake 10.0 navigation/installation/driver config help..

brxndxn

Diamond Member
Apr 3, 2001
8,475
0
76
I'm trying to build a MythTV box and I am having some problems configuring it. One of the biggest problems is crappy sound quality. Mandrake 10.0 has both an ALSA and OSS sound card driver to choose from, but neither seems to work right with Myth TV. So, I tried using urpmi to install the alsa driver, but it says 'everything already installed'. So, I want to completely delete the sound card driver and download the latest Alsa driver, compile it, and configure it from the ground up... How do I go about doing that? Basically, I just need to know how to completely remove the existing sound card driver and configuration so that I can follow the tutorial for Alsa.

I'm using an SBLive, an ATI TV Wonder VE, Mandrake 10.0..

 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Well you would just go to http://www.alsa-project.org/ and download all the stable releases of software.

Then you would uninstall Mandrake's alsa-related rpms and compile and install the replacements. You'll need the configured kernel sources for your kernel aviable so that you can compile a module for it. The custom built one will simply end up being copied over the old module and you can release the old module from memory by rmmod, but it probably would just be easier to reboot.

If you want to try just upgrading the drivers, just download the drivers... should work fine with Mandrake's slightly older versions. (although it's not garrenteed.)

However the sound quality problems may be fixed by quite a different approach.

I have a audigy 1 that is very similar to your soundblaster. I also have a ATI Wonder VE card, so I may be able to help you out. Any recent release of Alsa should provide good performance out of that sound card. If your using a 2.6 series kernel, then everything should be great, I don't know of any issues that would be fixed by upgrading the drivers.

What are the sound problems? What is happenning?
 

brxndxn

Diamond Member
Apr 3, 2001
8,475
0
76
Originally posted by: drag
Well you would just go to http://www.alsa-project.org/ and download all the stable releases of software.

Then you would uninstall Mandrake's alsa-related rpms and compile and install the replacements. You'll need the configured kernel sources for your kernel aviable so that you can compile a module for it. The custom built one will simply end up being copied over the old module and you can release the old module from memory by rmmod, but it probably would just be easier to reboot.

If you want to try just upgrading the drivers, just download the drivers... should work fine with Mandrake's slightly older versions. (although it's not garrenteed.)

However the sound quality problems may be fixed by quite a different approach.

I have a audigy 1 that is very similar to your soundblaster. I also have a ATI Wonder VE card, so I may be able to help you out. Any recent release of Alsa should provide good performance out of that sound card. If your using a 2.6 series kernel, then everything should be great, I don't know of any issues that would be fixed by upgrading the drivers.

What are the sound problems? What is happenning?


Okay, first thing, how do I uninstall the existing alsa rpms? I believe that the tutorial for installing the alsa drivers would allow me to pick it up from there.. Also, believe it or not, I can't figure out how to find out where 'urpmi' installs these programs. I've looked online for answers, but the only commands they say to use aren't available on my system. I want to figure out how to find the general information about rpms - like how they differ from the default compiled version of the same program.

I am also currently trying to get lirc to work so that I can use an old Packard Bell remote with it.

One problem with the sound is that it is routed through the wrong things.. Like, line in works, but I only get sound if I have AC97 capture checked and the volume up. Also, there is slight added distortion to everything - like what you would get if the gain was set too high, except it happens at any range set on the equalizer. Also, the high frequencies are way too loud and adjusting the treble doesn't quite fix it. I'm thinking there's gotta be some driver issue - like it is using the wrong driver and producing crappy sound because of it.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Could be using the wrong driver.. In my mixer selection stuff I don't have any AC97 capture settings. Sounds like maybe your using generic sound card drivers.

The SBLive = Sound Blaster Live! with the 5.1 surround support?

Could definately be the wrong drivers. My Audigy and the Soundblaster live! 5.1 should use the emu10k1 drivers.

I am sorry, but i am not to familar with Mandrake's graphical configuration tools. The commands may be "missing" because your user's path may not be pointed to their directory. The PATH is a enviromental variable that tells the OS the locations of your executables.

If somebody tells you to go:
sudo commandname
or log in as root by going:
su

log in as root instead by adding a dash behind the su command like this:
su -

This tells the OS that you want to use root as if you logged in originally as root, and that will setup all the enviromental variables and paths and such that are appropriate for a root user. Just using "su" without the dash tells it to just keep everything as if your a user, just with root administrator rights. "superuser".

If that still doesn't work and you need to find a command, try using "locate". Locate uses a database that is built up of your filing system to quickly look for files. It's built up every evening so new changes may not go into effect until updatedb is ran. If your looking for newly made files you can use find, which is quite a bit slower, like such:

locate commandname
find / 2> /dev/null |grep commandname

I assume that Mandrake has gui configuration tool for the drivers. Set it up so that your using the Alsa drivers for your your card. Then open up a terminal and use the "su -" command.

Then go:
lsmod |less

lsmod will list all the modules currently in use by your kernel. The |less part just makes it so that you can scroll up and down it using the arrow keys. Look for the module name.
"emu10k1" is the module name for the OSS drivers.
"snd-emut10k1" is the module name for the Alsa version.

Once you determine that your using the correct snd-emu10k1 module then try to use "alsamixer" to configure.

On mine to setup snd input capture on line in you go and turn up the "line" slider. Then you go and find the two "Analog M" sliders. One is the Analog Mix, and the other is Analog Mix Capture. If you turn up Analog Mix you should here the sound input, turn that down and turn up Analog Mix Capture and that will be the setup to use for Mythtv to capture it. Then make sure that none of the first few sliders and your analog capture and line in are not past 80% or so to aviod distortion.

If it's not using the correct snd-emu10k1 driver, then see if you can trick it buy telling it that it's a Audigy.

As for the RPM stuff check out:
http://www.redhat.com/docs/man...l-guide/uninstall.html

The way to remove rpm packages are
rpm -e packagename

however, I would wait to do that till you tried everything else. Removing the rpms could cause Mandrake's configuration stuff to glitch out and force you to use command line only stuff. Also it could confuse urpmi because it does dependancy checking and it won't have any way of knowing that you installed alsa software from source manually.

maybe for a much better/quicker/more correct answer check out the forums at http://www.mandrakeusers.org/ chances are that somebody already had your problem and solved it and will have a quick easy step by step answer on how to fix it. Do a quick search, and if you can't find the answer then ask. You can't be the only one setting up Mythtv and SBLive is about the most common card in existance.

I am not a big Mandrake fan, and unfortunately I can only take it from a very generic linux standpoint.
 

Klixxer

Diamond Member
Apr 7, 2004
6,149
0
0
Three things, get rid of Mandrake and choose a distro that will let you choose exactly what to install and what not to install, i prefer Slackware but there are plenty of good ones out there, Arch, Crux, Debian will work just fine too.

Install the packages you WANT and no more, use the package manager to get the latest packages (using the latest repos for any distro you choose, recommended in this case is Arch as it carries the most current packages).

Then, and this is crucial, compile your OWN kernel, except for Arch there are very few distros that have the latest kernel (alsa is a kernel level driver so you need the latest kernel to use the latest driver). If you choose to use Arch you could be using the latest kernel without compiling the day after it is released.

I am not at home at the moment but when i was i got upgrades the day after release for most packages including kernel.