Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 13:09:03 +0200
From:      neologism <neologism@seznam.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/41083: sound configuration
Message-ID:  <20020728130903.A584@variola>

next in thread | raw e-mail | index | archive | help

>Number:         41083
>Category:       conf
>Synopsis:       sound configuration
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 28 04:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     neologism
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
home
>Environment:
System: FreeBSD variola 4.6-RELEASE FreeBSD 4.6-RELEASE #5: Sat Jul 27 15:42:25
GMT 2002 root@variola:/mnt/linux/bsd/compile/MYKERNEL i386


>Description:

There is no system-wide sound configuration. I mean rc configuration. I'm
sending a (possible) solution. It'd be good to get it integrated

>How-To-Repeat:

No need to repeat

>Fix:

mixer configuration in /etc/mixer (or wherever). You get it by "mixer -s >
/etc/mixer" command. In /etc/rc is this:

case ${sound_conf_enable} in
[Yy][Ee][Ss])
        if [ -f "${sound_conf}" ]; then
                echo 'Setting proper sound configuration'
                mixer `cat ${sound_conf}` > /dev/null
        fi
        ;;
esac

Where $sound_conf_enable and $sound_conf variables are defined in
/etc/default/rc.conf (preinitialized to "NO" and "/etc/mixer")
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020728130903.A584>