diff options
Diffstat (limited to 'alsa-utils/alsaconf')
-rw-r--r-- | alsa-utils/alsaconf/Makefile.am | 37 | ||||
-rw-r--r-- | alsa-utils/alsaconf/Makefile.in | 557 | ||||
-rw-r--r-- | alsa-utils/alsaconf/alsaconf.8 | 102 | ||||
-rw-r--r-- | alsa-utils/alsaconf/alsaconf.fr.8 | 111 | ||||
-rw-r--r-- | alsa-utils/alsaconf/alsaconf.in | 1435 | ||||
-rw-r--r-- | alsa-utils/alsaconf/po/Makefile.in | 91 | ||||
-rw-r--r-- | alsa-utils/alsaconf/po/ja.po | 362 | ||||
-rw-r--r-- | alsa-utils/alsaconf/po/ru.po | 373 |
8 files changed, 0 insertions, 3068 deletions
diff --git a/alsa-utils/alsaconf/Makefile.am b/alsa-utils/alsaconf/Makefile.am deleted file mode 100644 index a11ecc5..0000000 --- a/alsa-utils/alsaconf/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -sbin_SCRIPTS = alsaconf -man_MANS = alsaconf.8 alsaconf.fr.8 -EXTRA_DIST = $(man_MANS) -SUBDIRS = po - -install-man8: - @for i in $(man_MANS); do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \ - case $$inst in \ - *.[a-za-z]*)\ - loc=`echo $$inst | sed -e 's/^.*\\.//'`; \ - loc="/$$loc"; \ - inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \ - *)\ - loc="";; \ - esac; \ - $(mkinstalldirs) $(DESTDIR)$(mandir)$$loc/man$$ext; \ - echo " $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \ - $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \ - done - -uninstall-man8: - @for i in $(man_MANS); do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \ - case $$inst in \ - *.[a-za-z]*)\ - loc=`echo $$inst | sed -e 's/^.*\\.//'`; \ - loc="/$$loc"; \ - inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \ - *)\ - loc="";; \ - esac; \ - echo " rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \ - rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \ - done diff --git a/alsa-utils/alsaconf/Makefile.in b/alsa-utils/alsaconf/Makefile.in deleted file mode 100644 index 7d0b63c..0000000 --- a/alsa-utils/alsaconf/Makefile.in +++ /dev/null @@ -1,557 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = alsaconf -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/alsaconf.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ - $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ - $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ - $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/include/aconfig.h -CONFIG_CLEAN_FILES = alsaconf -am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" -sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(sbin_SCRIPTS) -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -man8dir = $(mandir)/man8 -NROFF = nroff -MANS = $(man_MANS) -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ALSACONF_FALSE = @ALSACONF_FALSE@ -ALSACONF_TRUE = @ALSACONF_TRUE@ -ALSAMIXER_FALSE = @ALSAMIXER_FALSE@ -ALSAMIXER_TRUE = @ALSAMIXER_TRUE@ -ALSA_CFLAGS = @ALSA_CFLAGS@ -ALSA_LIBS = @ALSA_LIBS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CURSESINC = @CURSESINC@ -CURSESLIB = @CURSESLIB@ -CURSES_CFLAGS = @CURSES_CFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LDFLAGS = @LDFLAGS@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LN_S = @LN_S@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MSGFMT = @MSGFMT@ -MSGFMT_015 = @MSGFMT_015@ -MSGMERGE = @MSGMERGE@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -POSUB = @POSUB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SND_UTIL_MAJOR = @SND_UTIL_MAJOR@ -SND_UTIL_MINOR = @SND_UTIL_MINOR@ -SND_UTIL_SUBMINOR = @SND_UTIL_SUBMINOR@ -SND_UTIL_VERSION = @SND_UTIL_VERSION@ -STRIP = @STRIP@ -TESTSOUND = @TESTSOUND@ -USE_NLS = @USE_NLS@ -USE_XMLTO_FALSE = @USE_XMLTO_FALSE@ -USE_XMLTO_TRUE = @USE_XMLTO_TRUE@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -ac_ct_CC = @ac_ct_CC@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -ncurses5_config = @ncurses5_config@ -ncursesw5_config = @ncursesw5_config@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -xmlto = @xmlto@ -sbin_SCRIPTS = alsaconf -man_MANS = alsaconf.8 alsaconf.fr.8 -EXTRA_DIST = $(man_MANS) -SUBDIRS = po -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign alsaconf/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign alsaconf/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -alsaconf: $(top_builddir)/config.status $(srcdir)/alsaconf.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-sbinSCRIPTS: $(sbin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)" - @list='$(sbin_SCRIPTS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f $$d$$p; then \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ - $(sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \ - else :; fi; \ - done - -uninstall-sbinSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(sbin_SCRIPTS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ - rm -f "$(DESTDIR)$(sbindir)/$$f"; \ - done -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(SCRIPTS) $(MANS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-man - -install-exec-am: install-sbinSCRIPTS - -install-info: install-info-recursive - -install-man: install-man8 - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am uninstall-man uninstall-sbinSCRIPTS - -uninstall-info: uninstall-info-recursive - -uninstall-man: uninstall-man8 - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-recursive ctags ctags-recursive \ - distclean distclean-generic distclean-recursive distclean-tags \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-man8 install-sbinSCRIPTS install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ - mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-info-am uninstall-man uninstall-man8 \ - uninstall-sbinSCRIPTS - - -install-man8: - @for i in $(man_MANS); do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \ - case $$inst in \ - *.[a-za-z]*)\ - loc=`echo $$inst | sed -e 's/^.*\\.//'`; \ - loc="/$$loc"; \ - inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \ - *)\ - loc="";; \ - esac; \ - $(mkinstalldirs) $(DESTDIR)$(mandir)$$loc/man$$ext; \ - echo " $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \ - $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \ - done - -uninstall-man8: - @for i in $(man_MANS); do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \ - case $$inst in \ - *.[a-za-z]*)\ - loc=`echo $$inst | sed -e 's/^.*\\.//'`; \ - loc="/$$loc"; \ - inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \ - *)\ - loc="";; \ - esac; \ - echo " rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \ - rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \ - done -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/alsa-utils/alsaconf/alsaconf.8 b/alsa-utils/alsaconf/alsaconf.8 deleted file mode 100644 index a3e1296..0000000 --- a/alsa-utils/alsaconf/alsaconf.8 +++ /dev/null @@ -1,102 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" alsaconf.8 is copyright 2003 by Jordi Mallach <jordi@debian.org> -.\" -.\" This is free documentation, see the latest version of the GNU -.\" General Public License for copying conditions. There is NO warranty. -.TH ALSACONF 8 "February 23, 2003" - -.SH NAME -alsaconf \- configuration tool for the Advanced Linux Sound Architecture - -.SH SYNOPSIS -.B alsaconf -.RI [ options ] - -.SH DESCRIPTION -This manual page documents briefly the -.B alsaconf -command. -This manual page was written for the Debian distribution because the -original program does not have a manual page. -.PP -\fBAlsaconf\fP is a simple shell script which tries to detect the sound cards -on your system and writes a suitable configuration file for ALSA. It will try -to guess what GNU/Linux distribution you're running, and will act accordingly -to the standards of that distribution, if specific support is available. -.PP -Alsaconf will write a module-init-tools (or modutils) snippet which can be then used by module-init-tools (or modutils) -to load the correct parameters for your sound card. - -.SH OPTIONS -Alsaconf accepts the following options: -.TP -.B \-c, \-\-config file -Specify the module config file. -As default, -.B alsaconf -probes the available config file automatically. -.TP -.B \-d, \-\-devmode mode -Set the device mode for the ALSA devices (default = 0666). -This option is obsolete in the recent ALSA version. -.TP -.B \-g, \-\-gid gid -Set the gid for the ALSA devices (default = 0). -This option is obsolete in the recent ALSA version. -.TP -.B \-h, \-\-help -Displays this help text. -.TP -.B \-L, \-\-log file -Logging on the given file. The log is appended to the file. -This option is for debugging purpose only. -.TP -.B \-l, \-\-legacy -Check only for legacy non-isapnp cards. -.TP -.B \-m, \-\-modinfo -Read module descriptions instead of reading a card database. -.TP -.B \-P, \-\-listprobe -List the supported legacy card modules. -.TP -.B \-p, \-\-probe card-name -Probe a legacy non-isapnp card and print module options. -.TP -.B \-r, \-\-strict -Set strict device mode (equiv. with \-g 17 \-d 0660). -This option is obsolete in the recent ALSA version. -.TP -.B \-s, \-\-sound\-wav\-file -Use the specified wav file as a test sound. -.TP -.B \-u, \-\-uid uid -Set the uid for the ALSA devices (default = 0). -This option is obsolete in the recent ALSA version. - -.SH DEBIAN SPECIFIC -In Debian, the default gid of the device files is 29 (corresponding to the -audio group) and the default device mode is 0660. - -For the ALSA base package, see also -.I /usr/share/doc/alsa\-base/ - -.SH SEE ALSO -\fB -alsamixer(1), -amixer(1), -aplay(1), -arecord(1) -\fP - -.SH HOMEPAGE -http://www.alsa\-project.org/ - -.SH AUTHOR -The alsaconf script was written by -Takashi Iwai <tiwai@suse.de>, -Bernd Kaindl <bk@suse.de> and -Jan Ondrej (SAL) <ondrejj@salstar.sk> - -This manual page was written by Jordi Mallach <jordi@debian.org>, -for the Debian system (but may be used by others). diff --git a/alsa-utils/alsaconf/alsaconf.fr.8 b/alsa-utils/alsaconf/alsaconf.fr.8 deleted file mode 100644 index 14bbea8..0000000 --- a/alsa-utils/alsaconf/alsaconf.fr.8 +++ /dev/null @@ -1,111 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" alsaconf.8 is copyright 2003 by Jordi Mallach <jordi@debian.org> -.\" -.\" This is free documentation, see the latest version of the GNU -.\" General Public License for copying conditions. There is NO warranty. -.TH ALSACONF 8 "15 mars 2005" - -.SH NOM -alsaconf \- outil de configuration pour ALSA (architecture de son avance de Linux) -.\" configuration tool for the Advanced Linux Sound Architecture - -.SH SYNOPSIS -.B alsaconf -.RI [ options ] - -.SH DESCRIPTION -Cette page de manuel documente brivement la commande -.B alsaconf. - -.PP -\fBAlsaconf\fP -est un simple script shell qui essaye de dtecter les cartes son sur votre -systme et crit un fichier de configuration adquat pour ALSA. Il va -essayer de deviner quelle distribution GNU/Linux vous utilisez, et agira -conformment aux standards de cette distribution, si un support spcifique -est disponible. - -.PP -Alsaconf va crire un fragment de code modutils qui peut tre ensuite -utilis par modutils pour charger les paramtres corrects de votre carte -son. - -.SH OPTIONS -Alsaconf accepte les options suivantes\ : - -.TP -.B \-l, \-\-legacy -Cherche seulement les anciennes cartes non-isapnp - -.TP -.B \-m, \-\-modinfo -Lit les descriptions de modules au lieu de lire une base de donnes de -carte - -.TP -.B \-s, \-\-sound\-wav\-file -Utilise le fichier wav spcifi comme son de test - -.TP -.B \-u, \-\-uid uid -Choisit l'uid pour les priphriques ALSA (valeur par dfaut\ = 0) - -.TP -.B \-g, \-\-gid gid -Choisit le gid pour les priphriques ALSA (valeur par dfaut\ = 0) - -.TP -.B \-d, \-\-devmode mode -Choisit le mode du priphrique pour les priphriques ALSA (valeur par -dfaut\ : 0666) - -.TP -.B \-r, \-\-strict -Choisit le mode de priphrique strict (quivaut -g\ 17 -d\ 0660) - -.TP -.B \-L, \-\-log -Mise en journal dans /tmp/alsaconf.log - -.TP -.B \-p, \-\-probe card-name -Teste une ancienne carte non-isapnp et affiche les options du module - -.TP -.B \-h, \-\-help -Affiche ce message d'aide - - -.SH POUR DEBIAN EXCLUSIVEMENT -Sous Debian, le gid par dfaut des fichiers de priphriques est 29 (qui -correspond au groupe audio) et le mode par dfaut des priphriques est -0660. - -Pour le paquetage de base ALSA, voir aussi -.I /usr/share/doc/alsa-base/ - -.SH VOIR AUSSI -\fB -alsamixer(1), -amixer(1), -aplay(1), -arecord(1) -\fP - -.SH PAGE D'ACCUEIL -http://www.alsa-project.org/ - -.SH AUTEUR -Le script alsaconf fut crit par -Takashi Iwai <tiwai@suse.de>, -Bernd Kaindl <bk@suse.de> et -Jan Ondrej (SAL) <ondrejj@salstar.sk> - -Cette page de manuel fut crite par Jordi Mallach <jordi@debian.org>, pour -le systme Debian (mais elle peut tre utilise par d'autres). - -.SH TRADUCTION -Baptiste Mls 2005. - -N'hsitez pas signaler l'auteur ou au traducteur, selon le cas, toute -erreur dans cette page de manuel. diff --git a/alsa-utils/alsaconf/alsaconf.in b/alsa-utils/alsaconf/alsaconf.in deleted file mode 100644 index 6e9ff75..0000000 --- a/alsa-utils/alsaconf/alsaconf.in +++ /dev/null @@ -1,1435 +0,0 @@ -#!/bin/bash -# -# ALSA Configurator -# -# Copyright (c) 1999-2002 SuSE GmbH -# Jan ONDREJ -# -# written by Takashi Iwai <tiwai@suse.de> -# Bernd Kaindl <bk@suse.de> -# Jan ONDREJ (SAL) <ondrejj@salstar.sk> -# -# based on the original version of Jan ONDREJ's alsaconf for ALSA 0.4. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# - -export TEXTDOMAIN=alsaconf - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -bindir=@bindir@ -sbindir=@sbindir@ -version=@VERSION@ -USE_NLS=@USE_NLS@ - -# Useful for debugging -PROCFS="/proc" -SYSFS="/sys" - -# i18n stuff -if test "$USE_NLS" = "yes" && type -p gettext > /dev/null; then - xecho() { - gettext -s "$*" - } -else - xecho() { - echo "$*" - } - gettext() { - echo -n "$*" - } -fi -xmsg() { - msg=$(gettext "$1") - shift - printf "$msg" $* -} - -# Check for GNU/Linux distributions -if [ -f /etc/SuSE-release ]; then - distribution="suse" - suse_version=$(grep 'VERSION = ' /etc/SuSE-release | sed -e s/'VERSION = '//) -elif [ -f /etc/UnitedLinux-release ]; then - distribution="suse" -elif [ -f /etc/gentoo-release ]; then - distribution="gentoo" -elif [ -f /etc/debian_version ]; then - distribution="debian" -elif [ -f /etc/mandrake-release ]; then - distribution="mandrake" -elif test -f /etc/redhat-release && grep -q "Red Hat" /etc/redhat-release; then - distribution="redhat" -elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then - distribution="fedora" -elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then - distribution="slackware" -else - distribution="unknown" -fi - -for prog in lspci lsmod; do - for path in /sbin /usr/sbin /bin /usr/bin;do - test -x $path/$prog && eval $prog=$path/$prog - done -done -unset prog path - -usage() { - xecho "ALSA configurator" - echo " version $version" - xecho "usage: alsaconf [options] - -l|--legacy check only legacy non-isapnp cards - -m|--modinfo read module descriptions instead of reading card db - -s|--sound wav-file - use the specified wav file as a test sound - -u|--uid uid set the uid for the ALSA devices (default = 0) [obsoleted] - -g|--gid gid set the gid for the ALSA devices (default = 0) [obsoleted] - -d|--devmode mode - set the permission for ALSA devices (default = 0666) [obs.] - -r|--strict set strict device mode (equiv. with -g 17 -d 0660) [obsoleted] - -L|--log file logging on the specified file (for debugging purpose only) - -p|--probe card-name - probe a legacy non-isapnp card and print module options - -P|--listprobe list the supported legacy card modules - -c|--config file - specify the module config file - -R|--resources list available DMA and IRQ resources with debug for legacy - -h|--help what you're reading" -} - -OPTS=`getopt -o lmL:hp:Pu:g:d:rs:c:R --long legacy,modinfo,log:,help,probe:,listprobe,uid:,gid:,devmode:,strict,sound:,config:,resources -n alsaconf -- "$@"` || exit 1 -eval set -- "$OPTS" - -do_legacy_only=0 -use_modinfo_db=0 -alsa_uid=0 -alsa_gid=0 -alsa_mode=0666 -legacy_probe_card="" -LOGFILE="" -TESTSOUND="@TESTSOUND@" -try_all_combination=0 -resources="false" - -# legacy support -LEGACY_CARDS="opl3sa2 cs4236 cs4232 cs4231 es18xx es1688 sb16 sb8" - -while true ; do - case "$1" in - -l|--legacy) - do_legacy_only=1; shift ;; - -m|--modinfo) - use_modinfo_db=1; shift ;; - -s|--sound) - TESTSOUND=$2; shift 2;; - -h|--help) - usage; exit 0 ;; - -L|--log) - LOGFILE="$2"; shift 2;; - -p|--probe) - legacy_probe_card="$2"; shift 2;; - -P|--listprobe) - echo "$LEGACY_CARDS"; exit 0;; - -u|--uid) - alsa_uid="$2"; shift 2;; - -g|--gid) - alsa_gid="$2"; shift 2;; - -d|--devmode) - alsa_mode="$2"; shift 2;; - -r|--strict) - alsa_uid=0; alsa_gid=17; alsa_mode=0660; shift;; - -c|--config) - cfgfile="$2"; shift 2;; - -R|--resources) - resources="true"; shift;; - --) shift ; break ;; - *) usage ; exit 1 ;; - esac -done - -# -# probe legacy ISA cards -# - -check_dma_avail () { - list="" - if [ -d $SYSFS/bus/pnp/devices ]; then - for dma in $*; do - ok="true" - for i in $SYSFS/bus/pnp/devices/??:* ; do - if grep -q "state = active" $i/resources ; then - if grep -q '^dma '$dma'$' $i/resources; then - ok="false" - fi - fi - done - if [ -r $PROCFS/dma ]; then - if grep -q '^ *'$dma': ' $PROCFS/dma ; then - ok="false" - fi - fi - if [ "$ok" = "true" ]; then - list="$list $dma" - fi - done - else - if [ -r $PROCFS/dma ]; then - for dma in $*; do - grep -q '^ *'$dma': ' $PROCFS/dma || list="$list $dma" - done - fi - fi - if [ ! -z "$list" ]; then - echo $list - fi -} - -check_irq_avail () { - list="" - if [ -d $SYSFS/bus/pnp/devices ]; then - for irq in $*; do - ok="true" - for i in $SYSFS/bus/pnp/devices/??:* ; do - if grep -q "state = active" $i/resources ; then - if grep -q '^irq '$irq'$' $i/resources; then - ok="false" - fi - fi - done - if [ -r $PROCFS/interrupts ]; then - if grep -q '^ *'$irq': ' $PROCFS/interrupts ; then - ok="false" - fi - fi - if [ "$ok" = "true" ]; then - list="$list $irq" - fi - done - else - if [ -r $PROCFS/interrupts ]; then - for irq in $*; do - grep -q '^ *'$irq': ' $PROCFS/interrupts || list="$list $irq" - done - fi - fi - if [ ! -z "$list" ]; then - echo $list - fi -} - -# -# -# - -if [ "$resources" = "true" ]; then - if [ -d $SYSFS/bus/pnp/devices ]; then - for i in $SYSFS/bus/pnp/devices/??:* ; do - if [ "$resources" = "true" ]; then - echo ">>>>> PnP file: $i/resources" - cat $i/resources - fi - done - fi - if [ -r $PROCFS/dma ]; then - echo ">>>>> Allocated dma channels:" - cat $PROCFS/dma - fi - if [ -r $PROCFS/interrupts ]; then - echo ">>>>> Allocated interrupt channels:" - cat $PROCFS/interrupts - fi - echo -n "Valid DMA channels: " - check_dma_avail 0 1 2 3 4 5 6 7 - echo -n "Valid IRQ channels: " - check_irq_avail 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 - exit 0 -fi - -# Check for root privileges -if [ `id -u` -ne 0 ]; then - xecho "You must be root to use this script." - exit 1 -fi - -# -# check the snd_ prefix for ALSA module options -# snd_ prefix is obsoleted since 0.9.0rc4. -# -if /sbin/modinfo -p snd | grep -q snd_ ; then - mpfx="snd_" -else - mpfx="" -fi - -alsa_device_opts="" -if /sbin/modinfo -p snd | grep -q uid ; then - if [ x"$alsa_uid" != x0 ]; then - alsa_device_opts="$alsa_device_opts ${mpfx}device_uid=$alsa_uid" - fi - if [ x"$alsa_gid" != x0 ]; then - alsa_device_opts="$alsa_device_opts ${mpfx}device_gid=$alsa_gid" - fi -fi -if /sbin/modinfo -p snd | grep -q device_mode ; then - if [ x"$alsa_mode" != x0 ]; then - alsa_device_opts="$alsa_device_opts ${mpfx}device_mode=$alsa_mode" - fi -fi - -case `uname -r` in -2.6.*) - kernel="new" - ;; -*) - kernel="old" - ;; -esac - -# cfgfile = base config file to remove/update the sound setting -# cfgout = new config file to write the sound setting (if different from $cfgfile) -if [ -n "$cfgfile" ]; then - if [ ! -r "$cfgfile" ]; then - xecho "ERROR: The config file doesn't exist: " - echo $cfgfile - exit 1 - fi -else -if [ "$distribution" = "gentoo" ]; then - cfgfile="/etc/modules.d/alsa" -elif [ "$kernel" = "new" ]; then - if [ -d /etc/modprobe.d ]; then - cfgout="/etc/modprobe.d/sound" - fi - cfgfile="/etc/modprobe.conf" -elif [ "$distribution" = "debian" ]; then - cfgfile="/etc/modutils/sound" -elif [ -e /etc/modules.conf ]; then - cfgfile="/etc/modules.conf" -elif [ -e /etc/conf.modules ]; then - cfgfile="/etc/conf.modules" -else - cfgfile="/etc/modules.conf" - touch /etc/modules.conf -fi -fi - -# Check for dialog, whiptail, gdialog, awk, ... ? -if type -p dialog > /dev/null; then - DIALOG=dialog -else - if type -p whiptail > /dev/null; then - whiptail_wrapper() { - X1="$1" - X2="$2" - if [ $1 = --yesno ]; then - X3=`expr $3 + 2` - else - X3=$3 - fi - shift 3 - whiptail "$X1" "$X2" $X3 "$@" - } - DIALOG=whiptail_wrapper - else - xecho "Error, dialog or whiptail not found." - exit 1 - fi -fi -if type -p awk > /dev/null; then : -else - xecho "Error, awk not found. Can't continue." - exit 1 -fi - -# -# remove entries by yast2 sound configurator -# -remove_y2_block() { - awk ' - /^alias sound-slot-[0-9]/ { next } - /^alias char-major-116 / { next } - /^alias char-major-14 / { next } - /^alias snd-card-[0-9] / { next } - /^options snd / { next } - /^options snd-/ { next } - /^options off / { next } - /^alias sound-service-[0-9]/ { next } - /^# YaST2: sound / { next } - { print }' -} - -# -# remove entries by sndconfig sound configurator -# -# found strings to search for in WriteConfModules, -# from sndconfig 0.68-4 (rawhide version) - -remove_sndconfig_block() { - awk ' - /^alias sound-slot-0/ { modulename = $3 ; next } - /^alias sound-slot-[0-9]/ { next } - /^post-install sound-slot-[0-9] / { next } - /^pre-remove sound-slot-[0-9] / { next } - /^options sound / { next } - /^alias synth0 opl3/ { next } - /^options opl3 / { next } - /^alias midi / { mididev = $3 ; next } - /^options / { if ($2 == mididev) next } - /^pre-install / { if ($2 == mididev) next } - /^alias synth0 / { synth = $3 ; next } - /^post-install / { if ($2 == synth) next } - /^options sb / { next } - /^post-install .+ \/bin\/modprobe "aci"/ { if ($2 == modulename) next } - /^options adlib_card / { next } - /^options .+ isapnp=1/ { if ($2 == modulename) next } - /^options i810_audio / { next } - /^options / {if ($2 == modulename) next } - { print }' -} - -# -# remove the previous configuration by alsaconf -# -remove_ac_block() { - awk '/^'"$ACB"'$/,/^'"$ACE"'$/ { next } { print }' -} - -# -# set default mixer volumes -# -set_mixers() { - amixer -s -q <<EOF -set Master 75% unmute -set Master -12dB -set 'Master Mono' 75% unmute -set 'Master Mono' -12dB -set Front 75% unmute -set Front -12dB -set PCM 90% unmute -set PCM 0dB -mixer Synth 90% unmute -mixer Synth 0dB -mixer CD 90% unmute -mixer CD 0dB -# mute mic -set Mic 0% mute -# ESS 1969 chipset has 2 PCM channels -set PCM,1 90% unmute -set PCM,1 0dB -# Trident/YMFPCI/emu10k1 -set Wave 100% unmute -set Music 100% unmute -set AC97 100% unmute -# CS4237B chipset: -set 'Master Digital' 75% unmute -# Envy24 chips with analog outs -set DAC 90% unmute -set DAC -12dB -set DAC,0 90% unmute -set DAC,0 -12dB -set DAC,1 90% unmute -set DAC,1 -12dB -# some notebooks use headphone instead of master -set Headphone 75% unmute -set Headphone -12dB -set Playback 100% unmute -# turn off digital switches -set "SB Live Analog/Digital Output Jack" off -set "Audigy Analog/Digital Output Jack" off -EOF -} - - -# INTRO -intro() { - local msg=$(xmsg " - ALSA CONFIGURATOR - version %s - - This script is a configurator for - Advanced Linux Sound Architecture (ALSA) driver. - - - If ALSA is already running, you should close all sound - apps now and stop the sound driver. - alsaconf will try to do this, but it's not 100%% sure." $version) - $DIALOG --msgbox "$msg" 20 63 || acex 0 -} - -# FAREWELL -farewell() { - local msg=$(gettext " - - OK, sound driver is configured. - - ALSA CONFIGURATOR - - will prepare the card for playing now. - - Now I'll run alsasound init script, then I'll use - amixer to raise the default volumes. - You can change the volume later via a mixer - program such as alsamixer or gamix. - - ") - $DIALOG --msgbox "$msg" 17 60 || acex 0 -} - -# Exit function -acex() { - cleanup - clear - exit $1 -} - -# -# search for alsasound init script -# - -if [ "$distribution" = "debian" ]; then - rcalsasound=/etc/init.d/alsa -elif [ -x /etc/rc.d/rc.alsa ]; then - rcalsasound=/etc/rc.d/rc.alsa -elif [ -x /etc/init.d/alsasound ]; then - rcalsasound=/etc/init.d/alsasound -elif [ -x /usr/sbin/rcalsasound ]; then - rcalsasound=/usr/sbin/rcalsasound -elif [ -x /sbin/rcalsasound ]; then - rcalsasound=/sbin/rcalsasound -elif [ -x /etc/rc.d/init.d/alsasound ]; then - rcalsasound=/etc/rc.d/init.d/alsasound -elif [ -x /etc/init.d/alsa ]; then - rcalsasound=/etc/init.d/alsa -else - rcalsasound=rcalsasound -fi - - -# MAIN -if [ -d $PROCFS/asound ]; then - $rcalsasound stop >/dev/null 2>&1 - $rcalsasound unload >/dev/null 2>&1 - /sbin/rmmod dmasound dmasound_awacs 2>/dev/null -fi - - -cleanup () { - killall -9 aplay arecord >/dev/null 2>&1 - /sbin/modprobe -r isapnp >/dev/null 2>&1 - /sbin/modprobe -r isa-pnp >/dev/null 2>&1 - rm -f "$TMP" "$addcfg" "$FOUND" "$DUMP" -} -trap cleanup 0 - -TMP=`mktemp -q /tmp/alsaconf.XXXXXX` -if [ $? -ne 0 ]; then - xecho "Can't create temp file, exiting..." - exit 1 -fi -addcfg=`mktemp -q /tmp/alsaconf.XXXXXX` -if [ $? -ne 0 ]; then - xecho "Can't create temp file, exiting..." - exit 1 -fi -FOUND=`mktemp -q /tmp/alsaconf.XXXXXX` -if [ $? -ne 0 ]; then - xecho "Can't create temp file, exiting..." - exit 1 -fi -DUMP=`mktemp -q /tmp/alsaconf.XXXXXX` -if [ $? -ne 0 ]; then - xecho "Can't create temp file, exiting..." - exit 1 -fi - -# convert ISA PnP id number to string 'ABC' -convert_isapnp_id () { - if [ -z "$1" ]; then - echo "XXXX" - return - fi - let a='('$1'>>2) & 0x3f' - let b='(('$1' & 0x03) << 3) | (('$1' >> 13) & 0x07)' - let c='('$1'>> 8) & 0x1f' - strs='@ABCDEFGHIJKLMNOPQRSTUVWXYZ' - echo ${strs:$a:1}${strs:$b:1}${strs:$c:1} -} - -# swap high & low bytes -swap_number () { - if [ -z "$1" ]; then - echo "0000" - return - fi - let v='(('$1'>>8)&0xff)|(('$1'&0xff)<<8)' - printf "%04x" $v -} - -# build card database -# build_card_db filename -build_card_db () { - MODDIR=/lib/modules/`uname -r` - last_driver="" - echo -n > $1 - - # list pci cards - while read driver vendor device dummy; do - if expr $driver : 'snd-.*' >/dev/null ; then - if [ "$last_driver" != "$driver" ]; then - echo $driver.o - last_driver=$driver - fi - id1=`printf '0x%04x' $vendor` - id2=`printf '0x%04x' $device` - echo "PCI: $id1=$id2" - fi - done < $MODDIR/modules.pcimap >> $1 - - # list isapnp cards - while read driver cardvendor carddevice data vendor func; do - if expr $driver : 'snd-.*' >/dev/null ; then - if [ "$last_driver" != "$driver" ]; then - echo $driver.o - last_driver=$driver - fi - id1=`convert_isapnp_id $cardvendor` - dev1=`swap_number $carddevice` - id2=`convert_isapnp_id $vendor` - dev2=`swap_number $func` - echo "ISAPNP: $id1$dev1=$id2$dev2" - fi - done < $MODDIR/modules.isapnpmap >> $1 -} - -# -# probe cards -# -probe_cards () { - found="0" - test -r $PROCFS/isapnp || /sbin/modprobe isapnp >/dev/null 2>&1 - test -r $PROCFS/isapnp || /sbin/modprobe isa-pnp >/dev/null 2>&1 - if [ -r $PROCFS/isapnp ]; then - cat $PROCFS/isapnp >"$DUMP" - found="1" - elif [ -d $SYSFS/bus/pnp/devices ]; then - # use 2.6 kernel's sysfs output - # fake the isapnp dump - index=0 - bindex=0 - for d1 in $SYSFS/devices/pnp* ; do - for d2 in $d1/*:* ; do - if [ -r $d2/card_id ]; then - id=`cat $d2/card_id` - name=`cat $d2/name` - echo "Card $index '$id:$name' " >> "$DUMP" - index=$[$index+1] - found="1" - else if [ -r $d2/id ]; then - # FIXME: multiple id might be present (separated with new-line) - id=`head -n 1 $d2/id` - echo "BIOS $bindex '$id' " >> "$DUMP" - bindex=$[$bindex+1] - found="1" - fi - fi - done - done - fi - if [ "$found" = "0" ]; then - echo -n >"$DUMP" - fi - CARDID_DB=/var/tmp/alsaconf.cards - if [ ! -r $CARDID_DB ]; then - use_modinfo_db=1 - fi - if [ $use_modinfo_db != 1 ]; then - if [ $CARDID_DB -ot /lib/modules/`uname -r`/modules.dep ]; then - use_modinfo_db=1 - fi - fi - if [ $use_modinfo_db = 1 ]; then - xecho "Building card database.." - build_card_db $CARDID_DB - fi - if [ ! -r $CARDID_DB ]; then - xecho "No card database is found.." - exit 1 - fi - ncards=`grep '^snd-.*\.o$' $CARDID_DB | wc -w` - - msg=$(gettext "Searching sound cards") - awk ' -BEGIN { - format="%-40s %s\n"; - ncards='"$ncards"'; - idx=0; -} -/^snd-.*\.o$/{ - sub(/.o$/, ""); - driver=$0; - perc=(idx * 100) / (ncards + 1); - print int(perc); - idx++; -} -/^[<literal space><literal tab>]*PCI: /{ - gsub(/0x/, ""); - gsub(/=/, ":"); - x = sprintf ("'$lspci' -n 2>/dev/null| grep '"' 04..: '"' | grep %s", $2); - if (system (x) == 0) - printf "%s %s\n", $2, driver >>"'"$FOUND"'" -} -/^[<literal space><literal tab>]*ISAPNP: /{ - id2 = substr($0, index($0, "=")+1); - gsub(/=.*/, ""); - x = sprintf ("grep '\''^Card [0-9] .%s:'\'' '"$DUMP"'", $2); - if (system (x) == 0) - printf "%s %s\n", $2, driver >>"'"$FOUND"'" - else if (index($2, "ffff") > 0) { - x = sprintf ("grep '\''^BIOS [0-9]* .%s.'\'' '"$DUMP"'", id2); - if (system (x) == 0) - printf "%s %s\n", id2, driver >>"'"$FOUND"'" - } -}' < $CARDID_DB |\ - $DIALOG --gauge "$msg" 6 40 0 - - # - # PowerMac - # - if grep -q MacRISC $PROCFS/cpuinfo; then - MODDIR=/lib/modules/`uname -r` - find $MODDIR -name 'snd-powermac*' -print | \ - while read i; do - i=${i##*/} - i=${i%%.o} - i=${i%%.ko} - echo "PowerMac $i" >> $FOUND - done - fi - - # - # Sparc - # - if grep -q Sparc $PROCFS/cpuinfo; then - test -r $PROCFS/openprom/name || /bin/mount -t openpromfs none $PROCFS/openprom >/dev/null 2>&1 - # Check for an "audio" device - audio= - compat= - if test -r $PROCFS/openprom; then - audio=`find $PROCFS/openprom -follow -type d -name "audio*" -print` - fi - if test -n "$audio"; then - compat=`cat $audio/compatible` - compat=${compat#\'} - compat=${compat%\'} - compat=${compat#SUNW,} - fi - # Go through all cards we have - MODDIR=/lib/modules/`uname -r` - find $MODDIR -name 'snd-sun-*' -print | \ - while read i; do - i=${i##*/} - i=${i%%.o} - i=${i%%.ko} - sdev=`echo ${i#snd-sun-} | tr "[a-z]" "[A-Z]"` - - if test "$sdev" = "$compat"; then - echo "$sdev $i" >> $FOUND - elif test -r $PROCFS/openprom; then - find $PROCFS/openprom -follow -type d -name "SUNW,${sdev}*" \ - -exec echo "$sdev $i" \; 2>/dev/null >> $FOUND - else - echo "$sdev $i" >> $FOUND - fi - done - fi -} - -# -# look for a descriptive device name from the given device id -# -find_device_name () { - if expr "$1" : '[0-9a-f][0-9a-f][0-9a-f][0-9a-f]:[0-9a-f][0-9a-f][0-9a-f][0-9a-f]' >/dev/null; then - $lspci -d $1 2>/dev/null| sed -e 's/^.*:..\.. [^:]*: //g' - return - elif expr "$1" : '[A-Z@][A-Z@][A-Z@][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' >/dev/null; then - cardname=`grep '^Card [0-9]\+ .'$1':' $DUMP | head -n 1 | sed -e 's/^Card [0-9]\+ '\''.*:\(.*\)'\'' .*$/\1/'` - echo $cardname - else - echo $1 - fi -} - -# get hwcfg file type from the given driver name -get_hwcfg_type () { - while read dev driver; do - if [ "$driver" = "$1" ]; then - case "$dev" in - *:*) - # FIXME: need to look around /sys/bus/pci/* (or use vpid-* ?) - devid=`$lspci -d "$dev" | head -n 1 | sed -e 's/ .*$//'` - case "$devid" in - *:*:*.*) ;; - *) devid="0000:$devid" ;; - esac - echo bus-pci-$devid - ;; - *) - echo $driver - ;; - esac - break - fi - done -} - -# clean up all hwcfg-* files containing ALSA modules -# alsaconf sets up exclusively -cleanup_hwcfg () { - for i in /etc/sysconfig/hardware/hwcfg-*; do - grep -q "MODULE='snd-" $i && rm -f $i - done -} - -# -# set up /etc/sysconfig/hardware/hwcfg-* stuff -# -setup_hwcfg () { - card=$1 - cleanup_hwcfg - cfg=`echo "$devs_olist" | get_hwcfg_type $card` - echo "MODULE='$card'" > /etc/sysconfig/hardware/hwcfg-$cfg - echo "STARTMODE='auto'" >> /etc/sysconfig/hardware/hwcfg-$cfg -} - - -# -# configure and try test sound -# -ac_config_card () { - - CARD_DRIVER=snd-$1 - CARD_OPTS="${*:2}" - - if [ -n "$cfgout" ]; then - msg=$(xmsg " -Configuring %s -Do you want to modify %s (and %s if present)?" $CARD_DRIVER $cfgout $cfgfile) - $DIALOG --yesno "$msg" 8 50 || acex 0 - else - msg=$(xmsg " -Configuring %s -Do you want to modify %s?" $CARD_DRIVER $cfgfile) - $DIALOG --yesno "$msg" 8 50 || acex 0 - fi - clear - - # Copy conf.modules and make changes. - ACB="# --- BEGIN: Generated by ALSACONF, do not edit. ---" - ACE="# --- END: Generated by ALSACONF, do not edit. ---" - - # Detect 2.2.X kernel - KVER=`uname -r | tr ".-" " "` - KVER1=`echo $KVER | cut -d" " -f1` - KVER2=`echo $KVER | cut -d" " -f2` - if [ $KVER1 -ge 2 ] && [ $KVER2 -ge 2 ]; then - SOUND_CORE="soundcore" - else - SOUND_CORE="snd" - fi - - if [ -r $cfgfile ] ; then - if [ "$distribution" = "redhat" -o "$distribution" = "fedora" ] ; then - remove_ac_block < $cfgfile | remove_sndconfig_block | uniq > $TMP - else - remove_ac_block < $cfgfile | remove_y2_block | uniq > $TMP - fi - fi - - if [ -z "$have_alias" -a "$kernel" = "new" ]; then - if grep -q char-major-116 /lib/modules/`uname -r`/modules.alias; then - have_alias="yes" - fi - fi - if [ -z "$have_alias" ]; then -echo "alias char-major-116 snd -alias char-major-14 $SOUND_CORE -alias sound-service-0-0 snd-mixer-oss -alias sound-service-0-1 snd-seq-oss -alias sound-service-0-3 snd-pcm-oss -alias sound-service-0-8 snd-seq-oss -alias sound-service-0-12 snd-pcm-oss" >> $addcfg - fi - if [ -n "$alsa_device_opts" ]; then - echo "options snd $alsa_device_opts" >> $addcfg - fi -echo "alias snd-card-0 $CARD_DRIVER -alias sound-slot-0 $CARD_DRIVER" >> $addcfg - if [ -n "$CARD_OPTS" ]; then - echo "options $CARD_DRIVER $CARD_OPTS" >> $addcfg - fi - - if [ -n "$cfgout" ]; then - [ ! -r "$cfgfile" ] || cmp -s "$TMP" "$cfgfile" || cat "$TMP" > "$cfgfile" - cmp -s "$addcfg" "$cfgout" || cat "$addcfg" > "$cfgout" - else - echo "$ACB -# --- ALSACONF version $version ---" >> $TMP - cat "$addcfg" >> "$TMP" - echo "$ACE -" >> $TMP - cmp -s "$TMP" "$cfgfile" || cat "$TMP" > "$cfgfile" - fi - - /sbin/depmod -a 2>/dev/null - - # remove yast2 entries (- only for suse distro) - if [ -f /var/lib/YaST/unique.inf ]; then - awk ' -BEGIN { in_sound=0; } -/^\[sound\]$/ { print; in_sound=1; next; } -/^\[.+\]$/ { print; in_sound=0; next; } -{ if (in_sound == 0) { print; } } -' < /var/lib/YaST/unique.inf > $TMP - cp -f $TMP /var/lib/YaST/unique.inf - fi - - # set up /etc/sysconfig/hardware/* - if [ "$distribution" = "suse" ]; then - case "$suse_version" in - 10.[012]*|10) - setup_hwcfg $CARD_DRIVER - ;; - esac - fi - - farewell - clear - case "$distribution" in - gentoo | debian) - xecho "Running update-modules..." - update-modules - ;; - esac - if [ -x $rcalsasound ] ; then - echo Loading driver... - $rcalsasound restart - fi - echo Setting default volumes... - if [ -x $bindir/set_default_volume ]; then - $bindir/set_default_volume -f - else - set_mixers - fi - if [ -f $TESTSOUND ]; then - msg=$(gettext " - The mixer is set up now for for playing. - Shall I try to play a sound sample now? - - NOTE: -If you have a big amplifier, lower your volumes or say no. - Otherwise check that your speaker volume is open, - and look if you can hear test sound. -") - if $DIALOG --yesno "$msg" 13 65 - then - clear - echo - aplay -N $TESTSOUND - fi - fi - if [ ! -r /etc/asound.state ]; then - xecho "Saving the mixer setup used for this in /etc/asound.state." - $sbindir/alsactl store - fi - clear - xecho " -=============================================================================== - - Now ALSA is ready to use. - For adjustment of volumes, use your favorite mixer. - - Have a lot of fun! - -" -} - -# check playback -# return 0 - OK, 1 - NG, 2 - not working (irq/dma problem) -ac_try_load () { - test -n "$LOGFILE" && echo "$1 ${*:2}" >> "$LOGFILE" - /sbin/modprobe snd-$1 ${*:2} >/dev/null 2>&1 - if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then - : ; - else - /sbin/modprobe -r snd-$1 >/dev/null 2>&1 - return 1 - fi - - # mute mixers - amixer set Master 0% mute >/dev/null 2>&1 - amixer set PCM 0% mute >/dev/null 2>&1 - - # output 0.5 sec - head -c 4000 < /dev/zero | aplay -N -r8000 -fS16_LE -traw -c1 > /dev/null 2>&1 & - # remember pid - pp=$! - # sleep for 2 seconds (to be sure -- 1 sec would be enough) - sleep 2 - # kill the child process if still exists. - kill -9 $pp > /dev/null 2>&1 - st=$? - ac_cardname=`head -n 1 $PROCFS/asound/cards | sed -e 's/^[0-9].* - \(.*\)$/\1/'` - /sbin/modprobe -r snd-$1 >/dev/null 2>&1 - if [ $st = 0 ]; then - # irq problem? - test -n "$LOGFILE" && echo "no playback return" >> "$LOGFILE" - return 2 - else - # seems ok! - test -n "$LOGFILE" && echo "playback OK" >> "$LOGFILE" - return 0 - fi -} - -# check capture -# return 0 - OK, 1 - NG, 2 - not working (irq/dma problem) -# ac_try_capture card duplex opts -ac_try_capture () { - test -n "$LOGFILE" && echo "$1 ${*:2}" >> "$LOGFILE" - /sbin/modprobe snd-$1 ${*:3} >/dev/null 2>&1 - if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then - : ; - else - /sbin/modprobe -r snd-$1 >/dev/null 2>&1 - return 1 - fi - - # mute mixers - amixer set Master 0% mute >/dev/null 2>&1 - amixer set PCM 0% mute >/dev/null 2>&1 - - play_pid=0 - if [ $2 = yes ]; then - # try duplex - start dummy playing - aplay -N -r8000 -fS16_LE -traw -c1 < /dev/zero > /dev/null 2>&1 & - play_pid=$! - fi - # record 1sec - arecord -N -d1 > /dev/null 2>&1 & - # remember pid - pp=$! - # sleep for 2 seconds - sleep 2 - # kill the child process if still exists. - kill -9 $pp > /dev/null 2>&1 - st=$? - # kill playback process if any - test $play_pid != 0 && kill -9 $play_pid - /sbin/modprobe -r snd-$1 >/dev/null 2>&1 - if [ $st = 0 ]; then - test -n "$LOGFILE" && echo "capture no return" >> "$LOGFILE" - return 2 - else - test -n "$LOGFILE" && echo "capture OK" >> "$LOGFILE" - return 0 - fi -} - -get_dma_pair () { - case $1 in - 0) - echo 1 3 5;; - 1) - echo 0 3 5;; - 3) - echo 1 0 5;; - 5) - echo 3 1 0;; - esac -} - -# -# check playback on specified irqs -# -# ac_try_irq card opts irqs... -# return 0 - OK, 1 - NG, 2 - not working (dma problem?) -# -ac_try_irq () { - card=$1 - opts="$2 ${mpfx}irq=$3" - ac_try_load $card $opts >/dev/null 2>&1 - result=$? - case $result in - 0) - ac_opts="$opts" - return 0 - ;; - 2) - for irq in ${*:4}; do - opts="$2 ${mpfx}irq=$irq" - ac_try_load $card $opts >/dev/null 2>&1 - if [ $? = 0 ]; then - ac_opts="$opts" - return 0 - fi - done - return 2 - ;; - esac - return 1 -} - -# -# check playback/capture on dma1 & dma2 & specified irqs -# -# ac_try_dmas card opts irqs... -# return 0 - OK, 1 - NG -# -ac_try_dmas () { - dma_list=`check_dma_avail 1 0 3 5` - for irq in ${*:3}; do - for dma1 in $dma_list; do - for dma2 in `get_dma_pair $dma1`; do - opts="$2 ${mpfx}dma1=$dma1 ${mpfx}dma2=$dma2 ${mpfx}irq=$irq" - ac_try_load $1 $opts >/dev/null 2>&1 - result=$? - if [ $result = 1 ]; then - if [ $try_all_combination = 1 ]; then - continue - else - return 1 - fi - elif [ $result = 0 ]; then - test -n "$LOGFILE" && echo "Now checking capture..." >> "$LOGFILE" - ac_opts="$opts" - ac_try_capture $1 yes $opts >/dev/null 2>&1 && return 0 - for d in yes no; do - for dma2 in $dma_list; do - if [ $dma1 != $dma2 ]; then - opts="$2 ${mpfx}dma1=$dma1 ${mpfx}dma2=$dma2 ${mpfx}irq=$irq" - ac_opts="$opts" - ac_try_capture $1 $d $opts >/dev/null 2>&1 && return 0 - fi - done - done - return 0 - fi - done - done - done - return 1 -} - -# check if the option $2 exists in card $1: set value $3 -ac_check_option () { - if /sbin/modinfo -p snd-$1 | grep -q $2; then - echo "$2=$3" - fi -} - -ac_try_card_sb8 () { - card=sb8 - irq_list=`check_irq_avail 5 3 9 10 7` - for dma8 in `check_dma_avail 1 3`; do - opts="${mpfx}dma8=$dma8" - ac_try_irq $card "$opts" $irq_list && return 0 - done - return 1 -} - -ac_try_card_sb16 () { - card=sb16 - isapnp=`ac_check_option $card ${mpfx}isapnp 0` - opts="$isapnp" - irq_list=`check_irq_avail 5 9 10 7 3` - dma_list=`check_dma_avail 0 1 3` - dma16_list=`check_dma_avail 5 6 7` - # at first try auto-probing by driver itself - ac_try_load $card $opts >/dev/null 2>&1 - result=$? - case $result in - 0) - ac_opts="$opts" - ac_try_capture $card yes $opts >/dev/null 2>&1 && return 0 - for d in yes no; do - for dma8 in $dma_list; do - for irq in $irq_list; do - opts="${mpfx}dma8=$dma8 ${mpfx}irq=$irq $isapnp" - ac_try_capture $card $d $opts >/dev/null 2>&1 && return 0 - done - done - done - return 0 - ;; - 2) - for dma16 in $dma16_list; do - opts="${mpfx}dma16=$dma16 $isapnp" - if ac_try_irq $card "$opts" $irq_list ; then - ac_try_capture $card yes $ac_opts >/dev/null 2>&1 && return 0 - ac_opts_saved="$ac_opts" - for d in yes no; do - for dma8 in $dma_list; do - ac_opts="$ac_opts_saved ${mpfx}dma8=$dma8" - ac_try_capture $card $d $ac_opts >/dev/null 2>&1 && return 0 - done - done - # return anyway here.. - return 0 - fi - done - ;; - esac - return 1 -} - -ac_try_card_es1688 () { - card=es1688 - opts="" - irq_list=`check_irq_avail 5 9 10 7` - for dma8 in `check_dma_avail 1 3 0`; do - opts="${mpfx}dma8=$dma8 ${mpfx}mpu_irq=-1" - ac_try_irq $card "$opts" $irq_list && return 0 - done - return 1 -} - -ac_try_card_es18xx () { - card=es18xx - opts=`ac_check_option $card ${mpfx}isapnp 0` - ac_try_dmas $card "$opts" `check_irq_avail 5 9 10 7` && return 0 - return 1 -} - -ac_try_card_cs4236 () { - card=cs4236 - irq_list=`check_irq_avail 5 7 9 11 12 15` - isapnp=`ac_check_option $card ${mpfx}isapnp 0` - for cport in 0x538 0x210 0xf00; do - for port in 0x530 0x534; do - opts="${mpfx}port=$port ${mpfx}cport=$cport $isapnp" - ac_try_dmas $card "$opts" $irq_list && return 0 - done - done - return 1 -} - -ac_try_card_cs4232 () { - card=cs4232 - irq_list=`check_irq_avail 5 7 9 11 12 15` - isapnp=`ac_check_option $card ${mpfx}isapnp 0` - for cport in 0x538 0x210 0xf00; do - for port in 0x530 0x534; do - opts="${mpfx}port=$port ${mpfx}cport=$cport $isapnp" - ac_try_dmas $card "$opts" $irq_list && return 0 - done - done - return 1 -} - -ac_try_card_cs4231 () { - card=cs4231 - irq_list=`check_irq_avail 5 7 9 11 12 15` - for port in 0x530 0x534; do - opts="${mpfx}port=$port" - ac_try_dmas $card "$opts" $irq_list && return 0 - done - return 1 -} - -ac_try_card_opl3sa2 () { - card=opl3sa2 - irq_list=`check_irq_avail 5 9 3 1 11 12 15 0` - isapnp=`ac_check_option $card ${mpfx}isapnp 0` - for port in 0x370 0x538 0xf86 0x100; do - for wss_port in 0x530 0xe80 0xf40 0x604; do - opts="${mpfx}fm_port=-1 ${mpfx}midi_port=-1 ${mpfx}port=$port ${mpfx}wss_port=$wss_port $isapnp" - ac_try_dmas $card "$opts" $irq_list && return 0 - done - done - return 1 -} - -ac_config_legacy () { - title=$(gettext "WARNING") - msg=$(gettext " - Probing legacy ISA cards might make - your system unstable. - - Do you want to proceed? - -") - $DIALOG --title "$title" --yesno "$msg" 10 50 || acex 0 - - if [ x"$1" = x ]; then - probe_list="$LEGACY_CARDS" - else - probe_list=$* - fi - menu_args=() - - for card in $probe_list; do - cardname=`/sbin/modinfo -d snd-$card | sed -e 's/^\"\(.*\)\"$/\1/g'` - if [ x"$cardname" != x ]; then - menu_args=("${menu_args[@]}" "$card" "$cardname" "on") - fi - done - if [ x$menu_args = x ]; then - msg=$(gettext "No legacy drivers are available - for your machine") - $DIALOG --msgbox "$msg" 5 50 - return 1 - fi - title=$(gettext "Driver Selection") - msg=$(gettext " Probing legacy ISA cards - - Please select the drivers to probe:") - $DIALOG --title "$title" --checklist "$msg" \ - 17 64 8 "${menu_args[@]}" 2> $FOUND || acex 0 - - if [ $try_all_combination != 1 ]; then - msg=$(gettext " - Shall I try all possible DMA and IRQ combinations? - With this option, some unconventional configuration - might be found, but it will take much longer time.") - if $DIALOG --yesno "$msg" 10 60 - then - try_all_combination=1 - fi - fi - - xecho "Probing legacy cards.. This may take a few minutes.." - echo -n $(gettext "Probing: ") - cards=`cat $FOUND | tr -d \"` - for card in $cards; do - echo -n " $card" - ac_opts="" - if eval ac_try_card_$card ; then - xecho " : FOUND!!" - ac_config_card $card $ac_opts - return 0 - fi - done - echo - title=$(gettext "Result") - msg=$(gettext "No legacy cards found") - $DIALOG --title "$title" --msgbox "$msg" 5 50 - return 1 -} - -# -# main part continued.. -# - -if test -n "$LOGFILE" ; then - touch "$LOGFILE" - echo -n "Starting alsaconf: " >> "$LOGFILE" - date >> "$LOGFILE" -fi - -if [ x"$legacy_probe_card" != x ]; then - ac_opts="" - if eval ac_try_card_$legacy_probe_card >/dev/null 2>&1; then - echo "$ac_opts" - echo "$ac_cardname" - exit 0 - else - echo "FAILED" - exit 1 - fi -fi - -intro - -if [ $do_legacy_only = 1 ]; then - ac_config_legacy - exit 0 -fi - -probe_cards - -devs_found=() -devs_olist="" - -if [ -s "$FOUND" ]; then - while read dev card ; do - MODDIR=/lib/modules/`uname -r` - find $MODDIR -type f | grep -q -E $card'\.(o|ko)' || continue - cardname=`find_device_name $dev | cut -c 1-64` - if [ -z "$cardname" ]; then - cardname="$card" - fi - card=${card##snd-} - devs_found=("${devs_found[@]}" "$card" "$cardname") - devs_devs=("${devs_devs[@]}" "$card" "$dev") - done <"$FOUND" - devs_olist=`cat $FOUND` -fi -if [ x$devs_found != x ]; then - # - # check for TP600E - # - if [ ${devs_found[0]} = cs46xx ]; then - if $lspci -nv 2>/dev/null| grep -q "Subsystem: 1014:1010"; then - msg=$(gettext " - Looks like you having a Thinkpad 600E or 770 notebook. - On this notebook, CS4236 driver should be used - although CS46xx chip is detected. - - Shall I try to snd-cs4236 driver and probe - the legacy ISA configuration?") - if $DIALOG --yesno "$msg" 13 60 - then - try_all_combination=1 - ac_config_legacy cs4236 - exit 0 - fi - elif $lspci -nv 2>/dev/null| grep -q "Subsystem: 8086:8080"; then - msg=$(gettext " - Looks like you having a Dell Dimension machine. - On this machine, CS4232 driver should be used - although CS46xx chip is detected. - - Shall I try to snd-cs4232 driver and probe - the legacy ISA configuration?") - if $DIALOG --yesno "$msg" 13 60 - then - try_all_combination=1 - ac_config_legacy cs4232 - exit 0 - fi - fi - fi - - devs_found=("${devs_found[@]}" "legacy" "Probe legacy ISA (non-PnP) chips") - title=$(gettext "Soundcard Selection") - msg=$(gettext " - Following card(s) are found on your system. - Choose a soundcard to configure: -") - $DIALOG --title "$title" --menu "$msg" 17 76 8 "${devs_found[@]}" --output-fd 3 3> $FOUND || acex 0 - card=`head -n 1 $FOUND` - if [ "$card" = "legacy" ]; then - ac_config_legacy - else - ac_config_card "$card" - fi - exit 0 -else - msg=$(gettext " - No supported PnP or PCI card found. - - Would you like to probe legacy ISA sound cards/chips? - -") - if $DIALOG --yesno "$msg" 9 60 ; then - ac_config_legacy - exit 0 - fi -fi - -rm -f "$FOUND" "$DUMP" -exit 0 diff --git a/alsa-utils/alsaconf/po/Makefile.in b/alsa-utils/alsaconf/po/Makefile.in deleted file mode 100644 index f1fa9aa..0000000 --- a/alsa-utils/alsaconf/po/Makefile.in +++ /dev/null @@ -1,91 +0,0 @@ -POFILES = ja.po ru.po - -DOMAIN = alsaconf -GETTEXT_SRC = ../alsaconf.in - -XGETTEXT_OPTIONS = -kxmsg -kxecho - -top_builddir = ../.. - -srcdir = @srcdir@ -datadir = @datadir@ -exec_prefix = @exec_prefix@ -prefix = @prefix@ -localedir = $(datadir)/locale - -USE_NLS = @USE_NLS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -# mkdir_p = @mkdir_p@ -mkdir_p = mkdir -p -- -XGETTEXT = @XGETTEXT@ -MSGFMT = @MSGFMT@ -GMSGFMT = @GMSGFMT@ -MSGMERGE = @MSGMERGE@ -MSGMERGE_UPDATE = @MSGMERGE@ --update - -DISTFILES = $(POFILES) Makefile.in -CATALOGS = $(POFILES:.po=.gmo) - -all: all-@USE_NLS@ - -all-yes: $(CATALOGS) -all-no: - -.SUFFIXES: .po .gmo .mo - -%.mo : $(srcdir)/%.po - $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ - -%.gmo : $(srcdir)/%.po - @lang=`echo $(srcdir)/$* | sed -e 's,.*/,,'`; \ - rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $(srcdir)/$${lang}.po && mv t-$${lang}.gmo $${lang}.gmo - -$(DOMAIN).pot: $(GETTEXT_SRC) - $(XGETTEXT) -o$@ --default-domain=$(DOMAIN) \ - --add-comments=TRANSLATORS: --language=Shell \ - $(XGETTEXT_OPTIONS) $< - -check check_recursive: - -clean: - rm -f $(CATALOGS) $(POFILES:.po=.mo) $(DOMAIN).pot - -update-po: $(DOMAIN).pot - @for po in $(POFILES); do \ - $(MSGMERGE_UPDATE) $(srcdir)/$$po $(DOMAIN).pot; \ - done - -install-data-no: -install-data-yes: all - $(mkdir_p) $(DESTDIR)$(datadir) - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ - dir=$(localedir)/$$lang/LC_MESSAGES; \ - $(mkdir_p) $(DESTDIR)$$dir; \ - $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(DOMAIN).mo; \ - done - -install-data: install-data-@USE_NLS@ -install: install-data - -uninstall-data-no: -uninstall-data-yes: - @catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ - rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \ - done - -uninstall-data: uninstall-data-@USE_NLS@ -uninstall: uninstall-data - -dist distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - cp -p $$file $(distdir); \ - done - -distclean: clean - rm -f Makefile *~ diff --git a/alsa-utils/alsaconf/po/ja.po b/alsa-utils/alsaconf/po/ja.po deleted file mode 100644 index 170f708..0000000 --- a/alsa-utils/alsaconf/po/ja.po +++ /dev/null @@ -1,362 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: alsaconf\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-02 12:37+0100\n" -"PO-Revision-Date: 2005-12-02 12:39+0100\n" -"Last-Translator: Takashi Iwai <tiwai@suse.de>\n" -"Language-Team: Japanese <LL@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../alsaconf.in:36 -msgid "-s" -msgstr "" - -#: ../alsaconf.in:80 -msgid "ALSA configurator" -msgstr "ALSA 設定ツール" - -#: ../alsaconf.in:82 -msgid "" -"usage: alsaconf [options]\n" -" -l|--legacy check only legacy non-isapnp cards\n" -" -m|--modinfo read module descriptions instead of reading card db\n" -" -s|--sound wav-file\n" -" use the specified wav file as a test sound\n" -" -u|--uid uid set the uid for the ALSA devices (default = 0) [obsoleted]\n" -" -g|--gid gid set the gid for the ALSA devices (default = 0) [obsoleted]\n" -" -d|--devmode mode\n" -" set the permission for ALSA devices (default = 0666) " -"[obs.]\n" -" -r|--strict set strict device mode (equiv. with -g 17 -d 0660) " -"[obsoleted]\n" -" -L|--log file logging on the specified file (for debugging purpose only)\n" -" -p|--probe card-name\n" -" probe a legacy non-isapnp card and print module options\n" -" -P|--listprobe list the supported legacy card modules\n" -" -c|--config file\n" -" specify the module config file\n" -" -R|--resources list available DMA and IRQ resources with debug for legacy\n" -" -h|--help what you're reading" -msgstr "" -"使用法: alsaconf [オプション]\n" -" -l|--legacy 非 ISAPnP カードのみチェックする\n" -" -m|--modinfo カード DB を読む代わりにモジュール記述を読み込み\n" -" -s|--sound WAVファイル\n" -" 指定の WAV ファイルをテスト音として用いる\n" -" -u|--uid uid ALSA デバイスの uid (デフォルト = 0) [旧オプション・無視されます]\n" -" -g|--gid gid ALSA デバイスの gid (デフォルト = 0) [旧]\\n\"\n" -" -d|--devmode モード\n" -" ALSA デバイスのパーミッション(デフォルト = 0666) [旧]\n" -" -r|--strict 厳格なモード (-g 17 -d 0660 と同等) [旧]\n" -" -L|--log file 指定のファイルにログを記録する (デバッグ用途)\n" -" -p|--probe カード名\n" -" 指定の 非IsaPnP カードを検索しモジュールオプションを表示する\n" -" -P|--listprobe サポートされている旧式の(非isapnp)カードのモジュール一覧表示\n" -" -c|--config ファイル\n" -" 指定のモジュール設定ファイルを用いる\n" -" -R|--resources レガシーデバイスのデバッグ用: 可能な DMA と IRQ を表示する\n" -" -h|--help 今見ています" - -#: ../alsaconf.in:252 -msgid "You must be root to use this script." -msgstr "ルートのみ実行可能です" - -#: ../alsaconf.in:294 -msgid "ERROR: The config file doesn't exist: " -msgstr "エラー: 設定ファイルが存在しません: " - -#: ../alsaconf.in:336 -msgid "Error, dialog or whiptail not found." -msgstr "エラー: dialog または whiptail が見つかりません" - -#: ../alsaconf.in:342 -msgid "Error, awk not found. Can't continue." -msgstr "エラー: awk が見つかりません" - -#: ../alsaconf.in:439 -msgid "" -"\n" -" ALSA CONFIGURATOR\n" -" version %s\n" -"\n" -" This script is a configurator for\n" -" Advanced Linux Sound Architecture (ALSA) driver.\n" -"\n" -"\n" -" If ALSA is already running, you should close all sound\n" -" apps now and stop the sound driver.\n" -" alsaconf will try to do this, but it's not 100%% sure." -msgstr "" -"\n" -" ALSA 設定ツール\n" -" バージョン %s\n" -"\n" -" このスクリプトは、Advanced Linux Sound Architecture\n" -" (ALSA) ドライバの設定を行うツールです。\n" -"\n" -"\n" -" もし既に ALSA が起動している場合は、実行前に\n" -" 全てのサウンドアプリケーションを閉じて、サウンド\n" -" ドライバを停止してください。\n" -" alsaconf の動作は 100%% 保証できません。" - -#: ../alsaconf.in:455 -msgid "" -"\n" -"\n" -" OK, sound driver is configured.\n" -"\n" -" ALSA CONFIGURATOR\n" -"\n" -" will prepare the card for playing now.\n" -"\n" -" Now I'll run alsasound init script, then I'll use\n" -" amixer to raise the default volumes.\n" -" You can change the volume later via a mixer\n" -" program such as alsamixer or gamix.\n" -" \n" -" " -msgstr "" -"\n" -"\n" -" サウンドドライバが設定されました。\n" -"\n" -" これからカードの再生の準備を行います。\n" -"\n" -"\n" -" alsasound スクリプトを実行し、その後 amixer で\n" -" デフォルトの音量に設定します。\n" -" 後で、alsamixer や gamix などのミキサープログラム\n" -" を用いて、音量を変更することが可能です。\n" -" " - -#: ../alsaconf.in:518 ../alsaconf.in:523 ../alsaconf.in:528 ../alsaconf.in:533 -msgid "Can't create temp file, exiting..." -msgstr "一時ファイルを作成できませんでした。中止します..." - -#: ../alsaconf.in:643 -msgid "Building card database.." -msgstr "カードデータベースを作成中..." - -#: ../alsaconf.in:647 -msgid "No card database is found.." -msgstr "カードが見つかりませんでした..." - -#: ../alsaconf.in:652 -msgid "Searching sound cards" -msgstr "サウンドカードを検索中" - -#: ../alsaconf.in:806 -msgid "" -"\n" -"Configuring %s\n" -"Do you want to modify %s (and %s if present)?" -msgstr "" -"\n" -"%s を設定します\n" -"%s (および %s) を変更しますか?" - -#: ../alsaconf.in:811 -msgid "" -"\n" -"Configuring %s\n" -"Do you want to modify %s?" -msgstr "" -"\n" -"%s を設定します\n" -"%s を変更しますか?" - -#: ../alsaconf.in:900 -msgid "Running modules-update..." -msgstr "modules-update を実行中..." - -#: ../alsaconf.in:903 -msgid "Running update-modules..." -msgstr "update-modules を実行中..." - -#: ../alsaconf.in:915 -msgid "" -"\n" -" The mixer is set up now for for playing.\n" -" Shall I try to play a sound sample now?\n" -"\n" -" NOTE:\n" -"If you have a big amplifier, lower your volumes or say no.\n" -" Otherwise check that your speaker volume is open,\n" -" and look if you can hear test sound.\n" -msgstr "" -"\n" -" 音量を再生用に準備し終えました。\n" -" サンプルのサウンドを再生しますか?\n" -"\n" -" 注意:\n" -" 大容量アンプの場合は、音量を下げておくか、ここで「いいえ」\n" -" を選択してください。スピーカーの音量をチェックして、\n" -" テスト音が聞こえるかどうか確認してください。\n" - -#: ../alsaconf.in:932 -msgid "Saving the mixer setup used for this in /etc/asound.state." -msgstr "ミキサーの設定を /etc/asound.state に保存します" - -#: ../alsaconf.in:936 -msgid "" -"\n" -"===============================================================================\n" -"\n" -" Now ALSA is ready to use.\n" -" For adjustment of volumes, use your favorite mixer.\n" -"\n" -" Have a lot of fun!\n" -"\n" -msgstr "" -"\n" -"===============================================================================\n" -"\n" -" これで ALSA が使用可能になりました。\n" -" 音量の調整には、ミキサープログラムをご使用下さい。\n" -"\n" - -#: ../alsaconf.in:1244 -msgid "WARNING" -msgstr "注意" - -#: ../alsaconf.in:1245 -msgid "" -"\n" -" Probing legacy ISA cards might make\n" -" your system unstable.\n" -"\n" -" Do you want to proceed?\n" -"\n" -msgstr "" -"\n" -" 旧式の ISA カードの検索を行うと\n" -" システムが不安定になる場合があります。\n" -"\n" -" このまま続けますか?\n" -"\n" - -#: ../alsaconf.in:1268 -msgid "" -"No legacy drivers are available\n" -" for your machine" -msgstr "" -"旧式の ISA カードは\n" -"検出されませんでした" - -#: ../alsaconf.in:1273 -msgid "Driver Selection" -msgstr "ドライバの選択" - -#: ../alsaconf.in:1274 -msgid "" -" Probing legacy ISA cards\n" -"\n" -" Please select the drivers to probe:" -msgstr "" -" 旧式の ISA カードの検出\n" -"\n" -" 検出するドライバを選択してください:" - -#: ../alsaconf.in:1281 -msgid "" -"\n" -" Shall I try all possible DMA and IRQ combinations?\n" -" With this option, some unconventional configuration\n" -" might be found, but it will take much longer time." -msgstr "" -"\n" -" 可能な DMA と IRQ の全ての組合せを試みますか?\n" -" このオプションでは、まれな設定も検出されることが\n" -" 可能ですが、より長い時間がかかります。" - -#: ../alsaconf.in:1291 -msgid "Probing legacy cards.. This may take a few minutes.." -msgstr "旧式カードの検出中... 長時間がかかることがあります..." - -#: ../alsaconf.in:1292 -msgid "Probing: " -msgstr "検出中: " - -#: ../alsaconf.in:1298 -msgid " : FOUND!!" -msgstr " : 発見!!" - -#: ../alsaconf.in:1304 -msgid "Result" -msgstr "結果" - -#: ../alsaconf.in:1305 -msgid "No legacy cards found" -msgstr "旧式カードが見つかりませんでした" - -#: ../alsaconf.in:1364 -msgid "" -"\n" -" Looks like you having a Thinkpad 600E or 770 notebook.\n" -" On this notebook, CS4236 driver should be used\n" -" although CS46xx chip is detected.\n" -"\n" -" Shall I try to snd-cs4236 driver and probe\n" -" the legacy ISA configuration?" -msgstr "" -"\n" -" Thinkpad 600E または 770 をご使用のようです。\n" -" このマシンでは、CS46xx チップが検出されますが\n" -" CS4236 ドライバを用いる必要があります。\n" -"\n" -" snd-cs4236 ドライバを試用して、旧式の ISA 設定\n" -" の検出を行いますか?" - -#: ../alsaconf.in:1378 -msgid "" -"\n" -" Looks like you having a Dell Dimension machine.\n" -" On this machine, CS4232 driver should be used\n" -" although CS46xx chip is detected.\n" -"\n" -" Shall I try to snd-cs4232 driver and probe\n" -" the legacy ISA configuration?" -msgstr "" -"\n" -" Dell Dimension マシンをご使用のようです。\n" -" このマシンでは、CS46xx チップが検出されますが\n" -" CS4232 ドライバを用いる必要があります。\n" -"\n" -" snd-cs4232 ドライバを試用して、旧式の ISA 設定\n" -" の検出を行いますか?" - -#: ../alsaconf.in:1395 -msgid "Soundcard Selection" -msgstr "サウンドカードの選択" - -#: ../alsaconf.in:1396 -msgid "" -"\n" -" Following card(s) are found on your system.\n" -" Choose a soundcard to configure:\n" -msgstr "" -"\n" -" 以下のカードがシステムから検出されました。\n" -" 設定するカードを選択してください:\n" - -#: ../alsaconf.in:1409 -msgid "" -"\n" -" No supported PnP or PCI card found.\n" -"\n" -" Would you like to probe legacy ISA sound cards/chips?\n" -"\n" -msgstr "" -"\n" -" PnP または PCI カードが検出されませんでした。\n" -"\n" -" 旧式の ISA サウンドカードの検出を行いますか?\n" diff --git a/alsa-utils/alsaconf/po/ru.po b/alsa-utils/alsaconf/po/ru.po deleted file mode 100644 index af4fa0d..0000000 --- a/alsa-utils/alsaconf/po/ru.po +++ /dev/null @@ -1,373 +0,0 @@ -# Russian translations for alsa-utils package -# Английские переводы для пакета alsa-utils. -# Copyright (C) 2005 THE alsa-utils'S COPYRIGHT HOLDER -# This file is distributed under the same license as the alsa-utils package. -# <dushistov@mail.ru>, 2005. -# -msgid "" -msgstr "" -"Project-Id-Version: alsa-utils 1.0.9rc4a\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-12-02 12:37+0100\n" -"PO-Revision-Date: 2005-12-02 12:39+0100\n" -"Last-Translator: <dushistov@mail.ru>\n" -"Language-Team: Russian <ru@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: ../alsaconf.in:36 -msgid "-s" -msgstr "" - -#: ../alsaconf.in:80 -msgid "ALSA configurator" -msgstr "Найстройщик ALSA" - -#: ../alsaconf.in:82 -#, fuzzy -msgid "" -"usage: alsaconf [options]\n" -" -l|--legacy check only legacy non-isapnp cards\n" -" -m|--modinfo read module descriptions instead of reading card db\n" -" -s|--sound wav-file\n" -" use the specified wav file as a test sound\n" -" -u|--uid uid set the uid for the ALSA devices (default = 0) [obsoleted]\n" -" -g|--gid gid set the gid for the ALSA devices (default = 0) [obsoleted]\n" -" -d|--devmode mode\n" -" set the permission for ALSA devices (default = 0666) " -"[obs.]\n" -" -r|--strict set strict device mode (equiv. with -g 17 -d 0660) " -"[obsoleted]\n" -" -L|--log file logging on the specified file (for debugging purpose only)\n" -" -p|--probe card-name\n" -" probe a legacy non-isapnp card and print module options\n" -" -P|--listprobe list the supported legacy card modules\n" -" -c|--config file\n" -" specify the module config file\n" -" -R|--resources list available DMA and IRQ resources with debug for legacy\n" -" -h|--help what you're reading" -msgstr "" -"использование: alsaconf [опции]\n" -" -l|--legacy проверять только не ISAPnP карты\n" -" -m|--modinfo читать описание модулей вместо чтения бызы данных карт\n" -" -s|--sound WAV файл\n" -" использовать указанный WAV файл в качестве тестового\n" -" -u|--uid uid устанавливает uid для ALSA(по умолчанию = 0) [устарело]\n" -" -g|--gid gid устанавливает gid для ALSA(по умолчанию = 0) [устарело]\n" -" -d|--devmode режим\n" -" устанавливает права доступа для ALSA (по умолчанию = 0666) " -"[уст.]\n" -" -r|--strict устанавливает строгие права для ALSA (экв. -g 17 -d 0660) " -"[уст.]\n" -" -L|--log файл записывать события в определенный файл (в целях отладки)\n" -" -p|--probe имя звуковой карты\n" -" проверить обычную не IsaPnP карту и вывести опции модуля\n" -" -P|--listprobe вывести список поддерживаемых не IsaPnP карт\n" -" -c|--config файл\n" -" указывает файл с настройками модуля\n" -" -h|--help вывести это сообщение" - -#: ../alsaconf.in:252 -msgid "You must be root to use this script." -msgstr "Вы должны быть суперпользователем, чтобы использовать этот скрипт." - -#: ../alsaconf.in:294 -msgid "ERROR: The config file doesn't exist: " -msgstr "ОШИБКА: Файл с настройками не существует: " - -#: ../alsaconf.in:336 -msgid "Error, dialog or whiptail not found." -msgstr "Ошибка, dialog или whiptail не найдены." - -#: ../alsaconf.in:342 -msgid "Error, awk not found. Can't continue." -msgstr "Ошибка, awk не найден. Не могу продолжить работу." - -#: ../alsaconf.in:439 -msgid "" -"\n" -" ALSA CONFIGURATOR\n" -" version %s\n" -"\n" -" This script is a configurator for\n" -" Advanced Linux Sound Architecture (ALSA) driver.\n" -"\n" -"\n" -" If ALSA is already running, you should close all sound\n" -" apps now and stop the sound driver.\n" -" alsaconf will try to do this, but it's not 100%% sure." -msgstr "" -"\n" -" Настройщик ALSA\n" -" версия %s\n" -"\n" -" Этот скрипт настраивает Advanced Linux Sound Architecture\n" -"\n" -"\n" -" Если какие-нибудь приложения входящие в пакет ALSA уже запущены,\n" -" вы должны закрыть все приложения работающие со звуком\n" -" и остановаить звуковой драйвер.\n" -" alsaconf попытается это сделать, но результат не гарантируется на все 100%" -"%." - -#: ../alsaconf.in:455 -msgid "" -"\n" -"\n" -" OK, sound driver is configured.\n" -"\n" -" ALSA CONFIGURATOR\n" -"\n" -" will prepare the card for playing now.\n" -"\n" -" Now I'll run alsasound init script, then I'll use\n" -" amixer to raise the default volumes.\n" -" You can change the volume later via a mixer\n" -" program such as alsamixer or gamix.\n" -" \n" -" " -msgstr "" -"\n" -"\n" -" Хорошо, драйвер звуковой карты настроен.\n" -"\n" -" Сейчас Настройщик ALSA\n" -"\n" -" подготовит звуковую карту для проигрования.\n" -"\n" -" Сейчас я запущу скрипт, инициализирующий alsasound, потом использую " -"amixer\n" -" для увеличения уровня громкости по умолчания.\n" -" Вы можете изменить уровень громкости по умолчания позже\n" -" с помощью таких программ как alsamixer или gamix.\n" -" " - -#: ../alsaconf.in:518 ../alsaconf.in:523 ../alsaconf.in:528 ../alsaconf.in:533 -msgid "Can't create temp file, exiting..." -msgstr "Не могу создать временный файл, прекращаю работу..." - -#: ../alsaconf.in:643 -msgid "Building card database.." -msgstr "Создаю базу данных с информацией о звуковых карточках.." - -#: ../alsaconf.in:647 -msgid "No card database is found.." -msgstr "База данных, содержащая информацию о звуковых карточках, не найдена.." - -#: ../alsaconf.in:652 -msgid "Searching sound cards" -msgstr "Ищем звуковые карточки" - -#: ../alsaconf.in:806 -msgid "" -"\n" -"Configuring %s\n" -"Do you want to modify %s (and %s if present)?" -msgstr "" -"\n" -"Настраиваем %s\n" -"Вы хотите изменить %s (и %s, если существует)?" - -#: ../alsaconf.in:811 -msgid "" -"\n" -"Configuring %s\n" -"Do you want to modify %s?" -msgstr "" -"\n" -"Настраиваем %s\n" -"Вы хотите изменить %s?" - -#: ../alsaconf.in:900 -msgid "Running modules-update..." -msgstr "Запускаем modules-update..." - -#: ../alsaconf.in:903 -msgid "Running update-modules..." -msgstr "Запускаем update-modules..." - -#: ../alsaconf.in:915 -msgid "" -"\n" -" The mixer is set up now for for playing.\n" -" Shall I try to play a sound sample now?\n" -"\n" -" NOTE:\n" -"If you have a big amplifier, lower your volumes or say no.\n" -" Otherwise check that your speaker volume is open,\n" -" and look if you can hear test sound.\n" -msgstr "" -"\n" -" Микшер настроен для проигровования.\n" -" Проиграть тестовый пример?\n" -"\n" -" Примечание:\n" -" Если у вас большой усилитель, уменьшите уровень громкости или скажите " -"нет.\n" -" В противном случае проверьте, что ваши колонки включены,\n" -" и удостоверьтесь что вы слышите тестовый пример.\n" - -#: ../alsaconf.in:932 -msgid "Saving the mixer setup used for this in /etc/asound.state." -msgstr "Сохраняем настройки микшера в /etc/asound.state." - -#: ../alsaconf.in:936 -msgid "" -"\n" -"===============================================================================\n" -"\n" -" Now ALSA is ready to use.\n" -" For adjustment of volumes, use your favorite mixer.\n" -"\n" -" Have a lot of fun!\n" -"\n" -msgstr "" -"\n" -"===============================================================================\n" -"\n" -" Теперь ALSA готова к использованию.\n" -" Для регулировки уровня громкости, используйте ваш любимый микшер.\n" -"\n" -" Оторвись по полной!\n" -"\n" - -#: ../alsaconf.in:1244 -msgid "WARNING" -msgstr "ПРЕДУПРЕЖДЕНИЕ" - -#: ../alsaconf.in:1245 -msgid "" -"\n" -" Probing legacy ISA cards might make\n" -" your system unstable.\n" -"\n" -" Do you want to proceed?\n" -"\n" -msgstr "" -"\n" -" Поиск ISA звуковых карточек может сделать\n" -" вашу систему нестабильной.\n" -"\n" -" Вы уверены?\n" -"\n" - -#: ../alsaconf.in:1268 -msgid "" -"No legacy drivers are available\n" -" for your machine" -msgstr "" -"Нету подходяшего драйвера для\n" -" вашей машины" - -#: ../alsaconf.in:1273 -msgid "Driver Selection" -msgstr "Выбор Драйвера" - -#: ../alsaconf.in:1274 -msgid "" -" Probing legacy ISA cards\n" -"\n" -" Please select the drivers to probe:" -msgstr "" -" Поиск ISA звуковых карт\n" -"\n" -" Пожалуйста, выберите драйверы для проверки:" - -#: ../alsaconf.in:1281 -msgid "" -"\n" -" Shall I try all possible DMA and IRQ combinations?\n" -" With this option, some unconventional configuration\n" -" might be found, but it will take much longer time." -msgstr "" -"\n" -" Попробовать все доступные DMA и IRQ комбинации?\n" -" С этой опцией, могут быть найдены некоторые нестандартные\n" -" конфигураии, но это займет намного больше времени." - -#: ../alsaconf.in:1291 -msgid "Probing legacy cards.. This may take a few minutes.." -msgstr "Поиск звуковых карточек.. Это может занять несколько минут.." - -#: ../alsaconf.in:1292 -msgid "Probing: " -msgstr "Проверка: " - -#: ../alsaconf.in:1298 -msgid " : FOUND!!" -msgstr " : НАШЕЛ!!" - -#: ../alsaconf.in:1304 -msgid "Result" -msgstr "Результат" - -#: ../alsaconf.in:1305 -msgid "No legacy cards found" -msgstr "Звуковых карточек не найдено" - -#: ../alsaconf.in:1364 -msgid "" -"\n" -" Looks like you having a Thinkpad 600E or 770 notebook.\n" -" On this notebook, CS4236 driver should be used\n" -" although CS46xx chip is detected.\n" -"\n" -" Shall I try to snd-cs4236 driver and probe\n" -" the legacy ISA configuration?" -msgstr "" -"\n" -" Кажется, мы имеем дело с ноутбуком Thinkpad 600E или 770.\n" -" На этом ноутбуке, драйвер CS4236 должен использоваться\n" -" хотя определяется CS46xx\n" -"\n" -" Использовать snd-cs4236 и проверить правильность ISA\n" -" конфигурации?" - -#: ../alsaconf.in:1378 -msgid "" -"\n" -" Looks like you having a Dell Dimension machine.\n" -" On this machine, CS4232 driver should be used\n" -" although CS46xx chip is detected.\n" -"\n" -" Shall I try to snd-cs4232 driver and probe\n" -" the legacy ISA configuration?" -msgstr "" -"\n" -" Похоже что вы имеем дело с машиной Dell Dimension.\n" -" На этой машине CS4232 драйвер должен исползьовать, チップが検出されますが\n" -" хотя чип звуковой карты определяется как CS46xx.\n" -"\n" -" Использовать snd-cs4232 и проверить ISA валидность\n" -" этой конфигурации?" - -#: ../alsaconf.in:1395 -msgid "Soundcard Selection" -msgstr "Выбор Звуковой карты" - -#: ../alsaconf.in:1396 -msgid "" -"\n" -" Following card(s) are found on your system.\n" -" Choose a soundcard to configure:\n" -msgstr "" -"\n" -" Следущее звуковая(ые) карта(ы) найдены в вашей системе.\n" -" Выберите звуковую карту для настройки:\n" - -#: ../alsaconf.in:1409 -msgid "" -"\n" -" No supported PnP or PCI card found.\n" -"\n" -" Would you like to probe legacy ISA sound cards/chips?\n" -"\n" -msgstr "" -"\n" -" Найдена не поддерживаемая PnP или PCI карта.\n" -"\n" -" Желаете проверить ISA звуковые карты/чипы?\n" -"\n" |