From nobody@FreeBSD.org  Sun Dec 30 12:46:42 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3058BE33
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Dec 2012 12:46:42 +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 16CE98FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Dec 2012 12:46:42 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBUCkf6g071374
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Dec 2012 12:46:41 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBUCkfR9071373;
	Sun, 30 Dec 2012 12:46:41 GMT
	(envelope-from nobody)
Message-Id: <201212301246.qBUCkfR9071373@red.freebsd.org>
Date: Sun, 30 Dec 2012 12:46:41 GMT
From: Hardy Schumacher <hardy.schumacher@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [sound] [snd_emu10kx]: "Creative SB PCI512 [CT4790]" is not working at FreeBSD-9.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174828
>Category:       kern
>Synopsis:       [sound] [snd_emu10kx]: "Creative SB PCI512 [CT4790]" is not working at FreeBSD-9.1
>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:   Sun Dec 30 12:50:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Dec 31 00:59:28 UTC 2012
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.1 i386
>Organization:
>Environment:
FreeBSD gamma.low.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r244739: Sat Dec 29 23:30:35 CET 2012     root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA  i386
>Description:
After upgrading from FreeBSD-9.1_p05 to FreeBSD-9.1 the sound card "Creative SB PCI512 [CT4790]" is not working anymore.

With FreeBSD-9.1 the driver "snd_emu10kx" is built in GENERIC kernel by default.
It detects the sound card correctly, but with Xorg no sound is available.

Formerly I used module "snd_emu10k1", which worked well with the named sound card.


Details (based on driver "snd_emu10kx"):

Command: dmesg | grep -i "emu"
Output:
emu10kx0: <Creative SB PCI512 [CT4790]> port 0xe000-0xe01f irq 19 at device 11.0 on pci0
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0

Command: cat /dev/sndstat
Output:
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <EMU10Kx DSP front PCM interface> (play/rec) default
pcm1: <EMU10Kx DSP rear PCM interface> (play)
>How-To-Repeat:
Install FreeBSD-9.1 with GENERIC kernel, use a "Creative SB PCI512".
Try to use sound with different applications at Xorg.
>Fix:
A workaround is to use a custom kernel:
include GENERIC
nodevice snd_emu10kx

With this kernel I load the alternative driver "snd_emu10k1" via /boot/loader.conf.
This works well.

Correct solution would be to migrate all functionalities from "snd_emu10k1"
into "snd_emu10kx" that the newer driver is fully backward compatible.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Dec 31 00:58:55 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer(s). 

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