|
楼主 |
发表于 2002-8-7 20:47:28
|
显示全部楼层
解压后得到4个文件如下:
aslaconf-686 1k
aslaconf-8233 1k
audunmute 1k
Readme.pdf 55k
以下是Readme.pdf文件内容:
Red Flag Linux 3.0 VT82C686B/VT8231 &
VT8233/VT8233A/VT8233C Audio Driver Installation Guide
Version 0.81, July 4, 2002
Copyright © 2001,2002 VIA Technologies, Inc.
1. Summary
This document describes four methods of installing the audio driver for VIA’s south
bridge chips VT82C686B/VT8231 & VT8233/VT8233A/VT8233C under Red Flag
Linux 3.0. They are:
A. OS built-in driver (VT8233/VT8233A/VT8233C not applicable)
B. VIA audio driver
C. ALSA driver from the Advanced Linux Sound Architecture project
(VT8233A not applicable)
D. OSS driver from 4Front Technologies
The step-by-step instruction for each method and a comparison of their respective
features are provided. The information in this document is provided “AS IS,” without
guarantee of any kind.
2. File description
This package contains 10 files as described below.
68audio.rfg30.gz 06-06-02 16:12 15,620 bytes
74audio.rfg30.gz 06-06-02 16:22 16,614 bytes
alsa-driver-0.5.12a.tar.bz2 11-30-01 14:45 915,079 bytes
alsa-lib-0.5.10b.tar.bz2 01-25-01 12:00 188,148 bytes
alsa-utils-0.5.10.tar.bz2 12-07-00 12:00 115,414 bytes
alsaconf-686 11-23-01 08:31 311 bytes
alsaconf-8233 11-23-01 08:31 311 bytes
audunmute 11-23-01 08:18 338 bytes
oss396e-linux-v2x.tar.gz 05-18-02 07:39 2,598,921 bytes
Readme.doc this file.2
Users are advised to visit VIA’s web site to download the latest available audio driver
packages. The ALSA driver is maintained by the Advanced Linux Sound
Architecture project, and you may download the latest driver from
http://www.alsa-project.org/. The Open Sound System (OSS) driver is maintained by
4Front Technologies, and you may download the latest evaluation version from
http://www.opensound.com/. However, using the OSS driver may require a fee.
3. Pre-installation preparation
Before installing any audio driver, you should do two things. First, remove the
previously installed driver by following the steps below.
A. OS built-in
# modprobe –r via82cxxx_audio
B. VIA Audio Driver (change the current directory to the VIA driver folder)
# ./vunstall
C. ALSA
# modprobe –r snd-pcm-oss
# modprobe –r snd-seq-oss
# modprobe –r snd-mixer-oss
# modprobe –r snd-card-via8233 (for VT8233/VT8233C)
# modprobe –r snd-card-via686a (for VT82C686B/VT8231)
D. OSS
Method 1:
# cd /usr/lib/oss
# ./soundoff (turn off the OSS audio driver)
Method 2:
# cd /usr/lib/oss
# ./uninstall.sh (uninstall the OSS audio driver)
Second, if you have other vendors’ drivers installed as well, backup the
“/etc/modules.conf” file. In case you make any mistake, you can always use the file.3
to restore your system back to the initial configuration.
Note: Before removing the previously installed driver, terminate any sound related
applications and make sure your sound card is not in use. Run the “# lsmod”
command to confirm whether the audio driver is loaded.
4. OS built-in driver (VT8233/VT8233A/VT8233C not applicable)
The OS will automatically detect the on-chip audio controller and install the driver
for it. To verify whether the driver is installed, run “# lsmod” in the command line to
check if the audio module is loaded into kernel. If loaded, you can see the module
named “via82cxxx_audio” and its size.
5. VIA audio driver
Before installing the VIA audio driver, you need to select a proper driver package
depending on the south bridge chip used on the platform. Identify the chip part
number on your board and refer to the following table while making your selection.
Driver package South bridge chip
68AUDIO.RFG30.GZ VT82C686A, VT82C686B, VT8231
74AUDIO.RFG30.GZ VT8233, VT8233A, VT8233C
Next, run the following three commands in text mode to install the VIA audio driver.
# tar zxvf 68audio.rfg30.gz (or 74audio.rfg30.gz)
# cd 68audio.rfg30 (or 74audio.rfg30)
# ./vinstall
Note: If you cannot run the “./vinstall” or “./vunstall” commands successfully, make
sure to change their attributes by “chmod 755 vinstall” or “chmod 755 vunstall”,
and then re-execute them again.
6. ALSA driver (VT8233A not applicable)
A. Prepare kernel source code
The kernel-headers and kernel-source are both required for rebuilding the audio.4
kernel module. You can select the source during your first install process by
checking the box .../ Select individual packages/ Software Development System
on Red Flag Linux 3.0. Alternatively, you may install the kernel source anytime
by selecting “Gnome RPM”, or running the “rpm –i
kernel-source-2.4.7-2.i386.rpm” command in the text mode. The kernel source
file “ kernel-source-2.4.7-2.i386.rpm ” is located on the installation CD under
the path “/RedFlag/RPMS/”.
B. Download and decompress the ALSA package
Get the up-to-date driver package form http://www.alsa-project.org/. Decompress
it in a directory you specify, for example, by using the following command.
# bzip2 –dc alsa-driver-0.5.12a.tar.bz2 | tar xvf –
C. Create sound devices
Change directory to “alsa-driver-0.5.12a”, and run the following commands to
create new sound devices in the /dev directory and probe the audio controller.
# ./configure –-with-kernel=/usr/src/linux-2.4
# make
# make install
# ./snddevices
You have two choices to load the audio module into kernel: manually or
automatically. If manually, go to Step D; if automatically, go to step E.
D. Manually load the audio module
Run the “modprobe” command to load the necessary audio module into kernel.
# modprobe snd-card-via686a (for VT82C686B/VT8231)
# modprobe snd-card-via8233 (for VT8233/VT8233C)
# modprobe snd-mixer-oss
# modprobe snd-seq-oss
# modprobe snd-pcm-oss.5
However, after system reboot, the audio module no longer exists in the kernel;
you need to manually re-load it again.
E. Automatically load the audio module
You need to edit and add the following lines in the “/etc/modules.conf” file. The
audio and associated modules will be automatically loaded into the kernel upon
the use of any audio applications.
alias char-major-116 snd
alias snd-card-0 snd-card-via686a (for VT82C686B, VT8231)
alias snd-card-0 snd-card-via8233 (for VT8233, VT8233C)
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
For convenience, we provide users with two samples configuration files,
alsaconf-686 for VT82C686B/VT8231 and alsaconf-8233 for VT8233/VT8233C.
F. Use the mixer to enable audio features
The audio features in the ALSA driver are muted by default. You may use either
the Gnome or the ALSA mixer to enable them. The Gnome one is easy to use and
thus is recommended.
(1) Use the Gnome mixer (recommended)
The mixer implements a GUI interface for users to adjust the sound level. Run
the Gnome Mixer GMIX to adjust settings. However, after system reboot the
end user needs to run the GMIX again to enable the audio driver; otherwise,
the audio driver will be muted. Once the GMIX is activated, the previously
audio settings will automatically take effect..6
(2) Use the ALSA mixer
Download the up-to-date library and utility (e.g., “alsa-lib-0.5.10b.tar.bz2”
and “alsa-lib-utils-0.5.10.tar.bz2”) from http://www.alsa-project.org/. Use the
following instructions to install them. First, decompress them in the directory
you specify.
# bzip2 –dc alsa-lib-0.5.10b.tar.bz2 | tar xvf –
# bzip2 –dc alsa-utils-0.5.10.tar.bz2 | tar xvf –
Then change directory to “alsa-lib-0.5.10b” and “alsa-utils-0.5.10”
respectively and run the following commands.
# ./configure; make; make install
After installing the ALSA utilities successfully, execute “# amixer”. All
options are muted by default. Run the following 12 commands to un-mute and
set the sound level.
amixer set PCM 22 unmute
amixer set PC\ Speaker 22 unmute
amixer set Master 22 unmute
amixer set Master\ Mono 22 unmute
amixer set Headphone 22 unmute
amixer set Phone 22 unmute
amixer set Aux 22 unmute
amixer set Video 22 unmute
amixer set CD 22 unmute
amixer set Input\ Gain 22 unmute
amixer set Line 22 unmute
amixer set MIC 22 unmute
For your convenience, the “audunmute” script file is provided in this package.
You may run the following command to enable all the audio function.
./audunmute
Note if you cannot run the “audunmute” command, make sure to change its.7
attributes by the “chmod 755” command. After system reboot, the audio
driver will be muted. The user needs to run the “audunmute” again to enable
the audio driver.
7. OSS driver
You may download an evaluation version from http://www.opensound.com/. For
VT8233A south bridge chip, use “oss396e-linux-v2x.tar.gz” or later. Run the
following two commands in the command shell to decompress and install the audio
driver package.
tar zxvf oss396e-linux-v2x.tar.gz
./oss-install
The first command will decompress 6 files. The second will install the driver. If you
have other audio modules loaded in your kernel or other third-party modules in your
system, the OSS program may abort the install process. It’s important to make sure
you remove any previously installed audio driver or modules before installing the
OSS driver.
Navigate through the GUI interface to install audio driver; choose the target directory
located at the decompressed OSS packages; remember to save the changes and exit.
Next, change your directory into the target directory, e.g., # cd /usr/lib/oss. Run
#./soundon to load the related audio modules into kernel. Or you may run
#./soundoff anytime to disable the sound. The audio modules will not be loaded after
restarting the system. If you want to have your audio devices work properly every
time you reboot the system, follow the instruction in the OSS driver release notes..8
8. Driver feature comparison
The driver features supported by each installation method are described below. The
OS does not provide any sound recorder application. Thus, for our test we adopted
the recorder in Sound Studio
(http://sourceforge.net/project/s ... mp;release_id=61112).
A. VT82C686B/VT8231
CD player Sound Studio
recorder MIDI WAV MP3 Real Player
Built-in ¡³ Fail (1) ¡³ ¡³ ¡³ Fail (2)
VIA ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
ALSA ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
OSS ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
B. VT8233/VT8233C
CD player Sound Studio
recorder MIDI WAV MP3 Real Player
VIA ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
ALSA ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
OSS ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
C. VT8233A (“oss396e-linux-v2x.tar.gz” or later applicable)
CD player Sound Studio
recorder MIDI WAV MP3 Real Player
VIA ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
OSS ¡³ ¡³ ¡³ ¡³ ¡³ ¡³
Fail (1): When recording from any audio source, you will hear noise if playing back the recorded
file.
Fail (2): When using the built-in audio driver, the Real Player (http://www.real.com) will not
work properly. The screen will be intermittent delayed and the sound distorted..9
9. Test configuration
The methods have been tested on the following systems.
A. VT82C686B
Mother Board VT5619B2 (VT8601+VT82C686B)
CPU C3 667 MHz
Memory 128 MB PC133
B. VT8231
Mother Board VT5278F (PM133+VT8231)
CPU VIA C3 750 MHz
Memory 128 MB PC133
Mother Board VT5311c (VT8364A+VT8231)
CPU AMD Duron 1 GHz
Memory 128 MB PC133
C. VT8233
Mother Board VT5543B (Pro266T+VT8233)
CPU VIA C3 900 MHz
Memory 128 MB DDR 266
D. VT8233A
Mother Board VT8065B (KT333+VT8233A)
CPU AMD Duron 1.0 GHz
Memory 256 MB DDR266
E. VT8233C
Mother Board VT5512B (VT8366+VT8233C)
CPU AMD Duron 1.0 GHz
Memory 128 MB DDR266 |
|