From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 12 08:13:24 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1472A16A424; Thu, 12 Jan 2006 08:13:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F5743D76; Thu, 12 Jan 2006 08:13:14 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E681.dip.t-dialin.net [84.165.230.129]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0C87h5Y076509; Thu, 12 Jan 2006 09:07:43 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0C8DCCl037605; Thu, 12 Jan 2006 09:13:12 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 12 Jan 2006 09:13:11 +0100 Message-ID: <20060112091311.4ncbvkfasc00ccc0@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 12 Jan 2006 09:13:11 +0100 From: Alexander Leidinger To: Ariff Abdullah References: <20060111183051.65841c8f.vx2@tds.net> <20060112090545.7f7a06fb.ariff@FreeBSD.org> <20060111215022.21ee52f6.vx2@tds.net> <20060112151002.5f4b472f.ariff@FreeBSD.org> In-Reply-To: <20060112151002.5f4b472f.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: jylefort@FreeBSD.org, multimedia@FreeBSD.org, Rob Clark Subject: Re: CORRECTION - Sound Not Working After SRC Update 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, 12 Jan 2006 08:13:24 -0000 Ariff Abdullah wrote: > On Wed, 11 Jan 2006 21:50:22 -0500 > Rob Clark wrote: >> >> I did what you suggested starting with es137x.1.c - which >> worked. I also tried the other files ...2.c, >> ...3.c, and ...4.c -- all which worked also. >> >> If you want, I can do further testing tomorrow - retry each >> again and log the output of: >> /dev/sndstat >> pciconf -vl >> > It's ok, you don't have to do that. > > Your soundcard seems do not have joystick, or probably its joystick > support is broken (I would favour the former). > > Alex, Jean, any opinion about this? Since this must be done > early during attach process, IMHO there are 3 ways to deal with it: > 1) Disable joystick entirely > 2) Put some #ifdef > 3) Use kernel hint to toggle it (hint.pcm..joystick_enabled) Isn't there a 4th option? Autodetecting it ("in case of error, try without joystick")? If not: the hint seems to be the most sensible option to me. Default: enabled? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Yes, but which self do you want to be?