Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old January 5th, 2008   #1
Aqualung
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 25
Installing Realtek sound drivers

I just downloaded the Realtek Linux drivers from the Realtek website, and I wanted to install the sound drivers for my mobo-embedded ALC888 sound chip. The readme file says I should execute ./install for an "Automatic install," which is precisely what I did, with all the permissions required and all that jazz. The result of running the ./install file, however, contains lots of negative statements like "configure: error: C compiler cannot create executables," "install: cannot stat `include/sound/*.h': No such file or directory," "./snddevices: not found" etc. (see below in detail), which makes me wonder whether the drivers got installed after all. The difference from the "before" state is almost zero; among others, the sound settings window keeps making reference to an ALC883 instead of ALC888 .

What am I doing wrong?

Here's now the detailed result of running the ./install file:

sudo ./install
.....Decompress Driver source v1.0.15rc3-4.07a
.....Decompress ALSA Library source v1.0.14
.....Decompress ALSA Utility v1.0.14
Remove old sound driver
Compile Driver........
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002'

Please, run the configure script as first...

if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/cristi/Desktop/realtek-linux-audiopack-4.07a/alsa-driver-rt20071002/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
install: cannot stat `include/sound/*.h': No such file or directory
make: *** [install-headers] Error 1
./install: 39: ./snddevices: not found
Remove old alsa library
Compile ALSA Library.....
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Compile ALSA Utility......
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `/usr/lib/libasound.*': No such file or directory
cp: cannot stat `/usr/lib/pkgconfig/alsa.pc': No such file or directory
Remove Folder.....
./install: 100: alsaconf: not found
cristi@SpongeBob:~/Desktop/realtek-linux-audiopack-4.07a$
Aqualung is offline   Reply With Quote
Old January 5th, 2008   #2
exneo002
Gee! These Aren't Roasted!
 
exneo002's Avatar
 
Join Date: Nov 2007
Location: everywhere and nowhere
Beans: 190
Ubuntu 7.10 Gutsy Gibbon
Re: Installing Realtek sound drivers

hey I have a realtek on board and I just gave up on it you should just buy a linux friendly sound card
but If you find an easy way to do it just email me at exneo.socomplayer@yahoo.com
exneo002 is offline   Reply With Quote
Old January 5th, 2008   #3
kellogs908
5 Cups of Ubuntu
 
Join Date: Jan 2008
Beans: 37
Re: Installing Realtek sound drivers

same problem here
in my post there is somehelpful info but i havnt been able to get it to work yet
http://ubuntuforums.org/showthread.php?t=658634&page=2
there are several links posted by other users which are helpful for going through a list of possible problems, once I figure this out, if I do, I will be sure to make a tutorial on how to fix the issue because the issue seems apparent with several users
kellogs908 is offline   Reply With Quote
Old January 5th, 2008   #4
blithen
Way Too Much Ubuntu
 
blithen's Avatar
 
Join Date: Jul 2007
Location: /earth/USA/WA/Spokane
Beans: 285
Xubuntu 8.10 Intrepid Ibex
Send a message via AIM to blithen Send a message via MSN to blithen
Re: Installing Realtek sound drivers

You need to make sure you have build-essential installed

Code:
sudo apt-get install build-essential
__________________
Ubuntu User # 17031
Quote:
Originally Posted by RAV TUX View Post
who needs support when you use Linux.
Quote:
Originally Posted by asjdfwejqrfjcvm msz34rq33 View Post
Open-Source: The power to create completely useless, but extremely cool, programs.
WARNING: If anyone tells you to do sudo rm -rf ANYTHING do NOT do it.
blithen is offline   Reply With Quote
Old January 5th, 2008   #5
aktiwers
Chocolate-Covered Ubuntu Beans
 
aktiwers's Avatar
 
Join Date: Mar 2006
Location: Denmark - Copenhagen
Beans: 2,009
Send a message via MSN to aktiwers Send a message via Skype™ to aktiwers
Re: Installing Realtek sound drivers

Have you guys checked this?
https://help.ubuntu.com/community/HdaIntelSoundHowto

If it seams confusing, try post the output of:
Code:
cat /proc/asound/card0/codec#* | grep Codec
__________________

aktiwers is online now   Reply With Quote
Old January 5th, 2008   #6
SidewinderPro2
Just Give Me the Beans!
 
SidewinderPro2's Avatar
 
Join Date: Dec 2007
Beans: 74
Ubuntu 7.10 Gutsy Gibbon
Re: Installing Realtek sound drivers

Theres a really good chance that you are not using a Realtek onboard card. Mine uses the drivers/codecs, but its an Nvidia chipset. I downloaded the Realtek HD audio codecs for Linux, installed them, and got nothing. I then spent a great deal of time messing with the ALSA modprobe file, and then did this, for my nForce 430 chipset:

Find yours here: http://www.alsa-project.org/main/index.php/Matrix:Main

Mine: http://www.alsa-project.org/main/ind...dule-hda-intel

Find your card, then click the Details link in the table that list different models of your particular brand. Follow the instructions. At the end it has you run the alsamixer. Try to make sure the speakers are unmuted in the alsamixer, it kinda helps...

Sound setup for anything that uses the Realtek codecs is a massacre.
__________________
Enemy Territory: Quake Wars / Medal of Honor Airborne / Crysis / Unreal Tournament 2004 / Bioshock
All running swiftly on the AMD 6000+, 3 GB of RAM, eVGA 8800GTS SSC 640MB, all inside a genetically enhanced Gateway desktop.
SidewinderPro2 is offline   Reply With Quote
Old January 5th, 2008   #7
Aqualung
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 25
Re: Installing Realtek sound drivers

Now lemme tell you what the funny thing is: my soundcard works perfectly fine (or, at least, I have sound) with the default drivers installed by the Ubuntu setup. Can't complain about that--unlike, I assume, the rest of y'all. I am just trying to exert my ol' Windows habits by checking with the manufacturer website for the newest drivers: I don't really trust the drivers downloaded by Windows Update... Now, it looks to me, however, that I may have to drop this habit in the Linux world, as manually installing drivers looks to me to be an incredibly cumbersome venture, fraught with peril. I'd rather let Ubuntu install whatever it wants to, as long as things work. Don't fix it if it ain't broken, as they say... This, it seems to me, should be something one should stick with in the Ubuntu/Linux world. As far as Windows goes, I always install the newest and greatest drivers, regardless of whether the old ones work fine or not.

Otherwise, I wish there were a nice Windows-like method to tell what driver version each one of my PC's devices have. I don't know to what extent one should trust the default Ubuntu Driver and/or Update Managers to have the latest drivers: e.g., it looks to me that my nVidia videocard drivers are not really the latest at this point in time (although things work fine so far, can't complain); I am pretty sure that Nvidia has newer Linux drivers on their website than the ones installed on my PC. (Btw, what is the usual time interval within which Ubuntu driver repositories get updated with the latest officially released Linux drivers? What can we, end users, do to speed up this process? Is there some way we could signal Ubuntu officials that a newer Linux driver for a particular device, has been released?)

Hence, how can I tell what driver version is installed for a particular device? How can I tell what driver version my soundcard has now?
Aqualung is offline   Reply With Quote
Old January 5th, 2008   #8
FuturePilot
Can't Get Enough 64bit Ubuntu
 
FuturePilot's Avatar
 
Join Date: Oct 2006
Beans: 3,946
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to FuturePilot Send a message via MSN to FuturePilot
Re: Installing Realtek sound drivers

The drivers in the repositories only get updated every 6 months when a new release of Ubuntu comes out. It would be too risky to try and update the drivers in the middle of a stable release. It could cause lots of breakage.

I'm pretty sure the drivers for you sound card are the Alsa 1.0.14 drivers.
__________________
Blog | Registered Ubuntu User #15350 | Zsh FTW | Please use bittorrent to download Karmic | Please read the Karmic release notes for known issues
FuturePilot is online now   Reply With Quote
Old January 5th, 2008   #9
Aqualung
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 25
Re: Installing Realtek sound drivers

Quote:
Originally Posted by SidewinderPro2 View Post
Theres a really good chance that you are not using a Realtek onboard card.
I built my computer myself: the mobo is a Tyan S2696 (a Woodcrest-based dual Xeon), whose one and only sound chip is an ALC888 (Realtek).
Quote:
Originally Posted by FuturePilot
I'm pretty sure the drivers for you sound card are the Alsa 1.0.14 drivers.
How about that method I was asking about: how can I tell what driver version my nVidia videocard has, say?

Thanks for the replies.
Aqualung is offline   Reply With Quote
Old January 5th, 2008   #10
Aqualung
5 Cups of Ubuntu
 
Join Date: Oct 2007
Beans: 25
Re: Installing Realtek sound drivers

Quote:
Originally Posted by aktiwers View Post
... post the output of:
Code:
cat /proc/asound/card0/codec#* | grep Codec
Here's the result: Codec: Realtek ALC888 -- and this with the native/default Ubuntu drivers, i.e. before any attempt to "install" the ones I downloaded etc.
Aqualung is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:09 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry