Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Jan 2002 20:11:51 +0100 (CET)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/33707: ICH (82801AA) cannot be used for mono recording
Message-ID:  <20020108191151.6F50470@melusine.cuivre.fr.eu.org>

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

>Number:         33707
>Category:       kern
>Synopsis:       ICH (82801AA) cannot be used for mono recording
>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:   Tue Jan 08 11:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD melusine.cuivre.fr.eu.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #4: Fri Dec 28 00:29:52 CET 2001 root@melusine.cuivre.fr.eu.org:/usr/obj/usr/src/sys/MELUSINE i386

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801AA (ICH)> at io 0xd800, 0xdc80 irq 10 bufsz 16384 (1p/2r/0v channels duplex default)
        [pcm0:play:0]: speed 22050, format 00000010, flags 00000000
        interrupts 0, underruns 0, ready 0
        {hardware} <- feeder_monotostereo16(10000010 <- 00000010) <- feeder_root(00000010) <- {userland}
        [pcm0:record:0]: speed 22050, format 00000010, flags 00000000
        interrupts 0, overruns 0, hfree 16384, sfree 131072
        {hardware} -> feeder_root(00000010) -> {userland}
        [pcm0:record:1]: speed 0, format 00000000, flags 00000000
        interrupts 0, overruns 0, hfree 16384, sfree 0
        {hardware} -> feeder_root(00000000) -> {userland}

>Description:
	No matter what an application requests through the use of
	SNDCTL_DSP_STEREO, an ICH DSP will always output stereo data.

	Apparently, ichchan_setformat is a no-op.

	This breaks various sound recording utilities, as well as ohphone
	(H.323 IP telephony application).
>How-To-Repeat:
	Install audio/wavplay
	wavrec -M foo.wav -> the file is supposed to be mono
	wavplay -M foo.wav -> half-speed output
	wavplay -S foo.wav -> correct ouput => the file is actually stereo
>Fix:
	None so far.
>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?20020108191151.6F50470>