Audio Card Driver loading method that may be helpful for beginners

Source: Internet
Author: User
The audio card driver loading method, which may be helpful to new users-general Linux technology-Linux technology and application information, is described below. (1) install alsa-driver:
Remove the previous dependency before installation.
Tar zxvf alsa-driver-1.0.9b_26_evoc.tar.gz
Grep-r? N 'southbridge chip './*
Cd alsa-driver-1.0.9b_26
Make clean
./Configure -- with-kernel =/usr/src/linux-2.4 -- with-cards = intel8x0

Make
Make install
./Snddevices

Note: the following message appears when the modprobe snd-intel8x0 is executed: "the unresolved symbol schedule_work,
Solution:

Touch include/linux/workqueue. h
Make clean
Make
Make install
(2) install alsa-lib:
Tar jxvf alsa-lib-1.0.9.tar.bz2
Cd alsa-lib-1.0.9
./Configure
Make
Make install
(3). Install alsa-utils-1.0.9a:
Tar jxvf alsa-utils-1.0.9a.tar.bz2
Cd alsa-utils-1.0.9a
./Configure
Make
Make install
2. Install the Sound Card Driver:
Modprobe snd-intel8x0
Or:
Run alsaconf
Note: The driver is loaded, but OSS programs say: Can't open/dev/dsp.
What is wrong?
A: The OSS compatible PCM (digital audio) emulation comes as an add-on module
Which is not loaded by default. If you have got modified/etc/conf. module
As suggested in the INSTALL file, it shoshould be loaded with kerneld or kmod.
Check it-if this method for some reason doesn't work-you need to insert
The 'snd-pcm-Oss' module manually.
====> Run modprobe snd-pcm-oss.
3. Install mpg123 tool: mpg123-0.59r.tar.gz

Tar zxvf mpg123-0.59r.tar.gz

Cd mpg123-0.59r

Make linux
Make install

4. play mp3 test sound card:

Mpg123/root/1.mp3 (normal mp3 file)

NOTE: If no sound is heard, run alsamixer to mute the sound card.
Alsamixer (adjust volume)
Alsactl store
5. Use vi/etc/rc. local to edit and add:

Alsactl restore
Save and exit

Original by: hanyuekuan
Related Article

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.