From owner-freebsd-multimedia@FreeBSD.ORG Sun May 7 13:06:53 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DB2416A409 for ; Sun, 7 May 2006 13:06:53 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 237E343D45 for ; Sun, 7 May 2006 13:06:51 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so4406ugc for ; Sun, 07 May 2006 06:06:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=a2C1u1s8+Q+apv7nDqnSYdTc68v/5uAAS5fJvQQ3D1DsR6WOLV2JOooJPxkyUfPHZnGw3vgzA02PHowv3Cpe4lk+0BOp/Hdz2zKQ4LMO43DqBpWxehHtvH3tSzn2TCb38cR9Z2o3K5PZ2tGVGOiCKgWezXkmQQxXPmiKHO6yEhE= Received: by 10.67.128.4 with SMTP id f4mr375173ugn; Sun, 07 May 2006 06:06:50 -0700 (PDT) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id j1sm1328397ugf.2006.05.07.06.06.47; Sun, 07 May 2006 06:06:50 -0700 (PDT) Date: Sun, 7 May 2006 16:06:37 +0300 From: Rostislav Krasny To: Ariff Abdullah Message-Id: <20060507160637.98ca3b57.rosti.bsd@gmail.com> In-Reply-To: <20060507112455.0e8a6802.ariff@FreeBSD.org> References: <20060418055148.0f128baa.rosti.bsd@gmail.com> <20060429122956.a1b08bcb.rosti.bsd@gmail.com> <20060429174941.7151c3f8.ariff@FreeBSD.org> <20060429142448.cfad1491.rosti.bsd@gmail.com> <20060506223643.d8d87b9b.rosti.bsd@gmail.com> <20060507112455.0e8a6802.ariff@FreeBSD.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: master volume has no effect X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 13:06:53 -0000 On Sun, 7 May 2006 11:24:55 +0800 Ariff Abdullah wrote: > On Sat, 6 May 2006 22:36:43 +0300 > Rostislav Krasny wrote: > > On Sat, 29 Apr 2006 14:24:48 +0300 > > Rostislav Krasny wrote: > > > > > > This is easy. Just give me the output of dmesg | grep pcm . All > > > > I need to know is your AC97 codec. > > > > > > pcm0: port 0xe800-0xe8ff,0xef00-0xef3f irq > > > 9 at device 31.5 on pci0 pcm0: > > > > Any progress? I can test a patch, if you have some. > > > I lied when I said "this is easy", since at first, I thought this was > about soft volume pcm. There are few codecs that exhibit this same > "problem". > > I can provide you with a crude workaround, but it is a _workaround_ . > The _real_solution_ is to implement some sort of relative volume > adjustment, which probably take some time. > > Replace your sys/dev/sound/pci/ich.c with: > > http://people.freebsd.org/~ariff/test/ich.c > > .. and as I said, *workaround*, not a real fix. Thank you. It works, but with some strangenesses. I will return to the original ich.c and wait for the real solution. When it's ready, feel free to send me patches for testing if you need.