From nobody@FreeBSD.org  Tue Aug 24 17:09:03 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7CC41065698
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Aug 2010 17:09:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 7D9D68FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Aug 2010 17:09:03 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7OH93i7052291
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Aug 2010 17:09:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7OH93Kc052289;
	Tue, 24 Aug 2010 17:09:03 GMT
	(envelope-from nobody)
Message-Id: <201008241709.o7OH93Kc052289@www.freebsd.org>
Date: Tue, 24 Aug 2010 17:09:03 GMT
From: Alexander Mai <handlex7@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: CS4236 audio problem
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149943
>Category:       kern
>Synopsis:       [pcm]: CS4236 audio problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 17:10:01 UTC 2010
>Closed-Date:    
>Last-Modified:  Mon Sep 06 06:54:11 UTC 2010
>Originator:     Alexander Mai
>Release:        8.1
>Organization:
Home
>Environment:
FreeBSD dell-host 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Hello, FreeBSD support team!
I've got old Dell OptiPlex GX1 computer with Crystal CS4236 ISA PnP onboard sound.
Link to Dell documentation: http://support.dell.com/support/edocs/systems/ban_gx1/specs.htm

Win2K runs on this machine very well, sound is working fine.
So there is Windows 2000 device configuration (from its Device Manager snap-in):

1) Crystal WDM (MPU-401 compatible):
I/O range:		0330-0331.

2) Crystal WDM audio codec:
I/O range:		0534-053B;
I/O range:		0388-038B;
I/O range:		0240-0253;
IRQ:			11;
DMA channel:	0;
DMA channel:	3

3) Crystal WDM audio control registers:
I/O range:		0F00-0F07

I know that CS4236 audio can suport FreeBSD snd_mss driver.
When I try to load it with command: "kldload snd_mss" it run without any error massages.
But there is no any sound device loaded I see in "cat /dev/sndstat" output:
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:


There is dmesg output AFTER "kldload snd_mss" command:
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 11 drq 0 pnpid CSC6835 on isa0
device_attach: pcm0 attach returned 6
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 11 drq 0 pnpid CSC6835 on isa0toprr
device_attach: pcm0 attach returned 6
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 11 drq 0 pnpid CSC6835 on isa0
device_attach: pcm0 attach returned 6
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 11 drq 0 pnpid CSC6835 on isa0
device_attach: pcm0 attach returned 6
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 11 drq 0 pnpid CSC6835 on isa0
device_attach: pcm0 attach returned 6


So there is the question: Is there any way to use audio on this machine under FreeBSD?
>How-To-Repeat:
Have Dell Optiplex GX1 with onboard audio and run FreeBSD ;)
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Sep 1 05:48:28 UTC 2010 
Responsible-Changed-Why:  
reassign to media gruop 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149943 
>Unformatted:
