Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's the first time I succeed installation on my laptop with linux mandriva limited edition. I am happy and I am excited to use it.
The only problem I have is that I have no sound at all.
When I look the tips given by the troubleshooting button, I find that the step 2 in inspecting the modules.conf file, this file is empty ! But the installation of linux was good ?
Do I have to do something special to fill it ? Or do I have miss some step in the installation ?
Somebody can help me because I don't know what I have to do to get some sound .
$su -
$alsamixer
Configure bars with arrows, enable or disable service with "m" key.
When done ESC
#alsactl store
If you have 5.1 speaker system, be sure that LFE channels bars are all way down and [off]. LFE channel is to generate 5.1 emulation matrix on 4 speaker systems.
P.S. KEEP IN MIND THAT SOUND SYSTEM WON'T WORK AFTER THAT PROCEDURE. REBOOT NEEDED!
Originally posted by SlackerLX
P.S. KEEP IN MIND THAT SOUND SYSTEM WON'T WORK AFTER THAT PROCEDURE. REBOOT NEEDED! [/B]
nope.. you can "modprobe -r" and "modprobe" again.
this will reload the sound modules and set the volumes.
in theory, you only need to reboot if you changed something with the kernel...
regards
slackie1000
1. Go to http://www.alsa-project.org/
2. Download ALSA driver source, library source, alsa-oss, utils, and tools.
3. Unpack all as root in /usr/src
4. Go to directory /usr/src/alsa-driver-*
5. ./configure --with-sequencer=yes;make;make install
6. chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
7. Go into alsa-lib
8. ./configure;make;make install
9. Go into alsa-utils
10. ./configure;make;make install
11. Go into alsa-oss
12. ./configure;make;make install
13. modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
14. alsaconf
15. alsamixer #set the volume
16. alsactl -store
------
[root@pir44-1-82-231-147-65 alsa-driver-1.0.9rc4a]# ./configure --with-sequencer=yes;make;make install
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /usr/src/alsa-driver-1.0.9rc4a
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
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).
make all-deps
make[1]: Entering directory `/usr/src/alsa-driver-1.0.9rc4a'
make[1]: Rien à faire pour « all-deps ».
make[1]: Leaving directory `/usr/src/alsa-driver-1.0.9rc4a'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa-driver-1.0.9rc4a/acore'
Makefile:6: /usr/src/alsa-driver-1.0.9rc4a/Makefile.conf: No such file or directory
make[1]: *** Pas de règle pour fabriquer la cible « /usr/src/alsa-driver-1.0.9rc4a/Makefile.conf ». Arrêt.
make[1]: Leaving directory `/usr/src/alsa-driver-1.0.9rc4a/acore'
make: *** [install-modules] Erreur 1
----
Originally posted by domiq checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
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).
that is your problem.. give the correct kernel path or install the sources..
regards
slackie1000
Quote
--------------------------------------------------------------\
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).
--------------------------------------------------------------\
Here is the fish. I believe when you installed OS, you missed kernel sources package
BTW, also grab some C/C++ compilers, just in case if you missed some of them too
G'luck
Originally posted by SlackerLX Quote
--------------------------------------------------------------\
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).
--------------------------------------------------------------\
Here is the fish. I believe when you installed OS, you missed kernel sources package
BTW, also grab some C/C++ compilers, just in case if you missed some of them too
G'luck
and what i wrote?
SlackerLX, did you read the configure file of the alsa-driver? show me where it states that you need a C++ compiler...
did you read the output of ./configure command that domiq gave... checking c compiler.. yes...so.. what is up? what is the meaning of your post?
regards
slackie1000
Your message wasn't there when I was writing. We probably did it at the same time
And yours got first. What's your problem?! It doen't matter who'a first. It's not a competition. What metters ir to help a guy
who's stuck. right?
Easy way to see if Kernel sources installed:
Run Configure System (or Drakconf) and look at the Package Management Section...
Look at the bit about 'Unistalling packages'... It'll list everything you have installed (search for 'kernel' if you have probs finding it).
Just don't uninstall, and it's an easy way to browse what you have installed. Excellect for that 'Now I know I have a network app - now what was that called, I can't run it!' moment!)
./configure give me :
------
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No suchfile or directory
done
checking whether NLS is requested... yes
-----
And make give me :
-----
[root@pir44-1-82-231-147-65 alsa-utils-1.0.9rc4a]# make
µMaking all in include
make[1]: Entering directory `/usr/src/alsa-utils-1.0.9rc4a/include'
make all-am
make[2]: Entering directory `/usr/src/alsa-utils-1.0.9rc4a/include'
make[2]: Leaving directory `/usr/src/alsa-utils-1.0.9rc4a/include'
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.9rc4a/include'
Making all in alsactl
make[1]: Entering directory `/usr/src/alsa-utils-1.0.9rc4a/alsactl'
make[1]: Rien à faire pour « all ».
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.9rc4a/alsactl'
Making all in alsaconf
make[1]: Entering directory `/usr/src/alsa-utils-1.0.9rc4a/alsaconf'
Making all in po
make[2]: Entering directory `/usr/src/alsa-utils-1.0.9rc4a/alsaconf/po'
mv: ne peut évaluer `t-ja.gmo': No such file or directory
make[2]: *** [ja.gmo] Erreur 1
make[2]: Leaving directory `/usr/src/alsa-utils-1.0.9rc4a/alsaconf/po'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.9rc4a/alsaconf'
make: *** [all-recursive] Erreur 1
-----
when I run alsamixer, I get an error message like that : "alsamixer: function snd_ctl_open failed for default: No such file or directory"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.