Mixer settings revert to zero
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Tue Sep 28 08:21:12 PDT 2004
On Tue, 28 Sep 2004 11:53:02 +0930
Adam Smith <adam at internode.com.au> wrote:
>
> Hi!
>
> With the recent changes to the sound drivers, will the mixer begin working
> like it used to before 5.3 is released? The release notes for 5.3-BETA6
> say that "the sound(4) driver reads /boot/device.hints on startup, to allow
> setting of default values for mixer channels."
>
> But this doesn't seem to be happening. The release notes also say the
> device driver's name is still pcm, however I couldn't find this in
> /boot/device.hints. In my particular case, I am using the device ich for
> my sound.
>
> Because the mixer settings are not being picked up properly, upon boot, my
> system's mixer settings all revert to zero. I have to fix them manually by
> applying levels to 'pcm' and 'vol'.
>
> Is this a problem across the board at the moment with mixer settings, or
> applicable to only certain drivers (such as ich?) Is there anything I can
> do to fix the problem, or will it be fixed before 5.3?
At least for me not the detection is the problem, but the result is the same:
> From: Ion-Mihai Tetcu <itetcu at apropo.ro>
> Newsgroups: comp.unix.bsd.freebsd.misc
> Subject: 5.3-BETA{3|4} mixer vol always 0:0 after reboot
> Date: Mon, 13 Sep 2004 02:34:57 +0300
>
> Hi,
>
>
> Is anyone else seeing this ?
>
> For me it was OK until BETA2, it begun on BETA3 on it continues on
> BETA4.
>
> The settings seems to be saved:
> # cat /var/db/mixer0-state
> vol 95:95 pcm 34:34 speaker 0:0 line 0:0 mic 0:0 cd 0:0 rec 0:0 ogain 0:0 line1 0:0 phin 0:0 phout 0:0 video 0:0
>
> But I get vol 0:0 after reboot.
>
> I'm loading kld in /boot/
> # grep snd /boot/loader.conf
> snd_via8233_load="YES"
>
> and the device is recognised:
> /var/run/dmesg.boot:
> ........
> Preloaded elf module "/boot/kernel/snd_via8233.ko" at 0xc0857448.
> Preloaded elf module "/boot/kernel/sound.ko" at 0xc08574f8.
> ..........
> pcm0: <VIA VT8235> port 0xe400-0xe4ff irq 22 at device 17.5 on pci0
> pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
> pcm0: [GIANT-LOCKED]
> pcm0: <Avance Logic ALC650 AC97 Codec (id = 0x414c4720)>
> pcm0: Codec features 20 bit DAC, 18 bit ADC, 5 bit master volume, Realtek 3D Stereo Enhancement
> pcm0: Primary codec extended features variable rate PCM, double rate PCM, reserved 1, center DAC, s
> urround DAC, LFE DAC, reserved 4
> pcm0: sndbuf_setmap 275000, 1000; 0xc2381000 -> 275000
> pcm0: sndbuf_setmap 293000, 1000; 0xc237f000 -> 293000
> pcm0: sndbuf_setmap 291000, 1000; 0xc237d000 -> 291000
> pcm0: sndbuf_setmap 26f000, 1000; 0xc237b000 -> 26f000
> pcm0: sndbuf_setmap 28d000, 1000; 0xc2379000 -> 28d000
> pcm0: sndbuf_setmap 2c3000, 1000; 0xc238f000 -> 2c3000
> .............
>
> # cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <VIA VT8235> at io 0xe400 irq 22 kld snd_via8233 (5p/1r/0v channels duplex default)
>
> # ident /etc/rc.d/mixer
> /etc/rc.d/mixer:
> $FreeBSD: src/etc/rc.d/mixer,v 1.3 2004/03/27 09:26:22 dougb Exp $
--
IOnut
Unregistered ;) FreeBSD "user"
More information about the freebsd-current
mailing list