- 论坛徽章:
- 0
|
我找了alsa-driver-1.0.11.tar希望能够驱动声卡
找到里面的一个install文件,有说明
Quick install
=============
1) You must have full configured source for the Linux kernel which you
want to use for the ALSA drivers. Note that ALSA drivers are part
of the kernel, so there is necessary to resolve all symbol dependencies
between the used kernel and ALSA driver code. Partly installed kernels
(for example from distributor makers) can be unuseable for this action.
2) You must turn on sound support (soundcore module).
3) Run './configure' script.
* General Options
If you do not want ISA PnP support, use --with-isapnp=no switch.
If you do not want sequencer support, use --with-sequencer=no switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you have udev or devfs and want to use more than eight cards, use
--enable-dynamic-minors switch.
If you want to turn on debug mode, use --with-debug=full switch.
If you want to debug soundcard detection, try --with-debug=detect switch.
* Kernel Source Tree
On 2.4/2.6 kernels, the location of the kernel source tree is
parsed automatilly from the running kernel.
If it's not in the standard place, specify the path via
--with-kernel=<kernel_directory>.
On 2.6 kernels, the build directory has to be given via
--with-build=<kernel_build_dir> option additionally, too.
* Drivers to Compile
The card drivers to be compiled can be selected via --with-cards option.
Pass the card driver name without "snd-" prefix. To specify
multiple drivers, list names with comma (,).
Passing "all" will compile all possible drivers (and this is the
default choice).
Some drivers have compile options. They can be passed via
--with-card-options option. Multiple options can be passed with comma,
too. The default is "all".
For available cards and options, see ./configure --help.
* Example
./configure --with-debug=full
./configure --with-cards=sb16,emu10k1 --with-card-options=sb16-csp
4) Run 'make'.
5) Run 'make install' as root.
If you have already a system with ALSA init script, you should install
just only modules via 'make install-modules' so that the existing init
script won't be replaced.
6) Run the './snddevices' script to create new sound devices in /dev directory.
Skip this step, if you have already /dev/snd/* files, or if you're
using a DEVFS or udev.
7) Edit your kernel module config (either /etc/modprobe.conf or
/etc/modules.conf, depending on the kernel version). If you are not
sure, what to do, you may try the alsaconf script available in
the alsa-utils package.
Run 'modprobe snd-xxxx' where xxxx is the name of your card.
Note: All ALSA ISA drivers support ISA PnP natively, so you don't need
isapnptools any more. Don't use both together. It will
conflict. For disabling the ALSA ISA PnP support, specify
--with-isapnp=no configure switch.
You can also look at the utils/alsasound file. This script is designed for
the RedHat distribution, but it can be used with other distributions which
use System V style rc init scripts.
Note: All mixer channels are muted by default. You must use a native
or OSS mixer program to unmute appropriate channels (for example a
mixer from the alsa-utils package).
Note: This document notices the /etc/modules.conf file. Many current
distributions uses the old /etc/conf.modules file. Both names are
valid.
在红色的这步,出了问题。
我的是修改/etc/modules.conf文件
可是我没有找到alsaconf这个文件,我的/etc/modules.conf内容是这样的
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
请问,应当如何修改呢? |
|