I have been trying to install the realtek audio drivers for my motherboards onboard sound. I am running a 64bit 12.3 system. I used the 3.0 linux driver from here. I unzipped the tar file, ran the ./configure script and got this:
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
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... /usr/bin/grep
checking for egrep... /usr/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... /home/Mani/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
checking cross compile...
checking for directory with ALSA kernel sources... /home/Mani/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build... /usr/src/linux
checking for kernel linux/version.h ... no
The include file 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).
Thanks for the response. I tried that command, however I got this (I assumed uname was username):
Carina:/home/Mani # ln -s /usr/src/linux-$(Mani -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(Mani -r)/include/linux/
ln: target ‘found/include/linux/’ is not a directory: No such file or directory
I found the /version.h file in another folder and tried linking the two filepaths using this:
After running the ./configure, I get this instead:
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
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... /usr/bin/grep
checking for egrep... /usr/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... /home/Mani/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
checking cross compile...
checking for directory with ALSA kernel sources... /home/Mani/Downloads/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18
checking for directory with kernel source... /lib/modules/3.7.10-1.16-desktop/source
checking for directory with kernel build... /lib/modules/3.7.10-1.16-desktop/build
checking for kernel linux/version.h ... linux/version.h
checking for kernel linux/autoconf.h generated/autoconf.h... generated/autoconf.h
checking for kernel linux/utsrelease.h generated/utsrelease.h... generated/utsrelease.h
checking for kernel version... failed
(probably missing /lib/modules/3.7.10-1.16-desktop/source/include/linux/version.h or
/lib/modules/3.7.10-1.16-desktop/source/include/linux/utsrelease.h or
/lib/modules/3.7.10-1.16-desktop/source/include/generated/utsrelease.h)
Why do you actually want to install this driver, it should be included in the standard kernel package anyway…
I personally never had the need to install additional audio drivers on linux in the last 10 years.
I am having trouble with my audio input. Some programs don’t like working with each other (ex. Steam cancels skype input and vice-versa). Also when it does work, the input audio has lots of noise and sounds terrible (output is fine). It works fine on my windows partition, but in linux it is unusable. I was hoping that installing new drivers would fix the problem.
Maybe it does compile then… (although I somehow doubt your problem is driver related)
Otherwise I don’t really know what else to try, never used audio input, especially not for more than one program at the same time.
Are you using pulseaudio?
Try to turn it off (or on, if you wasn’t using it) in YaST->Hardware->Sound (click on “Other” in the lower right corner and select “PulseAudio configuration”).
The noise could be caused by a too high “Capture” or “Mic Boost” I think, try lower it in your mixer. Or maybe if you’re using a laptop, the input can be switched between “Line in” and “Microphone”; if that is set wrong it can also distort the signal.
But as I said, I have absolutely no experience with that.
I tried the command with uname instead of my username, however I get this:
Carina:/home/Mani # ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/
ln: target ‘/usr/src/linux-3.7.10-1.16-desktop/include/linux/’ is not a directory: No such file or directory
I also disabled pulse audio and its a lot better (I can actually hear my input now) however there is still a bunch of static.
Yes, sorry. I just copy/pasted LewsTherinTelemon’s line, but now I see that the paths are completely wrong… :shame:
The directory is named /usr/src/linux-3.7.10-1.16/ but “uname -r” returns “3.7.10-1.16-desktop”, and version.h is in /usr/src/linux-3.7.10-1.16-obj/ anyway.
Carina:/home/Mani # ln -s /usr/src/linux-obj/include/generated/uapi/linux/version.h /usr/src/linux/include/linux/
ln: failed to create symbolic link ‘/usr/src/linux/include/linux/version.h’: File exists
However I don’t think I will actually need to use this driver. After disabling pulsaudio, I played around with the mic boost settings and now its as good as it ever was.
So it does already exist. No idea why the compiler doesn’t find it then… But moot anyway now, I guess.
However I don’t think I will actually need to use this driver. After disabling pulsaudio, I played around with the mic boost settings and now its as good as it ever was.
As I supposed.
Maybe you could try to use pulseaudio then again as well, but I don’t know how to change the mic boost there. I never used it myself.