[UPDATE] RFC: snd_hda(4) -- Intel High Definition Audio driver
Kevin Kramer
kramer at centtech.com
Mon Sep 11 07:09:25 PDT 2006
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 at 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
i don' have a hint.pcm.0.softpcmvol sysctl
------------------------------
Kevin Kramer
Sr. Systems Administrator
512.418.5725
Centaur Technology, Inc.
www.centtech.com
Ariff Abdullah wrote the following on 09/11/06 01:07:
> On Sun, 10 Sep 2006 13:16:34 +0200
> Søren Schmidt <sos at freebsd.org> wrote:
>
>> Joel Dahl wrote:
>>
>>> We've made significant progress with the snd_hda(4) driver during
>>> the last week (sound is perfect on my HP NX7400, for example) and
>>> a lot of credit must go to ariff@ who's been debugging the hell
>>> out of a couple of systems lately.
>>>
>>> The current status seems to be that several people still have
>>> problems with the driver though, so I'd like to stress two things:
>>>
>>> 1. Make sure that you always have the latest source code from
>>> http://people.freebsd.org/~ariff/HDA/ since the code is updated on
>>>
>>> daily basis (the directory is hidden by the index file, so date,
>>> size etc does not reflect the true nature of the files there).
>>>
>>> 2. Join #freebsd-azalia @ freenode and describe your problem.
>>> Email is a good way to communicate, but discussing bug reports and
>>> testing patches in real-time on IRC is a lot more efficient.
>>>
>>>
>> OK, with sources as of now I have no change in behavior, that is
>> sound still goes silent if I touch any mixer devices, and I get a
>> highpitched tone together with sound on line out, line-in and
>> mic-in works fine as outputs so I use one of those still.
>>
>>
> For now, here is a little workaround: set hint.pcm.0.softpcmvol=1
> (reload the module) and there you go. At least, you have controllable
> "pcm" mixer volume. The issue is under investigation.
>
>
>> Attached debug output as wanted...
>>
>>
> Thanks.
>
>
>> -Søren
>>
>>
>>
>
>
> --
> Ariff Abdullah
> FreeBSD
>
More information about the freebsd-multimedia
mailing list