From nobody@FreeBSD.org  Wed Jun  8 16:39:40 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5828A16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jun 2005 16:39:40 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8F343D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jun 2005 16:39:40 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j58GddsM040885
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Jun 2005 16:39:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j58GddOU040884;
	Wed, 8 Jun 2005 16:39:39 GMT
	(envelope-from nobody)
Message-Id: <200506081639.j58GddOU040884@www.freebsd.org>
Date: Wed, 8 Jun 2005 16:39:39 GMT
From: trasz <trasz@buziaczek.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: snd_emu10k1 - mixer does not work.
X-Send-Pr-Version: www-2.3

>Number:         82043
>Category:       kern
>Synopsis:       [sound] snd_emu10k1 - mixer does not work.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 08 16:40:12 GMT 2005
>Closed-Date:    
>Last-Modified:  Wed Dec 14 03:40:06 GMT 2005
>Originator:     trasz
>Release:        5.4
>Organization:
>Environment:
FreeBSD traszkan.ds7 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed May 11 19:24:26 CEST 2005     trasz@traszkan.ds7:/usr/obj/usr/src/sys/TRASHCAN  i386

>Description:
      i've got a card detected as:

pcm0: <Creative EMU10K1> port 0xd800-0xd81f irq 9 at device 9.0 on pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>

sound output works, but mixer does not - i can query values with mixer(8) and set them as i like, but it does not actually change anything - volume is the same it was before.  'cat /dev/sndstat'
gives:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Creative EMU10K1> at io 0xd800 irq 9 kld snd_emu10k1 (4p/2r/4v channels duplex default)

'pciconf -vl' describes the card as:

pcm0@pci0:9:0:  class=0x040100 card=0x80651102 chip=0x00021102 rev=0x0a hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780'
    class    = multimedia
    subclass = audio
emujoy0@pci0:9:1:       class=0x098000 card=0x00201102 chip=0x70021102 rev=0x0a hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10000 Game Port'
    class    = input device

there are no errors nor warnings in the dmesg.

>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jun 8 17:43:38 GMT 2005 
Responsible-Changed-Why:  
Reassign to appropriate mailing list. 

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

From: <ppl@nbnet.nb.ca>
To: <bug-followup@FreeBSD.org>
Cc: <trasz@buziaczek.pl>
Subject: Re: kern/82043: [sound] snd_emu10k1 - mixer does not work.
Date: Tue, 13 Dec 2005 22:32:19 -0500

 I have the same problem. After some troubleshooting I've found out that the problem was with the black jack (back speakers). `mixer pcm` works fine for the green jack (front speakers). You get the impression that its not working because the sound coming from the black jack is much louder.
 
 Problem   : the black jack is unfacted by mixer.
 Workaround: disconnect the black jack and only connect the green jack
             (if you need rear speakers just swap)
 
 #pciconf -l -v
 [...]
 pcm0@pci2:7:0:  class=0x040100 card=0x80651102 chip=0x00021102 rev=0x0a hdr=0x00
     vendor   = 'Creative Labs'
     device   = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780'
     class    = multimedia
     subclass = audio
 emujoy0@pci2:7:1:       class=0x098000 card=0x00201102 chip=0x70021102 rev=0x0a hdr=0x00
     vendor   = 'Creative Labs'
     device   = 'EMU10000 Game Port'
     class    = input device
 [...]
 
 As the PR originator, there's  no warning/errors in dmesg boot.
 

From: <ppl@nbnet.nb.ca>
To: <ppl@nbnet.nb.ca>,<bug-followup@FreeBSD.org>
Cc: <trasz@buziaczek.pl>
Subject: Re: kern/82043: [sound] snd_emu10k1 - mixer does not work.
Date: Tue, 13 Dec 2005 22:34:32 -0500

 I've foggot to mention that I'm testing on FreeBSD 6.0.
 
>Unformatted:
