~ubuntu-branches/ubuntu/precise/alsa-driver/precise

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2011-02-21 18:06:40 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110221180640-a8p2yxtvgf7xbxub
Tags: 1.0.24+dfsg-0ubuntu1
* New upstream release
* Refreshed patches:
  - distinguish_kernel_makefile_and_source_dirs.patch
  - debian_dfsg_configure.patch
* debian/control: Update Vcs-bzr field to point to new branch location

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
        make dep
191
191
        make
192
192
 
193
 
The included gitcompile script does this job for you.
 
193
The included gitcompile script does this job for you. The ALSAKERNELDIR
 
194
can be eighter alsa-kmirror tree or whole Linux 2.6 source tree (see
 
195
"Compilation from Linux kernel tree").
194
196
 
195
197
Note: Some automake packages have missing aclocal program. Use newer version
196
198
      in the case.
199
201
Compilation from Linux kernel tree
200
202
==================================
201
203
 
202
 
If you have the linux kernel tree containing the corresponding ALSA
203
 
kernel codes (the version must match), you can build with that instead
204
 
of a separate alsa-kernel tree.  In this case, run
205
 
utils/setup-alsa-kernel script in alsa-driver directory:
 
204
If you have a complete Linux kernel tree, you can build the ALSA drivers from
 
205
that kernel tree instead of from an alsa-kernel tree.  Note that the ALSA
 
206
version included in that kernel tree must match the ALSA version of this 
 
207
alsa-driver-build tree.  The ALSA modules built from the kernel tree will be
 
208
built for the current running kernel, and not for the kernel version or
 
209
configuration in the kernel tree.  In other words, the currently running
 
210
kernel version and the kernel version in the kernel tree need not be
 
211
identical.
 
212
 
 
213
Two ways are available:
 
214
 
 
215
Use gitcompile script directly:
 
216
-------------------------------
 
217
 
 
218
        ALSAKERNELDIR=<YOUR-LINUX-KERNEL-TREE-PATH> ./gitcompile
 
219
 
 
220
Use utils/setup-alsa-kernel script:
 
221
-----------------------------------
 
222
 
 
223
In this case, run utils/setup-alsa-kernel script in alsa-driver directory:
206
224
 
207
225
        utils/setup-alsa-kernel YOUR-LINUX-KERNEL-TREE-PATH
208
226
 
209
 
Then this script will create alsa-kernel sub-directory and make
210
 
necessary symlinks automatically.  If you would like to copy the files
211
 
instead of symlinks (e.g. make an alsa-driver tarball), pass -c option
212
 
to setup-alsa-kernel
 
227
This script will create alsa-kernel sub-directory and make necessary symlinks
 
228
automatically.  If you would like to copy the files instead of creating
 
229
symlinks (e.g. make an alsa-driver tarball), pass the -c option to
 
230
setup-alsa-kernel:
213
231
 
214
232
        utils/setup-alsa-kernel -c YOUR-LINUX-KERNEL-TREE-PATH
215
233
 
216
 
After that, run gitcompile script.
 
234
After that, run the gitcompile script.
217
235
 
218
236
 
219
237
Cross-compiling
324
342
 
325
343
    This module supports multiple devices.
326
344
 
327
 
  Module snd-asihpi
328
 
  -----------------
329
 
 
330
 
    Module for AudioScience ASI soundcards
331
 
 
332
 
    This module supports multiple cards.
333
 
    The driver requires the firmware loader support on kernel.
334
 
 
335
345
 
336
346
Trouble Shooting
337
347
================