From owner-freebsd-current@FreeBSD.ORG Tue May 23 15:53:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3892A16A51E; Tue, 23 May 2006 15:53:14 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CC743D49; Tue, 23 May 2006 15:53:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DDDE.dip.t-dialin.net [84.165.221.222]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4NFfFLb019881; Tue, 23 May 2006 17:41:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4NFr6WU025828; Tue, 23 May 2006 17:53:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 23 May 2006 17:53:06 +0200 From: Alexander Leidinger To: des@des.no (Dag-Erling =?UTF-8?B?U23DuHJncmF2?=) Message-ID: <20060523175306.1838e8a6@Magellan.Leidinger.net> In-Reply-To: <867j4clqaj.fsf@xps.des.no> References: <20060520141209.A2285@free.home.local> <86fyj1kju5.fsf@xps.des.no> <20060523171238.6392afdb@Magellan.Leidinger.net> <867j4clqaj.fsf@xps.des.no> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for testing: emu10kx driver for Creative sound cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:53:15 -0000 Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 17:22:12 +0200): > Alexander Leidinger writes: > > Quoting des@des.no (Dag-Erling Smørgrav) (Tue, 23 May 2006 14:26:58 +0200): > > > Yuriy Tsibizov writes: > > > > 2. Complete mixer support. Some controls that can't fit into OSS > > > > mixer are available as sysctl under debug.emu10kxX. > > > That is not the correct place for it. Please use the device's sysctl > > > context (obtained with device_get_sysctl_ctx()) > > This was based upon a suggestion by me. We want to get rid of most > > sound related syscalls (at least those which belong into the realm of > > the user, and not into the realm of the administrator). Until we have > > an application and an interface, we have to life with the sysctls, but > > to let the users know that this is not an interface but a temporary > > workaround, it's put into the debug MIB. I hope we will not ship > > 7.0-RELEASE with any such sysctl (any help appreciated). > > Regardless, device-specific sysctl knobs belong in the individual > device's sysctl context, which automatically places them in the > correct location in the dev tree and automatically destroys them when > the device is destroyed. Please do not create further precedent for > breaking this rule, no matter how good your intentions. We already have stuff in the debug MIB and there are even ideas floating around which suggest to mirror the structure of the non-debug MIB's under the debug MIB. So I don't see it go away. Any suggestions "how to do it right" while being located in the debug MIB? Bye, Alexander. -- Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR you have to pick it up between Germany/Saarland and Luxembourg/Capellen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137