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.
I tryed to install alsa from source, but it writes that I can't install additional ALSA driver, while I have build-in kernel. So, I installed alsa from .deb packages from repo.
I tryed to install alsa from source, but it writes that I can't install additional ALSA driver, while I have build-in kernel. So, I installed alsa from .deb packages from repo.
???? What does it means? If you can't install an additional driver why should you be able to install it from repository? Can you post the exact output you get? Unless you fixed your issue by installing from repo
@Jack
Maybe from alsa website it is not entirely clear that you first have to download the sources from http://www.alsa-project.org/main/index.php/Main_Page. Download the latest version of alsa-driver, alsa-lib, and alsa-utils (latest version is 1.0.14)
Then unzip the sources into proper directories. The suggestion from the alsa page is
Code:
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
(/download is the directory where you are supposed have downloaded the sources)
..then follow the instruction from "Now unzip and install the alsa-driver package:"
Distribution: Debian, Ubuntu, Gentoo, whatever I feel like that day....
Posts: 16
Rep:
I'm having the same problem as Funalien, my output is as follows
Code:
debian-Killa:/usr/src/alsa/alsa-driver-1.0.15rc3# ./configure
--with-cards=intel8x0 --with-sequencer=yes ; make ; make ins
tall
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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/alsa-driver-1
.0.15rc3
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exis t.
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/alsa-driver-1.0.15 rc3'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.15r c3'
Please, run the configure script as first...
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /usr/src/alsa/alsa-driver-1.0.15rc3/in clude/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/so und; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /in clude/sound; \
done \
fi
install: cannot stat `include/sound/*.h': No such file or dir ectory
make: *** [install-headers] Error 1
Edit: I understand what this is saying, that I just need to use the --with-kernal=directory, but I can't find the thing... I know that is the most ridiculous thing you've ever heard, but I don't know where it is. Funalien and myself are both using Debian Etch and he is probably having the same problem I am with this, so if you could just tell where the kernal is, obviously not /usr/src/linux, I'm sure the problem will be resolved.
Last edited by Jack_The_Nimble; 10-12-2007 at 02:50 AM.
Distribution: Debian, Ubuntu, Gentoo, whatever I feel like that day....
Posts: 16
Rep:
Okay, I got the sound working the other day if funalien is still out there this is what I did. I started by compiling a new kernel because there was no file in the root directory linking my kernel, this could be because I chose to have a separate partition for my boot files, there is a great how to at http://newbiedoc.sourceforge.net/system/kernel-pkg.html that you how to use the Debian tools, these really help. Then once you compile your kernel the alsa compilation will run smoothly. ll you have to do is run alsaconf and roll and, alsaconf should see your card this time so just unmute everything and you'll have sound.
I am new to openSUSE (trying to abandon Windows). I had similar audio problems after trying several fixes. Then, I noticed a problem with a memory buffer size in the startup log. I have Phoenix BIOS and went to BIOS Setup:Advanced Chipset Features. I changed the iGPU Frame Buffer Control to [MANUAL] and increased the Frame Buffer Size[128M]. It may be coincidence but my sound worked OK even after several re-boots. I then installed the NVIDIA video drivers and lost my sound again. Suspecting a hardware conflict, I disabled 3D acceleration and my sound works again. It may be coincidence but it's worth trying increasing your BIOS frame buffer size and disabling 3D acceleration.
New info: Automatic software update installed a new kernal and killed my sound. Now, I cannot turn 3D-acceleration off or install my original alsa drivers because of conflicts. This is too much for one day; I think I will go mow the grass and think about it for a while.
More Info: I have a conflict between alsa-driver-kmp-default and x11-video-nvidiaG01. After the new kernel was installed, I had no sound. Installing alsa driver deleted nvidia, installed a new kernal, and I had sound. Installing nvidia video deleted alsa driver, installed a new kernel, and I lost sound again.
After re-installing alsa, running alsaconf, sax2 -r, and turning up the volume I have sound after several re-boots (wav, mp3, midi, kar, avi, divx, & dvd all work.) I lost some of my video capabilities but I can get 1280x1024 with no 3D which is all I need.
Software update wants to install a new security update (kernel 4943-0) but I think I will wait for a while. I am not quite ready to compile & maintain the kernel myself...
Last edited by LoxDon; 02-03-2008 at 10:06 AM.
Reason: More Info:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.