Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2006 09:36:07 -0500
From:      Kevin Kramer <kramer@centtech.com>
To:        freebsd-multimedia@freebsd.org
Subject:   RFC: snd_hda(4) -- Intel High Definition Audio driver
Message-ID:  <45017FD7.5090309@centtech.com>

next in thread | raw e-mail | index | archive | help
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: <Intel 82801G High Definition Audio Controller> 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




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