From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 07:18:54 2004 Return-Path: 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 B845F16A4CE; Sat, 31 Jan 2004 07:18:54 -0800 (PST) Received: from mail.evip.pl (mail.evip.com.pl [212.244.157.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2CFA43D1D; Sat, 31 Jan 2004 07:18:50 -0800 (PST) (envelope-from w@evip.pl) Received: from drwebc by mail.evip.pl with drweb-scanned (Exim 4.22) id 1AmwtS-000Bld-Qi; Sat, 31 Jan 2004 16:18:46 +0100 Received: from w by mail.evip.pl with local (Exim 4.22) id 1AmwtS-000BlX-Nm; Sat, 31 Jan 2004 16:18:46 +0100 Date: Sat, 31 Jan 2004 16:18:46 +0100 From: Wiktor Niesiobedzki To: John Baldwin Message-ID: <20040131151846.GB43404@mail.evip.pl> References: <20040129182233.GB75575@mail.evip.pl> <200401291342.41748.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401291342.41748.jhb@FreeBSD.org> User-Agent: Mutt/1.4i Sender: Wiktor Niesiobedzki cc: current@freebsd.org Subject: Re: TP 600 and ACPI IRQ routing problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 31 Jan 2004 15:18:54 -0000 On Thu, Jan 29, 2004 at 01:42:41PM -0500, John Baldwin wrote: > On Thursday 29 January 2004 01:22 pm, Wiktor Niesiobedzki wrote: > > Hi, > > > > After giving a shot yesterdays CURRENT I still can't get ACPI and PCCARD > > cooperating on my Thinkpad 600. As far as I recognize the problem, it lies > > in that acpi assignes irq 3 to cbb device, what apparently isn't the best > > choice. I've tried following setting in loader.conf: > > hw.acpi.pci.link.0.3.0.irq=9 > > hw.acpi.pci.link.0.7.3.irq=10 > > hw.acpi.pci.link.0.2.0.irq=11 > > hw.acpi.pci.link.0.2.1.irq=10 > > Try without that first line. (The irq=9 one). > Ok, I gave it closer look. It looks like acpi_pci_link_set_irq fails with AE_ERROR, because: PCI interrupt link is disabled - \\_SB_.LNKD. So setting hw.acpi.pci.link.*.*.*.irq=* gives no change to IRQ routing. I tried also the patch submited by Alexandre Kovalenko, which overrides acpi_pcib algorithm of choosing the first available interrupt, with setting the choosen interrupt. The patch does its job and allows to use my PCCARD, when ACPI is on. Is there anything more, that I can do to investigate the problem? Cheers, Wiktor Niesiobedzki