jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.3KB

  1. Quick Install Guide
  2. ---------------------
  3. 1) in /usr/src/linux/include/linux/capability.h find these lines
  4. #define CAP_INIT_EFF_SET to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
  5. #define CAP_INIT_INH_SET to_cap_t(0)
  6. and change them to
  7. #define CAP_INIT_EFF_SET to_cap_t(~0)
  8. #define CAP_INIT_INH_SET to_cap_t(~0)
  9. then recompile your kernel and boot it. (Note that the above lines
  10. are from linux 2.4.19; it may be different if you're using a
  11. different version)
  12. NB: This may expose your system to local denial of service attacks.
  13. If it is a shared system or server, you should assess the impact of
  14. enabling capabilities in the context of your overall system security
  15. requirements.
  16. 2) install libcap from
  17. ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
  18. 3) if you're using a journalling filesystem, mount some directory with
  19. -t tmpfs and tell configure about it with --with-default-tmpdir
  20. 4) configure with --enable-optimize --enable-capabilities and
  21. --with-default-tmpdir=/where/ever
  22. 5) make
  23. 6) as root, do
  24. make install
  25. 7) create a .asoundrc file in your home directory like this:
  26. ------ 8< ----------- 8< ------
  27. pcm.SOMENAME {
  28. type hw
  29. card 0
  30. }
  31. ctl.SOMENAME {
  32. type hw
  33. card 0
  34. }
  35. ------ 8< ----------- 8< ------
  36. 8) run the jack server with:
  37. jackstart -R -d alsa -d SOMENAME