From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 00:29:54 2006 Return-Path: X-Original-To: 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 EA68E16A420 for ; Sun, 1 Jan 2006 00:29:54 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74CCE43D49 for ; Sun, 1 Jan 2006 00:29:54 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k010S8N1082104 for ; Sat, 31 Dec 2005 17:28:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 31 Dec 2005 17:28:11 -0700 (MST) Message-Id: <20051231.172811.32662996.imp@bsdimp.com> To: multimedia@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 31 Dec 2005 17:28:08 -0700 (MST) Cc: Subject: win32-codec port 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, 01 Jan 2006 00:29:55 -0000 I was wondering if there was some reason that the win32-code port hadn't been updated to the newest codecs that were available from mplayer.hu? I have a few wvb2 streams that I think I could play with updated codecs, but didn't want to totally foul up my system by trying to do the update by hand. Warner From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 05:10:02 2006 Return-Path: X-Original-To: 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 97C4016A423 for ; Sun, 1 Jan 2006 05:10:02 +0000 (GMT) (envelope-from mrl0lz@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0974443D5F for ; Sun, 1 Jan 2006 05:09:38 +0000 (GMT) (envelope-from mrl0lz@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so2128039nzo for ; Sat, 31 Dec 2005 21:09:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:from; b=Vwy8/Qlh5HRn7Sa0GxJJWhg/Qgd5to2BvQrQ0ls9gc5+vp7Q3Pgai+6hx/8ulXV8BHNBm3XAq78zyuQD8WSC7LhvoEgnPlrZnPemS+JA1qBdDP7vis5ZscfwoWJb+VnuucdDUQ65SyYYP3ewDQP6CfUH2crIeVpi2/M6N6JGElI= Received: by 10.37.22.33 with SMTP id z33mr147485nzi; Sat, 31 Dec 2005 21:09:37 -0800 (PST) Received: from ?172.16.0.3? ( [71.80.228.80]) by mx.gmail.com with ESMTP id 20sm3209942nzp.2005.12.31.21.09.35; Sat, 31 Dec 2005 21:09:35 -0800 (PST) To: Alexander Leidinger In-Reply-To: <20051231141706.08ab6428@Magellan.Leidinger.net> References: <20051203110534.N98873@fledge.watson.org> <20051203140912.7b460452@Magellan.Leidinger.net> <20051231141706.08ab6428@Magellan.Leidinger.net> Content-Type: text/plain Date: Sat, 31 Dec 2005 21:09:54 -0800 Message-Id: <1136092194.27854.5.camel@vaio> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit From: Remington Cc: multimedia@freebsd.org Subject: Re: Brief Report: IBM/Lenovo z60t notebook with FreeBSD 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, 01 Jan 2006 05:10:02 -0000 > AFAIK nobody is working on real HDA support ATM, so we can't give you > an ETA. Alex, I appreciate the response. Surely you've heard of the opensound driver from 4Front Tech. Supposedly it does support Intel HDA for FreeBSD, but because of some way it loads itself into a kernel it fails to attach to a device. The developers state that is an issue with the way FBSD does it because the code works with OpenBSD and linux. Are you, or anyone else aware of this problem? From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 11:30:14 2006 Return-Path: X-Original-To: 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 6845116A41F for ; Sun, 1 Jan 2006 11:30:14 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D1F343D5C for ; Sun, 1 Jan 2006 11:30:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CECA.dip.t-dialin.net [84.165.206.202]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k01BQpPo058522; Sun, 1 Jan 2006 12:26:51 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k01BU9li038647; Sun, 1 Jan 2006 12:30:10 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 1 Jan 2006 12:30:09 +0100 From: Alexander Leidinger To: Remington Message-ID: <20060101123009.16dd313d@Magellan.Leidinger.net> In-Reply-To: <1136092194.27854.5.camel@vaio> References: <20051203110534.N98873@fledge.watson.org> <20051203140912.7b460452@Magellan.Leidinger.net> <20051231141706.08ab6428@Magellan.Leidinger.net> <1136092194.27854.5.camel@vaio> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: multimedia@freebsd.org Subject: Re: Brief Report: IBM/Lenovo z60t notebook with FreeBSD 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, 01 Jan 2006 11:30:14 -0000 On Sat, 31 Dec 2005 21:09:54 -0800 Remington wrote: > > > AFAIK nobody is working on real HDA support ATM, so we can't give you > > an ETA. > > Alex, I appreciate the response. Surely you've heard of the opensound > driver from 4Front Tech. Supposedly it does support Intel HDA for > FreeBSD, but because of some way it loads itself into a kernel it fails > to attach to a device. The developers state that is an issue with the > way FBSD does it because the code works with OpenBSD and linux. Are you, > or anyone else aware of this problem? No, I don't know what the problem is. But hardware detection is a task of the driver. So if there's a problem, it's either a bug in the driver, or a bug in the low level probing/allocation routines of FreeBSD. So if 4Front knows what the problem is, a mail to current@ should help (by either fixing the bug in FreeBSD, or by explaining what to do in the driver). Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 1 16:18:02 2006 Return-Path: X-Original-To: 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 E5C7F16A41F for ; Sun, 1 Jan 2006 16:18:02 +0000 (GMT) (envelope-from cracauer@schlepper.zs64.net) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2412D43D4C for ; Sun, 1 Jan 2006 16:18:01 +0000 (GMT) (envelope-from cracauer@schlepper.zs64.net) Received: from schlepper.zs64.net (schlepper [212.12.50.230]) by schlepper.zs64.net (8.13.3/8.12.9) with ESMTP id k01GHhrb085331; Sun, 1 Jan 2006 17:17:43 +0100 (CET) (envelope-from cracauer@schlepper.zs64.net) Received: (from cracauer@localhost) by schlepper.zs64.net (8.13.3/8.12.9/Submit) id k01GHdpW085330; Sun, 1 Jan 2006 11:17:39 -0500 (EST) (envelope-from cracauer) Date: Sun, 1 Jan 2006 11:17:39 -0500 From: Martin Cracauer To: "M. Warner Losh" Message-ID: <20060101111739.A85296@cons.org> References: <20051231.172811.32662996.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20051231.172811.32662996.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Dec 31, 2005 at 05:28:11PM -0700 Cc: multimedia@freebsd.org Subject: Re: win32-codec port 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, 01 Jan 2006 16:18:03 -0000 M. Warner Losh wrote on Sat, Dec 31, 2005 at 05:28:11PM -0700: > I was wondering if there was some reason that the win32-code port > hadn't been updated to the newest codecs that were available from > mplayer.hu? I have a few wvb2 streams that I think I could play with > updated codecs, but didn't want to totally foul up my system by trying > to do the update by hand. For what it's worth, I just unpackaged the newest packages into the codec directory and it works fine for both FreeBSD and Linux. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 02:46:09 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 97E4716A41F for ; Mon, 2 Jan 2006 02:46:09 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ibc3f.i.pppool.de [85.73.188.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D6E543D49 for ; Mon, 2 Jan 2006 02:46:06 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id D6995119CE2 for ; Mon, 2 Jan 2006 03:46:04 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id A52CD119CE0 for ; Mon, 2 Jan 2006 03:46:04 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2006 03:46:02 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200512291339.21897.frank@barda.agala.net> <20051230042404.GE27236@puff.jakemsr.gom> In-Reply-To: <20051230042404.GE27236@puff.jakemsr.gom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601020346.03581.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 2 03:46:05 2006 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b893ed53411680728247 X-DSPAM-Factors: 27, To*multimedia, 0.00020, > > Disposition-Notification-To*Beckmann+frank, 0.00020, > To*freebsd+org, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, Disposition-Notification-To*frank, 0.00020, From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, Content-Type*iso, 0.00020, Disposition-Notification-To*Frank+Beckmann, 0.00020, To*freebsd, 0.00020, To*freebsd, 0.00020, > > Content-Transfer-Encoding*printable, 0.00020 Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 02:46:09 -0000 Moin, am Freitag, 30. Dezember 2005 05:24 schrieb Jacob Meuser: > > moTV, XawTV and fxtv are able to record sound, ffmpeg and nupplevideo a= re > > not. ffmpeg records sound from outher devices. So I guess that it doesn= 't > > tell the > > =20 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > TV card to send the audio stream to it's line out. ffmpeg has the only > > really > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > no, bktr(4) always does that. it is only possible to select the inputs. > all outputs are enabled when the tuner is unmuted (which happens by defau= lt > when the tuner is open()'d). > > do you hear audio when you run the above ffmpeg command? if so, then the > problem is solely with the audio grabbing, not bktr. make sure your mixer > is set right. ffmpeg doesn't set the mixer, while the programs that work > for you all do set the mixer, IIRC. I don't hear sound when I use ffmpeg. I hear sound if I use moTV (or one of= =20 the other above mantioned programs). The mixer settings are always the same: Mixer vol is currently set to 78:78 Mixer pcm is currently set to 88:88 Mixer speaker is currently set to 88:88 Mixer line is currently set to 82:82 Mixer mic is currently set to 92:92 Mixer cd is currently set to 90:90 Mixer rec is currently set to 81:81 Mixer ogain is currently set to 78:78 Mixer line1 is currently set to 90:90 Mixer phin is currently set to 90:90 Mixer phout is currently set to 84:84 Recording source: line Now I disconnected the audio output of the tv card from the input of the so= und=20 card and plugged the output of hifi cd player there instead. Now ffmpeg=20 records sound (not from tv ofcourse but from the cd player). That tells me= =20 that the mix=E9r settings are ok but the tv card does not send sound then I= use=20 ffmpeg (or nuppelvideo). =2D-=20 Bye =46rank From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 02:49:23 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 0232D16A41F for ; Mon, 2 Jan 2006 02:49:23 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ibc3f.i.pppool.de [85.73.188.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63B6643D45 for ; Mon, 2 Jan 2006 02:49:20 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 0D007119CE2 for ; Mon, 2 Jan 2006 03:49:19 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id E4F86119CE0 for ; Mon, 2 Jan 2006 03:49:18 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2006 03:49:17 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <20051230042404.GE27236@puff.jakemsr.gom> <20051230105729.1df83d74.steve@sohara.org> In-Reply-To: <20051230105729.1df83d74.steve@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601020349.18202.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 2 03:49:19 2006 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b894af53755209328925 X-DSPAM-Factors: 27, To*multimedia, 0.00020, > > Subject*record+sound, 0.00020, Disposition-Notification-To*Beckmann+frank, 0.00020, Subject*from, 0.00020, > To*freebsd+org, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, > Disposition-Notification-To*frank, 0.00020, > From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, Subject*sound, 0.00020, Content-Type*iso, 0.00020, Disposition-Notification-To*Frank+Beckmann, 0.00020, To*freebsd, 0.00020 Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 02:49:23 -0000 Moin, am Freitag, 30. Dezember 2005 11:57 schrieb Steve O'Hara-Smith: > On Thu, 29 Dec 2005 20:24:04 -0800 > > Jacob Meuser wrote: > > On Thu, Dec 29, 2005 at 01:39:21PM +0100, Frank J. Beckmann wrote: > > > Moin, > > > > > > ffmpeg records sound from outher devices. So I guess that it doesn't > > > tell the > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > TV card to send the audio stream to it's line out. ffmpeg has the only > > > really > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > no, bktr(4) always does that. it is only possible to select the inputs. > > all outputs are enabled when the tuner is unmuted (which happens by > > default when the tuner is open()'d). > > Yes that should be the case - but ffmpeg will emit an error message > if opening the tuner fails and that error message is not present. > > > do you hear audio when you run the above ffmpeg command? if so, then the > > problem is solely with the audio grabbing, not bktr. make sure your > > mixer is set right. > > The mixer settings originally posted look correct to me (assuming > the plug really is in line and not line1 or something silly like that). That was the one of the first things that I confirmed. Else moTV couldn't record the sound either. And ffmpeg does record sound if I plug another source instead of the tv card there. -- Bye Frank From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 02:53:30 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 A751216A41F for ; Mon, 2 Jan 2006 02:53:30 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ibc3f.i.pppool.de [85.73.188.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF5043D49 for ; Mon, 2 Jan 2006 02:53:28 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 7DD1F119CE2 for ; Mon, 2 Jan 2006 03:53:27 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id 48160119CE0 for ; Mon, 2 Jan 2006 03:53:27 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2006 03:53:25 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <20051230105729.1df83d74.steve@sohara.org> <20051230114354.GA13494@puff.jakemsr.gom> In-Reply-To: <20051230114354.GA13494@puff.jakemsr.gom> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601020353.26510.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 2 03:53:27 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b895a755581862220286 X-DSPAM-Factors: 27, Organization*naga+doron, 0.00010, Message-Id*agala+net, 0.00010, Content-Type*text+plain, 0.00010, Content-Disposition*inline, 0.00010, Content-Type*charset+iso, 0.00010, Content-Type*plain, 0.00010, From*Beckmann+frank, 0.00010, From*agala, 0.00010, Message-Id*frank, 0.00010, From*net, 0.00010, Message-Id*frank+barda, 0.00010, Disposition-Notification-To*agala+net, 0.00010, Disposition-Notification-To*agala, 0.00010, Organization*agala, 0.00010, To*freebsd, 0.00010, To*freebsd, 0.00010, Disposition-Notification-To*Frank+Beckmann, 0.00010, Content-Type*iso, 0.00010, Disposition-Notification-To*Frank, 0.00010, From*frank+barda, 0.00010, Disposition-Notification-To*frank, 0.00010, Disposition-Notification-To*barda, 0.00010, Received*freebsd.org, 0.00010, From*Frank+Beckmann, 0.00010, To*freebsd+org, 0.00010, Disposition-Notification-To*Beckmann+frank, 0.00010, To*multimedia, 0.00010 Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 02:53:30 -0000 Moin, am Freitag, 30. Dezember 2005 12:43 schrieb Jacob Meuser: > On Fri, Dec 30, 2005 at 10:57:29AM +0000, Steve O'Hara-Smith wrote: > > On Thu, 29 Dec 2005 20:24:04 -0800 > > > > Jacob Meuser wrote: > > > On Thu, Dec 29, 2005 at 01:39:21PM +0100, Frank J. Beckmann wrote: > > > > Moin, > > > > > > > > ffmpeg records sound from outher devices. So I guess that it doesn't > > > > tell the > > > > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > > TV card to send the audio stream to it's line out. ffmpeg has the > > > > only really > > > > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > no, bktr(4) always does that. it is only possible to select the > > > inputs. all outputs are enabled when the tuner is unmuted (which > > > happens by default when the tuner is open()'d). > > > > Yes that should be the case - but ffmpeg will emit an error message > > if opening the tuner fails and that error message is not present. > > > > > do you hear audio when you run the above ffmpeg command? if so, then > > > the problem is solely with the audio grabbing, not bktr. make sure > > > your mixer is set right. > > > > The mixer settings originally posted look correct to me (assuming > > the plug really is in line and not line1 or something silly like that). > > yup, missed that. > > only other things I can think of, are a) make sure the soundcard supports > recording of 48kHz 16-bit stereo (again, would probably see an error > message if not) and b) check that ac3 encoding actually works in that > version of ffmpeg (and that whatever is playing it back supports ac3 > decoding). otherwise, maybe try changing audio parameters. I checked all that. And ffmpeg does record sound if I plug another source instead of the sound output of the tv card there. > still, though, if you hear sound when you run the ffmpeg command, the > problem is not in bktr, but audio. bktr just sends audio to the > soundcard. you don't record audio from bktr, but from the soundcard. I don't hear sound when I use ffmpeg. I hear sound when I use moTV. I also hear sound when I use ffmpeg with another sound source. -- Bye Frank From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 02:56:26 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 8353D16A41F for ; Mon, 2 Jan 2006 02:56:26 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ibc3f.i.pppool.de [85.73.188.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33ED243D5F for ; Mon, 2 Jan 2006 02:56:22 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 044A8119CE2 for ; Mon, 2 Jan 2006 03:56:21 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id C2999119CE0 for ; Mon, 2 Jan 2006 03:56:20 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2006 03:56:19 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <20051230114354.GA13494@puff.jakemsr.gom> <200512301155.54309.nb_root@videotron.ca> In-Reply-To: <200512301155.54309.nb_root@videotron.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601020356.20081.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 2 03:56:21 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b8965556664765514607 X-DSPAM-Factors: 27, Organization*naga+doron, 0.00010, Message-Id*agala+net, 0.00010, Content-Type*text+plain, 0.00010, Content-Disposition*inline, 0.00010, Content-Type*charset+iso, 0.00010, Content-Type*plain, 0.00010, From*Beckmann+frank, 0.00010, From*agala, 0.00010, Message-Id*frank, 0.00010, From*net, 0.00010, Message-Id*frank+barda, 0.00010, Disposition-Notification-To*agala+net, 0.00010, Disposition-Notification-To*agala, 0.00010, Organization*agala, 0.00010, To*freebsd, 0.00010, To*freebsd, 0.00010, Disposition-Notification-To*Frank+Beckmann, 0.00010, Content-Type*iso, 0.00010, Disposition-Notification-To*Frank, 0.00010, From*frank+barda, 0.00010, Disposition-Notification-To*frank, 0.00010, Disposition-Notification-To*barda, 0.00010, Received*freebsd.org, 0.00010, From*Frank+Beckmann, 0.00010, To*freebsd+org, 0.00010, Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 02:56:26 -0000 Moin, am Freitag, 30. Dezember 2005 17:55 schrieb Nicolas Blais: > On December 30, 2005 06:43 am, Jacob Meuser wrote: > Does it record the video? If I do this: > ffmpeg -target ntsc-dvd -vd /dev/bktr -ad /dev/dsp -ac 2 fft.mpeg > > I get a dvd-size blue screen with no sound. It does record video. > But If I do this: > transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss > -g 640x480 -y ffmpeg -F mpeg4 -p /dev/dsp -o out Just tried that (with pal instead of ntsc). That doesn't record sound either. -- Bye Frank From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 10:22:35 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 A2D8C16A41F for ; Mon, 2 Jan 2006 10:22:35 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7B9E43D48 for ; Mon, 2 Jan 2006 10:22:34 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 59480 invoked by uid 16563); 2 Jan 2006 10:22:32 -0000 Received: from unknown (HELO df1.marelmo.com) ([194.165.183.221]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 2 Jan 2006 10:22:32 -0000 Date: Mon, 2 Jan 2006 10:19:21 +0000 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20060102101921.0016de6b.steve@sohara.org> In-Reply-To: <200601020346.03581.frank@barda.agala.net> References: <200512240440.46994.frank@barda.agala.net> <200512291339.21897.frank@barda.agala.net> <20051230042404.GE27236@puff.jakemsr.gom> <200601020346.03581.frank@barda.agala.net> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i386-pc-dragonfly1) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 10:22:35 -0000 On Mon, 2 Jan 2006 03:46:02 +0100 "Frank J. Beckmann" wrote: > hat tells me > that the mixér settings are ok but the tv card does not send sound then I use > ffmpeg (or nuppelvideo). ffmpeg and nuppelvideo both use the same code to talk to the bktr device, it relies on the sound being activated by opening the tuner device which usually does the job. I see something possible in the xawtv code - could you try two things (in this order) please. First try rebooting and using ffmpeg *without* first running xawtv (or motv) - you can tune the signal by setting the environment variable BKTR_FREQUENCY to a frequency in megahertz. I have a suspicion that xawtv is leaving the sound muted, every bktr card I have seen powers up with the sound unmuted - this will test my suspicion. Second try applying this patch in /usr/ports/multimedia/ffmpeg and then rebuilding and reinstalling ffmpeg. Let me know how you get on - if it works I will try and get the patch committed and pushed up to ffmpeg (grab_bsdbktr.c is now in ffmpeg CVS). --------------------- Cut Here and your monitor will explode -------------- Index: files/grab_bsdbktr.c =================================================================== RCS file: /ncvs/ports/multimedia/ffmpeg/files/grab_bsdbktr.c,v retrieving revision 1.9 diff -u -r1.9 grab_bsdbktr.c --- files/grab_bsdbktr.c 6 Jun 2005 02:05:01 -0000 1.9 +++ files/grab_bsdbktr.c 2 Jan 2006 10:15:50 -0000 @@ -171,6 +171,11 @@ perror ("METEORSINPUT"); return -1; } + c = AUDIO_UNMUTE; + if (ioctl(*video_fd, BT848_SAUDIO, &c) < 0) { + perror ("BT848_SAUDIO"); + return -1; + } *video_buf = (u_int8_t *) mmap((void *) 0, width*height*2, PROT_READ, MAP_SHARED, *video_fd, (off_t) 0); if (*video_buf == MAP_FAILED) { --------------------- Cut Here and your monitor will explode -------------- -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 11:02:49 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 BD98116A420 for ; Mon, 2 Jan 2006 11:02:49 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D825C43D53 for ; Mon, 2 Jan 2006 11:02:44 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k02B2gAh037582 for ; Mon, 2 Jan 2006 11:02:42 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k02B2fqQ037576 for freebsd-multimedia@freebsd.org; Mon, 2 Jan 2006 11:02:41 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 2 Jan 2006 11:02:41 GMT Message-Id: <200601021102.k02B2fqQ037576@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 02 Jan 2006 11:02:50 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/02/22] kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestr f [2004/11/16] kern/73987 multimedia [sound] Nforce2 MB sound problem o [2004/12/31] kern/75687 multimedia [sound] [patch] No sound on PC which is i o [2005/04/14] kern/79905 multimedia [sound] sis7018 sound module problem o [2005/04/14] kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: o [2005/05/17] kern/81146 multimedia [sound] Sound isn't working AT ALL for Si o [2005/06/08] kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2001/02/26] kern/25386 multimedia [sound] Incorrect mixer registers (line & o [2002/04/30] kern/37600 multimedia [sound] [partial patch] t4dwave drive doe f [2003/12/26] kern/60599 multimedia [bktr] [partial patch] No sound for ATI T o [2003/12/29] kern/60677 multimedia [sound] [patch] No reaction of volume con f [2003/12/30] kern/60737 multimedia [sound] Sound card Turtle Beach Santa Cru o [2004/05/09] kern/66422 multimedia [sound] [patch] no sound on modern Sony V f [2004/05/14] kern/66642 multimedia [sound] pcm0: play: 0: play interrupt tim f [2004/09/30] kern/72218 multimedia [sound] audio recording broken with emu10 o [2004/10/22] kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound near f [2004/11/21] i386/74191 multimedia [sound] Notebook PC2001 Compliant AC97 au o [2005/01/06] kern/75894 multimedia [sound] AD1981 not probing (shuttle ST62K o [2005/01/08] kern/75969 multimedia [sound] [patch] Support for Sigmatel STAC o [2005/01/31] kern/76918 multimedia [sound] ATI AD1981 AC'97 Audio Controller o [2005/04/01] kern/79427 multimedia [sound] No sound on Compaq Armada 100S la o [2005/04/03] kern/79498 multimedia [sound] sndfile-play (and many other play o [2005/04/08] kern/79678 multimedia [sound] sound works except recording from o [2005/04/20] kern/80149 multimedia problems with an soundblaster-8 (original o [2005/04/20] kern/80151 multimedia [sound] [patch] Missing ESS ES1688 PCI-ID o [2005/04/20] kern/80152 multimedia [sound] [patch] SIMPLEX flag is not set p o [2005/04/22] kern/80234 multimedia [sound] [patch] add entry for Analog Devi o [2005/04/29] kern/80465 multimedia [sound] pcm0:record:0: record interrupt t o [2005/05/05] kern/80632 multimedia pcm driver missing support for CMI8738 au o [2005/05/14] kern/81013 multimedia [sound] [patch] Intel ICH3 sound chip rev o [2005/05/17] kern/81170 multimedia [sound] /dev/mixer misbehavior with enson o [2005/07/29] kern/84311 multimedia [sound] 82801FB/FR/FW/FRW Intel High Defi o [2005/08/02] kern/84471 multimedia [sound] [patch] no sound ICH4 (Analog Dev o [2005/08/03] kern/84507 multimedia [sound] fm801: Not every card supports va o [2005/09/11] kern/85964 multimedia [sound] Can't play 24 bit audio (Audigy 2 o [2005/09/24] kern/86536 multimedia [sound] /dev/mixer has no devices (still) o [2005/09/25] kern/86557 multimedia [sound] Sound Card Volume isn't adjustabl o [2005/10/21] kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: re o [2005/11/08] kern/88687 multimedia [snd_ich] snd_ich locks up machine o [2005/11/11] kern/88820 multimedia [sound] Erratic recognition of VIA 8285 s o [2005/11/15] kern/89046 multimedia [sound] [patch] pchan-related sound corru o [2005/11/18] kern/89224 multimedia [sound] [panic] kernel panic after kldunl 35 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 11:10:58 2006 Return-Path: X-Original-To: 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 A5F4716A42C for ; Mon, 2 Jan 2006 11:10:58 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1F1B43D70 for ; Mon, 2 Jan 2006 11:10:46 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from Andro-Beta.Leidinger.net (p54A5F5E3.dip.t-dialin.net [84.165.245.227]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k02B6tMA068854; Mon, 2 Jan 2006 12:06:56 +0100 (CET) (envelope-from netchild@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k02BAQt5098915; Mon, 2 Jan 2006 12:10:26 +0100 (CET) (envelope-from netchild@FreeBSD.org) Received: from Andro-Beta.Leidinger.net (Andro-Beta.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 02 Jan 2006 12:10:26 +0100 Message-ID: <20060102121026.v6agx3rmog4sk800@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 02 Jan 2006 12:10:26 +0100 From: Alexander Leidinger To: Kent Stewart References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <200601011220.46770.kstewart@owt.com> In-Reply-To: <200601011220.46770.kstewart@owt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: multimedia@FreeBSD.org Subject: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 11:10:59 -0000 Kent Stewart wrote: > BTW, your mods to emu10k1 work on my Audigy but the older Creative cards > have the primary sound coming out of the rear surround sound speakers. > I have a 5.1 speaker setup. Since I only did the MFC: this should be told to multimeda@ (CCed). Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137 "This is an outrage! I demand to know what happened to the plucky lawyer and her compellingly short garments." -alien From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 12:02:04 2006 Return-Path: X-Original-To: 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 B77B416A422 for ; Mon, 2 Jan 2006 12:02:04 +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 C59FA43DA5 for ; Mon, 2 Jan 2006 12:01:42 +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 107F26CC2D; Mon, 2 Jan 2006 20:07:56 +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 23217-05; Mon, 2 Jan 2006 20:07:54 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 4E2FD6CC2B; Mon, 2 Jan 2006 20:07:53 +0800 (MYT) Date: Mon, 2 Jan 2006 20:01:35 +0800 From: Ariff Abdullah To: kstewart@owt.com Message-Id: <20060102200135.1654afb3.skywizard@MyBSD.org.my> In-Reply-To: <20060102121026.v6agx3rmog4sk800@netchild.homeip.net> References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <200601011220.46770.kstewart@owt.com> <20060102121026.v6agx3rmog4sk800@netchild.homeip.net> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: multimedia@FreeBSD.org Subject: Re: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 12:02:05 -0000 On Mon, 02 Jan 2006 12:10:26 +0100 Alexander Leidinger wrote: > Kent Stewart wrote: > > > BTW, your mods to emu10k1 work on my Audigy but the older Creative > > cards have the primary sound coming out of the rear surround sound > > speakers. I have a 5.1 speaker setup. Kent, are you saying that the output of front and rear speakers swapped? > > Since I only did the MFC: this should be told to multimeda@ (CCed). > -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 12:22:12 2006 Return-Path: X-Original-To: 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 3006716A41F for ; Mon, 2 Jan 2006 12:22:12 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6BB043D4C for ; Mon, 2 Jan 2006 12:22:11 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id k02CLLx4028005; Mon, 2 Jan 2006 04:21:22 -0800 From: Kent Stewart To: Ariff Abdullah Date: Mon, 2 Jan 2006 04:22:08 -0800 User-Agent: KMail/1.8.3 References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <20060102121026.v6agx3rmog4sk800@netchild.homeip.net> <20060102200135.1654afb3.skywizard@MyBSD.org.my> In-Reply-To: <20060102200135.1654afb3.skywizard@MyBSD.org.my> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601020422.08664.kstewart@owt.com> Cc: multimedia@freebsd.org Subject: Re: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 12:22:12 -0000 On Monday 02 January 2006 04:01 am, Ariff Abdullah wrote: > On Mon, 02 Jan 2006 12:10:26 +0100 > > Alexander Leidinger wrote: > > Kent Stewart wrote: > > > BTW, your mods to emu10k1 work on my Audigy but the older > > > Creative cards have the primary sound coming out of the rear > > > surround sound speakers. I have a 5.1 speaker setup. > > Kent, are you saying that the output of front and rear speakers > swapped? Yes, I get the primary audio through the back speakers of the Live 5.1=20 system. Before the last change, I was seeing that on my Audigy 2 zs=20 system. Kent > > > Since I only did the MFC: this should be told to multimeda@ (CCed). > > -- > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) =2D-=20 Kent Stewart Richland, WA "Nunca te acostar=E1s sin saber una cosa m=E1s" http://users.owt.com/kstewart/index.html From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 12:31:40 2006 Return-Path: X-Original-To: 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 66B8F16A41F for ; Mon, 2 Jan 2006 12:31:40 +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 A01C243D53 for ; Mon, 2 Jan 2006 12:31:39 +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 335DC6CC2B; Mon, 2 Jan 2006 20:37:58 +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 23486-07; Mon, 2 Jan 2006 20:37:56 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 63A5B6CC2A; Mon, 2 Jan 2006 20:37:55 +0800 (MYT) Date: Mon, 2 Jan 2006 20:31:36 +0800 From: Ariff Abdullah To: Kent Stewart Message-Id: <20060102203136.51c99b77.skywizard@MyBSD.org.my> In-Reply-To: <200601020422.08664.kstewart@owt.com> References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <20060102121026.v6agx3rmog4sk800@netchild.homeip.net> <20060102200135.1654afb3.skywizard@MyBSD.org.my> <200601020422.08664.kstewart@owt.com> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Mon__2_Jan_2006_20_31_36_+0800_Gli1F/FBBtkLw3_3" X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: multimedia@freebsd.org Subject: Re: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 12:31:40 -0000 This is a multi-part message in MIME format. --Multipart=_Mon__2_Jan_2006_20_31_36_+0800_Gli1F/FBBtkLw3_3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 2 Jan 2006 04:22:08 -0800 Kent Stewart wrote: > > Yes, I get the primary audio through the back speakers of the Live > 5.1 system. Before the last change, I was seeing that on my Audigy > 2 zs system. > Does this patch (attached) solve the problem? -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) --Multipart=_Mon__2_Jan_2006_20_31_36_+0800_Gli1F/FBBtkLw3_3 Content-Type: text/plain; name="emu10k1.c.diff" Content-Disposition: attachment; filename="emu10k1.c.diff" Content-Transfer-Encoding: 7bit --- sys/dev/sound/pci/emu10k1.c.orig Mon Jan 2 20:28:34 2006 +++ sys/dev/sound/pci/emu10k1.c Mon Jan 2 20:28:37 2006 @@ -498,8 +498,8 @@ FXBUS_PCM_LEFT << 16 | FXBUS_MIDI_REVERB << 24; m->fxrt2 = 0x3f3f3f3f; /* No effects on second route */ } else { - m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_RIGHT << 4 | - FXBUS_PCM_LEFT << 8 | FXBUS_MIDI_REVERB << 12; + m->fxrt1 = FXBUS_MIDI_CHORUS | FXBUS_PCM_LEFT << 4 | + FXBUS_PCM_RIGHT << 8 | FXBUS_MIDI_REVERB << 12; m->fxrt2 = 0; } --Multipart=_Mon__2_Jan_2006_20_31_36_+0800_Gli1F/FBBtkLw3_3-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 18:28:58 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 C736A16A41F for ; Mon, 2 Jan 2006 18:28:58 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (outbound.idiom.com [216.240.47.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5462D43D49 for ; Mon, 2 Jan 2006 18:28:58 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id EDF7D22B467 for ; Mon, 2 Jan 2006 10:28:57 -0800 (PST) Received: from [192.168.2.4] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id k02ISvfj073812 for ; Mon, 2 Jan 2006 10:28:57 -0800 (PST) (envelope-from julian@elischer.org) Message-ID: <43B970E8.5010406@elischer.org> Date: Mon, 02 Jan 2006 10:28:56 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051120 X-Accept-Language: en, hu MIME-Version: 1.0 To: FreeBSD Multimedia Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: recent Maestro messages. 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: Mon, 02 Jan 2006 18:28:58 -0000 Recently the MAestro attach code has started to spew out the following during boot. someone who knows pcm_addchan() should look to see it the locking in agg_attach() can be adjusted to avoid this error safely. ===================== malloc(M_WAITOK) of "256", forcing M_NOWAIT with the following non-sleepable loc ks held: exclusive sleep mutex ESS Technology Maestro-2E (hardware status lock) r = 0 (0x c228be28) locked @ /usr/src/sys/modules/sound/driver/maestro/../../../../dev/sou nd/pci/maestro.c:270 KDB: stack backtrace: kdb_backtrace(1,e0,c10653c0,4,c0c209ec) at kdb_backtrace+0x29 witness_warn(5,0,c089b071,c0840681,e0) at witness_warn+0x192 uma_zalloc_arg(c10653c0,0,502) at uma_zalloc_arg+0x41 malloc(d8,c0907860,502,c0c20a38,c062efe8) at malloc+0xb2 devfs_alloc(c22c3800,0,c22c3780,c0c20a60,c062f0d4) at devfs_alloc+0x17 make_dev_credv(c0ae0420,30004,0,0,0) at make_dev_credv+0x34 make_dev(c0ae0420,30004,0,0,1b6) at make_dev+0x20 pcm_chn_add(c228bc00,c22fad80,c228be00,0,0) at pcm_chn_add+0x14e pcm_addchan(c22ba600,1,c0ac4ca0,c228be00,c228be28) at pcm_addchan+0x36 agg_attach(c22ba600) at agg_attach+0x553 device_attach(c22ba600,c22ba880,c22ba600,c22ba380,0) at device_attach+0x58 device_probe_and_attach(c22ba600) at device_probe_and_attach+0xe0 bus_generic_attach(c22ba380,6,c229d7c0,1,c0b2c39c) at bus_generic_attach+0x16 acpi_pci_attach(c22ba380) at acpi_pci_attach+0xd0 device_attach(c22ba380,c228acf0,c22ba380,0,c223ea80) at device_attach+0x58 device_probe_and_attach(c22ba380) at device_probe_and_attach+0xe0 bus_generic_attach(c223ea80,c223ea80,0,c229d7c0,c22b5480) at bus_generic_attach+ 0x16 acpi_pcib_attach(c223ea80,c22b5494,0,c0c20c58,c066e3cc) at acpi_pcib_attach+0x12 f acpi_pcib_acpi_attach(c223ea80) at acpi_pcib_acpi_attach+0xcf device_attach(c223ea80,c0c20ca0,c223ea80,c22b2c80,c223d600) at device_attach+0x5 8 device_probe_and_attach(c223ea80) at device_probe_and_attach+0xe0 bus_generic_attach(c223d600,103f,1016,c22a3468,4) at bus_generic_attach+0x16 acpi_attach(c223d600) at acpi_attach+0x631 device_attach(c223d600,0,c223d600,c223dd00,0) at device_attach+0x58 device_probe_and_attach(c223d600) at device_probe_and_attach+0xe0 bus_generic_attach(c223dd00,c223dd00,c223dd00,c0c20d40,c066a624) at bus_generic_ attach+0x16 nexus_attach(c223dd00) at nexus_attach+0x13 device_attach(c223dd00,c0951fb4,c223dd00,c0923ed0,c28000) at device_attach+0x58 device_probe_and_attach(c223dd00) at device_probe_and_attach+0xe0 root_bus_configure(c0c20d88,c062b006,0,c1ec00,c1e000) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c0446ce5) at configure+0x9 mi_startup() at mi_startup+0x96 begin() at begin+0x2c From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 18:39:44 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 1081516A41F for ; Mon, 2 Jan 2006 18:39:44 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ibc3f.i.pppool.de [85.73.188.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AE143D48 for ; Mon, 2 Jan 2006 18:39:41 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id C9A34119CE2 for ; Mon, 2 Jan 2006 19:39:39 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id 94484119CD9 for ; Mon, 2 Jan 2006 19:39:39 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Mon, 2 Jan 2006 19:39:37 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200601020346.03581.frank@barda.agala.net> <20060102101921.0016de6b.steve@sohara.org> In-Reply-To: <20060102101921.0016de6b.steve@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601021939.38720.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 2 19:39:40 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b9736c341001002414677 X-DSPAM-Factors: 27, Organization*naga+doron, 0.00010, Message-Id*agala+net, 0.00010, Content-Type*text+plain, 0.00010, Content-Disposition*inline, 0.00010, Content-Type*plain, 0.00010, From*Beckmann+frank, 0.00010, From*agala, 0.00010, Message-Id*frank, 0.00010, From*net, 0.00010, Message-Id*frank+barda, 0.00010, Disposition-Notification-To*agala+net, 0.00010, Disposition-Notification-To*agala, 0.00010, Organization*agala, 0.00010, To*freebsd, 0.00010, To*freebsd, 0.00010, Disposition-Notification-To*Frank+Beckmann, 0.00010, Disposition-Notification-To*Frank, 0.00010, From*frank+barda, 0.00010, Disposition-Notification-To*frank, 0.00010, Disposition-Notification-To*barda, 0.00010, Received*freebsd.org, 0.00010, From*Frank+Beckmann, 0.00010, To*freebsd+org, 0.00010, Disposition-Notification-To*Beckmann+frank, 0.00010, To*multimedia, 0.00010 Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 18:39:44 -0000 Moin, am Montag, 2. Januar 2006 11:19 schrieb Steve O'Hara-Smith: > On Mon, 2 Jan 2006 03:46:02 +0100 > > "Frank J. Beckmann" wrote: > > hat tells me > > that the mix=C3=A9r settings are ok but the tv card does not send sound= then I > > use ffmpeg (or nuppelvideo). > > ffmpeg and nuppelvideo both use the same code to talk to the bktr > device, it relies on the sound being activated by opening the tuner device > which usually does the job. I see something possible in the xawtv code - > could you try two things (in this order) please. > > First try rebooting and using ffmpeg *without* first running > xawtv (or motv) - you can tune the signal by setting the environment > variable BKTR_FREQUENCY to a frequency in megahertz. I have a suspicion > that xawtv is leaving the sound muted, every bktr card I have seen powers > up with the sound unmuted - this will test my suspicion. That did it. ffmpeg records sound when I didn't start moTV before. I used m= oTV=20 to set the channel. > Second try applying this patch in /usr/ports/multimedia/ffmpeg > and then rebuilding and reinstalling ffmpeg. Let me know how you get > on - if it works I will try and get the patch committed and pushed up > to ffmpeg (grab_bsdbktr.c is now in ffmpeg CVS). > > --------------------- Cut Here and your monitor will explode ------------= =2D- > Index: files/grab_bsdbktr.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /ncvs/ports/multimedia/ffmpeg/files/grab_bsdbktr.c,v > retrieving revision 1.9 > diff -u -r1.9 grab_bsdbktr.c > --- files/grab_bsdbktr.c 6 Jun 2005 02:05:01 -0000 1.9 > +++ files/grab_bsdbktr.c 2 Jan 2006 10:15:50 -0000 > @@ -171,6 +171,11 @@ > perror ("METEORSINPUT"); > return -1; > } > + c =3D AUDIO_UNMUTE; > + if (ioctl(*video_fd, BT848_SAUDIO, &c) < 0) { > + perror ("BT848_SAUDIO"); > + return -1; > + } > *video_buf =3D (u_int8_t *) mmap((void *) 0, width*height*2, > PROT_READ, MAP_SHARED, *video_fd, (off_t) 0); > if (*video_buf =3D=3D MAP_FAILED) { > --------------------- Cut Here and your monitor will explode ------------= =2D- That patch doesn't work: ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bell= ard built on Jan 2 2006 17:23:10, gcc: 3.4.4 [FreeBSD] 20050518 Assuming PAL for target. BT848_SAUDIO: Inappropriate ioctl for device Input #0, video4linux, from '': Duration: N/A, bitrate: N/A Stream #0.0: Video: rawvideo, yuv422, 720x576, 25.00 fps Input #1, audio_device, from '': Duration: N/A, bitrate: N/A Stream #1.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Output #0, vob, to '/var/tmp/fft.mpeg': Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, q=3D2-31, 6000 kb/s Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press [q] to stop encoding SLEPT NO signals - 30448 microseconds late Segmentation fault (core dumped) =2D-=20 Tsch=C3=BCss =46rank From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:20:42 2006 Return-Path: X-Original-To: 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 5C4B616A41F for ; Mon, 2 Jan 2006 19:20:42 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CECC343D5D for ; Mon, 2 Jan 2006 19:20:41 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id k02JJox4032203; Mon, 2 Jan 2006 11:19:51 -0800 From: Kent Stewart To: Ariff Abdullah Date: Mon, 2 Jan 2006 11:20:37 -0800 User-Agent: KMail/1.8.3 References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <200601020422.08664.kstewart@owt.com> <20060102203136.51c99b77.skywizard@MyBSD.org.my> In-Reply-To: <20060102203136.51c99b77.skywizard@MyBSD.org.my> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601021120.38227.kstewart@owt.com> Cc: multimedia@freebsd.org Subject: Re: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 19:20:42 -0000 On Monday 02 January 2006 04:31 am, Ariff Abdullah wrote: > On Mon, 2 Jan 2006 04:22:08 -0800 > > Kent Stewart wrote: > > Yes, I get the primary audio through the back speakers of the Live > > 5.1 system. Before the last change, I was seeing that on my Audigy > > 2 zs system. > > Does this patch (attached) solve the problem? No, I have still have primary audio out of rear speakers. I also have=20 sound out of the subwoofer and just a low level hum out of the center=20 channel. This is the pc that I play almost all of my DVDs on but I use=20 XP. Kent =2D-=20 Kent Stewart Richland, WA "Nunca te acostar=C3=A1s sin saber una cosa m=C3=A1s" http://users.owt.com/kstewart/index.html From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:28:12 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 C4B3316A420 for ; Mon, 2 Jan 2006 19:28:12 +0000 (GMT) (envelope-from koolkhel@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 554D543D55 for ; Mon, 2 Jan 2006 19:28:10 +0000 (GMT) (envelope-from koolkhel@mail.ru) Received: from [217.106.90.190] (port=47131 helo=sarge.ar7) by mx3.mail.ru with asmtp id 1EtVLl-000Pbe-00 for freebsd-multimedia@freebsd.org; Mon, 02 Jan 2006 22:28:09 +0300 From: Yury Luneff To: freebsd-multimedia@freebsd.org Content-Type: text/plain Organization: TRTU Date: Mon, 02 Jan 2006 22:27:43 +0300 Message-Id: <1136230063.657.7.camel@sarge.ar7> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: snd_via8233 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: Mon, 02 Jan 2006 19:28:12 -0000 Hello! I am using a K7VTA3 rev 1.0 with via8233pre onboard sound card. I've figured out that almost all applications have problems during play: xmms and mplayer, for example, can sometimes click or scratch, or even break the rthytm :). Nevermind that I don't like the quality of music player, but this is terrible for me. In xmms I tried both "ESound" and "OSS". In debian I had "ALSA" and it worked perfectly. Is there any other way of putting sound out in FreeBSD? The one "application" that don't seem to be having such problems is Return To Castle Wolfenstein :). yury@sarge:~$ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xe400 irq 11 (5p/1r/0v channels duplex default) I am using FreeBSD 6 0-RELEASE, no any cvs'es or so. What can I do to make the sound normal? (except buying another soundcard - for me it is better to return to debian) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:38:56 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 992DB16A41F for ; Mon, 2 Jan 2006 19:38:56 +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 1384743D45 for ; Mon, 2 Jan 2006 19:38:55 +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 51DE96CC24; Tue, 3 Jan 2006 03:45:15 +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 25788-07; Tue, 3 Jan 2006 03:45:13 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9ACD46CC22; Tue, 3 Jan 2006 03:45:13 +0800 (MYT) Date: Tue, 3 Jan 2006 03:38:52 +0800 From: Ariff Abdullah To: Yury Luneff Message-Id: <20060103033852.777d169d.skywizard@MyBSD.org.my> In-Reply-To: <1136230063.657.7.camel@sarge.ar7> References: <1136230063.657.7.camel@sarge.ar7> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_via8233 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: Mon, 02 Jan 2006 19:38:56 -0000 On Mon, 02 Jan 2006 22:27:43 +0300 Yury Luneff wrote: > Hello! > > I am using a K7VTA3 rev 1.0 with via8233pre onboard sound card. I've > figured out that almost all applications have problems during play: > xmms and mplayer, for example, can sometimes click or scratch, or > even break the rthytm :). Nevermind that I don't like the quality of > music player, but this is terrible for me. In xmms I tried both > "ESound" and "OSS". In debian I had "ALSA" and it worked perfectly. > Is there any other way of putting sound out in FreeBSD? > > The one "application" that don't seem to be having such problems is > Return To Castle Wolfenstein :). > > yury@sarge:~$ cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xe400 irq 11 (5p/1r/0v channels > duplex default) > > I am using FreeBSD 6 0-RELEASE, no any cvs'es or so. > 1) Use the patchset found at http://people.freebsd.org/~ariff/ or even better.. 2) cvsup to latest RELENG_6 , build / install world. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:41:47 2006 Return-Path: X-Original-To: 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 C9DFE16A41F for ; Mon, 2 Jan 2006 19:41:47 +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 84DAE43D5C for ; Mon, 2 Jan 2006 19:41:46 +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 0799A6CC24; Tue, 3 Jan 2006 03:48:07 +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 25632-09; Tue, 3 Jan 2006 03:48:05 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 562396CC22; Tue, 3 Jan 2006 03:48:05 +0800 (MYT) Date: Tue, 3 Jan 2006 03:41:45 +0800 From: Ariff Abdullah To: Kent Stewart Message-Id: <20060103034145.05ed466c.skywizard@MyBSD.org.my> In-Reply-To: <200601021120.38227.kstewart@owt.com> References: <200512301955.jBUJtto5078174@repoman.freebsd.org> <200601020422.08664.kstewart@owt.com> <20060102203136.51c99b77.skywizard@MyBSD.org.my> <200601021120.38227.kstewart@owt.com> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: multimedia@freebsd.org Subject: Re: problem with pre-audigy 5.1 cards (was: Re: cvs commit: src UPDATING src/sys/conf NOTES files src/sys/boot/forth loader.conf src/sys/sys soundcard.h src/sys/dev/sound driver.c src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c atiixp.c ...) 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: Mon, 02 Jan 2006 19:41:47 -0000 On Mon, 2 Jan 2006 11:20:37 -0800 Kent Stewart wrote: > On Monday 02 January 2006 04:31 am, Ariff Abdullah wrote: > > On Mon, 2 Jan 2006 04:22:08 -0800 > > > > Kent Stewart wrote: > > > Yes, I get the primary audio through the back speakers of the > > > Live 5.1 system. Before the last change, I was seeing that on > > > my Audigy 2 zs system. > > > > Does this patch (attached) solve the problem? > > No, I have still have primary audio out of rear speakers. I also > have sound out of the subwoofer and just a low level hum out of the > center channel. This is the pc that I play almost all of my DVDs on > but I use XP. > If that so, you should probably take a look at emu10kx from ports - /usr/ports/audio/emu10kx. Use that driver instead, since it comes with emuctrl to configure the soundcard. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 19:45:30 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 5453616A41F for ; Mon, 2 Jan 2006 19:45:30 +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 3E64043D99 for ; Mon, 2 Jan 2006 19:45:03 +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 D4B526CC25; Tue, 3 Jan 2006 03:51:23 +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 25632-10; Tue, 3 Jan 2006 03:51:22 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id B836A6CC22; Tue, 3 Jan 2006 03:51:21 +0800 (MYT) Date: Tue, 3 Jan 2006 03:45:01 +0800 From: Ariff Abdullah To: Julian Elischer Message-Id: <20060103034501.1df4dada.skywizard@MyBSD.org.my> In-Reply-To: <43B970E8.5010406@elischer.org> References: <43B970E8.5010406@elischer.org> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: recent Maestro messages. 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: Mon, 02 Jan 2006 19:45:30 -0000 On Mon, 02 Jan 2006 10:28:56 -0800 Julian Elischer wrote: > Recently the MAestro attach code has started to spew out the > following during boot. > > someone who knows pcm_addchan() should look to see it the locking in > agg_attach() can be adjusted to avoid this error safely. > > Great catch! :) . I'll revise a patch shortly. Anyway, maestro.c is quite problematic especially for its excessive inlining issues. Thanks Julian! This backtrace is priceless since it is probably the key to solve all the maestro-2e fiasco. > > malloc(M_WAITOK) of "256", forcing M_NOWAIT with the following > non-sleepable loc ks held: > exclusive sleep mutex ESS Technology Maestro-2E (hardware status > lock) r = 0 (0x c228be28) locked @ > /usr/src/sys/modules/sound/driver/maestro/../../../../dev/sou > nd/pci/maestro.c:270 KDB: stack backtrace: > kdb_backtrace(1,e0,c10653c0,4,c0c209ec) at kdb_backtrace+0x29 > witness_warn(5,0,c089b071,c0840681,e0) at witness_warn+0x192 > uma_zalloc_arg(c10653c0,0,502) at uma_zalloc_arg+0x41 > malloc(d8,c0907860,502,c0c20a38,c062efe8) at malloc+0xb2 > devfs_alloc(c22c3800,0,c22c3780,c0c20a60,c062f0d4) at > devfs_alloc+0x17 make_dev_credv(c0ae0420,30004,0,0,0) at > make_dev_credv+0x34 make_dev(c0ae0420,30004,0,0,1b6) at > make_dev+0x20 pcm_chn_add(c228bc00,c22fad80,c228be00,0,0) at > pcm_chn_add+0x14e pcm_addchan(c22ba600,1,c0ac4ca0,c228be00,c228be28) > at pcm_addchan+0x36 agg_attach(c22ba600) at agg_attach+0x553 > device_attach(c22ba600,c22ba880,c22ba600,c22ba380,0) at > device_attach+0x58 device_probe_and_attach(c22ba600) at > device_probe_and_attach+0xe0 > bus_generic_attach(c22ba380,6,c229d7c0,1,c0b2c39c) at > bus_generic_attach+0x16 acpi_pci_attach(c22ba380) at > acpi_pci_attach+0xd0 > device_attach(c22ba380,c228acf0,c22ba380,0,c223ea80) at > device_attach+0x58 device_probe_and_attach(c22ba380) at > device_probe_and_attach+0xe0 > bus_generic_attach(c223ea80,c223ea80,0,c229d7c0,c22b5480) at > bus_generic_attach+ 0x16 > acpi_pcib_attach(c223ea80,c22b5494,0,c0c20c58,c066e3cc) at > acpi_pcib_attach+0x12 f > acpi_pcib_acpi_attach(c223ea80) at acpi_pcib_acpi_attach+0xcf > device_attach(c223ea80,c0c20ca0,c223ea80,c22b2c80,c223d600) at > device_attach+0x5 8 > device_probe_and_attach(c223ea80) at device_probe_and_attach+0xe0 > bus_generic_attach(c223d600,103f,1016,c22a3468,4) at > bus_generic_attach+0x16 acpi_attach(c223d600) at acpi_attach+0x631 > device_attach(c223d600,0,c223d600,c223dd00,0) at device_attach+0x58 > device_probe_and_attach(c223d600) at device_probe_and_attach+0xe0 > bus_generic_attach(c223dd00,c223dd00,c223dd00,c0c20d40,c066a624) at > bus_generic_ attach+0x16 > nexus_attach(c223dd00) at nexus_attach+0x13 > device_attach(c223dd00,c0951fb4,c223dd00,c0923ed0,c28000) at > device_attach+0x58 device_probe_and_attach(c223dd00) at > device_probe_and_attach+0xe0 > root_bus_configure(c0c20d88,c062b006,0,c1ec00,c1e000) at > root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c0446ce5) at > configure+0x9 mi_startup() at mi_startup+0x96 > begin() at begin+0x2c > "freebsd-multimedia-unsubscribe@freebsd.org" -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 21:03:34 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 CD3D716A41F for ; Mon, 2 Jan 2006 21:03:34 +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 701B143D60 for ; Mon, 2 Jan 2006 21:03:33 +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 78D426CC37; Tue, 3 Jan 2006 05:09:52 +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 30957-04; Tue, 3 Jan 2006 05:09:51 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9810D6CC23; Tue, 3 Jan 2006 05:09:50 +0800 (MYT) Date: Tue, 3 Jan 2006 05:03:25 +0800 From: Ariff Abdullah To: freebsd-multimedia@freebsd.org Message-Id: <20060103050325.0aa2e7c9.skywizard@MyBSD.org.my> In-Reply-To: <20060103034501.1df4dada.skywizard@MyBSD.org.my> References: <43B970E8.5010406@elischer.org> <20060103034501.1df4dada.skywizard@MyBSD.org.my> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: julian@elischer.org, erleya@gmail.com Subject: Re: recent Maestro messages. 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: Mon, 02 Jan 2006 21:03:34 -0000 On Tue, 3 Jan 2006 03:45:01 +0800 Ariff Abdullah wrote: > On Mon, 02 Jan 2006 10:28:56 -0800 > Julian Elischer wrote: > > Recently the MAestro attach code has started to spew out the > > following during boot. > > > > someone who knows pcm_addchan() should look to see it the locking > > in agg_attach() can be adjusted to avoid this error safely. > > > > > Great catch! :) . I'll revise a patch shortly. > > Anyway, maestro.c is quite problematic especially for its excessive > inlining issues. > > Thanks Julian! This backtrace is priceless since it is probably the > key to solve all the maestro-2e fiasco. > Guys, please try this not-so new maestro.c: http://people.freebsd.org/~ariff/test/maestro.c (believe me, I'm trying, and sadly, without real hardware to test) If anybody want to give me remote access to machines with *problematic* Maestro-2E, please tell me. Say what, I want full uid 0 access too >;) . -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 2 23:33:19 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 4903A16A41F for ; Mon, 2 Jan 2006 23:33:19 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED0DE43D4C for ; Mon, 2 Jan 2006 23:33:18 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 95901 invoked by uid 16563); 2 Jan 2006 23:33:17 -0000 Received: from unknown (HELO df1.marelmo.com) ([194.165.171.58]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 2 Jan 2006 23:33:17 -0000 Date: Mon, 2 Jan 2006 23:30:06 +0000 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20060102233006.34c405b5.steve@sohara.org> In-Reply-To: <200601021939.38720.frank@barda.agala.net> References: <200512240440.46994.frank@barda.agala.net> <200601020346.03581.frank@barda.agala.net> <20060102101921.0016de6b.steve@sohara.org> <200601021939.38720.frank@barda.agala.net> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i386-pc-dragonfly1) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Mon, 02 Jan 2006 23:33:19 -0000 On Mon, 2 Jan 2006 19:39:37 +0100 "Frank J. Beckmann" wrote: > > First try rebooting and using ffmpeg *without* first running > > xawtv (or motv) - you can tune the signal by setting the environment > > variable BKTR_FREQUENCY to a frequency in megahertz. I have a suspicion > > that xawtv is leaving the sound muted, every bktr card I have seen powers > > up with the sound unmuted - this will test my suspicion. > > That did it. ffmpeg records sound when I didn't start moTV before. I used moTV > to set the channel. OK we're on the right track then. > SLEPT NO signals - 30448 microseconds late > Segmentation fault (core dumped) Now that's odd it doesn't segfault on the new ioctl it segfaults pn the first frame read - most odd, probably a delayed effect though. I'll double check the BT848_SAUDIO specs, probably c isn't big enough :( The trouble is I'm not in a position to test bktr stuff anymore - no inputs to my cards. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 01:38:34 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 B65A416A41F for ; Tue, 3 Jan 2006 01:38:34 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ib574.i.pppool.de [85.73.181.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBE7E43D48 for ; Tue, 3 Jan 2006 01:38:32 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 5607E119CF0 for ; Tue, 3 Jan 2006 02:38:30 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id 39640119CEA for ; Tue, 3 Jan 2006 02:38:30 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Tue, 3 Jan 2006 02:38:28 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200601021939.38720.frank@barda.agala.net> <20060102233006.34c405b5.steve@sohara.org> In-Reply-To: <20060102233006.34c405b5.steve@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601030238.28974.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Jan 3 02:38:30 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43b9d596469271910380873 X-DSPAM-Factors: 27, Organization*naga+doron, 0.00010, Message-Id*agala+net, 0.00010, Content-Type*text+plain, 0.00010, Content-Disposition*inline, 0.00010, Content-Type*charset+iso, 0.00010, Content-Type*plain, 0.00010, From*Beckmann+frank, 0.00010, From*agala, 0.00010, Message-Id*frank, 0.00010, From*net, 0.00010, Message-Id*frank+barda, 0.00010, Disposition-Notification-To*agala+net, 0.00010, Disposition-Notification-To*agala, 0.00010, Organization*agala, 0.00010, To*freebsd, 0.00010, To*freebsd, 0.00010, Disposition-Notification-To*Frank+Beckmann, 0.00010, Content-Type*iso, 0.00010, Disposition-Notification-To*Frank, 0.00010, From*frank+barda, 0.00010, Disposition-Notification-To*frank, 0.00010, Disposition-Notification-To*barda, 0.00010, Received*freebsd.org, 0.00010, From*Frank+Beckmann, 0.00010, To*freebsd+org, 0.00010, Disposition-Notification-To*Beckmann+frank, 0.00010 Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Tue, 03 Jan 2006 01:38:34 -0000 Moin, am Dienstag, 3. Januar 2006 00:30 schrieb Steve O'Hara-Smith: > On Mon, 2 Jan 2006 19:39:37 +0100 > > "Frank J. Beckmann" wrote: > > > First try rebooting and using ffmpeg *without* first running > > > xawtv (or motv) - you can tune the signal by setting the environment > > > variable BKTR_FREQUENCY to a frequency in megahertz. I have a suspicion > > > that xawtv is leaving the sound muted, every bktr card I have seen > > > powers up with the sound unmuted - this will test my suspicion. > > > > That did it. ffmpeg records sound when I didn't start moTV before. I used > > moTV to set the channel. > > OK we're on the right track then. Yes, that's great. > > SLEPT NO signals - 30448 microseconds late > > Segmentation fault (core dumped) > > Now that's odd it doesn't segfault on the new ioctl it segfaults > pn the first frame read - most odd, probably a delayed effect though. I'll > double check the BT848_SAUDIO specs, probably c isn't big enough :( The > trouble is I'm not in a position to test bktr stuff anymore - no inputs > to my cards. Is there any way how I could help you? -- Bye Frank From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 02:07:07 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 88D5A16A41F for ; Tue, 3 Jan 2006 02:07:07 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 911EF43D5F for ; Tue, 3 Jan 2006 02:07:06 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so2601645nzo for ; Mon, 02 Jan 2006 18:07:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=jmX1AkoKk+Mqxf9renk1pr4ZBh+h528dBYgAcNedjfnWkIITv+ZFArQUkoe+UctHizrcssEtzF/1Mk1nb2tX4rGWQVa+qpYZ2bxXwV0VkDbk6XQB27BG80cEE6RY1s2aaRob+dr898Ughcg8kdA38XfgrRm6sw0Lnv5BpfOyi5g= Received: by 10.36.222.77 with SMTP id u77mr2878197nzg; Mon, 02 Jan 2006 18:07:05 -0800 (PST) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 8sm37963nzn.2006.01.02.18.07.04; Mon, 02 Jan 2006 18:07:05 -0800 (PST) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.5/8.13.5) with ESMTP id k03265PP001828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jan 2006 11:06:05 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.5/8.13.5/Submit) id k03264dx001827; Tue, 3 Jan 2006 11:06:04 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 3 Jan 2006 11:06:04 +0900 From: Pyun YongHyeon To: Julian Elischer Message-ID: <20060103020604.GA1725@rndsoft.co.kr> References: <43B970E8.5010406@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43B970E8.5010406@elischer.org> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Multimedia Subject: Re: recent Maestro messages. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 02:07:07 -0000 On Mon, Jan 02, 2006 at 10:28:56AM -0800, Julian Elischer wrote: > Recently the MAestro attach code has started to spew out the following > during boot. > > someone who knows pcm_addchan() should look to see it the locking in > agg_attach() > can be adjusted to avoid this error safely. > > ===================== > > malloc(M_WAITOK) of "256", forcing M_NOWAIT with the following > non-sleepable loc > ks held: > exclusive sleep mutex ESS Technology Maestro-2E (hardware status lock) r = > 0 (0x > c228be28) locked @ > /usr/src/sys/modules/sound/driver/maestro/../../../../dev/sou > nd/pci/maestro.c:270 > KDB: stack backtrace: > kdb_backtrace(1,e0,c10653c0,4,c0c209ec) at kdb_backtrace+0x29 > witness_warn(5,0,c089b071,c0840681,e0) at witness_warn+0x192 > uma_zalloc_arg(c10653c0,0,502) at uma_zalloc_arg+0x41 > malloc(d8,c0907860,502,c0c20a38,c062efe8) at malloc+0xb2 > devfs_alloc(c22c3800,0,c22c3780,c0c20a60,c062f0d4) at devfs_alloc+0x17 > make_dev_credv(c0ae0420,30004,0,0,0) at make_dev_credv+0x34 > make_dev(c0ae0420,30004,0,0,1b6) at make_dev+0x20 > pcm_chn_add(c228bc00,c22fad80,c228be00,0,0) at pcm_chn_add+0x14e > pcm_addchan(c22ba600,1,c0ac4ca0,c228be00,c228be28) at pcm_addchan+0x36 > agg_attach(c22ba600) at agg_attach+0x553 > device_attach(c22ba600,c22ba880,c22ba600,c22ba380,0) at device_attach+0x58 > device_probe_and_attach(c22ba600) at device_probe_and_attach+0xe0 > bus_generic_attach(c22ba380,6,c229d7c0,1,c0b2c39c) at > bus_generic_attach+0x16 > acpi_pci_attach(c22ba380) at acpi_pci_attach+0xd0 > device_attach(c22ba380,c228acf0,c22ba380,0,c223ea80) at device_attach+0x58 > device_probe_and_attach(c22ba380) at device_probe_and_attach+0xe0 > bus_generic_attach(c223ea80,c223ea80,0,c229d7c0,c22b5480) at > bus_generic_attach+ > 0x16 > acpi_pcib_attach(c223ea80,c22b5494,0,c0c20c58,c066e3cc) at > acpi_pcib_attach+0x12 > f > acpi_pcib_acpi_attach(c223ea80) at acpi_pcib_acpi_attach+0xcf > device_attach(c223ea80,c0c20ca0,c223ea80,c22b2c80,c223d600) at > device_attach+0x5 > 8 > device_probe_and_attach(c223ea80) at device_probe_and_attach+0xe0 > bus_generic_attach(c223d600,103f,1016,c22a3468,4) at bus_generic_attach+0x16 > acpi_attach(c223d600) at acpi_attach+0x631 > device_attach(c223d600,0,c223d600,c223dd00,0) at device_attach+0x58 > device_probe_and_attach(c223d600) at device_probe_and_attach+0xe0 > bus_generic_attach(c223dd00,c223dd00,c223dd00,c0c20d40,c066a624) at > bus_generic_ > attach+0x16 > nexus_attach(c223dd00) at nexus_attach+0x13 > device_attach(c223dd00,c0951fb4,c223dd00,c0923ed0,c28000) at > device_attach+0x58 > device_probe_and_attach(c223dd00) at device_probe_and_attach+0xe0 > root_bus_configure(c0c20d88,c062b006,0,c1ec00,c1e000) at > root_bus_configure+0x16 > configure(0,c1ec00,c1e000,0,c0446ce5) at configure+0x9 > mi_startup() at mi_startup+0x96 > begin() at begin+0x2c I'm not surprised that maestro(4) would freeze system. As maestro(4) invokes pci_set_powerstate() in suspend/resume/play/capture, it would generates lots of LORs and it even calls msleep(9) with driver lock held. In addition, DMA buffering used in maestro(4) is questionable and we should cleanup this too. I have a patch that partially addresses the issue but it still does not fix other issues mentioned in kern/63204. As my system works without problems, I don't know what caused this. :-( http://people.freebsd.org/~yongari/maestro.c http://people.freebsd.org/~yongari/maestro_reg.h Captuing was not tested and wouldn't work. -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 10:39:24 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 B051716A41F for ; Tue, 3 Jan 2006 10:39:24 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D02943D49 for ; Tue, 3 Jan 2006 10:39:24 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 3389 invoked by uid 16563); 3 Jan 2006 10:39:22 -0000 Received: from unknown (HELO df1.marelmo.com) ([194.125.49.123]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 3 Jan 2006 10:39:22 -0000 Date: Tue, 3 Jan 2006 10:36:11 +0000 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20060103103611.661b520c.steve@sohara.org> In-Reply-To: <200601030238.28974.frank@barda.agala.net> References: <200512240440.46994.frank@barda.agala.net> <200601021939.38720.frank@barda.agala.net> <20060102233006.34c405b5.steve@sohara.org> <200601030238.28974.frank@barda.agala.net> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i386-pc-dragonfly1) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Tue, 03 Jan 2006 10:39:24 -0000 On Tue, 3 Jan 2006 02:38:28 +0100 "Frank J. Beckmann" wrote: Moin, > > am Dienstag, 3. Januar 2006 00:30 schrieb Steve O'Hara-Smith: > > On Mon, 2 Jan 2006 19:39:37 +0100 > > > > > SLEPT NO signals - 30448 microseconds late > > > Segmentation fault (core dumped) > > > > Now that's odd it doesn't segfault on the new ioctl it segfaults > > pn the first frame read - most odd, probably a delayed effect though. I'll > > double check the BT848_SAUDIO specs, probably c isn't big enough :( The > > trouble is I'm not in a position to test bktr stuff anymore - no inputs > > to my cards. > > Is there any way how I could help you? Sure - you can test my patches :) As it is I see the problem with my last patch. The new BT848_SAUDIO ioctl call should have been on *tuner_fd not *video_fd. Could you change it and give it a try please. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 13:34:49 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 933FE16A41F for ; Tue, 3 Jan 2006 13:34:49 +0000 (GMT) (envelope-from koolkhel@mail.ru) Received: from mx6.mail.ru (mx6.mail.ru [194.67.23.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 108DF43D64 for ; Tue, 3 Jan 2006 13:34:49 +0000 (GMT) (envelope-from koolkhel@mail.ru) Received: from [217.106.90.190] (port=39367 helo=sarge.ar7) by mx6.mail.ru with asmtp id 1EtmJL-0002CF-00 for freebsd-multimedia@freebsd.org; Tue, 03 Jan 2006 16:34:47 +0300 From: Yury Luneff To: freebsd-multimedia@freebsd.org In-Reply-To: <1136230063.657.7.camel@sarge.ar7> References: <1136230063.657.7.camel@sarge.ar7> Content-Type: text/plain Organization: TRTU Date: Tue, 03 Jan 2006 16:34:20 +0300 Message-Id: <1136295260.656.1.camel@sarge.ar7> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: snd_via8233 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: Tue, 03 Jan 2006 13:34:49 -0000 ok, click were solved (tnx to new large feeder :) ). But I don't think that noone of you hasn't notice the difference of quality between OSS and ALSA... imho, ALSA is much better and OSS gives a lot of noise into sound. And sometime not very correct frequencies. > Hello! > > I am using a K7VTA3 rev 1.0 with via8233pre onboard sound card. I've > figured out that almost all applications have problems during play: > xmms and mplayer, for example, can sometimes click or scratch, or even > break the rthytm :). Nevermind that I don't like the quality of music > player, but this is terrible for me. In xmms I tried both "ESound" and > "OSS". In debian I had "ALSA" and it worked perfectly. Is there any > other way of putting sound out in FreeBSD? > > The one "application" that don't seem to be having such problems is > Return To Castle Wolfenstein :). > > yury@sarge:~$ cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xe400 irq 11 (5p/1r/0v channels duplex > default) > > I am using FreeBSD 6 0-RELEASE, no any cvs'es or so. > > What can I do to make the sound normal? (except buying another soundcard > - for me it is better to return to debian) > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 14:53:05 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 55F8316A41F for ; Tue, 3 Jan 2006 14:53:05 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ib574.i.pppool.de [85.73.181.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57E543D5A for ; Tue, 3 Jan 2006 14:52:53 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id 5B349119CE2 for ; Tue, 3 Jan 2006 15:52:52 +0100 (CET) Received: from babylon.agala.net (babylon.agala.net [192.168.223.42]) by mail.agala.net (Postfix) with ESMTP id 27581119CE0 for ; Tue, 3 Jan 2006 15:52:52 +0100 (CET) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-multimedia@freebsd.org Date: Tue, 3 Jan 2006 15:52:50 +0100 User-Agent: KMail/1.8.3 References: <200512240440.46994.frank@barda.agala.net> <200601030238.28974.frank@barda.agala.net> <20060103103611.661b520c.steve@sohara.org> In-Reply-To: <20060103103611.661b520c.steve@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601031552.51238.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Jan 3 15:52:52 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 262,43ba8fc4722991327392647 X-DSPAM-Factors: 27, Organization*naga+doron, 0.00010, Message-Id*agala+net, 0.00010, Content-Type*text+plain, 0.00010, Content-Disposition*inline, 0.00010, Content-Type*charset+iso, 0.00010, Content-Type*plain, 0.00010, From*Beckmann+frank, 0.00010, From*agala, 0.00010, Message-Id*frank, 0.00010, From*net, 0.00010, Message-Id*frank+barda, 0.00010, Disposition-Notification-To*agala+net, 0.00010, Disposition-Notification-To*agala, 0.00010, Organization*agala, 0.00010, To*freebsd, 0.00010, To*freebsd, 0.00010, Disposition-Notification-To*Frank+Beckmann, 0.00010, Content-Type*iso, 0.00010, Disposition-Notification-To*Frank, 0.00010, From*frank+barda, 0.00010, Disposition-Notification-To*frank, 0.00010, Disposition-Notification-To*barda, 0.00010, Received*freebsd.org, 0.00010, From*Frank+Beckmann, 0.00010, To*freebsd+org, 0.00010, Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Tue, 03 Jan 2006 14:53:05 -0000 Moin, am Dienstag, 3. Januar 2006 11:36 schrieb Steve O'Hara-Smith: > On Tue, 3 Jan 2006 02:38:28 +0100 > "Frank J. Beckmann" wrote: > > Moin, > > > am Dienstag, 3. Januar 2006 00:30 schrieb Steve O'Hara-Smith: > > > On Mon, 2 Jan 2006 19:39:37 +0100 > > > > > > > SLEPT NO signals - 30448 microseconds late > > > > Segmentation fault (core dumped) > > > > > > Now that's odd it doesn't segfault on the new ioctl it segfaults > > > pn the first frame read - most odd, probably a delayed effect though. > > > I'll double check the BT848_SAUDIO specs, probably c isn't big enough > > > :( The trouble is I'm not in a position to test bktr stuff anymore - = no > > > inputs to my cards. > > > > Is there any way how I could help you? > > Sure - you can test my patches :) That is easy. > As it is I see the problem with my last patch. The new BT848_SAUDIO > ioctl call should have been on *tuner_fd not *video_fd. Could you change > it and give it a try please. ffmpeg doesn't crash anymore, but it still doesn't record sound after xawtv= =20 had run. =2D-=20 Tsch=FCss =46rank From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 21:36:59 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 4E6CC16A41F for ; Tue, 3 Jan 2006 21:36:59 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id CB86443D49 for ; Tue, 3 Jan 2006 21:36:57 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 03 Jan 2006 21:36:56 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp036) with SMTP; 03 Jan 2006 22:36:56 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 21C4AC313; Tue, 3 Jan 2006 22:36:54 +0100 (CET) Date: Tue, 3 Jan 2006 22:36:54 +0100 From: Simon Barner To: freebsd-multimedia@FreeBSD.org Message-ID: <20060103213654.GA1039@zi025.glh.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: netchild@FreeBSD.org, ariff@FreeBSD.org Subject: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 21:36:59 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, It seems that the update broke my (old) sound card. When I try to play an mp3 file with mplayer (yes I rebuilt it) or mpg123, I get the following error message: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le [AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not suppo= rted by device /dev/dsp: Operation not supported by device Playing audio cds with cdcontrol works, though. Am I doing something horribly stupid, or is this a regression? It would be nice if you could have a look at this... Here's some information: pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0xb800= -0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] pcm0@pci0:20:0: class=3D0x040100 card=3D0x111350b2 chip=3D0x1969125d rev=3D= 0x01 hdr=3D0x00 vendor =3D 'ESS Technology' device =3D 'ES72222 Solo-1 PCI AudioDrive family' class =3D multimedia subclass =3D audio cat /dev/sndstat=20 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xb000,0xb400,0xb800 irq 10 kld s= nd_solo (1p/1r/0v channels default) [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, = 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0]: spd 5000/-7456, fmt 0x00000000/0x10000020, flags 0= x00000000, 0x00000010 interrupts 0, overruns 0, hfree 16384, sfree 131072 {hardware} -> feeder_root(0x10000020) -> feeder_endian16(0x10000020= -> 0x10000010) -> feeder_rate(8000 -> 8000) -> {userland} File Versions: $FreeBSD: src/sys/dev/sound/pci/solo.c,v 1.35 2005/03/01 08:58:05 imp Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp = Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.17.2.2 2005/12/30 19:55:54 netc= hild Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.2 2005/12/30 19:55:54 netc= hild Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 19:55:54 ne= tchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.3 2005/12/30 19:55:54 netc= hild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30 19:55:= 54 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.11.2.1 2005/12/30 19:55:5= 4 netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.1 2005/12/30 19:55:54= netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.1 2005/12/30 19:55:54 net= child Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54 netch= ild Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.3 2005/12/31 02:03:48 ariff = Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.99.2.1 2005/12/30 19:55:54 ne= tchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.1 2005/12/30 19:55:54 net= child Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.3.2.1 2005/12/30 19:55:54 = netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.53.2.2 2005/12/30 20:44:37 ariff= Exp $ ls -l /dev/dsp* crw-rw-rw- 1 root wheel 0, 28 Jan 3 21:57 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 32 Jan 3 21:57 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 29 Jan 3 21:57 /dev/dspW0.0 crw-rw-rw- 1 root wheel 0, 33 Jan 3 21:57 /dev/dspW0.1 crw-rw-rw- 1 root wheel 0, 31 Jan 3 21:57 /dev/dspr0.0 sysctl hw.snd. hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 3 hw.snd.unit: 0 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 mixer Mixer vol is currently set to 90:90 Mixer synth is currently set to 75:75 Mixer pcm is currently set to 100:100 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer line1 is currently set to 75:75 Recording source: mic --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuu52Ckn+/eutqCoRAsIyAJ9B44q9HndMgMz/wUKPFZqTz1TYdQCgo8uU G7Xyd8lobBcF3ZkkA4+Auf8= =j7fC -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 21:57:34 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 B5C0316A41F; Tue, 3 Jan 2006 21:57:34 +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 D8BC443D46; Tue, 3 Jan 2006 21:57:33 +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 139C06CC25; Wed, 4 Jan 2006 06:03: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 44517-03; Wed, 4 Jan 2006 06:03:54 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D7E026CC23; Wed, 4 Jan 2006 06:03:53 +0800 (MYT) Date: Wed, 4 Jan 2006 05:57:21 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060104055721.4182120e.skywizard@MyBSD.org.my> In-Reply-To: <20060103213654.GA1039@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org, "netchild."@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 21:57:34 -0000 On Tue, 3 Jan 2006 22:36:54 +0100 Simon Barner wrote: > Hi, >=20 > It seems that the update broke my (old) sound card. When I try to > play an mp3 file with mplayer (yes I rebuilt it) or mpg123, I get > the following error message: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D Opening audio decoder: [mp3lib] MPEG layer-2, layer= -3 > AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: > 16000->176400) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG > layer-2, layer-3) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D Checking audio filter chain for 44100Hz/2ch/s16le -> > 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le > [AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation > not supported by device /dev/dsp: Operation not supported by device >=20 > Playing audio cds with cdcontrol works, though. Am I doing something > horribly stupid, or is this a regression? How about enabling vchans? Try to enable that first and see whether that should help. If not, try this patch: http://people.freebsd.org/~ariff/test/solo.c.diff >=20 > It would be nice if you could have a look at this... >=20 > Here's some information: >=20 > pcm0: port > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc0 > 03 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] >=20 > pcm0@pci0:20:0: class=3D0x040100 card=3D0x111350b2 chip=3D0x1969125d > rev=3D0x01 hdr=3D0x00 > vendor =3D 'ESS Technology' > device =3D 'ES72222 Solo-1 PCI AudioDrive family' > class =3D multimedia > subclass =3D audio >=20 > cat /dev/sndstat=20 > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xb000,0xb400,0xb800 irq > 10 kld snd_solo (1p/1r/0v channels default) > [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags > 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 > {userland} -> feeder_root(0x00000000) -> {hardware} > [pcm0:record:0]: spd 5000/-7456, fmt 0x00000000/0x10000020, > flags 0x00000000, 0x00000010 interrupts 0, overruns 0, hfree > 16384, sfree 131072 {hardware} -> feeder_root(0x10000020) -> > feeder_endian16(0x10000020 -> 0x10000010) -> > feeder_rate(8000 -> 8000) -> {userland} >=20 > File Versions: > $FreeBSD: src/sys/dev/sound/pci/solo.c,v 1.35 2005/03/01 08:58:05 > imp Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 > 2005/01/06 01:43:17 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/vchan.c,v 1.17.2.2 2005/12/30 19:55:54 > netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.2 > 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 19:55:54 > netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.3 > 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30 19:55:54 > netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v > 1.11.2.1 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.1 2005/12/30 19:55:54 > netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.1 > 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54 netchild > Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.3 2005/12/31 > 02:03:48 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v > 1.99.2.1 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/buffer.c,v 1.25.2.1 2005/12/30 19:55:54 > netchild Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v > 1.3.2.1 2005/12/30 19:55:54 netchild Exp $ $FreeBSD: > src/sys/dev/sound/pcm/ac97.c,v 1.53.2.2 2005/12/30 20:44:37 ariff > Exp $ >=20 > ls -l /dev/dsp* > crw-rw-rw- 1 root wheel 0, 28 Jan 3 21:57 /dev/dsp0.0 > crw-rw-rw- 1 root wheel 0, 32 Jan 3 21:57 /dev/dsp0.1 > crw-rw-rw- 1 root wheel 0, 29 Jan 3 21:57 /dev/dspW0.0 > crw-rw-rw- 1 root wheel 0, 33 Jan 3 21:57 /dev/dspW0.1 > crw-rw-rw- 1 root wheel 0, 31 Jan 3 21:57 /dev/dspr0.0 >=20 > sysctl hw.snd. > hw.snd.targetirqrate: 32 > hw.snd.report_soft_formats: 1 > hw.snd.verbose: 3 > hw.snd.unit: 0 > hw.snd.maxautovchans: 0 > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 0 >=20 > mixer > Mixer vol is currently set to 90:90 > Mixer synth is currently set to 75:75 > Mixer pcm is currently set to 100:100 > Mixer line is currently set to 75:75 > Mixer mic is currently set to 0:0 > Mixer cd is currently set to 75:75 > Mixer line1 is currently set to 75:75 > Recording source: mic >=20 > --=20 > Best regards / Viele Gr=FC=DFe, =20 > barner@FreeBSD.org > Simon Barner =20 > barner@gmx.de >=20 -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 22:59:32 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 545FB16A41F for ; Tue, 3 Jan 2006 22:59:32 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCF4143D62 for ; Tue, 3 Jan 2006 22:59:29 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1787010wxc for ; Tue, 03 Jan 2006 14:59:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tHT3r0HxnFJ8TtzNiLdf7XJ/sF8DZxNb1U5x0/lh18zv0yFHtaFxGLXc0kMCMiOpE9LmwyIJ/Y7h7MXSUHmn+qeN4Jv7wOuanFl/XLFdOq7swzXbluIUxKSHoRAgVOcu5SbY6Dw7n+eQV5BkfleasQaRcCeOjKpIe3ZfE2hDFjQ= Received: by 10.70.91.7 with SMTP id o7mr344471wxb; Tue, 03 Jan 2006 14:59:28 -0800 (PST) Received: by 10.70.66.9 with HTTP; Tue, 3 Jan 2006 14:59:26 -0800 (PST) Message-ID: Date: Tue, 3 Jan 2006 16:59:26 -0600 From: Nikolas Britton To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Status of VIA Envy24 audio controller support in FreeBSD 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: Tue, 03 Jan 2006 22:59:32 -0000 Still not supported? anyone working on it? etc. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:00:00 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 773DE16A41F for ; Tue, 3 Jan 2006 23:00:00 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 49F3F43D75 for ; Tue, 3 Jan 2006 22:59:50 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 03 Jan 2006 22:59:49 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp036) with SMTP; 03 Jan 2006 23:59:49 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 9C549C313; Tue, 3 Jan 2006 23:59:47 +0100 (CET) Date: Tue, 3 Jan 2006 23:59:47 +0100 From: Simon Barner To: Ariff Abdullah Message-ID: <20060103225947.GA2815@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <20060104055721.4182120e.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@FreeBSD.org, netchild@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:00:00 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > How about enabling vchans? Try to enable that first and see whether > that should help. If not, try this patch: >=20 > http://people.freebsd.org/~ariff/test/solo.c.diff Hello Ariff, thanks for the quick reply :-) Unfortuantely, neither enabling vchans nor your patch helped me. I did the following to enable vchans: # kldunload snd_solo.ko # sysctl hw.snd.maxautovchans=3D2 # kldload snd_solo.ko pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0xb800= -0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] pcm0: vchan_create(pcm0:play:0) =3D=3D -1 The same happens for other values (I tried 1 and 5), and when I reboot the system and load the module and set the sysctl from loader.conf Your patch didn't make any difference (same error with vchans). I also tried removing other output formats, leaving me with either of AFMT_S16_LE AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gave me the same error about vchan_create. --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuwHjCkn+/eutqCoRAuthAKDFy9hkUdJn7pUwYijSDC1kL3zqVwCcDTmh woAiOJDmKrJN3o/A7YgsCdY= =iG8t -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:06:54 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 42E0A16A41F for ; Tue, 3 Jan 2006 23:06:54 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC1943D49 for ; Tue, 3 Jan 2006 23:06:52 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1787781wxc for ; Tue, 03 Jan 2006 15:06:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OcYS6i0aBh9f1Szs1KX+tW07TsCmir5i72SpUyqGJRXL1pIQbggWrLDNLU7At7126EU0Odi6veWMy9S9GsNFxQgPummdtXp7D6mMnh5aO83S/QN76hCmwH0Sxtimx2vUcjZtCMtHeph/tUffuiw8HC/wQazo+Pg7SJajpiinl6w= Received: by 10.70.94.16 with SMTP id r16mr335489wxb; Tue, 03 Jan 2006 15:06:52 -0800 (PST) Received: by 10.70.66.9 with HTTP; Tue, 3 Jan 2006 15:06:52 -0800 (PST) Message-ID: Date: Tue, 3 Jan 2006 17:06:52 -0600 From: Nikolas Britton To: Simon Barner In-Reply-To: <20060103225947.GA2815@zi025.glh.mhn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> Cc: freebsd-multimedia@freebsd.org, netchild@freebsd.org, Ariff Abdullah Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:06:54 -0000 On 1/3/06, Simon Barner wrote: > > How about enabling vchans? Try to enable that first and see whether > > that should help. If not, try this patch: > > > > http://people.freebsd.org/~ariff/test/solo.c.diff > > Hello Ariff, > > thanks for the quick reply :-) Unfortuantely, neither enabling vchans nor > your patch helped me. > > I did the following to enable vchans: > > # kldunload snd_solo.ko > # sysctl hw.snd.maxautovchans=3D2 > # kldload snd_solo.ko > > pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0xb8= 00-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 > pcm0: [GIANT-LOCKED] > pcm0: vchan_create(pcm0:play:0) =3D=3D -1 > > The same happens for other values (I tried 1 and 5), and when I reboot th= e > system and load the module and set the sysctl from loader.conf > > Your patch didn't make any difference (same error with vchans). I also tr= ied > removing other output formats, leaving me with either of AFMT_S16_LE > AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gave = me > the same error about vchan_create. > Don't you need to set vchans *before* the system is running? such as in /boot/loader.conf: ## Sound Support #sound_load=3D"YES" #snd_emu10k1_load=3D"YES" #snd_driver_load=3D"YES" hw.snd.maxautovchans=3D4 hw.snd.targetirqrate=3D36 hint.pcm.0.buffersize=3D"16384" ## Misc. Sound #hw.snd.report_soft_formats: 1 #hw.snd.verbose: 1 #hw.snd.unit: 0 #hw.snd.maxautovchans: 4 #hw.snd.pcm0.buffersize=3D8192 #hw.snd.pcm0.vchans: 0 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:13:22 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 F265516A41F for ; Tue, 3 Jan 2006 23:13:22 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 125A443D66 for ; Tue, 3 Jan 2006 23:13:19 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 03 Jan 2006 23:13:18 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp011) with SMTP; 04 Jan 2006 00:13:18 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 50B8BC40B; Wed, 4 Jan 2006 00:13:17 +0100 (CET) Date: Wed, 4 Jan 2006 00:13:17 +0100 From: Simon Barner To: Nikolas Britton Message-ID: <20060103231317.GA4535@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@freebsd.org, netchild@freebsd.org, Simon Barner , Ariff Abdullah Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:13:23 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > The same happens for other values (I tried 1 and 5), and when I reboot = the > > system and load the module and set the sysctl from loader.conf ^^^^^^ > > > > Your patch didn't make any difference (same error with vchans). I also = tried > > removing other output formats, leaving me with either of AFMT_S16_LE > > AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gav= e me > > the same error about vchan_create. > > >=20 > Don't you need to set vchans *before* the system is running? such as > in /boot/loader.conf: >=20 > ## Sound Support > #sound_load=3D"YES" > #snd_emu10k1_load=3D"YES" > #snd_driver_load=3D"YES" > hw.snd.maxautovchans=3D4 > hw.snd.targetirqrate=3D36 > hint.pcm.0.buffersize=3D"16384" [...] I tried that, too: snd_solo_load=3D YES hw.snd.maxautovchans=3D2 Thanks, --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuwUMCkn+/eutqCoRAk2iAJ42HcWokSCNdE9OI5Pb0UgnS9/P9ACZAQzd 2CyB3ZdbvvAFZMnlxAFgfTA= =sBx0 -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:16:28 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 C82D016A420 for ; Tue, 3 Jan 2006 23:16:28 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88CEB43D91 for ; Tue, 3 Jan 2006 23:16:17 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1788760wxc for ; Tue, 03 Jan 2006 15:16:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QZ5oc2AD0WEE5bCoAs9ADSQs3fRSMQmIoajL8nLXuTWl2SxusbR2BJB04A11tpOayDEj6GYIhPCXxW3yisqVqe09Ubo2TOObqTVsThu3KVJE4PcGmDVpSil6Eato13M28gx/xiNiTtC8vDpwNBcxzGidxOGhIMZdPEQfvuFuZMU= Received: by 10.70.54.8 with SMTP id c8mr343851wxa; Tue, 03 Jan 2006 15:16:16 -0800 (PST) Received: by 10.70.66.9 with HTTP; Tue, 3 Jan 2006 15:16:16 -0800 (PST) Message-ID: Date: Tue, 3 Jan 2006 17:16:16 -0600 From: Nikolas Britton To: Simon Barner In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> Cc: freebsd-multimedia@freebsd.org, netchild@freebsd.org, Ariff Abdullah Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:16:28 -0000 On 1/3/06, Nikolas Britton wrote: > On 1/3/06, Simon Barner wrote: > > > How about enabling vchans? Try to enable that first and see whether > > > that should help. If not, try this patch: > > > > > > http://people.freebsd.org/~ariff/test/solo.c.diff > > > > Hello Ariff, > > > > thanks for the quick reply :-) Unfortuantely, neither enabling vchans n= or > > your patch helped me. > > > > I did the following to enable vchans: > > > > # kldunload snd_solo.ko > > # sysctl hw.snd.maxautovchans=3D2 > > # kldload snd_solo.ko > > > > pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0x= b800-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 > > pcm0: [GIANT-LOCKED] > > pcm0: vchan_create(pcm0:play:0) =3D=3D -1 > > > > The same happens for other values (I tried 1 and 5), and when I reboot = the > > system and load the module and set the sysctl from loader.conf > > > > Your patch didn't make any difference (same error with vchans). I also = tried > > removing other output formats, leaving me with either of AFMT_S16_LE > > AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gav= e me > > the same error about vchan_create. > > > > Don't you need to set vchans *before* the system is running? such as > in /boot/loader.conf: > > ## Sound Support > #sound_load=3D"YES" > #snd_emu10k1_load=3D"YES" > #snd_driver_load=3D"YES" > hw.snd.maxautovchans=3D4 > hw.snd.targetirqrate=3D36 > hint.pcm.0.buffersize=3D"16384" > > ## Misc. Sound > #hw.snd.report_soft_formats: 1 > #hw.snd.verbose: 1 > #hw.snd.unit: 0 > #hw.snd.maxautovchans: 4 > #hw.snd.pcm0.buffersize=3D8192 > #hw.snd.pcm0.vchans: 0 > Sorry I guess I should have read a bit more of your post because you did try that... Have you try'd not using the autovchans... I think the other one is hw.snd.pcm0.vchans=3Dfoo From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:20:29 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 4999216A41F for ; Tue, 3 Jan 2006 23:20:29 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard2.mail.t-online.hu (graveyard2.mail.t-online.hu [195.228.240.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0755B43D6D for ; Tue, 3 Jan 2006 23:20:24 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard2.mail.t-online.hu (Postfix) with ESMTP id 7DE8F203518D for ; Wed, 4 Jan 2006 00:20:23 +0100 (CET) Received: from [192.168.1.3] (dsl51B6CC04.pool.t-online.hu [81.182.204.4]) by mail.t-online.hu (Postfix) with ESMTP for ; Wed, 4 Jan 2006 00:20:23 +0100 (CET) Message-ID: <43BB0835.3070508@Zahemszky.HU> Date: Wed, 04 Jan 2006 00:26:45 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: snd_mss problem 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: Tue, 03 Jan 2006 23:20:29 -0000 Hi! I've got a problem with FreeBSD6's sound system. In my machine, there is a working CMI8738-card - it's pcm0, and a builtin soundchip. In 5-STABLE, it's recognised by the snd-mss module. If I kldload it, I got: pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 on isa0 with verbose mode, the next few lines, too: ioapic0: routing intpin 5 (ISA IRQ 5) to cluster 0 pcm1: [GIANT-LOCKED] pcm1: sndbuf_setmap ff1000,1000; 0xda77c000 -> ff1000 pcm1: sndbuf_setmap ff1000,1000; 0xda77d000 -> ff0000 But on FreeBSD6, the builtin chip "locks" the machine. If I kldload snd_mss (with verbose mode), I got the following lines: pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 AD_WAIT_INIT_FAILED 201000 0xff AD_WAIT_INIT_FAILED 1002000 0xff AD_WAIT_INIT_FAILED 203000 0xff AD_WAIT_INIT_FAILED 1002000 0xff AD_WAIT_INIT_FAILED 1000000 0xff AD_WAIT_INIT_FAILED 1000000 0xff mss: Auto calibration timed out (1) AD_WAIT_INIT_FAILED 201000 0xff And the last line repeats forever. The machine doesn't recognise any keypress - neither the Caps/Scrool/Num - Lock keys, nor the Goto-Debugger key. I doesn't know, is it OK, that in FBSD5, in the port line there is port 0x534, but in FBSD6, it's 0x600. And in FBSD5, drq 0,1 but in FBSD6, it's drq 1,0 (they are the same DRQ lines, so maybe doesn't matter). So my trivial question is: are there any possibilities, to use my machine's builtin soundchip in FreeBSD6? (The machine is a Dell Precision WS210, 2x P-III-550.) Bye, Gabor Zahemszky < Gabor at Zahemszky dot HU > PS: this lockup is in both the new - and the old - sound driver (my system is 6-stable from Jan 2.) -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:40:37 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 2982A16A420; Tue, 3 Jan 2006 23:40:37 +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 C589B43D6D; Tue, 3 Jan 2006 23:39:14 +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 DD28E6CC2B; Wed, 4 Jan 2006 07:45:37 +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 45489-02; Wed, 4 Jan 2006 07:45:36 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 306C56CC2A; Wed, 4 Jan 2006 07:45:35 +0800 (MYT) Date: Wed, 4 Jan 2006 07:39:03 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060104073903.1c21146e.skywizard@MyBSD.org.my> In-Reply-To: <20060103225947.GA2815@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:40:37 -0000 On Tue, 3 Jan 2006 23:59:47 +0100 Simon Barner wrote: > > I did the following to enable vchans: > > # kldunload snd_solo.ko > # sysctl hw.snd.maxautovchans=2 > # kldload snd_solo.ko > > pcm0: port > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc0 > 03 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] > pcm0: vchan_create(pcm0:play:0) == -1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Pretty much what I need :) > > The same happens for other values (I tried 1 and 5), and when I > reboot the system and load the module and set the sysctl from > loader.conf > > Your patch didn't make any difference (same error with vchans). I > also tried removing other output formats, leaving me with either of > AFMT_S16_LE AFMT_STEREO | AFMT_S16_LE (I also tried various other > combinations) gave me the same error about vchan_create. > Ignore that patch entirely. I'll come to you as soon I have something for you to test with. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:53:42 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 596FA16A49C for ; Tue, 3 Jan 2006 23:53:39 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DF8243E46 for ; Tue, 3 Jan 2006 23:52:17 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 03 Jan 2006 23:52:06 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp014) with SMTP; 04 Jan 2006 00:52:06 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 423FAC40B; Wed, 4 Jan 2006 00:52:05 +0100 (CET) Date: Wed, 4 Jan 2006 00:52:05 +0100 From: Simon Barner To: Ariff Abdullah Message-ID: <20060103235205.GA1099@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20060104073903.1c21146e.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@FreeBSD.org, Simon Barner Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:53:43 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ariff Abdullah wrote: > On Tue, 3 Jan 2006 23:59:47 +0100 > Simon Barner wrote: > >=20 > > I did the following to enable vchans: > >=20 > > # kldunload snd_solo.ko > > # sysctl hw.snd.maxautovchans=3D2 > > # kldload snd_solo.ko > >=20 > > pcm0: port > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc0 > > 03 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] > > pcm0: vchan_create(pcm0:play:0) =3D=3D -1 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Pretty much what I need :) Ok, great. Meanwhile, I also did some investigations (I couldn't resist ;-) and came up with the following (good old printf debugging..) The error occurs around line 439 of vchan.c, and goes away as soon as I replace AFMT_S16_LE with AFMT_U16_LE. Of course, this does not solve my problem, since mplayer also mumbles something about S16_LE. I'm not too familiar with audio formats, but I guess it is something about 16 bits and signed integers... if (!err) err =3D chn_reset(parent, AFMT_STEREO | AFMT_S16_LE= ); Hope this helps you, --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuw4kCkn+/eutqCoRAkX9AKDtXxVxw9mz0kOtp2Bb1pqifb+92gCgw6XL 72LofqNI/IKrwFbjmbVLoLY= =mxI3 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 00:05:06 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 26A9C16A41F; Wed, 4 Jan 2006 00:05:06 +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 874F043D45; Wed, 4 Jan 2006 00:05:05 +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 80D9D6CC2D; Wed, 4 Jan 2006 08:11:30 +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 45554-04; Wed, 4 Jan 2006 08:11:29 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C03066CC2B; Wed, 4 Jan 2006 08:11:28 +0800 (MYT) Date: Wed, 4 Jan 2006 08:04:53 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060104080453.71592e1f.skywizard@MyBSD.org.my> In-Reply-To: <20060103235205.GA1099@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> <20060103235205.GA1099@zi025.glh.mhn.de> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Wed, 04 Jan 2006 00:05:06 -0000 On Wed, 4 Jan 2006 00:52:05 +0100 Simon Barner wrote: > > The error occurs around line 439 of vchan.c, and goes away as soon > as I replace AFMT_S16_LE with AFMT_U16_LE. Of course, this does not > solve my problem, since mplayer also mumbles something about S16_LE. > I'm not too familiar with audio formats, but I guess it is something > about 16 bits and signed integers... > > if (!err) > err = chn_reset(parent, AFMT_STEREO | > AFMT_S16_LE); > The good thing about recent MFC is to expose varying degree of mistakes within specific driver, and hopefully this is one of them. Try again, patch against solo.c: http://people.freebsd.org/~ariff/test/solo.c.diff I have few more ninja tricks if that doesn't work. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 01:28:36 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 B77DE16A41F for ; Wed, 4 Jan 2006 01:28:36 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F89D43D46 for ; Wed, 4 Jan 2006 01:28:35 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 04 Jan 2006 01:28:34 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp034) with SMTP; 04 Jan 2006 02:28:34 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 8E3C8C42B; Wed, 4 Jan 2006 02:28:31 +0100 (CET) Date: Wed, 4 Jan 2006 02:28:30 +0100 From: Simon Barner To: Ariff Abdullah Message-ID: <20060104012830.GA839@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> <20060103235205.GA1099@zi025.glh.mhn.de> <20060104080453.71592e1f.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline In-Reply-To: <20060104080453.71592e1f.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Wed, 04 Jan 2006 01:28:36 -0000 --mojUlQ0s9EVzWg2t Content-Type: multipart/mixed; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > The good thing about recent MFC is to expose varying degree of > mistakes within specific driver, and hopefully this is one of them. >=20 > Try again, patch against solo.c: >=20 > http://people.freebsd.org/~ariff/test/solo.c.diff Great, this did the trick. However, vchans still don't work. When I set hw.snd.maxautovchans to some value > 0, I get the following error when loading the module (or during the boot with the value set in /boot/loader.conf): pcm0: vchan_create(pcm0:play:0) =3D=3D 45 I fear that means that the card simply doesn't support it... but I can live with that. The reason why I updated to RELENG_6 was, that I wanted to get rid of the clicks that disturbed audio output under I/O load. Even selecting an mbox with a few thousand messages in mutt is enough. OTOH I can extract the firefox tarball twice with two pararell processes, and I get much less clicking... strange. Perhaps the CPU is to slow to keep up with decompressing, so the I/O load is to low... I increased hw.snd.pcm0.buffersize to 32768 with an entry in /boot/device.hints, but I don't think it improved the situation a lot. Setting it to 65536 gave me warings on the console, so I better turned it back: kernel: DMA count reg bogus: cff8 & cff8 Are there any more knobs to tweak, or do I have to life with a suboptimal sound experience on old and cr*ppy hardware (see attached dmesg). Here's the output of cat /dev/sndstat when I hear the clicking (when=20 copying around my distfiles). FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xb000,0xb400,0xb800 irq 10 kld s= nd_solo (1p/1r/0v channels default) [pcm0:play:0]: spd 44100, fmt 0x10000010, flags 0x00001030, 0x00000000, pi= d 1105 interrupts 5273, underruns 0, ready 131048 {userland} -> feeder_root(0x10000010) -> {hardware} [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x000= 00000 interrupts 0, overruns 0, hfree 32768, sfree 0 {hardware} -> feeder_root(0x00000000) -> {userland} >=20 > I have few more ninja tricks if that doesn't work. :-) Does not seem to be necessary. Thank you very much for quick help! --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Content-Transfer-Encoding: quoted-printable Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #0: Tue Jan 3 18:26:47 CET 2006 root@zi025.glh.mhn.de:/usr/obj/usr/src/sys/KISTE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD-K6(tm) 3D+ Processor (400.91-MHz 586-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x591 Stepping =3D 1 Features=3D0x8021bf AMD Features=3D0x80000800 real memory =3D 268435456 (256 MB) avail memory =3D 256622592 (244 MB) K6-family MTRR support enabled (2 registers) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0xa000-0xa00f at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 17.0 (no driver attached) pci0: at device 19.0 (no driver attached) pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0xb800= -0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 pcm0: 'buffersize=3D49152' hint is not a power of 2, using 32768 pcm0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on= isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 400911959 Hz quality 800 Timecounters tick every 10.000 msec IP Filter: v4.1.8 initialized. Default =3D block all, Logging =3D enabled ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled,= default to deny, logging disabled ad0: 9787MB at ata0-master UDMA33 acd0: CDRW at ata1-master PIO4 ad3: 117246MB at ata1-slave UDMA33 Trying to mount root from ufs:/dev/ad0s1a xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xac00-0xac3f irq 5 at device 1= 9.0 on pci0 xl0: Ethernet address: 00:60:08:4a:00:e5 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: port 0xa800-0xa8ff mem 0xe5000000-0xe50000= ff irq 11 at device 17.0 on pci0 rl0: Ethernet address: 00:50:22:b1:03:d4 miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 16.000MB/s transfers --RnlQjJ0d97Da+TV1-- --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuyS+Ckn+/eutqCoRArJAAKCz2vzsnc/05K0PnCbVhwpgcLHXdACgkG6t 14Ce3WORbdD+6pHArCkE1gY= =zsuV -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 02:00:24 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 A3A5F16A41F; Wed, 4 Jan 2006 02:00:24 +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 F2CAA43D49; Wed, 4 Jan 2006 02:00:19 +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 33ED96CC33; Wed, 4 Jan 2006 10:06:44 +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 46211-06; Wed, 4 Jan 2006 10:06:42 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 08CFE6CC23; Wed, 4 Jan 2006 10:06:39 +0800 (MYT) Date: Wed, 4 Jan 2006 10:00:02 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060104100002.1f89deee.skywizard@MyBSD.org.my> In-Reply-To: <20060104012830.GA839@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> <20060103235205.GA1099@zi025.glh.mhn.de> <20060104080453.71592e1f.skywizard@MyBSD.org.my> <20060104012830.GA839@zi025.glh.mhn.de> 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 AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Wed, 04 Jan 2006 02:00:24 -0000 OT: reply to mailling list instead, since my spam protection is .. EVIL On Wed, 4 Jan 2006 02:28:30 +0100 Simon Barner wrote: > > Great, this did the trick. However, vchans still don't work. When > I set hw.snd.maxautovchans to some value > 0, I get the following > error when loading the module (or during the boot with the value set > in /boot/loader.conf): > > pcm0: vchan_create(pcm0:play:0) == 45 Uh uh.. another good catch.. ninja tricks awaken. > > I fear that means that the card simply doesn't support it... but I > can live with that. > Vchans should work on *any* supported soundcards since it is soft/kernel implementation. I simply cannot leave you behind in the dark.. or should I :) > The reason why I updated to RELENG_6 was, that I wanted to get rid > of the clicks that disturbed audio output under I/O load. Even > selecting an mbox with a few thousand messages in mutt is enough. > OTOH I can extract the firefox tarball twice with two pararell > processes, and I get much less clicking... strange. Perhaps the CPU > is to slow to keep up with decompressing, so the I/O load is to > low... > > I increased hw.snd.pcm0.buffersize to 32768 with an entry in > /boot/device.hints, but I don't think it improved the situation a > lot. Setting it to 65536 gave me warings on the console, so I better > turned it back: > > kernel: DMA count reg bogus: cff8 & cff8 > > Are there any more knobs to tweak, or do I have to life with a > suboptimal sound experience on old and cr*ppy hardware (see attached > dmesg). > > Increasing buffersize doesn't help much in this case, since this driver still under the influenced of Evil Dark Lord GIANT(tm). Perhaps we should try to liberate it first. I'll be back. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 06:24:56 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 3686416A41F for ; Wed, 4 Jan 2006 06:24:56 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id A10CE43D5D for ; Wed, 4 Jan 2006 06:24:54 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 26313 invoked from network); 4 Jan 2006 06:27:13 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 4 Jan 2006 06:27:13 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Tue, 03 Jan 2006 22:24:48 PST (sender jakemsr@puff.jakemsr.gom) Date: Tue, 3 Jan 2006 22:24:48 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20060104062448.GB26459@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200512240440.46994.frank@barda.agala.net> <20051230114354.GA13494@puff.jakemsr.gom> <200512301155.54309.nb_root@videotron.ca> <200601020356.20081.frank@barda.agala.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200601020356.20081.frank@barda.agala.net> User-Agent: Mutt/1.4.2i Subject: Re: ffmpeg doesn't record sound from WinTV. 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: Wed, 04 Jan 2006 06:24:56 -0000 On Mon, Jan 02, 2006 at 03:56:19AM +0100, Frank J. Beckmann wrote: > Moin, > > am Freitag, 30. Dezember 2005 17:55 schrieb Nicolas Blais: > > On December 30, 2005 06:43 am, Jacob Meuser wrote: > > Does it record the video? If I do this: > > ffmpeg -target ntsc-dvd -vd /dev/bktr -ad /dev/dsp -ac 2 fft.mpeg > > > > I get a dvd-size blue screen with no sound. > > It does record video. > > > But If I do this: > > transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss > > -g 640x480 -y ffmpeg -F mpeg4 -p /dev/dsp -o out > > Just tried that (with pal instead of ntsc). That doesn't record sound either. interesting, because that explicitly both unmutes the audio and sets the input. there's really not much (if any) more that can be done to enable audio from bktr(4). hmmm, try adding '-H 0' as well, maybe it messing up /dev/dsp when trying to detect what it is. also try with 'asource=intern' instead of 'asource=tuner'. if it doesn't work after trying the above, could you please post the exact command and screen output? I wrote the bktr and oss import modules for transcode, and would be interested in fixing them if needed. -- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 12:11:20 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 6642116A420 for ; Wed, 4 Jan 2006 12:11:20 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9AD643D5E; Wed, 4 Jan 2006 12:11:19 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k04CBEY3013640; Wed, 4 Jan 2006 12:11:17 GMT (envelope-from ariff@FreeBSD.org) Date: Wed, 4 Jan 2006 20:11:05 +0800 From: Ariff Abdullah To: Zahemszky =?ISO-8859-1?Q?G=E1bor?= Message-Id: <20060104201105.3af401a9.ariff@FreeBSD.org> In-Reply-To: <43BB0835.3070508@Zahemszky.HU> References: <43BB0835.3070508@Zahemszky.HU> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_mss problem 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: Wed, 04 Jan 2006 12:11:20 -0000 --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 04 Jan 2006 00:26:45 +0100 Zahemszky G=E1bor wrote: > Hi! >=20 > I've got a problem with FreeBSD6's sound system. In my machine, > there is a working CMI8738-card - it's pcm0, and a builtin > soundchip. In 5-STABLE, it's recognised by the snd-mss module. If I > kldload it, I got: >=20 Can you replace (and recompile) /usr/src/sys/dev/sound/isa/mss.c with this one: http://people.freebsd.org/~ariff/test/mss.c > pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq > 0,1 on isa0 >=20 > with verbose mode, the next few lines, too: >=20 > ioapic0: routing intpin 5 (ISA IRQ 5) to cluster 0 > pcm1: [GIANT-LOCKED] > pcm1: sndbuf_setmap ff1000,1000; 0xda77c000 -> ff1000 > pcm1: sndbuf_setmap ff1000,1000; 0xda77d000 -> ff0000 >=20 > But on FreeBSD6, the builtin chip "locks" the machine. If I kldload=20 > snd_mss (with verbose mode), I got the following lines: >=20 > pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq > 1,0 on isa0 >=20 > AD_WAIT_INIT_FAILED 201000 0xff > AD_WAIT_INIT_FAILED 1002000 0xff > AD_WAIT_INIT_FAILED 203000 0xff > AD_WAIT_INIT_FAILED 1002000 0xff > AD_WAIT_INIT_FAILED 1000000 0xff > AD_WAIT_INIT_FAILED 1000000 0xff > mss: Auto calibration timed out (1) > AD_WAIT_INIT_FAILED 201000 0xff >=20 > And the last line repeats forever. The machine doesn't recognise any >=20 > keypress - neither the Caps/Scrool/Num - Lock keys, nor the=20 > Goto-Debugger key. >=20 > I doesn't know, is it OK, that in FBSD5, in the port line there is > port 0x534, but in FBSD6, it's 0x600. And in FBSD5, drq 0,1 but in > FBSD6, it's drq 1,0 (they are the same DRQ lines, so maybe doesn't > matter). >=20 > So my trivial question is: are there any possibilities, to use my=20 > machine's builtin soundchip in FreeBSD6? (The machine is a Dell=20 > Precision WS210, 2x P-III-550.) >=20 > Bye, > Gabor Zahemszky < Gabor at Zahemszky dot HU > >=20 > PS: this lockup is in both the new - and the old - sound driver (my=20 > system is 6-stable from Jan 2.) >=20 -- Ariff Abdullah FreeBSD --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDu7tdlr+deMUwTNoRAlz6AJ0Svv1sFakiCSs4OldU6uz+C1TD/wCgkbXa 0jZykXPn+tRcd+9MtuZ4tL0= =4sho -----END PGP SIGNATURE----- --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 15:07:56 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 93D0B16A41F for ; Wed, 4 Jan 2006 15:07:56 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id B321143D4C for ; Wed, 4 Jan 2006 15:07:52 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 04 Jan 2006 15:07:51 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp032) with SMTP; 04 Jan 2006 16:07:51 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id AE9D5C28B; Wed, 4 Jan 2006 16:07:50 +0100 (CET) Date: Wed, 4 Jan 2006 16:07:50 +0100 From: Simon Barner To: freebsd-multimedia@FreeBSD.org Message-ID: <20060104150750.GA1128@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> <20060103235205.GA1099@zi025.glh.mhn.de> <20060104080453.71592e1f.skywizard@MyBSD.org.my> <20060104012830.GA839@zi025.glh.mhn.de> <20060104100002.1f89deee.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <20060104100002.1f89deee.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: Subject: [solved] Re: snd_solo broken after big MFC to RELENG_6 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: Wed, 04 Jan 2006 15:07:56 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable For the archives: I've exchanged some private mails with Ariff, and here is the current statu= s: This patch "makes the sound work" with snd_solo(4) on RELENG_6 http://people.freebsd.org/~ariff/test/solo.c.diff but still no vchans. If you want vchans, you'll need to replace sys/dev/sound/pcm/sound.c with t= he following one: http://people.freebsd.org/~ariff/test/sound.c He is also working on a GAINT-free version of the driver (in fact, there is one at http://people.freebsd.org/~ariff/test/solo.c, but it gives me a panic when I try to play a song or even if I try to unload the module). And now, please another round of applause for our sound hero...! :-) --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDu+TGCkn+/eutqCoRAgWlAKCMeE4JKjJx7EZTCim/LrnAb+6zNgCePZRH gSAvxbcwox/lnuSOmzV+3OI= =2vnp -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 17:28:15 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 3F32816A41F for ; Wed, 4 Jan 2006 17:28:15 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04F9A43D53 for ; Wed, 4 Jan 2006 17:28:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D07C.dip.t-dialin.net [84.165.208.124]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k04HNvGd093079 for ; Wed, 4 Jan 2006 18:23:58 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k04HRs6h099423 for ; Wed, 4 Jan 2006 18:27:55 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Wed, 4 Jan 2006 18:27:54 +0100 From: Alexander Leidinger To: freebsd-multimedia@freebsd.org Message-ID: <20060104182754.6045a2b1@Magellan.Leidinger.net> In-Reply-To: <20060104150750.GA1128@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> <20060103235205.GA1099@zi025.glh.mhn.de> <20060104080453.71592e1f.skywizard@MyBSD.org.my> <20060104012830.GA839@zi025.glh.mhn.de> <20060104100002.1f89deee.skywizard@MyBSD.org.my> <20060104150750.GA1128@zi025.glh.mhn.de> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: [solved] Re: snd_solo broken after big MFC to RELENG_6 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: Wed, 04 Jan 2006 17:28:15 -0000 On Wed, 4 Jan 2006 16:07:50 +0100 Simon Barner wrote: > And now, please another round of applause for our sound hero...! :-) Sssshhhh... he may want one each time... ;-) Oh... to late... where are my sound-blockers? \me puts his fingers into the ears to not get deaf. Bye, Alexander. :-) -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 18:42:06 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 5A5B516A41F; Wed, 4 Jan 2006 18:42:06 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard2.mail.t-online.hu (graveyard2.mail.t-online.hu [195.228.240.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E833543DC8; Wed, 4 Jan 2006 18:41:33 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard2.mail.t-online.hu (Postfix) with ESMTP id B5526203D4CE; Wed, 4 Jan 2006 19:41:25 +0100 (CET) Received: from [192.168.1.3] (dsl51B6827D.pool.t-online.hu [81.182.130.125]) by mail.t-online.hu (Postfix) with ESMTP; Wed, 4 Jan 2006 19:41:25 +0100 (CET) Message-ID: <43BC1856.4070305@Zahemszky.HU> Date: Wed, 04 Jan 2006 19:47:50 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <43BB0835.3070508@Zahemszky.HU> <20060104201105.3af401a9.ariff@FreeBSD.org> In-Reply-To: <20060104201105.3af401a9.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_mss problem 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: Wed, 04 Jan 2006 18:42:06 -0000 Ariff Abdullah wrote: > On Wed, 04 Jan 2006 00:26:45 +0100 > Zahemszky Gábor wrote: > >>Hi! >> >>I've got a problem with FreeBSD6's sound system. In my machine, >>there is a working CMI8738-card - it's pcm0, and a builtin >>soundchip. In 5-STABLE, it's recognised by the snd-mss module. If I >>kldload it, I got: >> > > > Can you replace (and recompile) /usr/src/sys/dev/sound/isa/mss.c with > this one: > > http://people.freebsd.org/~ariff/test/mss.c Hi! Sorry, the same simptome. I've made ' make buildkernel installkernel' , reboot, and after kldloading it, the same lockup. Zahy < Gabor at Zahemszky dot HU > -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 23:13:34 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 A531E16A420 for ; Wed, 4 Jan 2006 23:13:34 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8888243D5F; Wed, 4 Jan 2006 23:13:29 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k04NDQCm050783; Wed, 4 Jan 2006 23:13:28 GMT (envelope-from ariff@FreeBSD.org) Date: Thu, 5 Jan 2006 07:13:18 +0800 From: Ariff Abdullah To: Zahemszky =?ISO-8859-1?Q?G=E1bor?= Message-Id: <20060105071318.1e3edd45.ariff@FreeBSD.org> In-Reply-To: <43BC1856.4070305@Zahemszky.HU> References: <43BB0835.3070508@Zahemszky.HU> <20060104201105.3af401a9.ariff@FreeBSD.org> <43BC1856.4070305@Zahemszky.HU> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__5_Jan_2006_07_13_18_+0800_U20Ql_Q2vv6Sfl6l" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_mss problem 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: Wed, 04 Jan 2006 23:13:34 -0000 --Signature=_Thu__5_Jan_2006_07_13_18_+0800_U20Ql_Q2vv6Sfl6l Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 04 Jan 2006 19:47:50 +0100 Zahemszky G=E1bor wrote: >=20 > Sorry, the same simptome. I've made ' make buildkernel > installkernel' , reboot, and after kldloading it, the same lockup. >=20 Retry, with this one: http://people.freebsd.org/~ariff/test/mss2.c -- Ariff Abdullah FreeBSD --Signature=_Thu__5_Jan_2006_07_13_18_+0800_U20Ql_Q2vv6Sfl6l Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvFaRlr+deMUwTNoRAqbJAJ9gOtZhk2AZz3A/FBCsvNlH8pAiMACgrrgk 85DvzAD47dJFOhuSIkNgmvs= =kLFc -----END PGP SIGNATURE----- --Signature=_Thu__5_Jan_2006_07_13_18_+0800_U20Ql_Q2vv6Sfl6l-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 04:35:56 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 4535116A41F; Thu, 5 Jan 2006 04:35:56 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BC5343D55; Thu, 5 Jan 2006 04:35:55 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k054Zqqc074359; Thu, 5 Jan 2006 04:35:53 GMT (envelope-from ariff@FreeBSD.org) Date: Thu, 5 Jan 2006 12:35:44 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060105123544.73fb400a.ariff@FreeBSD.org> In-Reply-To: <20060105032333.GA2865@zi025.glh.mhn.de> References: <20060104224705.3bb21deb.ariff@FreeBSD.org> <20060104151211.GB1128@zi025.glh.mhn.de> <20060104232933.7c915cff.ariff@FreeBSD.org> <20060104182532.GA1019@zi025.glh.mhn.de> <20060104191053.GA1037@zi025.glh.mhn.de> <20060105065827.65b27ac8.ariff@FreeBSD.org> <20060104235339.GA1222@zi025.glh.mhn.de> <20060105081205.04dfee19.ariff@FreeBSD.org> <20060105004404.GA2027@zi025.glh.mhn.de> <20060105100556.5cdb1043.ariff@FreeBSD.org> <20060105032333.GA2865@zi025.glh.mhn.de> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__5_Jan_2006_12_35_44_+0800_KrOHy5uhiJ4u6IkF" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Testing request: GIANT Free snd_solo(4) 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: Thu, 05 Jan 2006 04:35:56 -0000 --Signature=_Thu__5_Jan_2006_12_35_44_+0800_KrOHy5uhiJ4u6IkF Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [CC: freebsd-multimedia@] On Thu, 5 Jan 2006 04:23:34 +0100 Simon Barner wrote: > > Great. Hopefully this would be out final test (sorry to bother you > > too much): > >=20 > > http://people.freebsd.org/~ariff/test/solo.c > >=20 > > .. and I'm assuming you're using default sound.c (since it's not > > necessarily its fault). > >=20 > > I've reworked a bit so the same file can be compiled both MPSAFE > > and non-MPSAFE through the definition of ESS18XX_MPSAFE. I hope > > you could test both conditions as well, especially regarding with > > vchans auto creation through hw.snd.maxautovchans. You don't have > > to reboot, simply using kenv(1) to set it, and kldload/unload. >=20 > Results: When I do not fiddle around with any sysctls etc., it > works as expected (MPSAFE w/ and w/0 vchans, non-MPSAFE w/ and w/0 > vchans) > Case closed :) > >=20 > > My biggest concern is its DMA allignment. I've reduce its value to > > see whether it should help, in any case. > >=20 > > Few tricks to improve sound performance: > >=20 > > 1) GIANT free > > 2) PREEMPTION kernel > > 3) using SCHED_ULE instead of SCHED_4BSD (and yes, SCHED_ULE) > > 4) Reduce hw.snd.pcm..buffersize as minimum as 4096. The > > only > > place where this can be set is through kernel hints > > (/boot/device.hints) or using kenv(1) before loading the > > driver. > > 5) Reduce hw.snd.targetirqrate , 16 > > 6) Avoid sharing IRQ with other peripherals. vmstat -i > > 7) Enable DMA on all harddrives. > > Optional:- > > 8) Increase PCI Latency Timer, using pciconf. Sometimes it doesn't > > help at all. > >=20 > > See whether 1-7 can help increase sound performance. A single > > mozilla tarball sho > > /usr/ports/sysutils/stress . >=20 > Wow, nice list! You really should post it to multimedia@. > I've followed it to the point (running SCHED_ULE now), and I > verified that my sound card does not share any interupts, the > harddrives all use UDMA33, and I tried all the suggested > increasements and decreasments of all those knobs. >=20 > Results: When I set hw.snd.pcm0.buffersize to 4096, the sound chokes > (without any additional load). I took 8192 instead. >=20 I'm assuming the default buffersize (16k) is fair enough. > Untarring a huge tarball does not disturb the sound any more. The > same applies for "stress --io n"). >=20 > But, if I simply copy my distfiles directory to /tmp, or if I run > "stress --hdd 1", the sound get distorted again. As in my previous > email, opening a big mbox has the same effect. > This will go into my TODO list. > But I think the situation has improved, and there is an audible > difference between the MPSAFE and the GIANT-locked driver when doing > the benchmarks. >=20 > I'll commit this into -current straight away, MFC after a week (depends on other people opinions). Thanks. -- Ariff Abdullah FreeBSD --Signature=_Thu__5_Jan_2006_12_35_44_+0800_KrOHy5uhiJ4u6IkF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvKIjlr+deMUwTNoRAoTgAKC1KlpSzDA68S944k6UvQw6c/FAUACeJoaC /ODDtToSwgDMQ58j/VhhMDQ= =HkjJ -----END PGP SIGNATURE----- --Signature=_Thu__5_Jan_2006_12_35_44_+0800_KrOHy5uhiJ4u6IkF-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 11:58:04 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 3F40516A41F; Thu, 5 Jan 2006 11:58:04 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2162043D5A; Thu, 5 Jan 2006 11:58:02 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from mp-217-136-25.daxnet.no ([193.217.136.25] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 72775759; Thu, 05 Jan 2006 12:58:00 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 5 Jan 2006 12:57:56 +0100 User-Agent: KMail/1.7 References: <20060104224705.3bb21deb.ariff@FreeBSD.org> <20060105032333.GA2865@zi025.glh.mhn.de> <20060105123544.73fb400a.ariff@FreeBSD.org> In-Reply-To: <20060105123544.73fb400a.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601051258.00351.hselasky@c2i.net> Cc: Simon Barner , Ariff Abdullah Subject: Re: Testing request: GIANT Free snd_solo(4) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 11:58:04 -0000 On Thursday 05 January 2006 05:35, Ariff Abdullah wrote: > [CC: freebsd-multimedia@] > > On Thu, 5 Jan 2006 04:23:34 +0100 > > > > > Results: When I set hw.snd.pcm0.buffersize to 4096, the sound chokes > > (without any additional load). I took 8192 instead. > The sound system should be a little more intelligent, and scale the buffer size according to the sample rate used, instead of using a fixed buffer size. 8000 bytes of buffer at 8kHz gives 1 second of delay. 8000 bytes of buffer at 96kHz gives 83ms of delay. I would recommend 2*50ms or 2*25ms of buffer. > I'm assuming the default buffersize (16k) is fair enough. > --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 20:53:11 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 1EE3C16A41F; Thu, 5 Jan 2006 20:53:11 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard.mail.t-online.hu (graveyard1.mail.t-online.hu [195.228.240.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0D2943D45; Thu, 5 Jan 2006 20:53:07 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard.mail.t-online.hu (Postfix) with ESMTP id C5DC640C797; Thu, 5 Jan 2006 21:53:02 +0100 (CET) Received: from [192.168.1.3] (dsl51B6CCAA.pool.t-online.hu [81.182.204.170]) by mail.t-online.hu (Postfix) with ESMTP; Thu, 5 Jan 2006 21:53:02 +0100 (CET) Message-ID: <43BD88B2.7030701@Zahemszky.HU> Date: Thu, 05 Jan 2006 21:59:30 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah , freebsd-multimedia@freebsd.org References: <43BB0835.3070508@Zahemszky.HU> <20060104201105.3af401a9.ariff@FreeBSD.org> <43BC1856.4070305@Zahemszky.HU> <20060105071318.1e3edd45.ariff@FreeBSD.org> <43BCB6A2.3060100@Zahemszky.HU> <20060105152050.61335a21.ariff@FreeBSD.org> In-Reply-To: <20060105152050.61335a21.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: snd_mss problem 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: Thu, 05 Jan 2006 20:53:11 -0000 Ariff Abdullah wrote: > On Thu, 05 Jan 2006 07:03:14 +0100 > Zahemszky Gábor wrote: > >>Ariff Abdullah wrote: >> >>>On Wed, 04 Jan 2006 19:47:50 +0100 >>>Zahemszky Gábor wrote: >>> >>> >>>>Sorry, the same simptome. I've made ' make buildkernel >>>>installkernel' , reboot, and after kldloading it, the same >>> >>>lockup. >>> >>>Retry, with this one: >>> >>> http://people.freebsd.org/~ariff/test/mss2.c >> >>The same. Does this one-line fix has to load acpi module, too? It >>doesn't. (By the way, in my machine, acpi never worked. But snd_mss >>worked in 5.x.) >> > > ISA isn't supposed to deal with ACPI. My intention is to level > everything back to the very last working condition. Somewhere within > FreeBSD 6 cause this issue, probably as a sign of programming mistake > within driver. > > Again, this one: > > http://people.freebsd.org/~ariff/test/mss3.c Lock. The only difference is, that now, after the pcm1: at port ... line, I've got the ioapic0: routing intpin ... pcm1: [GIANT-LOCKED] lines, too. I think, the main problem is what I wrote in the first letter: that snd_mss recognised port 0x534 in FBSD-5, but port 0x600 in FBSD-6. Isn't it the programming mistake, you said? From my first letter: In 5-STABLE, it's recognised by the snd-mss module. If I kldload it, I got: pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 on isa0 --------------------------------------------------^ But on FreeBSD6, the builtin chip "locks" the machine. If I kldload snd_mss (with verbose mode), I got the following lines: pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 --------------------------^ Zahy < Gabor at Zahemszky dot HU > -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 5 23:45:31 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 7B48016A420 for ; Thu, 5 Jan 2006 23:45:31 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FA5C43D53; Thu, 5 Jan 2006 23:45:30 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k05NjRuh049850; Thu, 5 Jan 2006 23:45:29 GMT (envelope-from ariff@FreeBSD.org) Date: Fri, 6 Jan 2006 07:45:17 +0800 From: Ariff Abdullah To: Zahemszky =?ISO-8859-1?Q?G=E1bor?= Message-Id: <20060106074517.2308d0a7.ariff@FreeBSD.org> In-Reply-To: <43BD88B2.7030701@Zahemszky.HU> References: <43BB0835.3070508@Zahemszky.HU> <20060104201105.3af401a9.ariff@FreeBSD.org> <43BC1856.4070305@Zahemszky.HU> <20060105071318.1e3edd45.ariff@FreeBSD.org> <43BCB6A2.3060100@Zahemszky.HU> <20060105152050.61335a21.ariff@FreeBSD.org> <43BD88B2.7030701@Zahemszky.HU> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__6_Jan_2006_07_45_17_+0800_5RN=9R04DmgZHqGe" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_mss problem 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: Thu, 05 Jan 2006 23:45:31 -0000 --Signature=_Fri__6_Jan_2006_07_45_17_+0800_5RN=9R04DmgZHqGe Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 05 Jan 2006 21:59:30 +0100 Zahemszky G=E1bor wrote: > I think, the main problem is what I wrote in the first letter: that=20 > snd_mss recognised port 0x534 in FBSD-5, but port 0x600 in FBSD-6. > Isn't it the programming mistake, you said? >=20 > From my first letter: >=20 > In 5-STABLE, it's recognised by the snd-mss module. If I kldload it, > I got: >=20 > pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq > 0,1 on isa0 > --------------------------------------------------^ >=20 > But on FreeBSD6, the builtin chip "locks" the machine. If I kldload=20 > snd_mss (with verbose mode), I got the following lines: >=20 > pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq > 1,0 on isa0 > --------------------------^ >=20 I wonder if adding hint.pcm.1.port=3D"0x534" in /boot/device.hints will make any differences (or using kenv(1)). -- Ariff Abdullah FreeBSD --Signature=_Fri__6_Jan_2006_07_45_17_+0800_5RN=9R04DmgZHqGe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDva+Slr+deMUwTNoRAkx7AJ9TUwGXoHcTwJ0GDKNsGGujtsNI2QCfRJ0w 1uhnp0VnpplzCpfBV90DT1c= =qGnN -----END PGP SIGNATURE----- --Signature=_Fri__6_Jan_2006_07_45_17_+0800_5RN=9R04DmgZHqGe-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 12:33:20 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 72FE216A41F for ; Fri, 6 Jan 2006 12:33:20 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8DB843D48 for ; Fri, 6 Jan 2006 12:33:19 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so2193114wxc for ; Fri, 06 Jan 2006 04:33:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RkyO2R9Wl1kvPWaYvd7udb6kzMaQHQr9m+PZD5c+7+UM5M30Xr362PMpH80l4mq3yOoyZuwwKLn9I+Tv9r9rBXtnvtV+jeCrTr6Io/HsO2RwouiUJodpw1MSgtWwVFGr1oixm4MH7RFRK74q5o6bVqkt0Ygtuu2nYSogGWGw1U8= Received: by 10.70.76.6 with SMTP id y6mr558038wxa; Fri, 06 Jan 2006 04:33:19 -0800 (PST) Received: by 10.70.66.9 with HTTP; Fri, 6 Jan 2006 04:33:19 -0800 (PST) Message-ID: Date: Fri, 6 Jan 2006 06:33:19 -0600 From: Nikolas Britton To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Fri, 06 Jan 2006 12:33:20 -0000 Hello, I'm having the same problem that was described on the current mailling list about a week ago, here's the thread: http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread= /587de689691ab207 Here's the short version: Audio playback is too fast, it's too fast in KDE and too fast on the console (splay) but CD playback is perfect. Based on what I read in the link above the problem had been fixed and MFC'd, so I updated the system to 6-STABLE, but playback is still too fast. > uname -a FreeBSD musicbox1.local 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 6 03:51:40 CST 2006 =20 root@musicbox1.local:/usr/obj/usr/src/sys/GENERIC i386 ------------------------------ ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (996.77-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 Features=3D0x383fbff real memory =3D 266301440 (253 MB) avail memory =3D 251097088 (239 MB) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcm0: port 0xd800-0xd8ff,0xdc40-0xdc7f irq 17 at device 31.5 on pci0 pcm0: pcm0: measured ac97 link rate at 55942 Hz ------------------------------ > cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc40 irq 17 bufsz 16384 kld snd_ich (1p/1r/2v channels duplex default) ------------------------------ > sysctl -a hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 1 hw.snd.maxautovchans: 4 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 2 hw.snd.pcm0.ac97rate: 55942 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 13:07:45 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 06F7E16A420 for ; Fri, 6 Jan 2006 13:07:45 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93B9643D45; Fri, 6 Jan 2006 13:07:44 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k06D7f3j093982; Fri, 6 Jan 2006 13:07:43 GMT (envelope-from ariff@FreeBSD.org) Date: Fri, 6 Jan 2006 21:07:03 +0800 From: Ariff Abdullah To: Nikolas Britton Message-Id: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> In-Reply-To: References: Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__6_Jan_2006_21_07_04_+0800_7+GJG6=tMZCK9Igj" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Fri, 06 Jan 2006 13:07:45 -0000 --Signature=_Fri__6_Jan_2006_21_07_04_+0800_7+GJG6=tMZCK9Igj Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 6 Jan 2006 06:33:19 -0600 Nikolas Britton wrote: > Hello, I'm having the same problem that was described on the current > mailling list about a week ago, here's the thread: > http://groups.google.com/group/mailing.freebsd.current/browse_thread/thre= ad/587de689691ab207 >=20 > Here's the short version: Audio playback is too fast, it's too fast > in KDE and too fast on the console (splay) but CD playback is > perfect. Based on what I read in the link above the problem had been > fixed and MFC'd, so I updated the system to 6-STABLE, but playback > is still too fast. >=20 > > uname -a > FreeBSD musicbox1.local 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 6 > 03:51:40 CST 2006 =20 > root@musicbox1.local:/usr/obj/usr/src/sys/GENERIC i386 > ------------------------------ > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (996.77-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 > Features=3D0x383fbff ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 266301440 (253 > MB) avail memory =3D 251097088 (239 MB) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > pcm0: port 0xd800-0xd8ff,0xdc40-0xdc7f irq 17 > at device 31.5 on pci0 > pcm0: > pcm0: measured ac97 link rate at 55942 Hz > ------------------------------ > > cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xd800, 0xdc40 irq 17 bufsz 16384 > kld snd_ich (1p/1r/2v channels duplex default) > ------------------------------ > > sysctl -a hw.snd > hw.snd.report_soft_formats: 1 > hw.snd.targetirqrate: 32 > hw.snd.verbose: 1 > hw.snd.maxautovchans: 4 > hw.snd.unit: 0 > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 2 > hw.snd.pcm0.ac97rate: 55942 Set hw.snd.pcm0.ac97rate=3D48000 and see if that fix it.=20 -- Ariff Abdullah FreeBSD --Signature=_Fri__6_Jan_2006_21_07_04_+0800_7+GJG6=tMZCK9Igj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvmuPlr+deMUwTNoRAlfkAJ9dLDhqhl6hnlKooF+IKEcgdVQ5hQCffz0D SC8uvmHugzTVziihKxaoMrM= =RYfT -----END PGP SIGNATURE----- --Signature=_Fri__6_Jan_2006_21_07_04_+0800_7+GJG6=tMZCK9Igj-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 14:24:08 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 7579B16A420 for ; Fri, 6 Jan 2006 14:24:08 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FB1143D53 for ; Fri, 6 Jan 2006 14:24:07 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so2206474wxc for ; Fri, 06 Jan 2006 06:24:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WIZu8lxEzytjKLwzkhcQrOwhh9osbSHwC3qJNqgvcMP6ffk9I8KvjUm5kzNnNv8lttE8DC1gPgMz+wNP6awnrDXRDbYxR3nKl+KaxZGk54LU2lwMlCfLzCqsLu/VC6HlrrBVurqk6DLkd2CUyMEGsGsaP+8XMyYPTurKWtaeVgA= Received: by 10.70.54.3 with SMTP id c3mr3287272wxa; Fri, 06 Jan 2006 06:24:02 -0800 (PST) Received: by 10.70.66.9 with HTTP; Fri, 6 Jan 2006 06:24:02 -0800 (PST) Message-ID: Date: Fri, 6 Jan 2006 08:24:02 -0600 From: Nikolas Britton To: Ariff Abdullah In-Reply-To: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Fri, 06 Jan 2006 14:24:08 -0000 On 1/6/06, Ariff Abdullah wrote: > On Fri, 6 Jan 2006 06:33:19 -0600 > Nikolas Britton wrote: > > Hello, I'm having the same problem that was described on the current > > mailling list about a week ago, here's the thread: > > http://groups.google.com/group/mailing.freebsd.current/browse_thread/th= read/587de689691ab207 > > > > Here's the short version: Audio playback is too fast, it's too fast > > in KDE and too fast on the console (splay) but CD playback is > > perfect. Based on what I read in the link above the problem had been > > fixed and MFC'd, so I updated the system to 6-STABLE, but playback > > is still too fast. > > > > > uname -a > > FreeBSD musicbox1.local 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 6 > > 03:51:40 CST 2006 > > root@musicbox1.local:/usr/obj/usr/src/sys/GENERIC i386 > > ------------------------------ > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel Pentium III (996.77-MHz 686-class CPU) > > Origin =3D "GenuineIntel" Id =3D 0x68a Stepping =3D 10 > > Features=3D0x383fbff > ,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory =3D 266301440 (253 > > MB) avail memory =3D 251097088 (239 MB) > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > > pcm0: port 0xd800-0xd8ff,0xdc40-0xdc7f irq 17 > > at device 31.5 on pci0 > > pcm0: > > pcm0: measured ac97 link rate at 55942 Hz > > ------------------------------ > > > cat /dev/sndstat > > FreeBSD Audio Driver (newpcm) > > Installed devices: > > pcm0: at io 0xd800, 0xdc40 irq 17 bufsz 16384 > > kld snd_ich (1p/1r/2v channels duplex default) > > ------------------------------ > > > sysctl -a hw.snd > > hw.snd.report_soft_formats: 1 > > hw.snd.targetirqrate: 32 > > hw.snd.verbose: 1 > > hw.snd.maxautovchans: 4 > > hw.snd.unit: 0 > > hw.snd.pcm0.buffersize: 16384 > > hw.snd.pcm0.vchans: 2 > > hw.snd.pcm0.ac97rate: 55942 > > Set hw.snd.pcm0.ac97rate=3D48000 and see if that fix it. > > Thanks for your quick reply. I tried the above and playback is still fast, changing it to any number doesn't seem to do anything. I also cannot set it with loader.conf. I have to do it manually after the system is loaded, Is this normal? Here is what I have in loader.conf: sound_load=3D"YES" snd_ich_load=3D"YES" hw.snd.pcm0.ac97rate=3D48000 hw.snd.ac97rate=3D48000 hint.pcm.0.ac97rate=3D"48000" hw.snd.maxautovchans=3D4 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 14:47:30 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EA4B16A420; Fri, 6 Jan 2006 14:47:30 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAB2D43D49; Fri, 6 Jan 2006 14:47:29 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06ElTaD099132; Fri, 6 Jan 2006 14:47:29 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06ElTTQ099128; Fri, 6 Jan 2006 14:47:29 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 14:47:29 GMT From: Alexander Leidinger Message-Id: <200601061447.k06ElTTQ099128@freefall.freebsd.org> To: vladvic_r@mail.ru, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/89224: [sound] [panic] kernel panic after kldunload snd_maestro3 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: Fri, 06 Jan 2006 14:47:30 -0000 Synopsis: [sound] [panic] kernel panic after kldunload snd_maestro3 State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 14:47:18 UTC 2006 State-Changed-Why: This is fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=89224 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 14:59:21 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35FAB16A41F; Fri, 6 Jan 2006 14:59:21 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE88743D46; Fri, 6 Jan 2006 14:59:20 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06ExKCh099411; Fri, 6 Jan 2006 14:59:20 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06ExKZE099407; Fri, 6 Jan 2006 14:59:20 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 14:59:20 GMT From: Alexander Leidinger Message-Id: <200601061459.k06ExKZE099407@freefall.freebsd.org> To: bram@abbekerk.demon.nl, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/75969: [sound] [patch] Support for Sigmatel STAC9766/67 codec in sound driver 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: Fri, 06 Jan 2006 14:59:21 -0000 Synopsis: [sound] [patch] Support for Sigmatel STAC9766/67 codec in sound driver State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 14:59:06 UTC 2006 State-Changed-Why: This is fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=75969 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:05:08 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F276B16A41F; Fri, 6 Jan 2006 15:05:07 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A95AD43D45; Fri, 6 Jan 2006 15:05:07 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06F57Zb099718; Fri, 6 Jan 2006 15:05:07 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06F56ZI099714; Fri, 6 Jan 2006 15:05:06 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:05:06 GMT From: Alexander Leidinger Message-Id: <200601061505.k06F56ZI099714@freefall.freebsd.org> To: william.smith@ebaana.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/79427: [sound] No sound on Compaq Armada 100S laptop's ac97 codec. (VIA82C686) 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: Fri, 06 Jan 2006 15:05:08 -0000 Synopsis: [sound] No sound on Compaq Armada 100S laptop's ac97 codec. (VIA82C686) State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:04:43 UTC 2006 State-Changed-Why: No response from originator for ~7 months. http://www.freebsd.org/cgi/query-pr.cgi?pr=79427 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:06:12 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3D9C16A420; Fri, 6 Jan 2006 15:06:12 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 897DF43D46; Fri, 6 Jan 2006 15:06:12 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06F6CWp099764; Fri, 6 Jan 2006 15:06:12 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06F6CjS099760; Fri, 6 Jan 2006 15:06:12 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:06:12 GMT From: Alexander Leidinger Message-Id: <200601061506.k06F6CjS099760@freefall.freebsd.org> To: jau@iki.fi, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/79498: [sound] sndfile-play (and many other players) cut playback a little before the end of the sound sample 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: Fri, 06 Jan 2006 15:06:13 -0000 Synopsis: [sound] sndfile-play (and many other players) cut playback a little before the end of the sound sample State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:05:58 UTC 2006 State-Changed-Why: This should be fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=79498 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:10:13 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDA5416A420; Fri, 6 Jan 2006 15:10:13 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CD043D45; Fri, 6 Jan 2006 15:10:13 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FADXJ099966; Fri, 6 Jan 2006 15:10:13 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FACOG099962; Fri, 6 Jan 2006 15:10:12 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:10:12 GMT From: Alexander Leidinger Message-Id: <200601061510.k06FACOG099962@freefall.freebsd.org> To: hselasky@c2i.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/80149: problems with an soundblaster-8 (original), that stops playing sound 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: Fri, 06 Jan 2006 15:10:13 -0000 Synopsis: problems with an soundblaster-8 (original), that stops playing sound State-Changed-From-To: open->feedback State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:08:20 UTC 2006 State-Changed-Why: Ooops, I set to the wrong state... http://www.freebsd.org/cgi/query-pr.cgi?pr=80149 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:10:41 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A62816A420; Fri, 6 Jan 2006 15:10:41 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB0843D48; Fri, 6 Jan 2006 15:10:41 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FAe0L000114; Fri, 6 Jan 2006 15:10:40 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FAeAS000110; Fri, 6 Jan 2006 15:10:40 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:10:40 GMT From: Alexander Leidinger Message-Id: <200601061510.k06FAeAS000110@freefall.freebsd.org> To: hselasky@c2i.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/80149: problems with an soundblaster-8 (original), that stops playing sound 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: Fri, 06 Jan 2006 15:10:41 -0000 Synopsis: problems with an soundblaster-8 (original), that stops playing sound State-Changed-From-To: feedback->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:10:18 UTC 2006 State-Changed-Why: This is in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=80149 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:11:42 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 192C216A420; Fri, 6 Jan 2006 15:11:42 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1DF643D45; Fri, 6 Jan 2006 15:11:41 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FBfOb000182; Fri, 6 Jan 2006 15:11:41 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FBfNC000178; Fri, 6 Jan 2006 15:11:41 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:11:41 GMT From: Alexander Leidinger Message-Id: <200601061511.k06FBfNC000178@freefall.freebsd.org> To: hselasky@c2i.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/80151: [sound] [patch] Missing ESS ES1688 PCI-ID 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: Fri, 06 Jan 2006 15:11:42 -0000 Synopsis: [sound] [patch] Missing ESS ES1688 PCI-ID State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:11:33 UTC 2006 State-Changed-Why: This is in 6-stable and -current now. http://www.freebsd.org/cgi/query-pr.cgi?pr=80151 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:13:08 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1140016A420; Fri, 6 Jan 2006 15:13:08 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EC543D46; Fri, 6 Jan 2006 15:13:07 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FD7Mu000285; Fri, 6 Jan 2006 15:13:07 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FD7GH000281; Fri, 6 Jan 2006 15:13:07 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:13:07 GMT From: Alexander Leidinger Message-Id: <200601061513.k06FD7GH000281@freefall.freebsd.org> To: hselasky@c2i.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/80152: [sound] [patch] SIMPLEX flag is not set properly in sound drivers 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: Fri, 06 Jan 2006 15:13:08 -0000 Synopsis: [sound] [patch] SIMPLEX flag is not set properly in sound drivers State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:12:59 UTC 2006 State-Changed-Why: This is in 6-stable and -current now. http://www.freebsd.org/cgi/query-pr.cgi?pr=80152 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:25:26 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F19616A424; Fri, 6 Jan 2006 15:25:26 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E66E743D45; Fri, 6 Jan 2006 15:25:25 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FPP0J000588; Fri, 6 Jan 2006 15:25:25 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FPPVs000584; Fri, 6 Jan 2006 15:25:25 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:25:25 GMT From: Alexander Leidinger Message-Id: <200601061525.k06FPPVs000584@freefall.freebsd.org> To: regnauld@catpipe.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/81013: [sound] [patch] Intel ICH3 sound chip reverts to 48KHz after suspend/resume 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: Fri, 06 Jan 2006 15:25:26 -0000 Synopsis: [sound] [patch] Intel ICH3 sound chip reverts to 48KHz after suspend/resume State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:25:04 UTC 2006 State-Changed-Why: This is fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=81013 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:28:52 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B6DE16A41F; Fri, 6 Jan 2006 15:28:52 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C39D443D48; Fri, 6 Jan 2006 15:28:51 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FSpLB000652; Fri, 6 Jan 2006 15:28:51 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FSp4h000648; Fri, 6 Jan 2006 15:28:51 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:28:51 GMT From: Alexander Leidinger Message-Id: <200601061528.k06FSp4h000648@freefall.freebsd.org> To: luxury-acura-3.5rl@nifty.com, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/84471: [sound] [patch] no sound ICH4 (Analog Devices AD1981B AC97 Codec) 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: Fri, 06 Jan 2006 15:28:52 -0000 Synopsis: [sound] [patch] no sound ICH4 (Analog Devices AD1981B AC97 Codec) State-Changed-From-To: open->feedback State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:28:25 UTC 2006 State-Changed-Why: Is this still a problem with a recent 6-stable or -current? http://www.freebsd.org/cgi/query-pr.cgi?pr=84471 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:33:12 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64FB16A420; Fri, 6 Jan 2006 15:33:12 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A2B43D46; Fri, 6 Jan 2006 15:33:12 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FXCLc001905; Fri, 6 Jan 2006 15:33:12 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FXBCw001901; Fri, 6 Jan 2006 15:33:11 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:33:11 GMT From: Alexander Leidinger Message-Id: <200601061533.k06FXBCw001901@freefall.freebsd.org> To: steven@403forbidden.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/86536: [sound] /dev/mixer has no devices (still) 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: Fri, 06 Jan 2006 15:33:12 -0000 Synopsis: [sound] /dev/mixer has no devices (still) State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:33:02 UTC 2006 State-Changed-Why: This should be fixed in 6-stable or -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=86536 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:34:23 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75AF416A420; Fri, 6 Jan 2006 15:34:23 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD49043D45; Fri, 6 Jan 2006 15:34:22 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FYMvb001950; Fri, 6 Jan 2006 15:34:22 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FYMei001946; Fri, 6 Jan 2006 15:34:22 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:34:22 GMT From: Alexander Leidinger Message-Id: <200601061534.k06FYMei001946@freefall.freebsd.org> To: bh@izb.knu.ac.kr, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/86557: [sound] Sound Card Volume isn't adjustable -- Intel ICH2 (82801BA) 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: Fri, 06 Jan 2006 15:34:23 -0000 Synopsis: [sound] Sound Card Volume isn't adjustable -- Intel ICH2 (82801BA) State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:34:12 UTC 2006 State-Changed-Why: This should be fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=86557 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:36:10 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1993316A4AB; Fri, 6 Jan 2006 15:36:10 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8202143D4C; Fri, 6 Jan 2006 15:36:09 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06Fa9Xb002001; Fri, 6 Jan 2006 15:36:09 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06Fa9Gi001997; Fri, 6 Jan 2006 15:36:09 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:36:09 GMT From: Alexander Leidinger Message-Id: <200601061536.k06Fa9Gi001997@freefall.freebsd.org> To: mike@surfglobal.net, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/88687: [snd_ich] snd_ich locks up machine 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: Fri, 06 Jan 2006 15:36:10 -0000 Synopsis: [snd_ich] snd_ich locks up machine State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:35:53 UTC 2006 State-Changed-Why: This should be fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=88687 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:37:50 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2939616A420; Fri, 6 Jan 2006 15:37:50 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BAC143D48; Fri, 6 Jan 2006 15:37:49 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06FbnZ5002052; Fri, 6 Jan 2006 15:37:49 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FbnY8002048; Fri, 6 Jan 2006 15:37:49 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:37:49 GMT From: Alexander Leidinger Message-Id: <200601061537.k06FbnY8002048@freefall.freebsd.org> To: aschleichmd@t-online.de, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/88820: [sound] Erratic recognition of VIA 8285 sound card by 6.0 kernel 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: Fri, 06 Jan 2006 15:37:50 -0000 Synopsis: [sound] Erratic recognition of VIA 8285 sound card by 6.0 kernel State-Changed-From-To: open->feedback State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:37:18 UTC 2006 State-Changed-Why: Does this problem still persists with a recent 6-stable or -current? http://www.freebsd.org/cgi/query-pr.cgi?pr=88820 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 15:38:59 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A25A16A420; Fri, 6 Jan 2006 15:38:59 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F13A843D45; Fri, 6 Jan 2006 15:38:58 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k06Fcwjf002098; Fri, 6 Jan 2006 15:38:58 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k06FcwSc002094; Fri, 6 Jan 2006 15:38:58 GMT (envelope-from netchild) Date: Fri, 6 Jan 2006 15:38:58 GMT From: Alexander Leidinger Message-Id: <200601061538.k06FcwSc002094@freefall.freebsd.org> To: vvp@dgs.ru, netchild@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/89046: [sound] [patch] pchan-related sound corruption in ESS Allegro-1 (snd_maestro3) 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: Fri, 06 Jan 2006 15:38:59 -0000 Synopsis: [sound] [patch] pchan-related sound corruption in ESS Allegro-1 (snd_maestro3) State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Fri Jan 6 15:38:47 UTC 2006 State-Changed-Why: This should be fixed in 6-stable and -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=89046 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 16:01:00 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 63AD816A420 for ; Fri, 6 Jan 2006 16:01:00 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9326643D70; Fri, 6 Jan 2006 16:00:55 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k06G0l0q003027; Fri, 6 Jan 2006 16:00:48 GMT (envelope-from ariff@FreeBSD.org) Date: Sat, 7 Jan 2006 00:00:44 +0800 From: Ariff Abdullah To: Nikolas Britton Message-Id: <20060107000044.107d04ca.ariff@FreeBSD.org> In-Reply-To: References: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Fri, 06 Jan 2006 16:01:00 -0000 --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 6 Jan 2006 08:24:02 -0600 Nikolas Britton wrote: >=20 > Thanks for your quick reply. I tried the above and playback is still > fast, changing it to any number doesn't seem to do anything. I also > cannot set it with loader.conf. I have to do it manually after the > system is loaded, Is this normal? Here is what I have in > loader.conf: >=20 > sound_load=3D"YES" > snd_ich_load=3D"YES" > hw.snd.pcm0.ac97rate=3D48000 > hw.snd.ac97rate=3D48000 > hint.pcm.0.ac97rate=3D"48000" > hw.snd.maxautovchans=3D4 Put hw.* into /etc/sysctl.conf. Ok, since you said none of it works, how about this: # kldunload snd_ich # kenv hint.pcm.0.vchanrate=3D48000 # kldload snd_ich # sysctl hw.snd.maxautovchans=3D4 Note: 1) anything that begin with hw.* should go into /etc/sysctl.conf 2) anything that begin with hint.* should go into /boot/device.hints -- Ariff Abdullah FreeBSD --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvpQulr+deMUwTNoRApb9AJ0TJI2QhGVmw8DPrNAWumMMticxuwCgoudO LZfRkffYxl/9eG/uSObHszY= =/QBb -----END PGP SIGNATURE----- --Signature=_Sat__7_Jan_2006_00_00_44_+0800_DeQLPqM1ifrDXmP6-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 18:07:15 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 935B916A41F for ; Fri, 6 Jan 2006 18:07:15 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238DE43D46 for ; Fri, 6 Jan 2006 18:07:14 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.1/8.13.1) with ESMTP id k06I7DFv099272 for ; Fri, 6 Jan 2006 13:07:13 -0500 (EST) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.1/8.13.1/Submit) id k06I7DlW099271 for freebsd-multimedia@freebsd.org; Fri, 6 Jan 2006 13:07:13 -0500 (EST) (envelope-from root) From: Robert Krten Message-Id: <200601061807.k06I7DlW099271@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Fri, 6 Jan 2006 13:07:13 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Status of MIDI? 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: Fri, 06 Jan 2006 18:07:15 -0000 I noticed a lot of activity in this list; can someone update me on the status of MIDI support? I haven't seen any messages that indicate it's working yet, so wanted to check in. By "Midi support" I mean the hardware 5-pin DIN connector, not using the built-in soundcard synths... Specifically, I'm looking for support for this one: none0@pci0:10:0: class=0x040100 card=0x80011274 chip=0x13711274 rev=0x07 hdr=0x00 Thanks in advance! Cheers, -RK -- Robert Krten, PARSE Software Devices +1 613 599 8316. Realtime Systems Architecture, Consulting, Books and Training at www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 21:09:13 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 D97F016A41F; Fri, 6 Jan 2006 21:09:13 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (c-67-168-241-176.hsd1.or.comcast.net [67.168.241.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F98043D48; Fri, 6 Jan 2006 21:09:12 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.11.6/8.11.6) with UUCP id k06L9Tv31705; Fri, 6 Jan 2006 13:09:29 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id VAA29590; Fri, 6 Jan 2006 21:09:10 GMT Message-Id: <200601062109.VAA29590@sopwith.solgatos.com> To: freebsd-ports@freebsd.org, freebsd-multimedia@freebsd.org Date: Fri, 06 Jan 2006 13:09:10 +0000 From: Dieter Cc: Subject: fixes for port ffmpeg-0.4.9-pre1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 21:09:14 -0000 Here are fixes for some of the compiler warnings. They should help with portability between ILP32 and LP64. Diffs for file: libavcodec/liba52/crc.c =================================================================== RCS file: RCS/crc.c,v retrieving revision 1.1 diff -u -c -r1.1 crc.c *** crc.c 2006/01/06 05:27:31 1.1 --- crc.c 2006/01/06 06:10:21 *************** *** 61,66 **** --- 61,69 ---- 0x8213,0x0216,0x021c,0x8219,0x0208,0x820d,0x8207,0x0202 }; + /* prototypes */ + uint16_t a52_crc16_block(uint8_t *, uint32_t); + uint16_t a52_crc16_block(uint8_t *data,uint32_t num_bytes) { uint32_t i; Diffs for file: libavcodec/liba52/resample.c =================================================================== RCS file: RCS/resample.c,v retrieving revision 1.1 diff -u -c -r1.1 resample.c *** resample.c 2006/01/06 05:29:17 1.1 --- resample.c 2006/01/06 05:30:09 *************** *** 17,22 **** --- 17,25 ---- #include "resample_mmx.c" #endif + /* prototypes */ + void* a52_resample_init(uint32_t, int, int); + void* a52_resample_init(uint32_t mm_accel,int flags,int chans){ void* tmp; Diffs for file: libavcodec/4xm.c =================================================================== RCS file: RCS/4xm.c,v retrieving revision 1.1 diff -u -c -r1.1 4xm.c *** 4xm.c 2006/01/06 05:17:51 1.1 --- 4xm.c 2006/01/06 05:18:55 *************** *** 354,360 **** } if(bitstream_size != (get_bits_count(&f->gb)+31)/32*4) ! av_log(f->avctx, AV_LOG_ERROR, " %d %d %d bytes left\n", bitstream_size - (get_bits_count(&f->gb)+31)/32*4, bytestream_size - (f->bytestream - (buf + 20 + bitstream_size + wordstream_size)), wordstream_size - (((uint8_t*)f->wordstream) - (buf + 20 + bitstream_size)) --- 354,360 ---- } if(bitstream_size != (get_bits_count(&f->gb)+31)/32*4) ! av_log(f->avctx, AV_LOG_ERROR, " %d %ld %ld bytes left\n", bitstream_size - (get_bits_count(&f->gb)+31)/32*4, bytestream_size - (f->bytestream - (buf + 20 + bitstream_size + wordstream_size)), wordstream_size - (((uint8_t*)f->wordstream) - (buf + 20 + bitstream_size)) Diffs for file: libavcodec/h261.c =================================================================== RCS file: RCS/h261.c,v retrieving revision 1.1 diff -u -c -r1.1 h261.c *** h261.c 2006/01/06 05:24:58 1.1 --- h261.c 2006/01/06 05:26:28 *************** *** 56,61 **** --- 56,65 ---- int last_bits; //bits left of the following frame in the last byte in this frame }H261Context; + /* prototypes */ + void ff_h261_loop_filter(H261Context *); + int h261_decode_picture_header(H261Context *); + void ff_h261_loop_filter(H261Context * h){ MpegEncContext * const s = &h->s; const int linesize = s->linesize; Diffs for file: libavcodec/h263.c =================================================================== RCS file: RCS/h263.c,v retrieving revision 1.1 diff -u -c -r1.1 h263.c *** h263.c 2006/01/06 05:21:40 1.1 --- h263.c 2006/01/06 05:23:29 *************** *** 2934,2942 **** { uint8_t *start= pbBufPtr(&s->pb); uint8_t *end= s->pb.buf_end; ! int size= end - start; ! int pb_size = (((int)start + size/3)&(~3)) - (int)start; ! int tex_size= (size - 2*pb_size)&(~3); set_put_bits_buffer_size(&s->pb, pb_size); init_put_bits(&s->tex_pb, start + pb_size , tex_size); --- 2934,2942 ---- { uint8_t *start= pbBufPtr(&s->pb); uint8_t *end= s->pb.buf_end; ! long size= end - start; ! long pb_size = (((long)start + size/3)&(~3)) - (long)start; ! long tex_size= (size - 2*pb_size)&(~3); set_put_bits_buffer_size(&s->pb, pb_size); init_put_bits(&s->tex_pb, start + pb_size , tex_size); Diffs for file: libavcodec/interplayvideo.c =================================================================== RCS file: RCS/interplayvideo.c,v retrieving revision 1.1 diff -u -c -r1.1 interplayvideo.c *** interplayvideo.c 2006/01/06 05:20:09 1.1 --- interplayvideo.c 2006/01/06 05:20:34 *************** *** 846,852 **** } if ((s->stream_ptr != s->stream_end) && (s->stream_ptr + 1 != s->stream_end)) { ! av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %d bytes left over\n", s->stream_end - s->stream_ptr); } } --- 846,852 ---- } if ((s->stream_ptr != s->stream_end) && (s->stream_ptr + 1 != s->stream_end)) { ! av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %ld bytes left over\n", s->stream_end - s->stream_ptr); } } Diffs for file: libavcodec/resample2.c =================================================================== RCS file: RCS/resample2.c,v retrieving revision 1.1 diff -u -c -r1.1 resample2.c *** resample2.c 2006/01/06 05:13:34 1.1 --- resample2.c 2006/01/06 06:13:16 *************** *** 33,38 **** --- 33,42 ---- #define PHASE_MASK (PHASE_COUNT-1) #define FILTER_SHIFT 15 + /* prototypes */ + double bessel(double); + void av_build_filter(int16_t *, double, int, int, int, int); + typedef struct AVResampleContext{ short *filter_bank; int filter_length; Diffs for file: vhook/drawtext.c =================================================================== RCS file: RCS/drawtext.c,v retrieving revision 1.1 diff -u -c -r1.1 drawtext.c *** drawtext.c 2006/01/06 06:40:34 1.1 --- drawtext.c 2006/01/06 06:49:20 *************** *** 108,113 **** --- 108,117 ---- int use_kerning; } ContextInfo; + /* prototypes */ + int ParseColor(char *, unsigned char [] ); + inline void draw_glyph(AVPicture *, FT_Bitmap *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned char [], unsigned char [], int); + inline void draw_box(AVPicture *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned char []); void Release(void *ctx) { Diffs for file: vhook/ppm.c =================================================================== RCS file: RCS/ppm.c,v retrieving revision 1.1 diff -u -c -r1.1 ppm.c *** ppm.c 2006/01/06 06:37:07 1.1 --- ppm.c 2006/01/06 06:47:28 *************** *** 36,41 **** --- 36,49 ---- } rwpipe; + /* prototypes */ + rwpipe *rwpipe_open( int, char *[]); + FILE *rwpipe_reader( rwpipe * ); + FILE *rwpipe_writer( rwpipe * ); + int rwpipe_read_number( rwpipe * ); + int rwpipe_read_ppm_header( rwpipe *, int *, int * ); + void rwpipe_close( rwpipe * ); + /** Create a bidirectional pipe for the given command. */ Diffs for file: ./configure =================================================================== RCS file: RCS/configure,v retrieving revision 1.1 diff -u -c -r1.1 configure *** configure 2006/01/06 06:05:35 1.1 --- configure 2006/01/06 06:07:35 *************** *** 497,503 **** CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer" ;; *3.*) ! CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare" if test "$lshared" = no; then needmdynamicnopic="yes" fi --- 497,503 ---- CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer" ;; *3.*) ! CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith" if test "$lshared" = no; then needmdynamicnopic="yes" fi Diffs for file: ./ffmpeg.c =================================================================== RCS file: RCS/ffmpeg.c,v retrieving revision 1.1 diff -u -c -r1.1 ffmpeg.c *** ffmpeg.c 2006/01/06 05:57:29 1.1 --- ffmpeg.c 2006/01/06 06:14:03 *************** *** 294,299 **** --- 294,304 ---- /* init terminal so that we can grab keys */ static struct termios oldtty; + /* prototypes */ + void parse_matrix_coeffs(uint16_t *, const char *); + void opt_inter_matrix(const char *); + void opt_intra_matrix(const char *); + static void term_exit(void) { tcsetattr (0, TCSANOW, &oldtty); Diffs for file: ./ffserver.c =================================================================== RCS file: RCS/ffserver.c,v retrieving revision 1.1 diff -u -c -r1.1 ffserver.c *** ffserver.c 2006/01/06 06:25:17 1.1 --- ffserver.c 2006/01/06 06:26:37 *************** *** 285,290 **** --- 285,295 ---- static long cur_time; // Making this global saves on passing it around everywhere + /* prototypes */ + #ifdef CONFIG_HAVE_DLOPEN + void load_module(const char *); + #endif + static long gettime_ms(void) { struct timeval tv; Diffs for file: ./output_example.c =================================================================== RCS file: RCS/output_example.c,v retrieving revision 1.1 diff -u -c -r1.1 output_example.c *** output_example.c 2006/01/06 06:27:01 1.1 --- output_example.c 2006/01/06 06:32:15 *************** *** 47,52 **** --- 47,65 ---- int audio_outbuf_size; int audio_input_frame_size; + /* prototypes */ + AVStream *add_audio_stream(AVFormatContext *, int); + void open_audio(AVFormatContext *, AVStream *); + void get_audio_frame(int16_t *, int, int); + void write_audio_frame(AVFormatContext *, AVStream *); + void close_audio(AVFormatContext *, AVStream *); + AVStream *add_video_stream(AVFormatContext *, int); + AVFrame *alloc_picture(int, int, int); + void open_video(AVFormatContext *, AVStream *); + void fill_yuv_image(AVFrame *, int, int, int); + void write_video_frame(AVFormatContext *, AVStream *); + void close_video(AVFormatContext *, AVStream *); + /* * add an audio output stream */ From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 21:21:04 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 B472616A41F for ; Fri, 6 Jan 2006 21:21:04 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D6A43D45 for ; Fri, 6 Jan 2006 21:21:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DD32.dip.t-dialin.net [84.165.221.50]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k06LGaCL015491; Fri, 6 Jan 2006 22:16:37 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k06LKxp4044200; Fri, 6 Jan 2006 22:21:00 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Fri, 6 Jan 2006 22:20:59 +0100 From: Alexander Leidinger To: Robert Krten Message-ID: <20060106222059.651d7d8c@Magellan.Leidinger.net> In-Reply-To: <200601061807.k06I7DlW099271@amd64.ott.parse.com> References: <200601061807.k06I7DlW099271@amd64.ott.parse.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: Status of MIDI? 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: Fri, 06 Jan 2006 21:21:04 -0000 On Fri, 6 Jan 2006 13:07:13 -0500 (EST) Robert Krten wrote: > > I noticed a lot of activity in this list; can someone update me on the status of > MIDI support? I haven't seen any messages that indicate it's working yet, so > wanted to check in. > > By "Midi support" I mean the hardware 5-pin DIN connector, not using the built-in > soundcard synths... No change in the status for this. Feel free to send patches. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 22:03:27 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 22F8F16A41F for ; Fri, 6 Jan 2006 22:03:27 +0000 (GMT) (envelope-from mathew.kanner@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600EB43D80 for ; Fri, 6 Jan 2006 22:03:24 +0000 (GMT) (envelope-from mathew.kanner@gmail.com) Received: by wproxy.gmail.com with SMTP id i14so3022360wra for ; Fri, 06 Jan 2006 14:03:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:from; b=TR311NOnqG6DiOBH3qBXX+YKiEQN7viVfkOhsD37A6SWqrbNvFIFPe9cgyKHKaQa+35Shj6b+MsSju+7m/pIn9tulThsDNhSuRlk/QBhkd+bKG8Kh5MfcuMzqXhPSbBZyr/B8+UqHULwMkVKrLuqshoys1zDONmaibqhVvT2C0k= Received: by 10.54.62.17 with SMTP id k17mr5510908wra; Fri, 06 Jan 2006 14:03:22 -0800 (PST) Received: from localhost ( [24.201.154.181]) by mx.gmail.com with ESMTP id 13sm5765204wrl.2006.01.06.14.03.21; Fri, 06 Jan 2006 14:03:22 -0800 (PST) Date: Fri, 6 Jan 2006 17:04:22 -0500 To: Robert Krten Message-ID: <20060106220422.GJ43342@tube.mine.nu> References: <200601061807.k06I7DlW099271@amd64.ott.parse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200601061807.k06I7DlW099271@amd64.ott.parse.com> User-Agent: Mutt/1.4.2.1i Organization: I speak for myself, operating in Montreal, CANADA From: mat Cc: freebsd-multimedia@freebsd.org Subject: Re: Status of MIDI? 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: Fri, 06 Jan 2006 22:03:27 -0000 On Jan 06, Robert Krten wrote: > > I noticed a lot of activity in this list; can someone update me on the status of > MIDI support? I haven't seen any messages that indicate it's working yet, so > wanted to check in. > > By "Midi support" I mean the hardware 5-pin DIN connector, not using the built-in > soundcard synths... > > Specifically, I'm looking for support for this one: > > none0@pci0:10:0: class=0x040100 card=0x80011274 chip=0x13711274 rev=0x07 hdr=0x00 Chances diminish if there's no sound driver. What kind of card is it? --Mat From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 6 23:02:10 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 DC7A216A41F for ; Fri, 6 Jan 2006 23:02:10 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E0A43D45 for ; Fri, 6 Jan 2006 23:02:10 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.1/8.13.1) with ESMTP id k06N29cG003204; Fri, 6 Jan 2006 18:02:09 -0500 (EST) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.1/8.13.1/Submit) id k06N29FZ003203; Fri, 6 Jan 2006 18:02:09 -0500 (EST) (envelope-from root) From: Robert Krten Message-Id: <200601062302.k06N29FZ003203@amd64.ott.parse.com> To: mathew.kanner@gmail.com (mat) Date: Fri, 6 Jan 2006 18:02:09 -0500 (EST) In-Reply-To: <20060106220422.GJ43342@tube.mine.nu> from "mat" at Jan 06, 2006 05:04:22 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Status of MIDI? 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: Fri, 06 Jan 2006 23:02:11 -0000 mat sez... > > On Jan 06, Robert Krten wrote: > > > > I noticed a lot of activity in this list; can someone update me on the status of > > MIDI support? I haven't seen any messages that indicate it's working yet, so > > wanted to check in. > > > > By "Midi support" I mean the hardware 5-pin DIN connector, not using the built-in > > soundcard synths... > > > > Specifically, I'm looking for support for this one: > > > > none0@pci0:10:0: class=0x040100 card=0x80011274 chip=0x13711274 rev=0x07 hdr=0x00 > > Chances diminish if there's no sound driver. > What kind of card is it? Hi Mat, It's an ES137x-style card (some kind of old "soundblaster", I don't recall exactly -- I'd have to open the machine up). I had your patches from way back working on it circa 5.3i386, but haven't re-applied the patches for 6.0, hoping that it had made it into the "mainline" :-) Cheers, -RK -- Robert Krten, PARSE Software Devices +1 613 599 8316. Realtime Systems Architecture, Consulting, Books and Training at www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers! From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 03:33:57 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 397EA16A41F; Sat, 7 Jan 2006 03:33:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFA5143D46; Sat, 7 Jan 2006 03:33:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BB3511A3C1D; Fri, 6 Jan 2006 19:33:56 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 287DB51202; Fri, 6 Jan 2006 22:33:56 -0500 (EST) Date: Fri, 6 Jan 2006 22:33:55 -0500 From: Kris Kennaway To: Dieter Message-ID: <20060107033355.GA50233@xor.obsecurity.org> References: <200601062109.VAA29590@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <200601062109.VAA29590@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org, freebsd-ports@freebsd.org Subject: Re: fixes for port ffmpeg-0.4.9-pre1 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: Sat, 07 Jan 2006 03:33:57 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 06, 2006 at 01:09:10PM +0000, Dieter wrote: > Here are fixes for some of the compiler warnings. > They should help with portability between ILP32 and LP64. Patches should be submitted to the upstream authors first. Ideally they'll incorporate the patches then they'll appear in the next version of the FreeBSD port. In any event, patches sent only to mailing lists and not filed in PRs tend to get lost. Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvzaiWry0BWjoQKURAgEBAKDelSisybDNs9FT0oWWAAhcq7d/kQCg/1pW d+7j2DZKF3qrLl/JOrxmzmY= =XEcr -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 05:03:36 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 25C1916A41F; Sat, 7 Jan 2006 05:03:36 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (c-67-168-241-176.hsd1.or.comcast.net [67.168.241.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id B800643D45; Sat, 7 Jan 2006 05:03:35 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.11.6/8.11.6) with UUCP id k0753qc07740; Fri, 6 Jan 2006 21:03:52 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id FAA29605; Sat, 7 Jan 2006 05:03:03 GMT Message-Id: <200601070503.FAA29605@sopwith.solgatos.com> To: freebsd-ports@freebsd.org, freebsd-multimedia@freebsd.org Date: Fri, 06 Jan 2006 21:03:03 +0000 From: Dieter Cc: Subject: ffmpeg seg faults X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 05:03:36 -0000 FreeBSD 6.0 AMD64 port ffmpeg-0.4.9-pre1 converting mpeg2ts to dv Ffmpeg seg faults. (with or without the fixes I posted earlier today) (gdb) run -hq -async 1 -i file.mpeg2ts -padcolor 000000 -padtop 18 -padbottom 14 -padleft 26 -padright 26 -s 668x448 -r 29.97 /var/tmp/file.dv Starting program: /ro/lapp/bin/ffmpeg_g -hq -async 1 -i file.mpeg2ts -padcolor 000000 -padtop 18 -padbottom 14 -padleft 26 -padright 26 -s 668x448 -r 29.97 /var/tmp/file.dv ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Jan 6 2006 20:19:16, gcc: 3.4.4 [FreeBSD] 20050518 Input #0, mpegts, from 'file.mpeg2ts': Duration: 00:09:57.3, bitrate: 9058 kb/s Stream #0.0[0x0]: Data: mpeg2ts, 9058 kb/s Stream #0.1[0x41]: Video: mpeg2video, 704x480, 29.97 fps Stream #0.2[0x44]: Audio: ac3, 48000 Hz, stereo, 384 kb/s Output #0, dv, to '/var/tmp/file.dv': Stream #0.0: Video: dvvideo (hq), 720x480, 29.97 fps, q=2-31, 200 kb/s Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.2 -> #0.1 Press [q] to stop encoding [mpeg2video @ 0x800a440c0]ac-tex damaged at 6 7trate=28764.0kbits/s [mpeg2video @ 0x800a440c0]ac-tex damaged at 14 10 [mpeg2video @ 0x800a440c0]ac-tex damaged at 22 12 [mpeg2video @ 0x800a440c0]ac-tex damaged at 14 14 [mpeg2video @ 0x800a440c0]concealing 2147483647 errors [mpeg2video @ 0x800a440c0]Warning MVs not available [mpeg2video @ 0x800a440c0]MPEG motion vector out of boundarykbits/s [mpeg2video @ 0x800a440c0]ac-tex damaged at 12 3 [mpeg2video @ 0x800a440c0]ac-tex damaged at 0 19 [mpeg2video @ 0x800a440c0]MPEG motion vector out of boundary [mpeg2video @ 0x800a440c0]MPEG motion vector out of boundary [mpeg2video @ 0x800a440c0]00 motion_type at 7 5 Program received signal SIGSEGV, Segmentation fault. 0x00000008012af3fe in memset () from /lib/libc.so.6 (gdb) bt #0 0x00000008012af3fe in memset () from /lib/libc.so.6 #1 0x0000000800870dc7 in ff_er_add_slice () from /usr/local/lib/libavcodec.so #2 0x000000080085c1b5 in ff_mpeg1_find_frame_end () from /usr/local/lib/libavcodec.so #3 0x00000008007a7a54 in avcodec_decode_video () from /usr/local/lib/libavcodec.so #4 0x0000000000405151 in output_packet (ist=0x532100, ist_index=1, ost_table=0x706040, nb_ostreams=2, pkt=0x7fffffffe540) at ffmpeg.c:1125 #5 0x000000000040650c in av_encode (output_files=0x5108a0, nb_output_files=1, input_files=0x510760, nb_input_files=1, stream_maps=0x510940, nb_stream_maps=0) at ffmpeg.c:1833 #6 0x000000000040a678 in main (argc=0, argv=0x7fffffffeb78) at ffmpeg.c:3917 (gdb) ffmpeg.c: 1120 case CODEC_TYPE_VIDEO: 1121 data_size = (ist->st->codec.width * ist->st->codec.height * 3) / 2; 1122 /* XXX: allocate picture correctly */ 1123 avcodec_get_frame_defaults(&picture); 1124 1125 ret = avcodec_decode_video(&ist->st->codec, 1126 &picture, &got_picture, ptr, len); 1127 ist->st->quality= picture.quality; 1128 if (ret < 0) 1129 goto fail_decode; 1130 if (!got_picture) { From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 05:13:24 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1546316A420; Sat, 7 Jan 2006 05:13:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB4E43D46; Sat, 7 Jan 2006 05:13:23 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k075DNDr055886; Sat, 7 Jan 2006 05:13:23 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k075DLZp055882; Sat, 7 Jan 2006 05:13:21 GMT (envelope-from ariff) Date: Sat, 7 Jan 2006 05:13:21 GMT From: Ariff Abdullah Message-Id: <200601070513.k075DLZp055882@freefall.freebsd.org> To: hnaz@buetow.org, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/84507: [sound] fm801: Not every card supports variable rate 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: Sat, 07 Jan 2006 05:13:24 -0000 Synopsis: [sound] fm801: Not every card supports variable rate State-Changed-From-To: open->feedback State-Changed-By: ariff State-Changed-When: Sat Jan 7 05:12:17 UTC 2006 State-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=84507 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 05:31:16 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C1E616A420; Sat, 7 Jan 2006 05:31:16 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E27F043D45; Sat, 7 Jan 2006 05:31:15 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k075VFps057762; Sat, 7 Jan 2006 05:31:15 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k075VF8e057758; Sat, 7 Jan 2006 05:31:15 GMT (envelope-from ariff) Date: Sat, 7 Jan 2006 05:31:15 GMT From: Ariff Abdullah Message-Id: <200601070531.k075VF8e057758@freefall.freebsd.org> To: umeno@rr.iij4u.or.jp, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/80234: [sound] [patch] add entry for Analog Devices AD1986 AC97 Codec 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: Sat, 07 Jan 2006 05:31:16 -0000 Synopsis: [sound] [patch] add entry for Analog Devices AD1986 AC97 Codec State-Changed-From-To: open->closed State-Changed-By: ariff State-Changed-When: Sat Jan 7 05:29:35 UTC 2006 State-Changed-Why: Committed to -current, MFC later. I suggest you to open another PR for this "Line-IN/OUT" issue. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=80234 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 09:06:24 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6965616A420; Sat, 7 Jan 2006 09:06:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E83843D46; Sat, 7 Jan 2006 09:06:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0796Nuv070669; Sat, 7 Jan 2006 09:06:23 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0796Ndp070665; Sat, 7 Jan 2006 09:06:23 GMT (envelope-from ariff) Date: Sat, 7 Jan 2006 09:06:23 GMT From: Ariff Abdullah Message-Id: <200601070906.k0796Ndp070665@freefall.freebsd.org> To: essaismkl@noos.fr, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/75894: [sound] AD1981 not probing (shuttle ST62K) 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: Sat, 07 Jan 2006 09:06:24 -0000 Synopsis: [sound] AD1981 not probing (shuttle ST62K) State-Changed-From-To: open->closed State-Changed-By: ariff State-Changed-When: Sat Jan 7 09:04:24 UTC 2006 State-Changed-Why: Support for AC'97 ATI IXP has been added both in -current and RELENG_6. Please update your system or use patch available from http://people.freebsd.org/~ariff/ http://www.freebsd.org/cgi/query-pr.cgi?pr=75894 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 09:08:41 2006 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF5B516A41F; Sat, 7 Jan 2006 09:08:41 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0470943D5E; Sat, 7 Jan 2006 09:08:41 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (ariff@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0798etA070757; Sat, 7 Jan 2006 09:08:40 GMT (envelope-from ariff@freefall.freebsd.org) Received: (from ariff@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0798dd4070753; Sat, 7 Jan 2006 09:08:39 GMT (envelope-from ariff) Date: Sat, 7 Jan 2006 09:08:39 GMT From: Ariff Abdullah Message-Id: <200601070908.k0798dd4070753@freefall.freebsd.org> To: george@technet.com.br, ariff@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: kern/76918: [sound] ATI AD1981 AC'97 Audio Controller not supported under FreeBSD 5.3 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: Sat, 07 Jan 2006 09:08:42 -0000 Synopsis: [sound] ATI AD1981 AC'97 Audio Controller not supported under FreeBSD 5.3 State-Changed-From-To: open->closed State-Changed-By: ariff State-Changed-When: Sat Jan 7 09:07:37 UTC 2006 State-Changed-Why: Support for AC'97 ATI IXP has been added both in -current and RELENG_6. Please update your system or use patch available from http://people.freebsd.org/~ariff/ http://www.freebsd.org/cgi/query-pr.cgi?pr=76918 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 09:52:04 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 DCD7D16A41F; Sat, 7 Jan 2006 09:52:04 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard.mail.t-online.hu (graveyard1.mail.t-online.hu [195.228.240.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id D775143D5C; Sat, 7 Jan 2006 09:52:01 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard.mail.t-online.hu (Postfix) with ESMTP id D69F63E9C4C; Sat, 7 Jan 2006 10:51:59 +0100 (CET) Received: from [192.168.1.3] (dsl51B6CC2A.pool.t-online.hu [81.182.204.42]) by mail.t-online.hu (Postfix) with ESMTP; Sat, 7 Jan 2006 10:51:59 +0100 (CET) Message-ID: <43BF90C7.6090903@Zahemszky.HU> Date: Sat, 07 Jan 2006 10:58:31 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah , freebsd-multimedia@freebsd.org References: <43BB0835.3070508@Zahemszky.HU> <20060104201105.3af401a9.ariff@FreeBSD.org> <43BC1856.4070305@Zahemszky.HU> <20060105071318.1e3edd45.ariff@FreeBSD.org> <43BCB6A2.3060100@Zahemszky.HU> <20060105152050.61335a21.ariff@FreeBSD.org> <43BD88B2.7030701@Zahemszky.HU> <20060106074517.2308d0a7.ariff@FreeBSD.org> In-Reply-To: <20060106074517.2308d0a7.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: snd_mss problem 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: Sat, 07 Jan 2006 09:52:05 -0000 > I wonder if adding hint.pcm.1.port="0x534" in /boot/device.hints will > make any differences (or using kenv(1)). Neither kenv + kldload nor device.hints makes any difference. Lockup :-( Zahy -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 11:43:20 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 AB78916A41F for ; Sat, 7 Jan 2006 11:43:20 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9325343D49 for ; Sat, 7 Jan 2006 11:43:19 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so2319526wxc for ; Sat, 07 Jan 2006 03:43:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kRBbU7fA9CmYwToqNCYF+Y96nBqXuTfvTkAF4pxN4jAUe8+infLV16BqJbEkWknjyKWBRN4WZCIrwJrfXmrouWv8Qv09AGDaCMGtspyresokLthy6f7tK7DWzkXMBl7reer8EeWLOsTQSn5tk1nuIgRuTbpiwyCZSDrz8cxj9SM= Received: by 10.70.54.3 with SMTP id c3mr4186496wxa; Sat, 07 Jan 2006 03:43:18 -0800 (PST) Received: by 10.70.66.9 with HTTP; Sat, 7 Jan 2006 03:43:18 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2006 05:43:18 -0600 From: Nikolas Britton To: Ariff Abdullah In-Reply-To: <20060107000044.107d04ca.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> <20060107000044.107d04ca.ariff@FreeBSD.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Sat, 07 Jan 2006 11:43:20 -0000 On 1/6/06, Ariff Abdullah wrote: > On Fri, 6 Jan 2006 08:24:02 -0600 > Nikolas Britton wrote: > > > > Thanks for your quick reply. I tried the above and playback is still > > fast, changing it to any number doesn't seem to do anything. I also > > cannot set it with loader.conf. I have to do it manually after the > > system is loaded, Is this normal? Here is what I have in > > loader.conf: > > > > sound_load=3D"YES" > > snd_ich_load=3D"YES" > > hw.snd.pcm0.ac97rate=3D48000 > > hw.snd.ac97rate=3D48000 > > hint.pcm.0.ac97rate=3D"48000" > > hw.snd.maxautovchans=3D4 > > Put hw.* into /etc/sysctl.conf. > > Ok, since you said none of it works, how about this: > > # kldunload snd_ich > # kenv hint.pcm.0.vchanrate=3D48000 > # kldload snd_ich > # sysctl hw.snd.maxautovchans=3D4 > > Note: 1) anything that begin with hw.* should go into /etc/sysctl.conf > 2) anything that begin with hint.* should go into > /boot/device.hints > > Problem solved, solution: /etc/sysctl.conf: hw.snd.pcm0.ac97rate=3D56250 Turns out ac97rate was the problem but it needed to be bumped up, not down. I found two main threads and a PR with the same problem: May 2002, fast playback with Intel 82801BA (ICH2): http://groups.google.com/group/sol.lists.freebsd.multimedia/browse_thread/t= hread/799ffc490546679e/ Feb 2003, Hyperactive ICH2 sound (with workaround): http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread= /f1017788cd486d50/ kern/31521 : [sound] pcm0 plays too fast on Intel 82801BA (ICH2): http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/31521 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 12:24:12 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 A99E616A420 for ; Sat, 7 Jan 2006 12:24:12 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56DD243D46; Sat, 7 Jan 2006 12:24:12 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k07CO93Y083159; Sat, 7 Jan 2006 12:24:11 GMT (envelope-from ariff@FreeBSD.org) Date: Sat, 7 Jan 2006 20:24:06 +0800 From: Ariff Abdullah To: Nikolas Britton Message-Id: <20060107202406.67bd8ac2.ariff@FreeBSD.org> In-Reply-To: References: <20060106210703.5a6bc4d6.ariff@FreeBSD.org> <20060107000044.107d04ca.ariff@FreeBSD.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__7_Jan_2006_20_24_06_+0800_mL.brBz3EPID.T2R" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Audio playing fast on 6.x (Looking for Ariff Abdullah) 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: Sat, 07 Jan 2006 12:24:12 -0000 --Signature=_Sat__7_Jan_2006_20_24_06_+0800_mL.brBz3EPID.T2R Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 7 Jan 2006 05:43:18 -0600 Nikolas Britton wrote: >=20 > Problem solved, solution: >=20 > /etc/sysctl.conf: > hw.snd.pcm0.ac97rate=3D56250 >=20 > Turns out ac97rate was the problem but it needed to be bumped up, > not down. I found two main threads and a PR with the same problem: >=20 > May 2002, fast playback with Intel 82801BA (ICH2): > http://groups.google.com/group/sol.lists.freebsd.multimedia/browse_thread= /thread/799ffc490546679e/ >=20 > Feb 2003, Hyperactive ICH2 sound (with workaround): > http://groups.google.com/group/mailing.freebsd.current/browse_thread/thre= ad/f1017788cd486d50/ >=20 > kern/31521 : [sound] pcm0 plays too fast on Intel 82801BA (ICH2): > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/31521 > Please give this a try. Replace your sys/dev/sound/pci/ich.c with: http://people.freebsd.org/~ariff/test/ich.c -- Ariff Abdullah FreeBSD --Signature=_Sat__7_Jan_2006_20_24_06_+0800_mL.brBz3EPID.T2R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDv7Lplr+deMUwTNoRApvjAJwKuZxO/5nlpNxY9E2NPvJjk0LArQCg0BQ8 9UOennEjxX+etpK+6kkDHNU= =diQP -----END PGP SIGNATURE----- --Signature=_Sat__7_Jan_2006_20_24_06_+0800_mL.brBz3EPID.T2R-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 12:58:00 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 DE35116A41F for ; Sat, 7 Jan 2006 12:58:00 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8717C43D5A for ; Sat, 7 Jan 2006 12:57:58 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so2323807wxc for ; Sat, 07 Jan 2006 04:57:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y3EogKTpn6TRAWE+LiExiZFMuVqqCp588I8TntbyzPFkUUJ5E6jl381ZqLirkToGaqWNCaggkBbJA/4x3fnrD57NFW0IEB3Bl83JH055IYOd4arkk1mCgYv9ah0MPiXcSBUbfI7eirSk0ALoNfNrad+wCeTb1vmzSLcwgSdaLBQ= Received: by 10.70.76.6 with SMTP id y6mr1535469wxa; Sat, 07 Jan 2006 04:57:57 -0800 (PST) Received: by 10.70.66.9 with HTTP; Sat, 7 Jan 2006 04:57:57 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2006 06:57:57 -0600 From: Nikolas Britton To: freebsd-advocacy@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-user-groups@freebsd.org, freebsd-doc@freebsd.org, freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-chat@freebsd.org, freebsd-questions@freebsd.org Subject: Signatures needed, petition for native Flash player. 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: Sat, 07 Jan 2006 12:58:01 -0000 Hello all, I need everyone on the lists to go sign the petition for Macromedia to make a FreeBSD native version of their Flash player. I also need everyone to help spread the word so we can get more sigs. http://www.petitiononline.com/flash4me/petition.html Discussion of this topic should take place on the freebsd-advocacy mailing list, please don't cross-post: http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy Thank you. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 13:32:09 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 5FA6E16A41F for ; Sat, 7 Jan 2006 13:32:09 +0000 (GMT) (envelope-from nemeths@for.mat.bham.ac.uk) Received: from sun13.bham.ac.uk (sun13.bham.ac.uk [147.188.128.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2336D43D49 for ; Sat, 7 Jan 2006 13:32:07 +0000 (GMT) (envelope-from nemeths@for.mat.bham.ac.uk) Received: from [147.188.128.127] (helo=bham.ac.uk) by sun13.bham.ac.uk with esmtp (Exim 4.10) id 1EvEAw-0003kc-00 for freebsd-multimedia@freebsd.org; Sat, 07 Jan 2006 13:32:06 +0000 Received: from for.mat.bham.ac.uk ([147.188.56.59]) by bham.ac.uk with esmtp (Exim 4.43) id 1EvEAw-000379-NF for freebsd-multimedia@freebsd.org; Sat, 07 Jan 2006 13:32:06 +0000 Received: from bab.mat.bham.ac.uk by for.mat.bham.ac.uk (8.8.8+Sun/SMI-SVR4) id NAA08169; Sat, 7 Jan 2006 13:32:05 GMT Received: from localhost (nemeths@localhost) by bab.mat.bham.ac.uk (8.8.8p2+Sun/8.8.8) with ESMTP id NAA21734 for ; Sat, 7 Jan 2006 13:32:05 GMT X-Authentication-Warning: babbage.bham.ac.uk: nemeths owned process doing -bs Date: Sat, 7 Jan 2006 13:32:04 +0000 (GMT) From: Sandor Z Nemeth X-Sender: nemeths@babbage.bham.ac.uk To: freebsd-multimedia@freebsd.org In-Reply-To: <20051212.154911.343146196.kazuhito@ph.noda.tus.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BHAM-CUBE-wlist: LOCAL for.mat.bham.ac.uk X-BHAM-CUBE-processed: yes Subject: xsane as user 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: Sat, 07 Jan 2006 13:32:09 -0000 Hi, Can anybody tell me what should I do to use xsane as a simple user? Thank you very much, Sandor -------------------------------------------------------- Dr Sandor Zoltan Nemeth Lecturer -------------------------------------------------------- School of Mathematics The University of Birmingham Watson Building Edgbaston B15 2TT Birmingham United Kingdom Phone: +44-121-414-6404 Fax: +44-121-414-3389 -------------------------------------------------------- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 13:43:56 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 671AC16A41F for ; Sat, 7 Jan 2006 13:43:56 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: from web30307.mail.mud.yahoo.com (web30307.mail.mud.yahoo.com [68.142.200.100]) by mx1.FreeBSD.org (Postfix) with SMTP id E44FA43D46 for ; Sat, 7 Jan 2006 13:43:55 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 85607 invoked by uid 60001); 7 Jan 2006 13:43:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SAPIMN0ac8ikWipBxaipsqoWldu6assme1NjiGMebeO/r/QJ3FARaqVtYOyizN1A5NoRLZrE3L7yXHcunwZVKVU2+njrfY2MU4TG6FqEBagvvGu1SG/AW+QUrBlCKOvRjxWF3I3zCTlanwsW6XvyiS350Se/5++MnWXBeNzS19k= ; Message-ID: <20060107134355.85605.qmail@web30307.mail.mud.yahoo.com> Received: from [213.54.77.48] by web30307.mail.mud.yahoo.com via HTTP; Sat, 07 Jan 2006 05:43:55 PST Date: Sat, 7 Jan 2006 05:43:55 -0800 (PST) From: Arne Woerner To: Sandor Z Nemeth , freebsd-multimedia@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: xsane as user 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: Sat, 07 Jan 2006 13:43:56 -0000 --- Sandor Z Nemeth wrote: > Can anybody tell me what should I do to use > xsane as a simple user? > Hi! In my box it helped, to set the permissions of the scanner device more liberal: E. g.: As root: # chmod 666 /dev/uscanner0 U can do that automatically via the devd.conf(5) and devfs.conf(5). % cat /etc/devfs.conf perm uscanner0 0664 % cat /etc/devd.conf options { pid-file "/var/run/devd.pid"; }; attach 10 { device-name "uscanner0"; action "/etc/rc.d/devfs start"; }; I hope, I understood the question correctly... Bye Arne __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 14:47:35 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 D55FD16A41F for ; Sat, 7 Jan 2006 14:47:35 +0000 (GMT) (envelope-from nemeths@for.mat.bham.ac.uk) Received: from sun13.bham.ac.uk (sun13.bham.ac.uk [147.188.128.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40B9D43D45 for ; Sat, 7 Jan 2006 14:47:35 +0000 (GMT) (envelope-from nemeths@for.mat.bham.ac.uk) Received: from [147.188.128.127] (helo=bham.ac.uk) by sun13.bham.ac.uk with esmtp (Exim 4.10) id 1EvFLy-0004db-00; Sat, 07 Jan 2006 14:47:34 +0000 Received: from for.mat.bham.ac.uk ([147.188.56.59]) by bham.ac.uk with esmtp (Exim 4.43) id 1EvFLy-0004L6-Gn; Sat, 07 Jan 2006 14:47:34 +0000 Received: from bab.mat.bham.ac.uk by for.mat.bham.ac.uk (8.8.8+Sun/SMI-SVR4) id OAA08805; Sat, 7 Jan 2006 14:47:33 GMT Received: from localhost (nemeths@localhost) by bab.mat.bham.ac.uk (8.8.8p2+Sun/8.8.8) with ESMTP id OAA22270; Sat, 7 Jan 2006 14:47:32 GMT X-Authentication-Warning: babbage.bham.ac.uk: nemeths owned process doing -bs Date: Sat, 7 Jan 2006 14:47:32 +0000 (GMT) From: Sandor Z Nemeth X-Sender: nemeths@babbage.bham.ac.uk To: Arne Woerner In-Reply-To: <20060107134355.85605.qmail@web30307.mail.mud.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-BHAM-CUBE-wlist: LOCAL for.mat.bham.ac.uk X-BHAM-CUBE-processed: yes Cc: freebsd-multimedia@freebsd.org Subject: Re: xsane as user 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: Sat, 07 Jan 2006 14:47:35 -0000 Thank you very much for your kind help. It works! Best regards, Sandor -------------------------------------------------------- Dr Sandor Zoltan Nemeth Lecturer -------------------------------------------------------- School of Mathematics The University of Birmingham Watson Building Edgbaston B15 2TT Birmingham United Kingdom Phone: +44-121-414-6404 Fax: +44-121-414-3389 -------------------------------------------------------- On Sat, 7 Jan 2006, Arne Woerner wrote: > --- Sandor Z Nemeth wrote: > > Can anybody tell me what should I do to use > > xsane as a simple user? > >=20 > Hi! >=20 > In my box it helped, to set the permissions of the scanner device > more liberal: >=20 > E. g.: As root: > # chmod 666 /dev/uscanner0 >=20 > U can do that automatically via the devd.conf(5) and > devfs.conf(5). >=20 > % cat /etc/devfs.conf=20 > perm uscanner0 0664 >=20 > % cat /etc/devd.conf=20 > options { > pid-file "/var/run/devd.pid"; > }; > attach 10 { > device-name "uscanner0"; > action "/etc/rc.d/devfs start"; > }; >=20 >=20 >=20 > I hope, I understood the question correctly... >=20 > Bye > Arne >=20 >=20 > =09=09 > __________________________________________=20 > Yahoo! DSL =96 Something to write home about.=20 > Just $16.99/mo. or less.=20 > dsl.yahoo.com=20 >=20 >=20 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 16:11:17 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 0FE6A16A41F for ; Sat, 7 Jan 2006 16:11:17 +0000 (GMT) (envelope-from SRS0=zaS+=3D=FreeBSD.org=se@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5826E43D46 for ; Sat, 7 Jan 2006 16:11:15 +0000 (GMT) (envelope-from SRS0=zaS+=3D=FreeBSD.org=se@srs.kundenserver.de) Received: from [80.135.135.52] (helo=Gatekeeper.FreeBSD.org) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1EvGev0fr2-0000do; Sat, 07 Jan 2006 17:11:13 +0100 Received: from StefanEsser.FreeBSD.org (se [192.168.0.10]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id 54609B814; Sat, 7 Jan 2006 17:11:12 +0100 (CET) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id 8EC2A2301; Sat, 7 Jan 2006 17:11:11 +0100 (CET) Date: Sat, 7 Jan 2006 17:11:11 +0100 From: Stefan =?iso-8859-1?Q?E=DFer?= To: Arne Woerner Message-ID: <20060107161111.GA42739@StefanEsser.FreeBSD.org> Mail-Followup-To: Stefan =?iso-8859-1?Q?E=DFer?= , Arne Woerner , Sandor Z Nemeth , freebsd-multimedia@freebsd.org References: <20060107134355.85605.qmail@web30307.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060107134355.85605.qmail@web30307.mail.mud.yahoo.com> User-Agent: Mutt/1.5.11 X-Provags-ID: kundenserver.de abuse@kundenserver.de login:fa3fae9b6ca38d745862a668565919f6 Cc: freebsd-multimedia@freebsd.org Subject: Re: xsane as user 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: Sat, 07 Jan 2006 16:11:17 -0000 On 2006-01-07 05:43 -0800, Arne Woerner wrote: > U can do that automatically via the devd.conf(5) and > devfs.conf(5). > > % cat /etc/devfs.conf > perm uscanner0 0664 Hmmm, why 0664? Either grant access to anybody or RW-Access to owner and group (root:operator). perm uscanner0 660 > % cat /etc/devd.conf > options { > pid-file "/var/run/devd.pid"; > }; > attach 10 { > device-name "uscanner0"; > action "/etc/rc.d/devfs start"; > }; Interesting idea to apply devfs rules from devd ... But the following does work as well and is a less heavy weight solution: # The entry below grants group operator access when a scanner is plugged in. attach 100 { device-name "uscanner[0-9]+"; action "chmod 660 /dev/$device-name"; }; In fact, the default permissions of uscanner devices might be too strict and the best fix might be to have the mode default to 0660 (root:operator). Regards, STefan From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 16:36:44 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 8641216A41F for ; Sat, 7 Jan 2006 16:36:44 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: from web30310.mail.mud.yahoo.com (web30310.mail.mud.yahoo.com [68.142.200.103]) by mx1.FreeBSD.org (Postfix) with SMTP id BFAEE43D48 for ; Sat, 7 Jan 2006 16:36:43 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 12203 invoked by uid 60001); 7 Jan 2006 16:36:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UwhzPQr4HtG1XL2/Kj358Rpg3xrZNYnMaciV9PNImA2/E1ho4gC6S6i4EN0AfovnHiFPV9vr7WQ33L5exVzjDG0oKuUGtxRPzcpZpmulKPjm4oLQFug3tmCsaaw8dHzw2QrRqW9WVhsT5PDG7A1ydBaUhQwq5LW8elUwC7rUy58= ; Message-ID: <20060107163643.12201.qmail@web30310.mail.mud.yahoo.com> Received: from [213.54.77.48] by web30310.mail.mud.yahoo.com via HTTP; Sat, 07 Jan 2006 08:36:43 PST Date: Sat, 7 Jan 2006 08:36:43 -0800 (PST) From: Arne Woerner To: Stefan "Eßer" In-Reply-To: <20060107161111.GA42739@StefanEsser.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: xsane as user 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: Sat, 07 Jan 2006 16:36:44 -0000 --- Stefan Eßer wrote: > > % cat /etc/devfs.conf > > perm uscanner0 0664 > > Hmmm, why 0664? > Oh... I put myself into the operator group... I saw that too late... I hope my example still clear enough... It should have been 0666 there too. > Interesting idea to apply devfs rules from > devd ... > I did not know, what devfs is good for, so I put it into devd so that it makes sense in my setting (when I unplugged the scanner the devfs settings were lost after I re-plugged the scanner). > attach 100 { > device-name "uscanner[0-9]+"; > action "chmod 660 /dev/$device-name"; > }; > This creates uncontrolled redundancy, because then I have the perms set in devfs.conf and in devd.conf... I haven't understood the devfs/devd idea completely... :-) -Arne __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 18:37:59 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 C891A16A41F for ; Sat, 7 Jan 2006 18:37:59 +0000 (GMT) (envelope-from SRS0=zaS+=3D=FreeBSD.org=se@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0728A43D46 for ; Sat, 7 Jan 2006 18:37:58 +0000 (GMT) (envelope-from SRS0=zaS+=3D=FreeBSD.org=se@srs.kundenserver.de) Received: from [80.135.135.52] (helo=Gatekeeper.FreeBSD.org) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1EvIwp2Bpz-00053X; Sat, 07 Jan 2006 19:37:51 +0100 Received: from StefanEsser.FreeBSD.org (se [192.168.0.10]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id 7C116B814; Sat, 7 Jan 2006 19:37:50 +0100 (CET) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id AF3252301; Sat, 7 Jan 2006 19:37:49 +0100 (CET) Date: Sat, 7 Jan 2006 19:37:49 +0100 From: Stefan =?iso-8859-1?Q?E=DFer?= To: Arne Woerner Message-ID: <20060107183749.GA83273@StefanEsser.FreeBSD.org> Mail-Followup-To: Stefan =?iso-8859-1?Q?E=DFer?= , Arne Woerner , Sandor Z Nemeth , freebsd-multimedia@freebsd.org References: <20060107161111.GA42739@StefanEsser.FreeBSD.org> <20060107163643.12201.qmail@web30310.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060107163643.12201.qmail@web30310.mail.mud.yahoo.com> User-Agent: Mutt/1.5.11 X-Provags-ID: kundenserver.de abuse@kundenserver.de login:fa3fae9b6ca38d745862a668565919f6 Cc: freebsd-multimedia@freebsd.org Subject: Re: xsane as user 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: Sat, 07 Jan 2006 18:38:00 -0000 On 2006-01-07 08:36 -0800, Arne Woerner wrote: > --- Stefan Eßer wrote: > > > % cat /etc/devfs.conf > > > perm uscanner0 0664 > > > > Hmmm, why 0664? > > > Oh... I put myself into the operator group... Yes, that's what I propose, too. Then 0660 is sufficient. > I saw that too late... I hope my example still clear enough... It > should have been 0666 there too. That allows any user (i.e. any process on the system) to access the scanner and thus documents on it. Depends on the confidentiality of those documents whether that's acceptable ;-) > > Interesting idea to apply devfs rules from > > devd ... > > > I did not know, what devfs is good for, so I put it into devd so > that it makes sense in my setting (when I unplugged the scanner > the devfs settings were lost after I re-plugged the scanner). > > > attach 100 { > > device-name "uscanner[0-9]+"; > > action "chmod 660 /dev/$device-name"; > > }; > > > This creates uncontrolled redundancy, because then I have the > perms set in devfs.conf and in devd.conf... Correct. These two files serve different purposes, but there has been some discussion about this topic recently. As of now, devfs.conf is used to specify the initial state of the device nodes created in /dev. When there was a /dev on the root file system, ownership and permissions were persistent, and you could have alias names for devices by creating symbolic links in /dev. To reconstruct a sane initial state (if the compiled in default permissions are in the kernel are not considered appropriate), the commands in devfs.conf are executed when going multi-user (via /etc/rc.d/devfs). > I haven't understood the devfs/devd idea completely... :-) The devd process waits for changes in the device setup (e.g. when a removable device is attached or detached) and executes the commands specific to that device in devd.conf. If the scanner is connected to a running system, there will be a new uscanner device node (e.g. /dev/uscanner0), and devd can not only set the permissions but could execute any arbitrary command with sensible parameters (e.g. the device name can be passed). Executing /etc/rc.d/devfs from within devd is possible, but may have side effects (the initial settings are applied to all devices, though some may have been modified in between and should not beb reset). Besides, running this startup script is more effort than just calling chmod with the device node as a parameter. For that reason, the devd.conf line I sent in my previous mail does just what's needed (adjusts the permissions) without the danger of side effects on other devices and I'd suggest to switch over to using it ;-) Regards, STefan From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 19:47:15 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 E78EB16A432; Sat, 7 Jan 2006 19:47:15 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37A6B43D49; Sat, 7 Jan 2006 19:47:15 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E979.dip.t-dialin.net [84.165.233.121]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k07JgZfe025594; Sat, 7 Jan 2006 20:42:37 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k07JlAgh020918; Sat, 7 Jan 2006 20:47:10 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 7 Jan 2006 20:47:10 +0100 From: Alexander Leidinger To: Stefan =?UTF-8?B?RcOfZXI=?= Message-ID: <20060107204710.0958907d@Magellan.Leidinger.net> In-Reply-To: <20060107183749.GA83273@StefanEsser.FreeBSD.org> References: <20060107161111.GA42739@StefanEsser.FreeBSD.org> <20060107163643.12201.qmail@web30310.mail.mud.yahoo.com> <20060107183749.GA83273@StefanEsser.FreeBSD.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org Subject: Re: xsane as user 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: Sat, 07 Jan 2006 19:47:16 -0000 On Sat, 7 Jan 2006 19:37:49 +0100 Stefan Eßer wrote: > As of now, devfs.conf is used to specify the initial state of the > device nodes created in /dev. When there was a /dev on the root > file system, ownership and permissions were persistent, and you > could have alias names for devices by creating symbolic links in > /dev. There's another method of having some kind of persistent permissions... /etc/devfs.rules. Have a look at devfs(8). This is different from /etc/rc.d/devfs, since rc.d/devfs does everything by hand, whereas devfs(8) puts some rules into the kernel. Bye, Alexander. -- Weird enough for government work. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 7 23:10:05 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 7587916A41F; Sat, 7 Jan 2006 23:10:05 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard.mail.t-online.hu (graveyard1.mail.t-online.hu [195.228.240.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 075A643D55; Sat, 7 Jan 2006 23:10:04 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard.mail.t-online.hu (Postfix) with ESMTP id C4A363E489E; Sun, 8 Jan 2006 00:10:00 +0100 (CET) Received: from [192.168.1.2] (dsl51B68277.pool.t-online.hu [81.182.130.119]) by mail.t-online.hu (Postfix) with ESMTP; Sun, 8 Jan 2006 00:10:00 +0100 (CET) Message-ID: <43C04BCE.2000806@Zahemszky.HU> Date: Sun, 08 Jan 2006 00:16:30 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lioux@FreeBSD.org, freebsd-multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: errors is multimedia/qvamps ports 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: Sat, 07 Jan 2006 23:10:05 -0000 Hi! In a little test of multimedia/qvamps, I've found the next few bugs: a) in the configuration option Settings/Menu preferences/Command to create NTSC video there is an incorrect parameter to the ppmtoy4m command: the default is ... -S 420_mpeg2 ... - but the correct form (at least in FreeBSD6) is -S 420mpeg - without the underscore b) the same error is in the Command to create PAL video, and of course is the same correction: s/420_mpeg2/420mpeg2/ c) in the configuration option Settings/DVD Authoring/Burn command the burning is with the cdrecord-ProDVD command, in this way: s=`mkisofs -dvd-video -quiet -print-size %i`; mkisofs -dvd-video -V "%v" %i | cdrecord dev=%d speed=%s driveropts=burnfree fs=16M tsize=${s}s -dao -v - but the "default" (from ports or packages) DVD-recording program in FreeBSD - as you know it - is the growisofs command from sysutils/dvd+rw-tools. So it would be better to use it as the default burner command, like this: s=`mkisofs -dvd-video -quiet -print-size %i`; mkisofs -dvd-video -V "%v" %i | growisofs -Z %d=/dev/fd/0 -speed=%s -use-the-force-luke=tracksize:${s} -use-the-force-luke=notray -use-the-force-luke=tty -dvd-video -dvd-compat So change cdrecord to the corresponding growisofs command (and options). Bye, Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"