From nobody@FreeBSD.org  Thu Aug 30 20:18:05 2012
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 2F73D1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Aug 2012 20:18:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B8758FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Aug 2012 20:18:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7UKI4SW040129
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Aug 2012 20:18:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q7UKI4ZM040128;
	Thu, 30 Aug 2012 20:18:04 GMT
	(envelope-from nobody)
Message-Id: <201208302018.q7UKI4ZM040128@red.freebsd.org>
Date: Thu, 30 Aug 2012 20:18:04 GMT
From: James Powell <james4591@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: driver support for cmi8787/8788 chipsets
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171191
>Category:       kern
>Synopsis:       [new driver] [request] add driver support for cmi8787/8788 chipsets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 30 20:20:01 UTC 2012
>Closed-Date:    Mon Mar 18 21:47:41 UTC 2013
>Last-Modified:  Fri Jun  7 06:40:00 UTC 2013
>Originator:     James Powell
>Release:        FreeBSD 9.0 based PC-BSD 9.0
>Organization:
n/a
>Environment:
FreeBSD pcbsd-496 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The snd_cmi driver for C-Media based sound cards does not support the CMI8787/8788 model chipsets.
>How-To-Repeat:
Boot FreeBSD, or any derivative, with a C-Media cmi8787/8788 based sound card.
>Fix:
I was told this information provided, vai the freebsd-support mailing list, would assist in possibly a temporary patch possibly for the maintainer of the driver, however my last attempt at contacting the individual in development of the snd_cmi driver's email returned to me stating the e-mail was invalid.

This was from the log generated:

 none3@pci0:5:4:0:	class=0x040100 card=0x82751043 chip=0x878813f6 rev=0x00 hdr=0x00
    vendor     = 'C-Media Electronics Inc'
    device     = 'CMI8788 [Oxygen HD Audio]'
    class      = multimedia
    subclass   = audio

The sound card in question is a CMI8788 derived ASUS Xonar DX PCIe.

I have attempted to remedy this using the ports collection's 4Front OSS driver, but all attempts to successfully load the driver result in a system that locks up, freezes, or refuses to boot.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Aug 31 02:34:57 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171191 

From: Clemens Ladisch <clemens@ladisch.de>
To: bug-followup@FreeBSD.org, james4591@hotmail.com
Cc:  
Subject: Re: kern/171191: [snd_cmi] [request] add driver support for cmi8787/8788
 chipsets
Date: Fri, 31 Aug 2012 09:51:35 +0200

 > I was told this information provided would assist in possibly
 > a temporary patch possibly for the maintainer of the driver,
 
 Just adding the ID wouldn't help; the CMI8788 requires a completely
 different driver.
State-Changed-From-To: open->suspended 
State-Changed-By: linimon 
State-Changed-When: Sun Feb 24 23:08:08 UTC 2013 
State-Changed-Why:  
Apparently this will require a new driver.  Mark suspended awaiting patches. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171191 

From: Chris Rees <utisoft@gmail.com>
To: James Powell <james4591@hotmail.com>, bug-followup@freebsd.org
Cc: freebsd-multimedia@freebsd.org, Mark Linimon <linimon@freebsd.org>
Subject: RE: kern/171191: [new driver] [request] add driver support for
 cmi8787/8788 chipsets
Date: Thu, 28 Feb 2013 19:29:46 +0000

 --bcaec5396b50d7c4d204d6cde91b
 Content-Type: text/plain; charset=ISO-8859-1
 
 The system locks up with audio/oss because it conflicts with the built-in
 FreeBSD sound driver.  This has been fixed, but you still need a kernel
 built without sound support.
 
 Then use audio/oss.
 
 Please let us know if this still doesn't work.
 
 Chris
 
 --bcaec5396b50d7c4d204d6cde91b
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <p dir=3D"ltr">The system locks up with audio/oss because it conflicts with=
  the built-in FreeBSD sound driver.=A0 This has been fixed, but you still n=
 eed a kernel built without sound support.</p>
 <p dir=3D"ltr">Then use audio/oss.</p>
 <p dir=3D"ltr">Please let us know if this still doesn&#39;t work.</p>
 <p dir=3D"ltr">Chris</p>
 
 --bcaec5396b50d7c4d204d6cde91b--
State-Changed-From-To: suspended->feedback 
State-Changed-By: crees 
State-Changed-When: Fri Mar 1 20:53:15 UTC 2013 
State-Changed-Why:  
Wait for confirmation from submitter 


Responsible-Changed-From-To: freebsd-multimedia->crees 
Responsible-Changed-By: crees 
Responsible-Changed-When: Fri Mar 1 20:53:15 UTC 2013 
Responsible-Changed-Why:  
I'll take it.  James, I hope you haven't given up on FreeBSD because of 
this, are you still in a position to test my above suggestion? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171191 
State-Changed-From-To: feedback->closed 
State-Changed-By: crees 
State-Changed-When: Mon Mar 18 21:47:40 UTC 2013 
State-Changed-Why:  
Current solution is to recompile kernel without sound support and 
install audio/oss 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171191 

From: Chris Rees <utisoft@gmail.com>
To: James Powell <james4591@hotmail.com>, bug-followup@freebsd.org
Cc: Chris Rees <crees@freebsd.org>
Subject: Re: kern/171191: [new driver] [request] add driver support for
 cmi8787/8788 chipsets
Date: Fri, 7 Jun 2013 07:36:30 +0100

 --089e0149c948b888f104de8aa637
 Content-Type: text/plain; charset=ISO-8859-1
 
 Did you try with a kernel built without the sound driver?  It's compiled in
 by default on 9+.
 
 Would you appreciate any guidance?  I have two machines working perfectly
 with those cards.
 
 Also, did you try disabling onboard audio?
 
 Chris
 
 --089e0149c948b888f104de8aa637
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <p dir=3D"ltr">Did you try with a kernel built without the sound driver?=A0=
  It&#39;s compiled in by default on 9+.</p>
 <p dir=3D"ltr">Would you appreciate any guidance?=A0 I have two machines wo=
 rking perfectly with those cards.</p>
 <p dir=3D"ltr">Also, did you try disabling onboard audio?</p>
 <p dir=3D"ltr">Chris</p>
 
 --089e0149c948b888f104de8aa637--
>Unformatted:
