Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i've installed mandrake 9.1 (dual boot with win98se) couple of days ago, and i'm trying to understand it and personalize it.
i'd like to use keyboard shortcuts (like backspace for back in mozilla,etc.)...i've found some osrt of "keyb. shortcuts control center" and changed some of them, but it didn't have any effect...
but there's another thing: i can't find alsamixer, and i need it desperatelly! where is it?
If Mandrake is using KDE then it may be that the Control Centre will only affect KDE apps (even if you set in 'Global Shortcuts').
Is ALSA the default sound system for Mandrake? If ALSA is not installed then probably neither is alsamixer. As it is a text-mode app you normally open an xterm window and start it from the command line in the window.
i've installed alsa-driver-0.9.6 in home/alsa-driver-0.9.6 dir, but there's no file named alsamixer or similar...
im not sure if it's default for mandrake, but i had to use it because i've got the famous AC'97 intel 8x0 sound card.
installing alsa driver and unmuting surround (don't now why, but...) in alsamixer...
it might be even that i didn't install it properly because after ./configure --with-cards=intel8x0 it responded:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/nechos/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
The sound card drivers for ALSA are kernel modules, and share a certain amount of code with the kernel itself. In particular they need the 'include files' from whatever source the kernel itself was compiled from. These contain definitions and data which are needed to make the module compatible with the kernel that loads it.
If you are running a standard Mandrake kernel you need to install the corresponding 'kernel source package' which contains all the source code used to compile that kernel.
If you compiled your own kernel, ALSA needs to know where the source code is that you used.
Note there are 4 separate pieces to ALSA: drivers, libraries, utilities and tools. I think alsamixer is probably in utilities.
thanx for the advice, i haven't tried it yet because i think i screwed up kernel totally (when loading it finds error in hda8 that needs to be fixed, and so on...)
since i'm still too M$-minded (i'm learning, tough!!) i think i'll reinstall the whole os - i won't loose any vital info since i installed it primarilly to learn it...
but if I get kde running, i'll try to download kernel + kernel source and recompile it.
now that you've told me, it's quite probable that my sound driver worked well, but that some components in alsamixer were set to mute...is it possible?
because there are no indications of error with sound (other than no sound at all...)
I'm not a mandrake user, so I'm partly guessing. But I don't think Mandrake uses ALSA by default (although they may provide packages).
The first thing to try is whatever Mandrake provides in the distro. Usually there is some configuration tool accessible from the desktop and if you have fairly standard hardware, not too new, there is a good chance that will work.
Also search google, these forums for Mandrake + <sound card model>
Next thing is probably to look for ALSA packages that match the kernel.
Last resort is probably to compile ALSA. In this case you do not have to recompile the kernel. Just have the source available so that ALSA can share the necessary include files.
Yeah, I'm playing with ALSA in Mandrake 9.1 too, and I'm no expert by any stretch, but it looks as though lots of alsa packages were included but no alsa drivers.
From looking at alsa-project.org it looks as though there should be some sort of alsa-driver-xxx.rpm package but I'm not seeing one. What really confuses me is that there's even an alsa service listed in the Mandrake DrakXServices utilitiy. When I restart it it just says 'ALSA driver not running.' Has anyone gotten ALSA to work with Mandrake 9.1? (I've got the Intel i8x0 AC '97 too)
i'll reinstall mdk, include kernel source, and try to resolve the problem:
first I'll try to configure sound without downloading any drivers. if i fail(wich is EXTREMLY probable!!) i'll downoload alsa-driver-0.9.6.tar.gz (the one i already downoladed, but couldn't install because it needs kernel source), and hope for the best.
the intel8x0 ac'97 , asus P4PE/p800e mbo and mdk9.1 are the worst possible - there are dozens of threads on the theme - but those with p800 have resolved the problem using alsamixer (i couldn't find it...) and unmuting surround (don't ask why surround - no one knows...)
so, these are the options:
1) find and/or install alsamixer and see wether unmuting surround helps
2) downloading and installing alsa-driver(-0.9.6) with previously installed kernel source and see if that helped
3) buying a pci soundcard (they're better,anyway) and disabling the onboard one (in BIOS - it's quite simple)
i'll try all of them, but i preddict only the third one will work
if i succesed with 1) or 2) i'll write the solution and suggest making it NEWS - it would make moderators' job easier
Yeah, I got an Asus p4p800-vm a few months ago and it took me a while to find the sound was getting sent to the surround channels. Non-ALSA mixers don't show those channels.
Doing a bit of RPM searching, I get the impression that mandrake kernels must include ALSA. Also there are RPM packages 'alsa-utils' and 'alsamixergui' for mdk9.1. Any ALSA-aware mixer should do the job.
But your m/b is new, so you might still need a more recent ALSA version to work with the sound chip.
Do you know 'tab-completion'. If you type a few letters at the command line and hit <TAB> you get a list of all commands starting with those letters. Try alsa<TAB> to see what's there already.
I dunno. Every time I run an ALSA program or a program with an ALSA output plugin I get the error that it "can't find snd_ctl_open" in some form or another. I presume that means that the driver isn't running for some reason although I too think that the drivers are precompiled into the kernel. Oh well, OSS works on my sound chip and ESD does a nice job of mixing channels.
i've reinstalled linux and now i've got kernel source too...but still no sound
so, i've found the alsa-utils file, but no alsamixergui...anyway, what do i do with alsa-utils? i tried ./ but it said Permission denied...there's also alsa.conf file
using al and then tab it found only alias (nothing similar to alsa...), so should i downoald the mixer?
and another question: can i use rpm files with mdk? how to "untar" them? or there are .tar or tar.gz alsa-mixer files?
RPM is a package management system designed by Redhat, and adopted by MDK and some other distros. The packages typically have various interdependencies so (esp for something like ALSA) you have to use packages (the .rpm files) that match your current setup. If you browse www.rpmfind.net you should find a whole section for MDK9.1.
You install them from the command line by doing something like
% rpm -i somepackage.rpm
(There are dozens of options to the rpm command, and I'm guessing a bit here. Debian uses a completely different system). The advantage of .rpm over .tar and .tar.gz is that they are supposed to completetely automate the installation procedure, including checking dependencies.
So no harm in trying to install an rpm. It can only say no.
But -- no point in playing with alsamixer until you have a driver installed and running. For AC97 and ALSA this usually means the presence of the snd-intel8x0 driver in the output of the 'lsmod' command.
i went to the page and found out there are alsa rpms only for SuSe...no mdk...
i installed alsa-driver, alsa-utils & alsa-libs from .tar.bz files on alsa homepage
it went on quite nice, i did
for all 3 of them, but then i had to add lines to modules.conf - i "copy-paste"d lines and tried to save and exit but the screen remained the same, with "recording" written in the bottom of console window...did i do something wrong?
i've got the alsamixer command (finally...) but when i try to execute it it says something couldn't execut it. i think that's due to non-changing modules.conf