Driver Compilation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Distribution specific: was it your intention to put Fedora under Red Hat, and Red Hat under SUSE? Gentoo Linux added.) |
||
Line 18: | Line 18: | ||
==Distribution specific== | ==Distribution specific== | ||
===SUSE Linux/OpenSUSE=== | ===SUSE Linux/OpenSUSE=== | ||
: install appropriate kernel-source rpm package | |||
===Red Hat Fedora=== | |||
: install appropriate kernel-source rpm package | : install appropriate kernel-source rpm package | ||
====Fedora 8==== | |||
: install appropriate kernel-devel rpm package only (ommit kernel-sources)! | : install appropriate kernel-devel rpm package only (ommit kernel-sources)! | ||
: [http://fedoraproject.org/wiki/Docs/CustomKernel Instructions for Fedora 8] | : [http://fedoraproject.org/wiki/Docs/CustomKernel Instructions for Fedora 8] | ||
===Gentoo Linux=== | |||
: Run <tt>emerge media-sound/alsa-driver</tt> to get the latest stable version. <br />''Note:'' this driver is now disencouraged, Gentoo recently switched to using the in-kernel driver as its first choise! | |||
: If you want the latest sources, use <tt>emerge --oneshot =media-sound/alsa-driver-9999</tt> which will download the mercurial source tree, compile it and install it for you. | |||
: Follow the [http://www.gentoo.org/doc/en/alsa-guide.xml Gentoo Linux ALSA Guide] to install ALSA. |
Revision as of 09:02, 21 January 2008
Pre-requisites
- full kernel sources (see to distribution specific section)
- gcc (C compiler)
- autoconf (only necessary if you need to use hgcompile script)
Compilation commands
# ./configure # make # make install
Note: Example above will replace ALSA drivers for current kernel with drivers compiled from source.
Distribution specific
SUSE Linux/OpenSUSE
- install appropriate kernel-source rpm package
Red Hat Fedora
- install appropriate kernel-source rpm package
Fedora 8
- install appropriate kernel-devel rpm package only (ommit kernel-sources)!
- Instructions for Fedora 8
Gentoo Linux
- Run emerge media-sound/alsa-driver to get the latest stable version.
Note: this driver is now disencouraged, Gentoo recently switched to using the in-kernel driver as its first choise!
- If you want the latest sources, use emerge --oneshot =media-sound/alsa-driver-9999 which will download the mercurial source tree, compile it and install it for you.
- Follow the Gentoo Linux ALSA Guide to install ALSA.