From owner-freebsd-multimedia@FreeBSD.ORG Sun May 29 10:58:38 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9AA316A41C; Sun, 29 May 2005 10:58:38 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4742543D1F; Sun, 29 May 2005 10:58:37 +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 5F8B36CC2A; Sun, 29 May 2005 19:01:06 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50701-03; Sun, 29 May 2005 19:01:05 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.49.36.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 5FCBB6CC27; Sun, 29 May 2005 19:01:04 +0800 (MYT) Date: Sun, 29 May 2005 18:58:36 +0800 From: Ariff Abdullah To: Tomas Pluskal Message-Id: <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> In-Reply-To: <20050528181532.U1057@localhost> References: <20050528181532.U1057@localhost> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sound module unload panic 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, 29 May 2005 10:58:38 -0000 On Sat, 28 May 2005 18:18:41 +0200 (CEST) Tomas Pluskal wrote: > > Hello, > > I'm using 5-STABLE and it panics when I try to unload the sound > module (for Sound Blaster PCI 128). > > # kldunload es_137x.ko > pcm0: unregister: mixer busy > kldunload: can't unload file: Device busy > > > when I do that once more: > > # kldunload es_137x.ko > WARNING: Driver mistake: destroy_dev on 30/3 > panic: don't do that > > > My complete dmesg is here: http://plusik.pohoda.cz/dmesg > > Tomas http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ at least, apply mixer.c.diff and sound.c.diff -- 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 Sun May 29 15:48:26 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE9616A41F for ; Sun, 29 May 2005 15:48:26 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A4143D49 for ; Sun, 29 May 2005 15:48:25 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan3.cc.mcgill.ca (mailscan3.CC.McGill.CA [132.216.77.250]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j4TFmOd0014383; Sun, 29 May 2005 11:48:24 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan3.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j4TFmHuI024655; Sun, 29 May 2005 11:48:17 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j4TFmGkP020127; Sun, 29 May 2005 11:48:16 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j4TFmGf4022000; Sun, 29 May 2005 11:48:16 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j4TFmFc4021999; Sun, 29 May 2005 11:48:15 -0400 Date: Sun, 29 May 2005 11:48:14 -0400 From: Mathew Kanner To: Ariff Abdullah Message-ID: <20050529154814.GB23457@cnd.mcgill.ca> References: <20050528181532.U1057@localhost> <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, Tomas Pluskal Subject: Re: sound module unload panic 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, 29 May 2005 15:48:26 -0000 On May 29, Ariff Abdullah wrote: > > Tomas > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > at least, apply mixer.c.diff and sound.c.diff [dropped -stable] Hi, Wow, you have a lot of great patches there. What's the story behind them? What branches do they apply to? --Mat From owner-freebsd-multimedia@FreeBSD.ORG Sun May 29 17:58:17 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E186116A41C for ; Sun, 29 May 2005 17:58:17 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB9F43D1F for ; Sun, 29 May 2005 17:58:12 +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 C09076CC25; Mon, 30 May 2005 02:00:44 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51571-05; Mon, 30 May 2005 02:00:43 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.49.36.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 279376CC24; Mon, 30 May 2005 02:00:42 +0800 (MYT) Date: Mon, 30 May 2005 01:58:14 +0800 From: Ariff Abdullah To: Mathew Kanner Message-Id: <20050530015814.3ecbd51e.skywizard@MyBSD.org.my> In-Reply-To: <20050529154814.GB23457@cnd.mcgill.ca> References: <20050528181532.U1057@localhost> <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> <20050529154814.GB23457@cnd.mcgill.ca> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: sound module unload panic 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, 29 May 2005 17:58:18 -0000 On Sun, 29 May 2005 11:48:14 -0400 Mathew Kanner wrote: > On May 29, Ariff Abdullah wrote: > > > Tomas > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > > > at least, apply mixer.c.diff and sound.c.diff > > [dropped -stable] > > Hi, > Wow, you have a lot of great patches there. What's the story > behind them? What branches do they apply to? > --Mat kernel panic fix, ac97 anomalies (especially fixed rate vs vchan issue), mpsafe. Can be applied cleanly against RELENG_5, need a little bit attention on current because some of the fixes already committed there. Somebody should commit it, after throroughly tested, I guess :) sigh.. ac97.. nurturing it makes me crazy.. -- 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 May 30 03:24:29 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8D916A41C for ; Mon, 30 May 2005 03:24:29 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9F2543D48 for ; Mon, 30 May 2005 03:24:28 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 10876, pid: 10877, t: 1.0267s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 30 May 2005 03:21:54 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j4U3M3K1001562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 May 2005 12:22:03 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j4U3M24t001561; Mon, 30 May 2005 12:22:02 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Mon, 30 May 2005 12:22:02 +0900 From: Pyun YongHyeon To: Panagiotis Astithas Message-ID: <20050530032202.GC892@rndsoft.co.kr> References: <4298F0AB.2090404@ebs.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4298F0AB.2090404@ebs.gr> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: freebsd-multimedia@freebsd.org Subject: Re: maestro3 hardware volume control X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 03:24:29 -0000 On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > Weird, on my HP Omnibook XE3, the on-board maestro3 has been working > flawlessly all along without any entry in /boot/device.hints. If I add: > hint.pcm.0.hwvol_config="0" > then the hardware volume controls on the laptop stop functioning. > Setting it to "1" makes it working again. > Hmm, I didn't know that due to a comment in the driver and failure on my laptops. > Does that mean that GPIO pin 4,5 was selected as the default by some > other means on my system? Could ACPI be doing it? > > I guess your system use GD pins to control hardware volume. Stock maestro3 driver uses hint.pcm.0.hwvol_config="0" : select GPIO pin hint.pcm.0.hwvol_config="1" : select GD pin (This is reverse of my previous posting, sorry, I'm confused.) If there is no hint then it will use GD pin. Having a quirk table for sytems would be better solution. But it's hard to build a complete table for this. Since there is a system that works with current driver's behavior it would be useless to change default to use GD pin. I can live with the hint mechanism. However the drawback is the hint mechanism works only at boot time for staticlly linked driver, so it's not apply to dynamically loaded driver. :-( -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 03:25:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1DD516A41C for ; Mon, 30 May 2005 03:25:24 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5758843D48 for ; Mon, 30 May 2005 03:25:24 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 10885, pid: 10886, t: 1.1565s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 30 May 2005 03:22:50 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j4U3Mxql001574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 May 2005 12:22:59 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j4U3Mxw6001573; Mon, 30 May 2005 12:22:59 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Mon, 30 May 2005 12:22:58 +0900 From: Pyun YongHyeon To: Scott Long Message-ID: <20050530032258.GD892@rndsoft.co.kr> References: <20050527062200.GA17663@rndsoft.co.kr> <4297382A.3060505@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4297382A.3060505@samsco.org> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: freebsd-multimedia@freebsd.org Subject: Re: maestro3 hardware volume control X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 03:25:25 -0000 On Fri, May 27, 2005 at 09:09:30AM -0600, Scott Long wrote: > Pyun YongHyeon wrote: > >Hi, > > > >I noticed hardware volume control of maestro3 didn't work. With > >small patch it worked on my system(Gateway Solo 5300). > > > >Hardware volume control of maestro3 can be configured with two > >different control pins. Unfortunately it seems that it's hard to > >know which control pin was wired to control the volume. > >At present maestro3 provides a way via hint file to select one of > >the two configurations. > > > >hint.pcm.0.hwvol_config="0" : select GD(game port interface) pin 6, 7 > >hint.pcm.0.hwvol_config="1" : select GPIO pin 4,5 > >If there is no hint the driver select GD pin 6, 7. > > > >In my system selecting GD pins didn't work and a comment at the > >beginning of the driver source indicates it didn't ever work. So I'd > >like to change to select GPIO pins as a default hardware volume > >control. For users needs to select GD pins it could be easily done > >with hint.pcm.0.hwvol_config="0" in /boot/device.hints file. > >But I think there are no such users since device.hints file had no > >such entry. > > > > I believe that the source comment was out of date. It certainly worked Thanks for clarifying that. > when I wrote the code (see rev 1.11). However, you're doing a much > better job of maintaining this driver than I, so you're welcome to > change it as you see fit. Make sure that it gets documented, though. > Since there are systems that work with current driver's behavior I wouldn't change the driver. But I'll update document. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 03:53:10 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC8416A41C for ; Mon, 30 May 2005 03:53:10 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F6043D1D for ; Mon, 30 May 2005 03:53:08 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j4U40MQF001390; Sun, 29 May 2005 22:00:23 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <429A8DE9.10702@samsco.org> Date: Sun, 29 May 2005 21:52:09 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: yongari@rndsoft.co.kr References: <4298F0AB.2090404@ebs.gr> <20050530032202.GC892@rndsoft.co.kr> In-Reply-To: <20050530032202.GC892@rndsoft.co.kr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, Panagiotis Astithas Subject: Re: maestro3 hardware volume control 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, 30 May 2005 03:53:10 -0000 Pyun YongHyeon wrote: > On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > > Weird, on my HP Omnibook XE3, the on-board maestro3 has been working > > flawlessly all along without any entry in /boot/device.hints. If I add: > > hint.pcm.0.hwvol_config="0" > > then the hardware volume controls on the laptop stop functioning. > > Setting it to "1" makes it working again. > > > Hmm, I didn't know that due to a comment in the driver and > failure on my laptops. > > > Does that mean that GPIO pin 4,5 was selected as the default by some > > other means on my system? Could ACPI be doing it? > > > > > I guess your system use GD pins to control hardware volume. > Stock maestro3 driver uses > > hint.pcm.0.hwvol_config="0" : select GPIO pin > hint.pcm.0.hwvol_config="1" : select GD pin > (This is reverse of my previous posting, sorry, I'm confused.) > If there is no hint then it will use GD pin. > > Having a quirk table for sytems would be better solution. > But it's hard to build a complete table for this. Since there is > a system that works with current driver's behavior it would be > useless to change default to use GD pin. I can live with the hint > mechanism. However the drawback is the hint mechanism works only > at boot time for staticlly linked driver, so it's not apply to > dynamically loaded driver. :-( > It might be possible to examine the system SMBIOS table for the make and model of the system and use them as keys for a quirk table. Of course it will only work for systems like laptops that have the M3 or A1 chip embedded. sigh. I think that this all works in the Windows world because the hardware maker provides a driver that is customized appropriately. Scott From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 12:29:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC5DC16A41C for ; Mon, 30 May 2005 12:29:12 +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 4D02343D49 for ; Mon, 30 May 2005 12:29:11 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 21986 invoked from network); 30 May 2005 12:29:11 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 30 May 2005 12:29:11 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Mon, 30 May 2005 05:29:10 PDT (sender jakemsr@puff.jakemsr.gom) Date: Mon, 30 May 2005 05:29:10 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20050530122910.GA18122@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <6f896f9a0505150908491d050c@mail.gmail.com> <1116177649.1681.9.camel@maarten> <6f896f9a050515105477a00bb2@mail.gmail.com> <6f896f9a05051511244c2e2cb@mail.gmail.com> <20050515215326.GC22573@puff.jakemsr.gom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050515215326.GC22573@puff.jakemsr.gom> User-Agent: Mutt/1.4.2i Subject: Re: Fwd: Getting bt878 tuner card to work 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, 30 May 2005 12:29:12 -0000 On Sun, May 15, 2005 at 02:53:26PM -0700, Jacob Meuser wrote: > if you want, you can port my bktr tools to FreeBSD -> > http://www.jakemsr.com/bsdav/ (which would be simple if only FreeBSD > had strtonum). this should be fully functional on FreeBSD now http://www.jakemsr.com/bsdav/bsdav-1.1.tar.gz -- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 13:07:13 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 428A316A41C for ; Mon, 30 May 2005 13:07:13 +0000 (GMT) (envelope-from karel@inetis.com) Received: from inetis.com (cpe-212-18-40-64.adsl.amis.net [212.18.40.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59DEB43D48 for ; Mon, 30 May 2005 13:07:12 +0000 (GMT) (envelope-from karel@inetis.com) Received: from [192.168.0.14] ([192.168.0.14]) by inetis.com with MailEnable ESMTP; Mon, 30 May 2005 15:06:38 +0200 Message-ID: <429B0FDB.90701@inetis.com> Date: Mon, 30 May 2005 15:06:35 +0200 From: Karel Miklav User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: tv card + mplayer -> no 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: Mon, 30 May 2005 13:07:13 -0000 I'm trying to setup an AverMedia TV card with mplayer, but can't turn the sound on. Audio comes from external line (cable between tv card an SoundBlaster Live) and it works fine with other tv players. Fiddling with mixer doesn't help; it looks like sound must be enabled on the card somehow but mplayer doesn't do it. Does anybody have any experience with this? -- Regards, Karel Miklav From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 14:16:11 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85DE716A41C for ; Mon, 30 May 2005 14:16:11 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.cc.mcgill.ca [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2497F43D1F for ; Mon, 30 May 2005 14:16:11 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan2.cc.mcgill.ca (mailscan2.CC.McGill.CA [132.216.77.249]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j4UEG3eR001431; Mon, 30 May 2005 10:16:04 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan2.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j4UEFiK5019267; Mon, 30 May 2005 10:15:44 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j4UEFi3J029054; Mon, 30 May 2005 10:15:44 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j4UEFino023600; Mon, 30 May 2005 10:15:44 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j4UEFenx023599; Mon, 30 May 2005 10:15:40 -0400 Date: Mon, 30 May 2005 10:15:40 -0400 From: Mathew Kanner To: Scott Long Message-ID: <20050530141539.GC23457@cnd.mcgill.ca> References: <4298F0AB.2090404@ebs.gr> <20050530032202.GC892@rndsoft.co.kr> <429A8DE9.10702@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <429A8DE9.10702@samsco.org> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org Subject: Project Weevil [was: maestro3 hardware volume control] 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, 30 May 2005 14:16:11 -0000 On May 29, Scott Long wrote: > Pyun YongHyeon wrote: > >On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > > It might be possible to examine the system SMBIOS table for the make and > model of the system and use them as keys for a quirk table. Of course > it will only work for systems like laptops that have the M3 or A1 chip > embedded. sigh. I think that this all works in the Windows world > because the hardware maker provides a driver that is customized > appropriately. Sorry about hijacking this but what a opportune moment... Project Evil provides %75 of the infrastructure (the hard stuff no less) of what is needed to get audio drivers off the ground. Anybody want to start of proof of concept? Perfect use for those CDs that came with your motherboard. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 14:38:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D52A16A41C for ; Mon, 30 May 2005 14:38:12 +0000 (GMT) (envelope-from jhugo@icomtek.csir.co.za) Received: from marge.icomtek.csir.co.za (marge.icomtek.csir.co.za [146.64.28.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE1343D49 for ; Mon, 30 May 2005 14:38:06 +0000 (GMT) (envelope-from jhugo@icomtek.csir.co.za) Received: from jeep.icomtek.csir.co.za (jeep.icomtek.csir.co.za [146.64.28.29]) by marge.icomtek.csir.co.za (Postfix) with ESMTP id 2FC098FC46 for ; Mon, 30 May 2005 16:38:03 +0200 (SAST) From: Johann Hugo To: freebsd-multimedia@freebsd.org Date: Mon, 30 May 2005 16:38:02 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505301638.02779.jhugo@icomtek.csir.co.za> Subject: ffmpeg 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, 30 May 2005 14:38:12 -0000 Hi I am having trouble configuring ffserver + ffmpeg to do a live stream from a bktr capture card. The same setup use to work with freeBSD 5.3 and ffmpeg ffmpeg-0.4.8, but I cannot get it running since I upgraded to 5.4. Problem with ffmpeg-0.4.9 I can start ffserver (using the default ffserver.conf file) As soon as I start ffmpeg (ffmpeg -ad /dev/dsp0.0 -vd /dev/bktr0 http://localhost:8090/feed1.ffm) then ffserver will write "Floating exception" and do core dump. ffmpeg will write: Could not read stream parameters from 'http://localhost:8090/feed1.ffm' Problem with ffmpeg-devel-0.4.9.c.20050528 ffserver works file, but ffmpeg gives the following message: ffmpeg -ad /dev/dsp0.1 -vd /dev/bktr0 http://localhost:80/feed1.ffm ffmpeg version 0.4.9-pre1, build 4755, Copyright (c) 2000-2004 Fabrice Bellard configuration: --cc=cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --enable-shared --source-path=/usr/ports/multimedia/ffmpeg-devel/work/FFMpeg-20050528 --disable-v4l --enable-a52 --disable-a52bin --enable-gpl --enable-libogg --enable-pp --enable-shared-pp --enable-pthreads --disable-ffplay --enable-theora --enable-vorbis built on May 29 2005 21:01:46, gcc: 3.4.2 [FreeBSD] 20040728 Could not find video grab device I also see from the Makefile: # video captuure is not working as of yet WITH_VIDEO_CAPTURE=no Does this mean that ffmpeg-devel does not support live video streaming ? Regards Johann From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 20:43:31 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 212A116A41C for ; Mon, 30 May 2005 20:43:31 +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 B6F1A43D48 for ; Mon, 30 May 2005 20:43:30 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 18251 invoked from network); 30 May 2005 20:43:29 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 30 May 2005 20:43:29 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Mon, 30 May 2005 13:43:29 PDT (sender jakemsr@puff.jakemsr.gom) Date: Mon, 30 May 2005 13:43:29 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20050530204329.GE25095@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200505301638.02779.jhugo@icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505301638.02779.jhugo@icomtek.csir.co.za> User-Agent: Mutt/1.4.2i Subject: Re: ffmpeg 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, 30 May 2005 20:43:31 -0000 On Mon, May 30, 2005 at 04:38:02PM +0200, Johann Hugo wrote: > Hi > > I am having trouble configuring ffserver + ffmpeg to do a live stream from a > bktr capture card. The same setup use to work with freeBSD 5.3 and ffmpeg > ffmpeg-0.4.8, but I cannot get it running since I upgraded to 5.4. > > Problem with ffmpeg-0.4.9 > I can start ffserver (using the default ffserver.conf file) > > As soon as I start ffmpeg > (ffmpeg -ad /dev/dsp0.0 -vd /dev/bktr0 http://localhost:8090/feed1.ffm) > then ffserver will write "Floating exception" and do core dump. > ffmpeg will write: > Could not read stream parameters from 'http://localhost:8090/feed1.ffm' > > Problem with ffmpeg-devel-0.4.9.c.20050528 > ffserver works file, but ffmpeg gives the following message: > > ffmpeg -ad /dev/dsp0.1 -vd /dev/bktr0 http://localhost:80/feed1.ffm > ffmpeg version 0.4.9-pre1, build 4755, Copyright (c) 2000-2004 Fabrice Bellard > configuration: --cc=cc --prefix=/usr/local --make=gmake --disable-debug > --enable-memalign-hack --enable-shared > --source-path=/usr/ports/multimedia/ffmpeg-devel/work/FFMpeg-20050528 > --disable-v4l --enable-a52 --disable-a52bin --enable-gpl --enable-libogg > --enable-pp --enable-shared-pp --enable-pthreads --disable-ffplay > --enable-theora --enable-vorbis > built on May 29 2005 21:01:46, gcc: 3.4.2 [FreeBSD] 20040728 > Could not find video grab device > > I also see from the Makefile: > # video captuure is not working as of yet > WITH_VIDEO_CAPTURE=no > > Does this mean that ffmpeg-devel does not support live video streaming ? I submitted working bktr support to the ffmpeg developers, but I have not had time to change things according to their comments. if anyone else has the inclination, look through the ffmpeg-devel@mplayerhq.hu archives, from about two weeks ago. the subject is something like "*BSD bktr support". -- From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 02:33:02 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2CB416A41C for ; Tue, 31 May 2005 02:33:02 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08AA543D1D for ; Tue, 31 May 2005 02:33:01 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 5491, pid: 5492, t: 1.0161s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 31 May 2005 02:30:29 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j4V2X8pw005442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 May 2005 11:33:08 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j4V2X2W3005441; Tue, 31 May 2005 11:33:02 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Tue, 31 May 2005 11:33:02 +0900 From: Pyun YongHyeon To: Mathew Kanner Message-ID: <20050531023302.GC4879@rndsoft.co.kr> References: <4298F0AB.2090404@ebs.gr> <20050530032202.GC892@rndsoft.co.kr> <429A8DE9.10702@samsco.org> <20050530141539.GC23457@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050530141539.GC23457@cnd.mcgill.ca> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: freebsd-multimedia@freebsd.org Subject: Re: Project Weevil [was: maestro3 hardware volume control] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 02:33:02 -0000 On Mon, May 30, 2005 at 10:15:40AM -0400, Mathew Kanner wrote: > On May 29, Scott Long wrote: > > Pyun YongHyeon wrote: > > >On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > > > > It might be possible to examine the system SMBIOS table for the make and > > model of the system and use them as keys for a quirk table. Of course > > it will only work for systems like laptops that have the M3 or A1 chip > > embedded. sigh. I think that this all works in the Windows world > > because the hardware maker provides a driver that is customized > > appropriately. > > Sorry about hijacking this but what a opportune moment... > Project Evil provides %75 of the infrastructure (the hard > stuff no less) of what is needed to get audio drivers off the ground. > Anybody want to start of proof of concept? Perfect use for > those CDs that came with your motherboard. > I don't know whether it's possible or not. I have no experience of ndiscvt(8). Personally, I don't like to use Windows drivers as it severely limits the driver to x86 based architectures. I think Linux supports wide-ranges of audio hardwares than that of FreeBSD. If we can pour our time on reading Linux driver we would get better audio support, IMO. > --Mat -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 02:43:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16CDA16A41C for ; Tue, 31 May 2005 02:43:24 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936E443D4C for ; Tue, 31 May 2005 02:43:21 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j4V2oWTI007170; Mon, 30 May 2005 20:50:32 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <429BCEF8.2020101@samsco.org> Date: Mon, 30 May 2005 20:42:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: yongari@rndsoft.co.kr References: <4298F0AB.2090404@ebs.gr> <20050530032202.GC892@rndsoft.co.kr> <429A8DE9.10702@samsco.org> <20050530141539.GC23457@cnd.mcgill.ca> <20050531023302.GC4879@rndsoft.co.kr> In-Reply-To: <20050531023302.GC4879@rndsoft.co.kr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: freebsd-multimedia@freebsd.org, Mathew Kanner Subject: Re: Project Weevil [was: maestro3 hardware volume control] 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, 31 May 2005 02:43:24 -0000 Pyun YongHyeon wrote: > On Mon, May 30, 2005 at 10:15:40AM -0400, Mathew Kanner wrote: > > On May 29, Scott Long wrote: > > > Pyun YongHyeon wrote: > > > >On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > > > > > > It might be possible to examine the system SMBIOS table for the make and > > > model of the system and use them as keys for a quirk table. Of course > > > it will only work for systems like laptops that have the M3 or A1 chip > > > embedded. sigh. I think that this all works in the Windows world > > > because the hardware maker provides a driver that is customized > > > appropriately. > > > > Sorry about hijacking this but what a opportune moment... > > Project Evil provides %75 of the infrastructure (the hard > > stuff no less) of what is needed to get audio drivers off the ground. > > Anybody want to start of proof of concept? Perfect use for > > those CDs that came with your motherboard. > > > > I don't know whether it's possible or not. I have no experience of > ndiscvt(8). Personally, I don't like to use Windows drivers as it > severely limits the driver to x86 based architectures. I think Linux > supports wide-ranges of audio hardwares than that of FreeBSD. > If we can pour our time on reading Linux driver we would get better > audio support, IMO. > > > --Mat > We probably need to work on more modern sound infrastructure before we start thinking about supporting NDIS-style drivers. While it might be possible to map a small subset of the driver functionality to our voxware API, it's really not going to help much in the long run. I don't know what the correct answer is here for future direction either. ALSA has been the 'next big thing' for the past 5 years, but really doesn't seem to be living up to the promises. Should we try to implement it anyways and use it as the foundation for our next-generation PCM framework, or should we moderize the newpcm API ourselves and hope that ports authors will follow us when/if ALSA does gain traction? Scott From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 11:29:40 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D434C16A41C for ; Tue, 31 May 2005 11:29:40 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A57C43D53 for ; Tue, 31 May 2005 11:29:40 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan2.cc.mcgill.ca (mailscan2.CC.McGill.CA [132.216.77.249]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j4VBTX8p011912; Tue, 31 May 2005 07:29:39 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan2.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j4VBTLT8006263; Tue, 31 May 2005 07:29:21 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j4VBTADK006757; Tue, 31 May 2005 07:29:10 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j4VBTAW2025874; Tue, 31 May 2005 07:29:10 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j4VBT9ri025873; Tue, 31 May 2005 07:29:09 -0400 Date: Tue, 31 May 2005 07:29:09 -0400 From: Mathew Kanner To: Scott Long Message-ID: <20050531112909.GB23984@cnd.mcgill.ca> References: <4298F0AB.2090404@ebs.gr> <20050530032202.GC892@rndsoft.co.kr> <429A8DE9.10702@samsco.org> <20050530141539.GC23457@cnd.mcgill.ca> <20050531023302.GC4879@rndsoft.co.kr> <429BCEF8.2020101@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <429BCEF8.2020101@samsco.org> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, Mathew Kanner Subject: Re: Project Weevil [was: maestro3 hardware volume control] 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, 31 May 2005 11:29:41 -0000 On May 30, Scott Long wrote: > Pyun YongHyeon wrote: > > >On Mon, May 30, 2005 at 10:15:40AM -0400, Mathew Kanner wrote: > > > On May 29, Scott Long wrote: > > > > Pyun YongHyeon wrote: > > > > >On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > > > > > > > > It might be possible to examine the system SMBIOS table for the make > > and > > > > model of the system and use them as keys for a quirk table. Of course > > > > it will only work for systems like laptops that have the M3 or A1 chip > > > > embedded. sigh. I think that this all works in the Windows world > > > > because the hardware maker provides a driver that is customized > > > > appropriately. > > > > > > Sorry about hijacking this but what a opportune moment... > > > Project Evil provides %75 of the infrastructure (the hard > > > stuff no less) of what is needed to get audio drivers off the ground. > > > Anybody want to start of proof of concept? Perfect use for > > > those CDs that came with your motherboard. > > > > > > >I don't know whether it's possible or not. I have no experience of > >ndiscvt(8). Personally, I don't like to use Windows drivers as it > >severely limits the driver to x86 based architectures. I think Linux > >supports wide-ranges of audio hardwares than that of FreeBSD. > >If we can pour our time on reading Linux driver we would get better > >audio support, IMO. > > > > > --Mat > > > > We probably need to work on more modern sound infrastructure before we > start thinking about supporting NDIS-style drivers. While it might be > possible to map a small subset of the driver functionality to our > voxware API, it's really not going to help much in the long run. I > don't know what the correct answer is here for future direction either. > ALSA has been the 'next big thing' for the past 5 years, but really > doesn't seem to be living up to the promises. Should we try to > implement it anyways and use it as the foundation for our > next-generation PCM framework, or should we moderize the newpcm API > ourselves and hope that ports authors will follow us when/if ALSA does > gain traction? Well, a mini-port interface for windows drivers would be exciting -- I hold to the fantasy that some hot-shot hacker is going to surprise us. As for ALSA, there's a chance that we could provide enough of the kernel infrastructure to support their drivers. I would see that as a more feasible task that providing a userland library compatible interface. But as for the final assessment, there's something to learn from what they've done -- we need more extensibility so we can provide knobs for new features to the users. As for realistic plans, I think some of what we have is excellent and we should try to keep it and modernize the sound infrastructure in stages. The first stage would be to redo the middle layer buffering. Then the front end kernel-userland and try to factor out OSS support so we aren't so bound to it. At the same, providing the knobs for features that OSS didn't anticipate (either by sysctl, or sndctl). All the while, we keep our drivers intact. This would mean, as Pyun YongHyeon says, that would have to 'pour our time on reading Linux' so that we could maintain our drivers with surprises the manufacturers throw at us. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 12:47:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC5AB16A41C for ; Tue, 31 May 2005 12:47:34 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.cc.mcgill.ca [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 594FD43D1D for ; Tue, 31 May 2005 12:47:34 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan2.cc.mcgill.ca (mailscan2.CC.McGill.CA [132.216.77.249]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j4VClW1e032353; Tue, 31 May 2005 08:47:33 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan2.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j4VClSII025983; Tue, 31 May 2005 08:47:28 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j4VClHbB007373; Tue, 31 May 2005 08:47:18 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j4VClCtt025887; Tue, 31 May 2005 08:47:12 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j4VClBvY025886; Tue, 31 May 2005 08:47:11 -0400 Date: Tue, 31 May 2005 08:47:11 -0400 From: Mathew Kanner To: Ariff Abdullah Message-ID: <20050531124711.GC23984@cnd.mcgill.ca> References: <20050528181532.U1057@localhost> <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> <20050529154814.GB23457@cnd.mcgill.ca> <20050530015814.3ecbd51e.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050530015814.3ecbd51e.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, Mathew Kanner Subject: Re: sound module unload panic 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, 31 May 2005 12:47:34 -0000 On May 29, Ariff Abdullah wrote: > > On Sun, 29 May 2005 11:48:14 -0400 > Mathew Kanner wrote: > > On May 29, Ariff Abdullah wrote: > > > > Tomas > > > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > > > > > at least, apply mixer.c.diff and sound.c.diff > > > > [dropped -stable] > > > > Hi, > > Wow, you have a lot of great patches there. What's the story > > behind them? What branches do they apply to? > > --Mat > > kernel panic fix, ac97 anomalies (especially fixed rate vs vchan > issue), mpsafe. Can be applied cleanly against RELENG_5, need a little > bit attention on current because some of the fixes already committed > there. > > Somebody should commit it, after throroughly tested, I guess :) This is great, though it would have been easier if you started from HEAD. Tell me which patch is the most important and we'll start from there. > sigh.. ac97.. nurturing it makes me crazy.. Please please please don't stop. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 14:46:06 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0533616A41C; Tue, 31 May 2005 14:46:06 +0000 (GMT) (envelope-from freeBSD@insightbb.com) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F75C43D4C; Tue, 31 May 2005 14:46:05 +0000 (GMT) (envelope-from freeBSD@insightbb.com) Received: from steve.stevenfriedrich.org (12-202-24-76.client.insightbb.com[12.202.24.76]) by sccimhc91.asp.att.net (sccimhc91) with SMTP id <20050531144604i9100ak68ke>; Tue, 31 May 2005 14:46:05 +0000 From: "Steve Friedrich" To: "freebsd-multimedia@freebsd.org" , "Tobias Roth" Date: Tue, 31 May 2005 10:46:05 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2711) For Windows 2000 (5.1.2600;2) In-Reply-To: <20050531143452.GA4988@droopy.unibe.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> Cc: "freebsd-ports@freebsd.org" Subject: Re: Anybody have time to create a new 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: Tue, 31 May 2005 14:46:06 -0000 On Tue, 31 May 2005 16:34:52 +0200, Tobias Roth wrote: >On Tue, May 31, 2005 at 10:30:20AM -0400, Steve Friedrich wrote: >> I ran across a VERY interesting app while surfing the net. >> >> mythTV is a Personal Video Recorder and much more. >> >> If I had the experience of creating a port, a TV card, and a job (in this industry that won't hire me with 28 yrs experience, but clamors for H-1B visas), this is the app I'd like to port. >> >> I've resisted TiVo and other such solutions because they all seem to depend on buying a service. I don't want to get stuck like the DiVix buyers with stuff that is no longer supported and I don't want a >> solution with a meter running. >not easiily done because mythtv heavily depends on v4l (or v4l2). >maybe ask on freebsd-multimedia about progress with this. >cheers, t. I don't even know what v4l is... Anybody on multimedia can give insight on this or mythTV? From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 14:53:14 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4829B16A41C for ; Tue, 31 May 2005 14:53:14 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: from web41205.mail.yahoo.com (web41205.mail.yahoo.com [66.218.93.38]) by mx1.FreeBSD.org (Postfix) with SMTP id E9DFA43D54 for ; Tue, 31 May 2005 14:53:13 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 31551 invoked by uid 60001); 31 May 2005 14:53:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jDuJcq3SPD9ByFmW9OAv+d7pp4VHq7DyW8cVKcM/Q6Qcj/tFBycDVrnophU0L3UDTAHxOrnE3G2nD4i3LbgUTXjcBV7rSiNaTHiPBVM7hfvTziS3/xTTnZ0p+Hqrku5Cf0+Zs+4fPk8rRRoXFwV3AFNJbTI9qBhmzy31Tky02v4= ; Message-ID: <20050531145310.31549.qmail@web41205.mail.yahoo.com> Received: from [83.129.185.77] by web41205.mail.yahoo.com via HTTP; Tue, 31 May 2005 07:53:10 PDT Date: Tue, 31 May 2005 07:53:10 -0700 (PDT) From: Arne "Wörner" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: DVB-T / are there plans to support DVB pci cards? 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, 31 May 2005 14:53:14 -0000 Hi! Is somebody here planning to write something, that supports DVB pci cards (e. g. the Terratec Cinergy 1200 DVB-T PCI card)? In the moment I have to (ab)use my cold-standby computer for DVB receiving... Bye Arne __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 15:00:21 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50FA016A41C; Tue, 31 May 2005 15:00:21 +0000 (GMT) (envelope-from fernando@secret.org) Received: from epa.secret.org (epa.secret.org [206.220.140.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF0C43D1F; Tue, 31 May 2005 15:00:18 +0000 (GMT) (envelope-from fernando@secret.org) Received: from localhost (fernando@localhost) by epa.secret.org (8.9.3/8.9.1) with ESMTP id LAA26404; Tue, 31 May 2005 11:00:13 -0400 (EDT) Date: Tue, 31 May 2005 11:00:13 -0400 (EDT) From: Fernando Durango To: Steve Friedrich In-Reply-To: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "freebsd-multimedia@freebsd.org" , "freebsd-ports@freebsd.org" Subject: Re: Anybody have time to create a new 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: Tue, 31 May 2005 15:00:21 -0000 On Tue, 31 May 2005, Steve Friedrich wrote: > On Tue, 31 May 2005 16:34:52 +0200, Tobias Roth wrote: > > >On Tue, May 31, 2005 at 10:30:20AM -0400, Steve Friedrich wrote: > >> I ran across a VERY interesting app while surfing the net. > >> > >> mythTV is a Personal Video Recorder and much more. > >> > >> If I had the experience of creating a port, a TV card, and a job (in this industry that won't hire me with 28 yrs experience, but clamors for H-1B visas), this is the app I'd like to port. > >> > >> I've resisted TiVo and other such solutions because they all seem to depend on buying a service. I don't want to get stuck like the DiVix buyers with stuff that is no longer supported and I don't > want a > >> solution with a meter running. > > >not easiily done because mythtv heavily depends on v4l (or v4l2). > >maybe ask on freebsd-multimedia about progress with this. > > >cheers, t. > > I don't even know what v4l is... > > Anybody on multimedia can give insight on this or mythTV? http://mythtv.son.org/ -F From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 15:33:03 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB56F16A41C; Tue, 31 May 2005 15:33:03 +0000 (GMT) (envelope-from e-masson@kisoft-services.com) Received: from mallaury.noc.nerim.net (smtp-102-tuesday.noc.nerim.net [62.4.17.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8887D43D55; Tue, 31 May 2005 15:33:02 +0000 (GMT) (envelope-from e-masson@kisoft-services.com) Received: from srvbsdnanssv.interne.kisoft-services.com (kisoft.net1.nerim.net [62.212.107.51]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 8209062D1D; Tue, 31 May 2005 17:32:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by srvbsdnanssv.interne.kisoft-services.com (Postfix) with ESMTP id B0F85C6F2; Tue, 31 May 2005 17:04:26 +0200 (CEST) Received: from srvbsdnanssv.interne.kisoft-services.com ([127.0.0.1]) by localhost (srvbsdnanssv.interne.kisoft-services.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87751-02; Tue, 31 May 2005 17:04:25 +0200 (CEST) Received: by srvbsdnanssv.interne.kisoft-services.com (Postfix, from userid 1001) id 8495AC6EB; Tue, 31 May 2005 17:04:25 +0200 (CEST) To: "Steve Friedrich" From: Eric Masson In-Reply-To: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> (Steve Friedrich's message of "Tue, 31 May 2005 10:46:05 -0400") References: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> X-Operating-System: FreeBSD 5.4-RELEASE i386 Date: Tue, 31 May 2005 17:04:25 +0200 Message-ID: <86sm03bfnq.fsf@srvbsdnanssv.interne.kisoft-services.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at interne.kisoft-services.com Cc: "freebsd-multimedia@freebsd.org" , "freebsd-ports@freebsd.org" Subject: Re: Anybody have time to create a new 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: Tue, 31 May 2005 15:33:04 -0000 "Steve Friedrich" writes: Hi, > I don't even know what v4l is... http://www.google.com/search?hl=en&q=v4l&btnG=Google+Search > Anybody on multimedia can give insight on this or mythTV? http://groups-beta.google.com/groups?q=v4l%20freebsd&num=20&hl=en&lr=&c2coff=1&safe=off&sa=N&tab=wg Éric Masson -- CN > J'ai enseigné l'algorythmique. GLG> C'est quoi l'algorythmique ? Une contrebasse programmée en Algol ? -+- in : - Neuneu fait ses gammes. -+- From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 17:30:23 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D252A16A41C; Tue, 31 May 2005 17:30:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A62CB43D4C; Tue, 31 May 2005 17:30:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 815197A403; Tue, 31 May 2005 10:30:23 -0700 (PDT) Message-ID: <429C9F2F.5060704@elischer.org> Date: Tue, 31 May 2005 10:30:23 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Steve Friedrich References: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> In-Reply-To: <20050531144605.9F75C43D4C@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-multimedia@freebsd.org" , "freebsd-ports@freebsd.org" Subject: Re: Anybody have time to create a new 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: Tue, 31 May 2005 17:30:24 -0000 Steve Friedrich wrote: > >>not easiily done because mythtv heavily depends on v4l (or v4l2). >>maybe ask on freebsd-multimedia about progress with this. >> >> > > > >>cheers, t. >> >> > >I don't even know what v4l is... > > Video for Linux a VERY crude interface that really only specifies what interfaces a video device should implement to allow applications to talk to it. Ther is almost no kernel support involved as long as teh device and app agree that they are using V4L (or V4L2) There is a very small amount of kernel support needed to provide a way for the devices to register themselves as video sources or sinks, but this has already largly been written, and I'm looking at possibly committing it so that device drivers set up to use V4L can be easier to port to FreeBSD. What is holding me back is that it would be nice to implement a better framework that simply provides a V4L (2) front/back-end for compatibility. I've been out of circulation for over a month but now I'm back and hope to start looking at this again. >Anybody on multimedia can give insight on this or mythTV? > > > > From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 19:04:38 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C8D816A41C for ; Tue, 31 May 2005 19:04:38 +0000 (GMT) (envelope-from dev@opensound.com) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2920443D53 for ; Tue, 31 May 2005 19:04:37 +0000 (GMT) (envelope-from dev@opensound.com) Received: from [192.1.2.1] (c-24-127-17-4.hsd1.ca.comcast.net[24.127.17.4]) by comcast.net (rwcrmhc11) with ESMTP id <20050531190437013004h883e>; Tue, 31 May 2005 19:04:37 +0000 Message-ID: <429CB532.2010601@opensound.com> Date: Tue, 31 May 2005 12:04:18 -0700 From: 4Front Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Project Weevil 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, 31 May 2005 19:04:38 -0000 Mathew Kanner wrote: > As for realistic plans, I think some of what we have is > excellent and we should try to keep it and modernize the sound > infrastructure in stages. The first stage would be to redo the middle > layer buffering. Then the front end kernel-userland and try to factor > out OSS support so we aren't so bound to it. Hi Matt/FreeBSD Audio developers, As 4Front Technologies gets ready to announce OSS v4.0 later this year (the 10th anniversary of OSS), we'd like to offer our assistance. Matt, I've sent you a number of emails offering help to get FreeBSD's Audio migrated to the OSS 4.0 API which offers 100% backward compatibility and yet offers some new audio/mixer features. The new API will really help FreeBSD developers develop drivers for new devices like the Intel HDA and USB/Firewire devices. Our extensions are much more flexible and fall more in line with the audio/mixers found in modern USB/Firewire/onboard devices. In addition we're working on a totally new sequencer core that should be ready by end of this summer. Scott Long said: > ALSA has been the 'next big thing' for the past 5 years, but really > doesn't seem to be living up to the promises. This is true. Infact what we're seeing is that majority of the Linux audio app developers are actually using the Jack API (http://jackit.sf.net) and now Jack runs on FreeBSD/OSS, ALSA hasn't gained any net advantage over OSS in terms of apps. ALSA is way too complex at the API layer but still very similar to OSS at the driver level (naturally since they started from OSS!). We have developed a ALSA<->OSS library called SALSA (for Simple ALSA) that gives you some level of translation between the few ALSA-only apps and OSS compatible drivers and it's under LGPL and we can talk about BSD licensing it if you find it useful. See: http://www.4front-tech.com/forum/viewtopic.php?t=296 What we have found is that the OSS API is still the most widely deployed API since it's easy to understand and easy to write applications to. Another benefit ofcourse is that when you have closed source apps like Skype or RealPlayer for Linux or Linux games like DoomIII using the OSS API, having the OSS API on FreeBSD helps FreeBSD users use such apps via Linux emulation. For more information on the upcoming OSS v4.0 API: http://manuals.opensound.com/developer/ Best regards Dev Mazumdar ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: info@opensound.com ----------------------------------------------------------- From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 19:35:20 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE98C16A41C for ; Tue, 31 May 2005 19:35:20 +0000 (GMT) (envelope-from julian@elischer.org) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9A9A43D1D for ; Tue, 31 May 2005 19:35:20 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 7B3C27A403; Tue, 31 May 2005 12:35:20 -0700 (PDT) Message-ID: <429CBC78.3000902@elischer.org> Date: Tue, 31 May 2005 12:35:20 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: 4Front Technologies References: <429CB532.2010601@opensound.com> In-Reply-To: <429CB532.2010601@opensound.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Project Weevil 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, 31 May 2005 19:35:21 -0000 I'd like to throw another thought around here.. {skip to end for comments} 4Front Technologies wrote: > Mathew Kanner wrote: > >> As for realistic plans, I think some of what we have is >> excellent and we should try to keep it and modernize the sound >> infrastructure in stages. The first stage would be to redo the middle >> layer buffering. Then the front end kernel-userland and try to factor >> out OSS support so we aren't so bound to it. > > > > Hi Matt/FreeBSD Audio developers, > > As 4Front Technologies gets ready to announce OSS v4.0 later this year > (the 10th anniversary of OSS), we'd like to offer our assistance. > > Matt, I've sent you a number of emails offering help to get FreeBSD's > Audio migrated to the OSS 4.0 API which offers 100% backward > compatibility and yet offers some new audio/mixer features. The new API > will really help FreeBSD developers develop drivers for new devices like > the Intel HDA and USB/Firewire devices. Our extensions are much more > flexible and fall more in line with the audio/mixers found in modern > USB/Firewire/onboard devices. > > In addition we're working on a totally new sequencer core that should be > ready by end of this summer. > > Scott Long said: > > ALSA has been the 'next big thing' for the past 5 years, but really > > doesn't seem to be living up to the promises. > > This is true. Infact what we're seeing is that majority of the Linux > audio app developers are actually using the Jack API > (http://jackit.sf.net) and now Jack runs on FreeBSD/OSS, ALSA hasn't > gained any net advantage over OSS in terms of apps. > > ALSA is way too complex at the API layer but still very similar to OSS > at the driver level (naturally since they started from OSS!). We have > developed a ALSA<->OSS library called SALSA (for Simple ALSA) that gives > you some level of translation between the few ALSA-only apps and OSS > compatible drivers and it's under LGPL and we can talk about BSD > licensing it if you find it useful. See: > http://www.4front-tech.com/forum/viewtopic.php?t=296 > > What we have found is that the OSS API is still the most widely deployed > API since it's easy to understand and easy to write applications to. > > Another benefit ofcourse is that when you have closed source apps like > Skype or RealPlayer for Linux or Linux games like DoomIII using the OSS > API, having the OSS API on FreeBSD helps FreeBSD users use such apps via > Linux emulation. > > For more information on the upcoming OSS v4.0 API: > http://manuals.opensound.com/developer/ > > > > Best regards > Dev Mazumdar > ----------------------------------------------------------- > 4Front Technologies > 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. > Tel: (310) 202 8530 URL: www.opensound.com > Fax: (310) 202 0496 Email: info@opensound.com > ----------------------------------------------------------- > _______________________________________________ > 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" Firstly, Thankyou Dev for your offer! (what an apt name!) I would like to take this opportunity to mention that I'm kicking around a basic idea for an "in-kernel" video framework. A bit like "jack" or "netgraph" but for multimedia streams including video. Multimedia includes audio, and since "silent movies" have not been the standard for some 80 years or so, such a multimedia stream support would have to have s good interface to the audio world. Any thoughts that anyone has as to what are important features to keep in mind when implementing this framwork and its audio interface would be well received. The basic features I'm looking at at the moment are: * streams to have multiple channels. * channels might include subchannels (e.g an audio channel may have 5.1 subchannels) * Different encodings of the same data may be present at the same time in different channels. (e.g a mpeg channel and a raw DV channel, or a raw audio channel and an mp3 compressed channel) * "clients" to attach to the framework as suppliers or sinks. * Ability to have multiple sinks (e.g. tap of the same video/audio stream to multiple places). * Ability for a client to tap only a subset of available channels (e.g only the compressed channles) * sources and sinks to be either sync or async. An async sink (sic) might be recording the data do disk and doesn't care if it gets it in bursts or if it gets it at twice normal speed. A sync client wants th e data deliverred at a specific rate, or wants to be able to deliver it at a specific rate). Audio must be keyed to the video by some mechanism to be deliverable in the same way. * The framework will allow streams to be 'mixed' by arbitrary modules that abide by some yet to be defined ABI, so that things such as "picture-in-picture" or sound dubbing can be achieved. Plumbing in these ways needs to be able to include userland components. (this is where the "netgraph" reference comes in.) (man 4 netgraph) * The framework will have at least some ability to present a V4L(2) interface to some devices and applications for porting reasons. Audio, video and auxhiliary data (such as whiteboard transcripting) needs to be designed in from the start. Julian From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 19:46:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBC7816A41C for ; Tue, 31 May 2005 19:46:11 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id A240B43D1D for ; Tue, 31 May 2005 19:46:10 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan1.cc.mcgill.ca (mailscan1.CC.McGill.CA [132.216.77.248]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j4VJk5F0020826; Tue, 31 May 2005 15:46:06 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan1.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j4VJjtWD022491; Tue, 31 May 2005 15:45:55 -0400 (EDT) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j4VJjjEJ011122; Tue, 31 May 2005 15:45:54 -0400 Received: from localhost.localdomain (acid [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j4VJjjCE026078; Tue, 31 May 2005 15:45:45 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j4VJjjsg026077; Tue, 31 May 2005 15:45:45 -0400 Date: Tue, 31 May 2005 15:45:45 -0400 From: Mathew Kanner To: 4Front Technologies Message-ID: <20050531194545.GE23984@cnd.mcgill.ca> References: <429CB532.2010601@opensound.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <429CB532.2010601@opensound.com> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org Subject: Re: Project Weevil 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, 31 May 2005 19:46:12 -0000 On May 31, 4Front Technologies wrote: > Mathew Kanner wrote: > [...] > Matt, I've sent you a number of emails offering help to get FreeBSD's > Audio migrated to the OSS 4.0 API which offers 100% backward > compatibility and yet offers some new audio/mixer features. Hi Dev, Only responding to this one line for now. (it's Mat with One T). I've only ever received one e-mail from you and that was about the new OSS mixer api and I don't recall an offer for help. What exactly have you offered? There's a *very* good chance we would accept. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue May 31 19:46:31 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDD8C16A41C for ; Tue, 31 May 2005 19:46:31 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 663BA43D4C for ; Tue, 31 May 2005 19:46:30 +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 0FF246CC35; Wed, 1 Jun 2005 03:49:11 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82760-10; Wed, 1 Jun 2005 03:49:09 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.49.38.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 417D76CC27; Wed, 1 Jun 2005 03:49:08 +0800 (MYT) Date: Wed, 1 Jun 2005 03:46:36 +0800 From: Ariff Abdullah To: Mathew Kanner Message-Id: <20050601034636.32ea346b.skywizard@MyBSD.org.my> In-Reply-To: <20050531124711.GC23984@cnd.mcgill.ca> References: <20050528181532.U1057@localhost> <20050529185836.1c7d4e67.skywizard@MyBSD.org.my> <20050529154814.GB23457@cnd.mcgill.ca> <20050530015814.3ecbd51e.skywizard@MyBSD.org.my> <20050531124711.GC23984@cnd.mcgill.ca> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: sound module unload panic 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, 31 May 2005 19:46:31 -0000 On Tue, 31 May 2005 08:47:11 -0400 Mathew Kanner wrote: > On May 29, Ariff Abdullah wrote: > > > > On Sun, 29 May 2005 11:48:14 -0400 > > Mathew Kanner wrote: > > > On May 29, Ariff Abdullah wrote: > > > > > Tomas > > > > > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > > > > > > > at least, apply mixer.c.diff and sound.c.diff > > > > > > [dropped -stable] > > > > > > Hi, > > > Wow, you have a lot of great patches there. What's the story > > > behind them? What branches do they apply to? > > > --Mat > > > > kernel panic fix, ac97 anomalies (especially fixed rate vs vchan > > issue), mpsafe. Can be applied cleanly against RELENG_5, need a > > little bit attention on current because some of the fixes already > > committed there. > > > > Somebody should commit it, after throroughly tested, I guess :) > > This is great, though it would have been easier if you started > from HEAD. Tell me which patch is the most important and we'll > start from there. > Mat, I've separated/unified all the patches, both can be applied cleanly on HEAD / RELENG_5 (hopefully). Take a look again at http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ I guess the most important thing is to address the panic issue (mixer.c.diff / sound.c.diff) and sluggish fixed rate ac97 (vchan.c.diff). There are also other issues, such as MPSAFE (those pci/ diffs), ac97 volume resolution detection (ac97.c.diff), and I still consider it as a top priority too. Considering our current state of sound driver, I don't mind if it breaks other people (that should help us progress, I think) > > > sigh.. ac97.. nurturing it makes me crazy.. > > Please please please don't stop. > --Mat > Revamp entire sound infrastructure, shall we :) -- 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 Jun 1 11:58:01 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465EF16A41C for ; Wed, 1 Jun 2005 11:58:01 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3C643D49 for ; Wed, 1 Jun 2005 11:58:00 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd35.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1DdRrC-0002Gw-02; Wed, 01 Jun 2005 13:57:58 +0200 Received: from Andro-Beta.Leidinger.net (XGGR2yZVweZWKEHZhMXQzDhh4RXOMTmVHAZ08Uohj-Tj0NzN7Gyrka@[84.165.199.14]) by fwd35.sul.t-online.de with esmtp id 1DdRr5-1ZrlBo0; Wed, 1 Jun 2005 13:57:51 +0200 Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j51BvlqL020721; Wed, 1 Jun 2005 13:57:48 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Wed, 01 Jun 2005 13:57:47 +0200 Message-ID: <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 01 Jun 2005 13:57:47 +0200 From: Alexander Leidinger To: 4Front Technologies References: <429CB532.2010601@opensound.com> In-Reply-To: <429CB532.2010601@opensound.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: XGGR2yZVweZWKEHZhMXQzDhh4RXOMTmVHAZ08Uohj-Tj0NzN7Gyrka@t-dialin.net X-TOI-MSGID: 7f45a63e-a7ed-4370-8b2f-5caf553540f1 Cc: freebsd-multimedia@freebsd.org Subject: Syncing with 4Front (was: Re: Project Weevil) 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, 01 Jun 2005 11:58:01 -0000 4Front Technologies wrote: > As 4Front Technologies gets ready to announce OSS v4.0 later this year > (the 10th anniversary of OSS), we'd like to offer our assistance. Since my personal opinion is to sync with the official OSS API, I'm very pleased to hear that. What kind of assistance do you offer? > ALSA is way too complex at the API layer but still very similar to OSS > at the driver level (naturally since they started from OSS!). We have > developed a ALSA<->OSS library called SALSA (for Simple ALSA) that gives > you some level of translation between the few ALSA-only apps and OSS > compatible drivers and it's under LGPL and we can talk about BSD > licensing it if you find it useful. See: > http://www.4front-tech.com/forum/viewtopic.php?t=296 Since those apps which use ALSA most likely will be part of the ports collection but not of the base system, I think this isn't really needed to be adopted by us. SALSA can just be part of the ports collection too. I put it on my TODO list to have a look at it, but because of some constraints it may take a while (maybe a month) until I can look at it. > For more information on the upcoming OSS v4.0 API: > http://manuals.opensound.com/developer/ Do you have a document which highlights the differences between the v4 and the previous API? Regarding the general problems of improving our sound subsystem: I think the largest problem is, that we don't have an overview what we have and how it fits together (at least I'm not aware of one). This reduces the amount of people which want to try to work on it. At http://www.leidinger.net/FreeBSD/src_docs/dev_sound.pdf (~11 MB) I've put a doxygen generated document online which at least visualizes the call graphs and so on, but this is of course in no way anything near what we need. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Your life would be very empty if you had nothing to regret. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 1 16:00:57 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9402216A41F for ; Wed, 1 Jun 2005 16:00:57 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB0C43D1D for ; Wed, 1 Jun 2005 16:00:54 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j51G7ov9017769; Wed, 1 Jun 2005 10:07:50 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <429DDB49.2060209@samsco.org> Date: Wed, 01 Jun 2005 09:59:05 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <429CB532.2010601@opensound.com> <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> In-Reply-To: <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: 4Front Technologies , freebsd-multimedia@freebsd.org Subject: Re: Syncing with 4Front 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, 01 Jun 2005 16:00:57 -0000 Alexander Leidinger wrote: > 4Front Technologies wrote: > >> As 4Front Technologies gets ready to announce OSS v4.0 later this year >> (the 10th anniversary of OSS), we'd like to offer our assistance. > > > Since my personal opinion is to sync with the official OSS API, I'm very > pleased to hear that. What kind of assistance do you offer? > >> ALSA is way too complex at the API layer but still very similar to OSS >> at the driver level (naturally since they started from OSS!). We have >> developed a ALSA<->OSS library called SALSA (for Simple ALSA) that gives >> you some level of translation between the few ALSA-only apps and OSS >> compatible drivers and it's under LGPL and we can talk about BSD >> licensing it if you find it useful. See: >> http://www.4front-tech.com/forum/viewtopic.php?t=296 > > > Since those apps which use ALSA most likely will be part of the ports > collection but not of the base system, I think this isn't really needed to > be adopted by us. SALSA can just be part of the ports collection too. > Actually,having an enabling API that is tied to the OS like SALSA seems to be is a very good thing to have in the base system. Why drive the ports team nuts with it breaking at the drop of a hat every time someone tweaks the kernel sources? I'm highly in favor of enabling technologies like this. It makes everyone's lives easier. Scott From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 1 16:34:43 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 633EE16A41C for ; Wed, 1 Jun 2005 16:34:43 +0000 (GMT) (envelope-from dev@opensound.com) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A0C743D1F for ; Wed, 1 Jun 2005 16:34:42 +0000 (GMT) (envelope-from dev@opensound.com) Received: from [192.1.2.1] (c-24-127-17-4.hsd1.ca.comcast.net[24.127.17.4]) by comcast.net (rwcrmhc13) with ESMTP id <200506011634410150099ecbe>; Wed, 1 Jun 2005 16:34:42 +0000 Message-ID: <429DE39D.2060501@opensound.com> Date: Wed, 01 Jun 2005 09:34:37 -0700 From: 4Front Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <429CB532.2010601@opensound.com> <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> <429DDB49.2060209@samsco.org> In-Reply-To: <429DDB49.2060209@samsco.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger Subject: Re: Syncing with 4Front 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, 01 Jun 2005 16:34:43 -0000 Scott Long wrote: > Alexander Leidinger wrote: > >> 4Front Technologies wrote: >> >>> As 4Front Technologies gets ready to announce OSS v4.0 later this year >>> (the 10th anniversary of OSS), we'd like to offer our assistance. >> >> >> >> Since my personal opinion is to sync with the official OSS API, I'm very >> pleased to hear that. What kind of assistance do you offer? >> >>> ALSA is way too complex at the API layer but still very similar to OSS >>> at the driver level (naturally since they started from OSS!). We have >>> developed a ALSA<->OSS library called SALSA (for Simple ALSA) that gives >>> you some level of translation between the few ALSA-only apps and OSS >>> compatible drivers and it's under LGPL and we can talk about BSD >>> licensing it if you find it useful. See: >>> http://www.4front-tech.com/forum/viewtopic.php?t=296 >> >> >> >> Since those apps which use ALSA most likely will be part of the ports >> collection but not of the base system, I think this isn't really >> needed to >> be adopted by us. SALSA can just be part of the ports collection too. >> > > Actually,having an enabling API that is tied to the OS like SALSA seems > to be is a very good thing to have in the base system. Why drive the > ports team nuts with it breaking at the drop of a hat every time someone > tweaks the kernel sources? > > I'm highly in favor of enabling technologies like this. It makes > everyone's lives easier. > > Scott Hi Scott, The reason we had to design SALSA is that the Linux distros started shipping ESD/KMIX/Gnome-volume-control only compiled with ALSA support. This doesn't affect FreeBSD because compiling these apps on FreeBSD correctly picks up the OSS API. Anyway, the source is available for SALSA (based on ALSA 1.0.7) and it's probably already incompatible with ALSA 1.0.9 released a couple of days ago. 4Front doesn't have the bandwidth to keep tracking ALSA every day of the week to see what changed (we got hopelessly out of sync in just one week when we tried developing a shim module - see the cuckoo project at: http://www.opensound.com/cuckoo.html There will be some changes needed in the freebsd drivers for the SALSA libs to work and don't worry it's nothing too difficult - mainly just some bookeeping functions. Best regards Dev Mazumdar ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: info@opensound.com ----------------------------------------------------------- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 1 17:06:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24C216A41C for ; Wed, 1 Jun 2005 17:06:46 +0000 (GMT) (envelope-from steve@lonres.com) Received: from anchor-post-36.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E29543D1F for ; Wed, 1 Jun 2005 17:06:46 +0000 (GMT) (envelope-from steve@lonres.com) Received: from mail.lonres.com ([194.70.153.187]) by anchor-post-36.mail.demon.net with esmtp (Exim 4.42) id 1DdWfz-000Ls6-LV; Wed, 01 Jun 2005 17:06:43 +0000 Received: from bibipentium.lonres.com (bibipentium.lonres.com [10.10.10.225]) by mail.lonres.com (Postfix) with SMTP id 97D952E06C; Wed, 1 Jun 2005 18:06:43 +0100 (BST) Received: by bibipentium.lonres.com (sSMTP sendmail emulation); Wed, 1 Jun 2005 18:07:21 +0100 From: "Steve Roome" Date: Wed, 1 Jun 2005 18:07:21 +0100 To: Julian Elischer Message-ID: <20050601170721.GF7584@bibipentium.lonres.com> Mail-Followup-To: Steve Roome , Julian Elischer , freebsd-multimedia@freebsd.org References: <429CB532.2010601@opensound.com> <429CBC78.3000902@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <429CBC78.3000902@elischer.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: Project Weevil X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-multimedia@freebsd.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 17:06:46 -0000 Julian Elischer wrote: > * streams to have multiple channels. I've been thinking about this sort of thing for a while, in terms of wanting something like audio netgraph, (audiograph perhaps?)... For example... record /dev/audio_mic_left | stereo-guitar-amp-sim | play So, amp-sim would just be a program that takes in a mono audio stream and outputs, with some (hopefully very small) delay a stereo, chorused, grungified or whatever version of the sound. So, assuming one could write a program: "pitch-up" that takes a "stream" as stdin (i.e. multiple multiplexed channels in one datastream) and I can apply that filter to all the audio channels contained in the stream and then output it through some program "play" that will sensibly downmix to whatever output format I've got set as default, something like: record /dev/audio_mic_stereo | pitch-up 5semitones | play But the same program could do the same (in the same invocation) for n-channel sound if the right framework was in place. I'd like that, but it might be way off where sound is headed. > * channels might include subchannels > (e.g an audio channel may have 5.1 subchannels) The nomenclature is confusing, I think an audio channel is one mono stream of audio, and anything else is a multiplexed "bundle" (?) of channels, I don't understand what you mean by subchannels, but I might be alone in my confusion on this one. > * sources and sinks to be either sync or async. An async sink (sic) > might be recording the data do disk and doesn't care if it gets it in > bursts or > if it gets it at twice normal speed. A sync client wants th e data > deliverred at > a specific rate, or wants to be able to deliver it at a specific > rate). Audio must be keyed > to the video by some mechanism to be deliverable in the same way. A reliable way of multiplexing audio/video signals together with timing pulses included sounds like the first step, but only in that it would be really handy for the user to have that provided. I've no idea how much extra work this would require, or how far this is from what you envisage, but I've wanted it for a while now! Steve Roome From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 1 19:23:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 699C716A41C for ; Wed, 1 Jun 2005 19:23:34 +0000 (GMT) (envelope-from julian@elischer.org) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D4443D4C for ; Wed, 1 Jun 2005 19:23:34 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id B13E77A427 for ; Wed, 1 Jun 2005 12:23:33 -0700 (PDT) Message-ID: <429E0B35.50007@elischer.org> Date: Wed, 01 Jun 2005 12:23:33 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <429CB532.2010601@opensound.com> <429CBC78.3000902@elischer.org> <20050601170721.GF7584@bibipentium.lonres.com> In-Reply-To: <20050601170721.GF7584@bibipentium.lonres.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Project Weevil 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, 01 Jun 2005 19:23:34 -0000 Steve Roome wrote: >Julian Elischer wrote: > > >>* streams to have multiple channels. >> >> > >I've been thinking about this sort of thing for a while, in terms of >wanting something like audio netgraph, (audiograph perhaps?)... > >For example... > >record /dev/audio_mic_left | stereo-guitar-amp-sim | play > > gstreamer allows something like this. It's quite cool. >So, amp-sim would just be a program that takes in a mono audio stream >and outputs, with some (hopefully very small) delay a stereo, >chorused, grungified or whatever version of the sound. > >So, assuming one could write a program: "pitch-up" that takes a >"stream" as stdin (i.e. multiple multiplexed channels in one >datastream) and I can apply that filter to all the audio channels >contained in the stream and then output it through some program "play" >that will sensibly downmix to whatever output format I've got set >as default, something like: > >record /dev/audio_mic_stereo | pitch-up 5semitones | play > >But the same program could do the same (in the same invocation) for >n-channel sound if the right framework was in place. I'd like that, >but it might be way off where sound is headed. > > > >>* channels might include subchannels >> (e.g an audio channel may have 5.1 subchannels) >> >> > >The nomenclature is confusing, I think an audio channel is one mono >stream of audio, and anything else is a multiplexed "bundle" (?) of >channels, I don't understand what you mean by subchannels, but I >might be alone in my confusion on this one. > > > >>* sources and sinks to be either sync or async. An async sink (sic) >> might be recording the data do disk and doesn't care if it gets it in >>bursts or >> if it gets it at twice normal speed. A sync client wants th e data >>deliverred at >> a specific rate, or wants to be able to deliver it at a specific >>rate). Audio must be keyed >> to the video by some mechanism to be deliverable in the same way. >> >> > >A reliable way of multiplexing audio/video signals together with >timing pulses included sounds like the first step, but only in that >it would be really handy for the user to have that provided. > >I've no idea how much extra work this would require, or how far this >is from what you envisage, but I've wanted it for a while now! > > Well there are two projects I know of that do this in user space. gstreamer and MAS (you may need to hunt around a bit on google to find MAS) MAS has the AIM of doing all multimedia but the last I looked they had really only done audio. "Jack" is a good tool for audio and allows a lot of flexibility. it does however (last I looked) require that you link your app with the jack library to take part. There is a linux audio "driver" that simulates an audio device but diverts the output to jack.. Something like that might be cool for BSD as well. It may be that it is not worth doing more than gstreamer, MAS and jack, but I'm trying to get my head around the problem space. gstreamer and jack are in ports but MAS doesn't seem to have any BSD port yet. > Steve Roome >_______________________________________________ >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 Wed Jun 1 19:58:13 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5A216A41C for ; Wed, 1 Jun 2005 19:58:13 +0000 (GMT) (envelope-from julian@elischer.org) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C49F643D1D for ; Wed, 1 Jun 2005 19:58:12 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 08B2C7A439; Wed, 1 Jun 2005 12:58:12 -0700 (PDT) Message-ID: <429E1353.2090403@elischer.org> Date: Wed, 01 Jun 2005 12:58:11 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <429CB532.2010601@opensound.com> <429CBC78.3000902@elischer.org> <20050601170721.GF7584@bibipentium.lonres.com> <429E0B35.50007@elischer.org> In-Reply-To: <429E0B35.50007@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Project Weevil 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, 01 Jun 2005 19:58:13 -0000 I thought I should give the URLS for those projects. Julian Elischer wrote: > > Well there are two projects I know of that do this in user space. > > gstreamer and MAS (you may need to hunt around a bit on google to find > MAS) http://www.mediaapplicationserver.net/ http://gstreamer.freedesktop.org/ From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 2 07:56:21 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F9DF16A41C for ; Thu, 2 Jun 2005 07:56:21 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C120643D1D for ; Thu, 2 Jun 2005 07:56:20 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd23.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1DdkYq-0007lH-02; Thu, 02 Jun 2005 09:56:16 +0200 Received: from Andro-Beta.Leidinger.net (Xd4MhmZOreXTiy2zdfAKuO5xzJocdEHAE-yGrtOKzMT3AfaVfbqoZh@[84.165.199.14]) by fwd23.sul.t-online.de with esmtp id 1DdkYa-265mYC0; Thu, 2 Jun 2005 09:56:00 +0200 Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j527txmC041731; Thu, 2 Jun 2005 09:55:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Thu, 02 Jun 2005 09:55:59 +0200 Message-ID: <20050602095559.3s0wk5uqqs4cwgog@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 02 Jun 2005 09:55:59 +0200 From: Alexander Leidinger To: 4Front Technologies References: <429CB532.2010601@opensound.com> <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> <429DDB49.2060209@samsco.org> <429DE39D.2060501@opensound.com> In-Reply-To: <429DE39D.2060501@opensound.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: Xd4MhmZOreXTiy2zdfAKuO5xzJocdEHAE-yGrtOKzMT3AfaVfbqoZh@t-dialin.net X-TOI-MSGID: 3d67746b-1b23-48b2-8bf2-68d1b4acfca7 Cc: freebsd-multimedia@freebsd.org Subject: Re: Syncing with 4Front 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, 02 Jun 2005 07:56:21 -0000 4Front Technologies wrote: > Scott Long wrote: >> >> Actually,having an enabling API that is tied to the OS like SALSA seems >> to be is a very good thing to have in the base system. Why drive the >> ports team nuts with it breaking at the drop of a hat every time someone >> tweaks the kernel sources? SALSA is a ALSA<->OSS converter. So beneath the supporting functions mentioned below, there should be not much need to change the API/ABI. >> I'm highly in favor of enabling technologies like this. It makes >> everyone's lives easier. > Anyway, the source is available for SALSA (based on ALSA 1.0.7) and it's > probably already incompatible with ALSA 1.0.9 released a couple of days > ago. 4Front doesn't have the bandwidth to keep tracking ALSA every day And this looks to me like having it in the ports collection allows more easy updates. I compare this to what we did with perl. > of the week to see what changed (we got hopelessly out of sync in just > one week when we tried developing a shim module - see the cuckoo > project at: http://www.opensound.com/cuckoo.html > > There will be some changes needed in the freebsd drivers for the SALSA > libs to work and don't worry it's nothing too difficult - mainly just > some bookeeping functions. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Whenever I hear anyone arguing for slavery, I feel a strong impulse to see it tried on him personally. -- A. Lincoln From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 3 07:39:18 2005 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 4F7BB16A41C for ; Fri, 3 Jun 2005 07:39:18 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8908743D4C for ; Fri, 3 Jun 2005 07:39:17 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd31.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1De6lw-0005Gy-00; Fri, 03 Jun 2005 09:39:16 +0200 Received: from Andro-Beta.Leidinger.net (TW2K7eZlQeVH2w7LSjtlBc-MDgFzawE4iD8pkn9qlIxhNAJWsB-sQv@[84.165.198.7]) by fwd31.sul.t-online.de with esmtp id 1De6ll-1LtZ8C0; Fri, 3 Jun 2005 09:39:05 +0200 Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j537d4up004075; Fri, 3 Jun 2005 09:39:04 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Fri, 03 Jun 2005 09:39:04 +0200 Message-ID: <20050603093904.wka6ea23z5wgws0@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 03 Jun 2005 09:39:04 +0200 From: Alexander Leidinger To: 4Front Technologies References: <429CB532.2010601@opensound.com> <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> <429E33AF.9000408@opensound.com> <20050602100118.gg8t23elgkkc08ko@netchild.homeip.net> <429F59B9.1070104@opensound.com> In-Reply-To: <429F59B9.1070104@opensound.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: TW2K7eZlQeVH2w7LSjtlBc-MDgFzawE4iD8pkn9qlIxhNAJWsB-sQv@t-dialin.net X-TOI-MSGID: 7029bb72-2aca-40c9-9eb2-72a96a2301f6 Cc: multimedia@freebsd.org Subject: Re: Syncing with 4Front 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, 03 Jun 2005 07:39:18 -0000 4Front Technologies wrote: [Full-Quote for the benefit of multimedia@] > Alexander Leidinger wrote: > >> 4Front Technologies wrote: >> >>>>> For more information on the upcoming OSS v4.0 API: >>>>> http://manuals.opensound.com/developer/ >>>> >>>> >>>> >>>> Do you have a document which highlights the differences between the v4 and >>>> the previous API? >>>> >>> >>> >>> Just download OSS v3.99.2d for FreeBSD and then compare the >>> soundcard.h files and it's pretty easy to find the diffs. Mainly >>> the differences are >>> in mixer extensions and audio device management - only a few new ioctls >>> have been introduced. All the commmon SNDCTL_DSP ioctls still exist. >> >> >> I haven't looked at it ever (yet), but are you willing to donate your >> soundcard.h file with a BSD license so we can maintain ABI compatibility >> too? >> >> You've only answered to me personally, was this intended? >> >> Bye, >> Alexander. >> > > Hi Alexander, > > Yes we are going to donate our soundcard.h to FreeBSD - it's already BSD > licensed so you can grab the file from our 3.99.2d distro. > > We're preparing some source code drop for bsd-audio group so that you > can see how to implement the mixer extensions and the soundcard > management functions. Thats great! > I forgot to press the reply-all button so unfortunately it just went to > you. > Fixed by CCing multimedia@. Bye, Alexander. > > best regards > Dev Mazumdar > ----------------------------------------------------------- > 4Front Technologies > 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. > Tel: (310) 202 8530 URL: www.opensound.com > Fax: (310) 202 0496 Email: info@opensound.com > ----------------------------------------------------------- > > -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Why is the alphabet in that order? Is it because of that song? From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 3 18:48:00 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F6316A41C for ; Fri, 3 Jun 2005 18:48:00 +0000 (GMT) (envelope-from conrads@cox.net) Received: from lakermmtao03.cox.net (lakermmtao03.cox.net [68.230.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6E1543D48 for ; Fri, 3 Jun 2005 18:47:59 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.70.216]) by lakermmtao03.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050603184758.QEUK18229.lakermmtao03.cox.net@dolphin.local.net>; Fri, 3 Jun 2005 14:47:58 -0400 Received: from dolphin.local.net (localhost.local.net [IPv6:::1]) by dolphin.local.net (8.13.3/8.13.3) with ESMTP id j53IlvkM027747; Fri, 3 Jun 2005 13:47:58 -0500 (CDT) (envelope-from conrads@cox.net) Date: Fri, 3 Jun 2005 13:47:52 -0500 From: "Conrad J. Sabatier" To: Grzegorz Czaplinski Message-ID: <20050603134752.3fac3664@dolphin.local.net> In-Reply-To: <20050425090239.GB65240@czaplinski.net> References: <20050425090239.GB65240@czaplinski.net> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.7; amd64-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: pcm0:record:0: record interrupt timeout 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, 03 Jun 2005 18:48:00 -0000 On Mon, 25 Apr 2005 11:02:39 +0200 Grzegorz Czaplinski wrote: > Hi there, > Alexander Leidinger suggested to send this report here... > > I get this error while running skype: > Apr 22 16:39:21 zulu kernel: pcm0:record:0: record interrupt > timeout, channel dead > > The machine is FSC Lifebook E2010. > > zulu# cat /dev/ > sndstat FreeBSD Audio Driver > (newpcm) Installed > devices: pcm0: at io 0x1400 irq 11 kld snd_t4dwave > (4p/1r/4v channels > d uplex > default) > > zulu# uname - > a FreeBSD zulu 5.4-RC2 FreeBSD 5.4-RC2 #0: Sun Apr 10 09:08:14 UTC > 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > zulu# pciconf - > lv pcm0@pci0:4:0: class=0x040100 card=0x11c310cf chip=0x545110b9 > rev=0x02 > hdr=0x00 vendor = 'Acer Labs Incorporated > (ALi)' device = 'ALI M5451 PCI AC-Link Controller Audio > Device' class = > multimedia subclass = > audio [...] > > Any help greatly appreciated. ;) > > Cheers, > greg I get similar behavior using the snd_ich driver, unless I disable ACPI. Try rebooting with ACPI disabled, Works for me. -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 4 01:56:27 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F3316A41C for ; Sat, 4 Jun 2005 01:56:27 +0000 (GMT) (envelope-from dev@opensound.com) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id D24B243D48 for ; Sat, 4 Jun 2005 01:56:26 +0000 (GMT) (envelope-from dev@opensound.com) Received: from [192.1.2.1] (c-24-127-17-4.hsd1.ca.comcast.net[24.127.17.4]) by comcast.net (rwcrmhc13) with ESMTP id <200506040156250150099cobe>; Sat, 4 Jun 2005 01:56:25 +0000 Message-ID: <42A10A4F.8090301@opensound.com> Date: Fri, 03 Jun 2005 18:56:31 -0700 From: 4Front Technologies User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20041221 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <429CB532.2010601@opensound.com> <20050601135747.vza4dgehcc8ks0ok@netchild.homeip.net> <429DDB49.2060209@samsco.org> <429DE39D.2060501@opensound.com> <20050602095559.3s0wk5uqqs4cwgog@netchild.homeip.net> In-Reply-To: <20050602095559.3s0wk5uqqs4cwgog@netchild.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Syncing with 4Front 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, 04 Jun 2005 01:56:27 -0000 Hi guys, I've uploaded the source code for the OSS Mixer Extensions at ftp://www.opensound.com/pub/oss/ossfree/ossmixer.tar The tar file contains the following: 1) LICENSE - just a BSD license for the source/header 2) mixer.c - legacy and the new mixer extensions 3) mixer_core.h - defines/headers 4) soundcard.h - new OSS v4.0 API which you can use in FreeBSD. Mixer documentation is at: http://manuals.opensound.com Source code for the mixers using the extensions is available in the OSS/FreeBSD 3.99.2d package - look in /usr/lib/oss/sndkit directory. If you have question, feel free to email me and I'll get them answered. Best regards Dev Mazumdar ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: info@opensound.com ----------------------------------------------------------- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 4 09:06:58 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B79B116A41C for ; Sat, 4 Jun 2005 09:06:58 +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 5D65D43D48 for ; Sat, 4 Jun 2005 09:06:57 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 30927 invoked from network); 4 Jun 2005 09:06:56 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 4 Jun 2005 09:06:56 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Sat, 04 Jun 2005 02:06:56 PDT (sender jakemsr@puff.jakemsr.gom) Date: Sat, 4 Jun 2005 02:06:56 -0700 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20050604090656.GC12128@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <429CB532.2010601@opensound.com> <429CBC78.3000902@elischer.org> <20050601170721.GF7584@bibipentium.lonres.com> <429E0B35.50007@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <429E0B35.50007@elischer.org> User-Agent: Mutt/1.4.2i Subject: Re: Project Weevil 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, 04 Jun 2005 09:06:58 -0000 On Wed, Jun 01, 2005 at 12:23:33PM -0700, Julian Elischer wrote: > > > Steve Roome wrote: > > >Julian Elischer wrote: > > > > > >>* streams to have multiple channels. > >> > >> > > > >I've been thinking about this sort of thing for a while, in terms of > >wanting something like audio netgraph, (audiograph perhaps?)... > > > >For example... > > > >record /dev/audio_mic_left | stereo-guitar-amp-sim | play > > > > > > gstreamer allows something like this. It's quite cool. it's a nice concept. I haven't tried it out yet, just looked through the docs. it does look pretty cool. but, it appears, gstreamer is good only for immediate use, conversion, playback, etc. it adds nothing for storage, AFAICS. sure, you could probably write a small program to capture raw data from /dev/dsp and /dev/bktr and save it to whatever format. and you could write another program to later play the file back. and these programs would have to link with gstreamer. but wouldn't it be nice to have something BSD licensed for this? the mjpegtools -> mjpeg.sourceforge.net is (mostly) a collection of small programs each doing (mostly) one thing. the format parameters are passed though headers in YUV4MPEG(5) streams. essentially, it's a few bits of information added every so often in the stream. this is very useful for preserving information about the stream, should actual and accurate processing/playback be done at a separate time. however, the YUV4MPEG format is designed for, well, YUV and MPEG video only, so it is not really flexible. it's not BSD licensed either. > >So, amp-sim would just be a program that takes in a mono audio stream > >and outputs, with some (hopefully very small) delay a stereo, > >chorused, grungified or whatever version of the sound. > > > >So, assuming one could write a program: "pitch-up" that takes a > >"stream" as stdin (i.e. multiple multiplexed channels in one > >datastream) and I can apply that filter to all the audio channels > >contained in the stream and then output it through some program "play" > >that will sensibly downmix to whatever output format I've got set > >as default, something like: > > > >record /dev/audio_mic_stereo | pitch-up 5semitones | play > > > >But the same program could do the same (in the same invocation) for > >n-channel sound if the right framework was in place. I'd like that, > >but it might be way off where sound is headed. I don't know about "same invocation". wouldn't you want to be able to tell it exactly what you want? what if you only want n - 1 of n original channels? also, AFAIK, demuxing channels must be done in userspace; it is only possible to get raw (headerless) mono or raw (headerless) interleaved stereo through OSS? > > > > > >>* channels might include subchannels > >> (e.g an audio channel may have 5.1 subchannels) > >> > >> > > > >The nomenclature is confusing, I think an audio channel is one mono > >stream of audio, and anything else is a multiplexed "bundle" (?) of > >channels, I don't understand what you mean by subchannels, but I > >might be alone in my confusion on this one. think of a DVD ... ------ video (a single mpeg stream) ------ audio (a single AC3 stream, that is 5.1 surround) or a more complex DVD ------ video (a single mpeg stream) ------ audio (a single AC3 stream, that is 5.1 surround, english version) ------ audio (a single MP2 stream, that is stereo, english version) ------ audio (a single MP2 stream, that is stereo, french version) ------ subtitles (a single overlay video stream, english version) ------ subtitles (a single overlay video stream, french version) now consider MPEG Program Stream -> MPEG Transport Stream > > > >>* sources and sinks to be either sync or async. An async sink (sic) > >>might be recording the data do disk and doesn't care if it gets it in > >>bursts or > >>if it gets it at twice normal speed. A sync client wants th e data > >>deliverred at > >>a specific rate, or wants to be able to deliver it at a specific > >>rate). Audio must be keyed > >>to the video by some mechanism to be deliverable in the same way. > >> > >> > > > >A reliable way of multiplexing audio/video signals together with > >timing pulses included sounds like the first step, but only in that > >it would be really handy for the user to have that provided. there is the complexity of MPEG, but of course it was designed to handle variable bit rates. as an industry "standard", it would presumably qualify as "reliable". it is _definitely_ patent encumbered, though. while mpeg la (mpegla.com) is unlikely to care about free projects implementing MPEG "IP", commercial users of _any_ implementation of MPEG are still required to pay royalties. are there even any BSD licensed MPEG (de)muxing implementations? there is the simplicity of bsdav(5) -> http://www.jakemsr.com/bsdav/, but it was designed for raw data, and hence constant bit rate, although it could theoretically handle VBR as well. as an implementation of the simplest usable muxing format I could imagine, I can only say that it fulfills my needs. I would be interested in feedback as well ;) --