From owner-freebsd-multimedia Sat Aug 31 17:50:50 2002 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 3D0B737B400; Sat, 31 Aug 2002 17:50:45 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F7F543E6A; Sat, 31 Aug 2002 17:50:44 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g810og2F056843; Sat, 31 Aug 2002 18:50:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 31 Aug 2002 18:50:39 -0600 (MDT) Message-Id: <20020831.185039.58828118.imp@bsdimp.com> To: finlayson@live.com Cc: freebsd-mobile@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG Subject: Re: Problem enabling ESS sound card with PCI<->PCMCIA adaptor From: "M. Warner Losh" In-Reply-To: <4.3.1.1.20020831125707.00bd0140@laptop-localhost> References: <4.3.1.1.20020831125707.00bd0140@laptop-localhost> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <4.3.1.1.20020831125707.00bd0140@laptop-localhost> Ross Finlayson writes: : In The Beginning, I had a Lucent Orinoco PCI<->PCMCIA (for a "wi" device) : installed in my PC running FreeBSD 4.6-STABLE. God (Warner Losh) had told : me to put : hw.pcic.ignore_function_1=1 : in my "/boot/loader.conf" file, to stop the kernel from hanging. Actually, with a new enough 4.6-stable, verily the code has changed and in this change much goodness issues forth from every byte. The hang has gone away and the bugs have been banished. And the people feasted on jackelopes, and ground sloths, and .... : But then, I decided that wanted to also enable my PC's sound card: an ESS : Allegro. I tried adding : snd_maestro3_load="YES" : to my "/boot/loader.conf", but this wedged the kernel. (Ditto if I : instead ran : kldload snd_maestro3 : at runtime.) Odd. : Andy Sparrow then suggested that I *also* add : hw.pcic.intr_path=1 : hw.pcic.irq=0 This is bad. For a pci card this cannot work, unless you've hacked the pci card to funnel the serial interrupt line to your south-bridge's serial interrupt line. You must use intr_path of 2. : without hanging the kernel. However, this had the unfortunate side effect : of preventing my "wi0" device from getting enabled: : pccard: card inserted, slot 0 : wi0 at port 0x240-0x27f irq 13 slot 0 on pccard0 : pcic0: Hardware does not support irq 13. irq 13 is not supported by the hardware, so no wonder it fails. : So, any ideas for what I can do to make both my "wi0" device, and my ESS : sound card, work?? I'm not sure what is causing the deadly embrace between the two. Are they sharing the same interrupt? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message