2013년 10월 12일 토요일

How to install audio driver for realtek

Make sure that your system is updated (including the kernel and libncurses5-dev) and ready to compile the drivers: update and then use the following command to make sure that all the libraries and packages are installed for compiling the sound driver:

To update the package cache and checks for broken dependencies
>>sudo apt-get check


To resynchronize the package index files from their sources
>>sudo apt-get update

To install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list, Packages currently installed with new versions available are retrieved and upgraded;
>>sudo apt-get upgrade

To prepare systems to compile driver; we need to insall the following package:
>>sudo apt-get install build-essential checkinstall automake linux-headers-generic libncurses5 libncurses5-dev xmlto gettext

to install :
>> sudo aptitude install build-essential libncurses-dev gettext xmlto xmltoman linux-headers-`uname -r`



Download the realtek audio driver from the following url:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false#High%20Definition%20Audio%20Codecs

Alternate Location:

http://122.146.118.42/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false

Look for HDA Drivers and accept the License and then Go to the Linux/Unix section and then clink on one of the download site links for Linux driver (2.4 or 2.6), download and save this file on your hard disk in a folder:

Open a terminal; change to folder where you saved the driver.
to unpack use the command:

>>tar -jxvf "downloaded-driver-file-name"

It shall extract and create a folder with the name "realtek-linux-audiopack-X.XX"

change to the folder and to compile and install the driver run
>>sudo ./install

It would show lots on info on the screen while driver is complied and installed;
After the driver is installed a configuration screen pops up

Configure the system according to your preference:

It would play a sound; if you hear the sound; it working; Enjoy.

You may have to configure front speaker and headphone volumes.

If jack sense does not work i.e. headphone plug does not mutes the speakers;
added the following options line to the file /etc/modprobe.d/alsa-base:

>>gksu gedit /etc/modprobe.d/alsa-base

at the end of above file add the following line:

options snd-hda-intel model=acer

Report back if it works or not.

댓글 없음:

댓글 쓰기