From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 8 14:36:09 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13F2216A4DE for ; Fri, 8 Sep 2006 14:36:09 +0000 (UTC) (envelope-from kramer@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A2FA43D45 for ; Fri, 8 Sep 2006 14:36:08 +0000 (GMT) (envelope-from kramer@centtech.com) Received: from [10.177.171.221] (roddick.centtech.com [10.177.171.221]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k88Ea7Fp039197 for ; Fri, 8 Sep 2006 09:36:08 -0500 (CDT) (envelope-from kramer@centtech.com) Message-ID: <45017FD7.5090309@centtech.com> Date: Fri, 08 Sep 2006 09:36:07 -0500 From: Kevin Kramer User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1826/Fri Sep 8 06:38:39 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: RFC: snd_hda(4) -- Intel High Definition Audio driver X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kramer@centtech.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 14:36:09 -0000 i have tinkered a bit with this and i'm getting very loud output. i've got the /us/sbin/mixer set to 0:0 using gzine with it's mixer/amplifier set to 0. if i move the gxine amplifier setting to 1.0 and the gxine volume to 1.0, i get what i would expect. but when i move the volume back to 0.0, it does not reduce. the volume changes do change the /usr/sbin/mixer settings as expected. now with the gxine volume still at 0.0, the default gxine amplifier setting was 100, now when i go to 10.0 it is too loud for my laptop. i was using the hacked hdac.ko driver prior to this and gxine worked fine. i almost blew my laptop (Latitude D820) speakers when the mixer was at 75:75 here is my info uname -a FreeBSD roddick.centtech.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Jun 25 06:27:43 CDT 2006 root@:/usr/obj/usr/src/sys/RODDICK i386 pciconf -lv | grep -B 4 multimedia subclass = PCI-PCI pcm0@pci0:27:0: class=0x040300 card=0x01cc1028 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia sysctl hw.snd.verbose=2 ; cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xdfffc000 irq 21 kld snd_hda [20060907_002] (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 22050/48000, fmt 0x10000010, flags 0x00000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:131072/2048/64] {userland} -> feeder_root(0x10000010) -> feeder_rate(22050 -> 48000) -> {hardware} [pcm0:record:0:dsp0.1]: spd 22050/48000, fmt 0x10000010, flags 0x00000000, 0x00000010 interrupts 0, overruns 0, hfree 16384, sfree 131072 [b:16384/8192/2|bs:131072/2048/64] {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 22050) -> {userland} sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 /usr/sbin/mixer Mixer vol is currently set to 0:0 Mixer speaker is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic -- ------------------------------ Kevin Kramer Sr. Systems Administrator 512.418.5725 Centaur Technology, Inc. www.centtech.com