Re: ALSA???!!#%
- From: Shadow_7 <wwwShadow7@xxxxxxxxxxxxxxx>
- Date: Sun, 10 Jun 2007 23:09:39 GMT
One HOWTO says that "ALSA is now in the kernel by default..."
but *when* is "now"? I have Linux 2.4.2, and I *think* it
probably only has OSS, but I'm not sure what modules I should
be checking for. It certainly doesn't have any of the libs or
utilities installed, but are the driver modules there?
The alsa modules are in the 2.6.x verson kernels. If you're using a
2.4.x kernel, you'll need the source packages from alsa-project.org .
And then there's that thing where newer versions of glibc wont even let
you run a 2.4.x kernel. And gcc versions > 3.4 wont even let you compile
a 2.4.x kernel. Not that this is your issue. But should you ever
upgrade you may be spinning wheels, reinventing the wheel, <insert
cliche>.
For alsa, outside of the kernel, it's fairly straight forward.
tar -xzvpf alsa-lib-???.tar.gz
cd alsa-lib-???
../configure --prefix=/usr
make
make install
tar -xzvpf alsa-driver-???.tar.gz
cd alsa-driver-???
../configure --prefix=/usr --with-sequencer=yes --with-cards=???
make
make install
You don't really need the other packages outside of some cards that
require firmware. And some utilities if you don't know how to manually
configure things. Or otherwise want to use something exotic.
Some compilation notes. The above source compiles assumes you have a
kernel sources in use, or some kernel-headers package for your distro.
In addition to the compiling tools. You don't need the --prefix=/usr, if
your system is configured to use /usr/local/ which is the default. List
your specific card in the --with-cards= parameter, or it will compile all
drivers for all cards, and you should go watch a movie or something.
Available options are in ./configure --help | more
If this is the first time you've installed alsa and you're not running
udev or devfs with a setup for alsa, you'll need to run the ./snddevices
script to mknod the sound devices in /dev. Additional configuration may
be required for /etc/modules.conf or /etc/modutils.d/ or /etc/
modprobe.d/. And there's other more manual ways to get things working.
Remember that alsa mutes all volumes levels by default. So just because
you don't hear anything doesn't mean it's not in use.
Alsa was originally sponsored by SuSE which is a german based distro.
For american/english/us version of their site, you might add this to
your /etc/hosts:
160.217.9.25 alsa-project.org www.alsa-project.org
Which is the IP it resolves to for me, accessing the internet from
the .us. Or just add an american DNS server in your /etc/resolv.conf.
But be prepared for a significant lag/delay if you're not local.
HTH
.
- Follow-Ups:
- Re: ALSA???!!#%
- From: Pete
- Re: ALSA???!!#%
- References:
- ALSA???!!#%
- From: Pete
- Re: ALSA???!!#%
- From: Jerry McBride
- Re: ALSA???!!#%
- From: Pete
- ALSA???!!#%
- Prev by Date: Re: help with converting old xenix 5.25" fd
- Next by Date: Need recommendation for USB Thumb Drive
- Previous by thread: Re: ALSA???!!#%
- Next by thread: Re: ALSA???!!#%
- Index(es):
Relevant Pages
|