From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 28 23:26:09 2005 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 3020716A41F for ; Sun, 28 Aug 2005 23:26:09 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E1C743D48 for ; Sun, 28 Aug 2005 23:26:08 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9DA5C6CC32; Mon, 29 Aug 2005 07:32:57 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58141-08; Mon, 29 Aug 2005 07:32:56 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [219.95.39.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id E8A046CC2F; Mon, 29 Aug 2005 07:32:55 +0800 (MYT) Date: Mon, 29 Aug 2005 07:26:13 +0800 From: Ariff Abdullah To: Torfinn Ingolfsen Message-Id: <20050829072613.3eb2b46e.skywizard@MyBSD.org.my> In-Reply-To: <20050828234613.3e8b063a.torfinn.ingolfsen@broadpark.no> References: <20050828234613.3e8b063a.torfinn.ingolfsen@broadpark.no> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound patches and volume problems? 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, 28 Aug 2005 23:26:09 -0000 On Sun, 28 Aug 2005 23:46:13 +0200 Torfinn Ingolfsen wrote: > Hello! > > I installed the massive sound patches from > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > on a laptop running an up-to-date 5.4-stable: > tingo@kg-jobbpc3$ uname -a > FreeBSD kg-jobbpc3.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #3: Thu Aug > 25 23:20:08 CEST 2005 > root@kg-jobbpc3.kg4.no:/storage/usr/obj/storage/usr/src/sys/T41_NOU > HID i386 > > The patches lets FreeBSD detect all the usb audio devices that I > have; this is good. > > However, there seems to be some problems with the volume controls... > it seems like the volume is ... sort of relative now, not absolute. > And when I adjust volume, equalizer settings etc, it seems lie the > volume gets ... well, lost, and gets louder all the time, until > finally I have to shut down xmms to save my speakers / headphones. > > The last device tested was a set of USB speakers from Jazz Speakers > (model no. J1116U), and theyu have the same problem. > Here are the lines from /var/loig/messages showing how the speakers > are detected: > Aug 28 23:06:53 kg-jobbpc3 kernel: ugen0: C-Media INC. USB Audio, > rev 1.10/0.10, addr 2 Aug 28 23:08:10 kg-jobbpc3 kernel: ugen0: at > uhub1 port 2 (addr 2) disconnected Aug 28 23:08:10 kg-jobbpc3 > kernel: ugen0: detached Aug 28 23:08:17 kg-jobbpc3 kernel: uaudio0: > C-Media INC. USB Audio, rev 1.10/0.10, addr 2 Aug 28 23:08:17 > kg-jobbpc3 kernel: uaudio0: audio rev 1.00 Aug 28 23:08:17 > kg-jobbpc3 kernel: pcm1: on uaudio0 Aug 28 23:08:17 > kg-jobbpc3 kernel: record channel supported format list invalid Aug > 28 23:08:17 kg-jobbpc3 kernel: pcm1: chn_init(pcm1:record:0) failed: > err = 19 Aug 28 23:08:17 kg-jobbpc3 kernel: pcm1: > pcm_chn_create(ua_chan, -1, 0xc2f12a00) failed > > Currently, I have only tested with xmms, because there is no easy > way in zinf to chenge output device. > > I'm sorry that my little "problem report" isn't more accurate, but > so far I'm just seeing the symptoms, and don't know where to start > looking for the problems yet. -- > Regards, > Torfinn Ingolfsen, > Norway > Unfortunately, this is pretty much usb audio specific and I don't have any of it. People with this kind of hardware probably could tell you more, but I do suspect it's all about incorrect volume resolution or perhaps volume miscalculation within uaudio.c. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)