Install VIA AC97 onboard sound card in RH7.2

Source: Internet
Author: User
Article title: Install VIA AC97 onboard sound card in RH7.2. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Recently, many people asked this question in some forums, which is representative. I installed RED HAT 7.2 just half a month ago and soon liked her, however, this onboard AC97 sound card has always caused me a headache and never heard of me. I have asked many friends and tried many methods, and posted it on some forums to ask, I did not solve the problem (because I used the latest VT8233 sound card). I did not solve it until I saw the VIA technical support instructions last night, let's discuss it with you.
  
My main board: EPOX 8KHA +, uses the KT266 chipset, and the sound card is the AC97 sound card on the VT8233 beiqiao chip board.
  
Operating system: red hat 7.2, kernel is LINUX2.4.7.10, GNOME interface (this is very important, RH7.1 is also applicable, RH7.0 and earlier versions with the built-in motherboard driver, will be introduced later)
  
Required software: ALSA universal sound card driver, please download to the WWW.ALSA-PROJECT.ORG home page
Alsa-driver-0.9.0beta10.tar.bz2
  
Other: The second RH7.2 disc
  
Start Installation:
1. log on to the X-windows interface of gnome with ROOT, and put the second RH7.2 disc. a dialog box is displayed. select execute the AUTORUN program to open the GROM program dialog box, open... /Development/System/tree, the right window will show the kernel-source-linux-2.4.7.10 installation package, select the above button INSTALL, INSTALL (the original System is not installed by default), after installation, A kernel-source-linux-2.4.7.10 package will appear on the right. This is the source program file used for Compilation. because it is different from the default driver, you need to reinstall it. Go to/usr/src and find the folder linux-2.4.7.10, rename it linux.
  
2. open the console and enter the command lsmod to list the modules already loaded in the system. if the sound module is displayed, use the modprobe-r soundcore command to remove the sound module, if not, proceed to the next step.
  
3. decompress the package and unlock it with the bzip2-dc alsa-driver-0.9.0beta10.tar.bz2 | tar xvf-command. Build a folder alsa-driver-0.9.0beta10
  
4. enter the folder and run. /configure, will be configured before compilation, and then use make for compilation, this process is long, give some patience, after the success, then use make install for installation, after the success, use. /snddevices enables the system to automatically set sound devices. This is a critical step, especially in the compilation phase. if the program fails, take a closer look at the displayed compilation process and decide whether to reinstall the source program or find the file, if your source program is not put correctly, you can use it. /configure-with-kernel =/some/directory. The default path of the driver is/usr/src/linux, if the directory generated after installation by 1 is/usr/src/linux-2.4.7.10, you can also set the path to-with-kernel =/usr/src/linux-2.4.7.10, or you can change/usr/src/linux-2.4.7.10 to/usr/src/linux.
  
5. load the sound module. You can use the following methods to load data more reliably. Other methods require manual loading every time you start. this is inconvenient.
  
Edit/etc/modules. fonf and add the following lines at the end of the file:
  
Alias char-major-116 snd
Alias snd-card-0 snd-card-via8233
Alias char-major-14 soundcore
Alias sound-slot-0 snd-card-0
Alias sound-service-0-0 snd-mixer-oss
Alias sound-service-0-1 snd-seq-oss
Alias sound-service-0-3 snd-pcm-oss
Alias sound-service-0-8 snd-seq-oss
Alias sound-service-0-12 snd-pcm-oss
Save the disk and restart it.
  
6. after restarting, enter the GNOME interface. although the sound module is loaded but not activated,/star/program/multimedia/audio mixer must be enabled, once the system is turned on, the sound is automatically activated and the volume is set. do not mute the sound.
  
7. when you open and close some windows, a sound will pop up. that is a pleasant surprise !!! Open the MP3 file and try it. listen to the voice from the free world !!!!
  
I took a sigh of relief. after the hard work, I had a return. the most serious problem was in the compilation phase. The program prompts that no source file exists and how to set the path would not work. later I thought of re-installing the source program package. You can try again.
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.