From owner-freebsd-questions@FreeBSD.ORG Mon Sep 17 19:51:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2B0E16A41A for ; Mon, 17 Sep 2007 19:51:16 +0000 (UTC) (envelope-from harrydoyle@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8A82613C458 for ; Mon, 17 Sep 2007 19:51:16 +0000 (UTC) (envelope-from harrydoyle@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so851143nzf for ; Mon, 17 Sep 2007 12:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=7Ed/Z0t7JWmMLSeutDWLtTk6WVTXkQSbCiioe4aQvsY=; b=t41B26NrwvjQ8ORVJzhEtGpTiIasRZBgVGh7pnapSfHy2Llt1brd257ovUvkjIj4xOt9YPZcHGz0KU+2WBSQi3p2MTIyNvBOpQ+zHKf3jR1ovxNzLxVxCQVEhfHzl8LBh2puIBgRFRiRhDhyHeKAGUgPTTxouWQnzFAe8Nr2mSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=q+HyJMvaqF8ZDTOdNIeKVUwJExiX+FB9ddg8BaCZJ5umbfIEZXEKmngPT9fnulZUF/CBoa9aDm2RSq4eNZfPhcv87E48mQPHvg79NI+Ym1p4PMYD+Xd5n0xW/vX1QSeBzFPp7dpzzSdqrAMff+scBh/cqkzoSFllPwY3RrMADz0= Received: by 10.65.191.3 with SMTP id t3mr744041qbp.1190056923395; Mon, 17 Sep 2007 12:22:03 -0700 (PDT) Received: by 10.65.193.2 with HTTP; Mon, 17 Sep 2007 12:22:03 -0700 (PDT) Message-ID: <950c85d80709171222o596ef293p75a793d87b45f38b@mail.gmail.com> Date: Mon, 17 Sep 2007 16:22:03 -0300 From: "Harry Doyle" Sender: harrydoyle@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 610c8756723f0cda Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mixer levels on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 19:51:16 -0000 hello everyone, i am running a freebsd server to stream my local campus station's radio broadcast to the net. i am using the stock ac97 audio, and using a little script in /usr/local/etc/rc.d which uses kldload to load the driver. i have to issue mixer rec -83 to get the audio down to a decent level (very hot coming out of the mixer but i can't change that for other reasons). i have tried to script this mixer command into startup by putting a sleep command and then the mixer command, and also by using the /boot/boot.hints file. however whenever i reboot the machine the mixer command always shows the default level of 90 which clips pretty hard. also, the sound driver doesn't seem to load until around 2 minutes after i can log into a fresh boot (not a problem, just some extra info). how can i script my default rec level on boot? thanks, harry