Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 07:25:27 -0800 (PST)
From:      yury@black.cat.kazan.su
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/25386: Incorrect mixer registers (line & synth) in newpcm driver for CS4232
Message-ID:  <200102261525.f1QFPR888893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25386
>Category:       kern
>Synopsis:       Incorrect mixer registers (line & synth) in newpcm driver for CS4232
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 26 07:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Iouri Ivliev
>Release:        4.2-STABLE 2001.02.23
>Organization:
AnySoft Russia
>Environment:
FreeBSD nb.home.anysoft.com.ru 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Feb 23 23:53:23 MSK 2001     root@shalob.anysoft.com.ru:/usr/obj/usr/src/sys/NB  i386
>Description:
CS42xx based sound cards controlled by newpcm driver uses mixer
registers table 'mix_devices' defined in /sys/dev/sound/isa/mss.h
As described here, 'line' uses registers 18 and 19, 'synth' - 2 and 3. But really some (or probably most... or jast all) CS4232 based cards
uses 2 and 3 registers for 'line' and 18, 19 for 'synth'.
Also, CS4235 have "master out" AKA 'vol' device at 27 and 29 registers.
>How-To-Repeat:
Plug some audio source to "line in" of sound card.
try "mixer line <level>" and "mixer synth <level>" to
change volume.
>Fix:
'mix_devices' definition should contains following lines for CS4232
MIX_ENT(SOUND_MIXER_SYNTH,      18, 1, 0, 5,    19, 1, 0, 5),
MIX_ENT(SOUND_MIXER_LINE,       2, 1, 0, 5,      3, 1, 0, 5),

and following one for CS4235
MIX_ENT(SOUND_MIXER_VOLUME,     27, 1, 0, 4,    29, 1, 0, 4),

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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