Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965001AbXFGSfH (ORCPT ); Thu, 7 Jun 2007 14:35:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762745AbXFGSe4 (ORCPT ); Thu, 7 Jun 2007 14:34:56 -0400 Received: from atlrel7.hp.com ([156.153.255.213]:37775 "EHLO atlrel7.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758480AbXFGSez (ORCPT ); Thu, 7 Jun 2007 14:34:55 -0400 From: Bjorn Helgaas To: Andrey Borzenkov Subject: Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip Date: Thu, 7 Jun 2007 12:34:47 -0600 User-Agent: KMail/1.9.6 Cc: "Linus Walleij (LD/EAB)" , "Samuel Ortiz" , linux-kernel@vger.kernel.org, "Michal Piotrowski" , ambx1@neo.rr.com References: <200706061309.28633.bjorn.helgaas@hp.com> <200706070045.14040.arvidjaar@mail.ru> In-Reply-To: <200706070045.14040.arvidjaar@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706071234.47517.bjorn.helgaas@hp.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1610 Lines: 39 On Wednesday 06 June 2007 02:45:01 pm Andrey Borzenkov wrote: > I am beginning to doubt whether drier > works on my system at all (i.e. before PnP change); have to find time to > test. In 2.6.21, smsc-ircc2 at least found the device. So we definitely have a problem because in 2.6.22-rc, we don't find the device. What laptop do you have? Maybe I can find one to play with. I think Windows always calls _SRS, even if it doesn't need to change the current resource settings. Linux doesn't do that, and my HP nw8240 firmware has a bug that leaves the IR device partly-enabled until _SRS is called. Maybe yours has a similar bug. Can you set CONFIG_ACPI_DEBUG=y, make it so smsc-ircc2 isn't loaded automatically, and try this (along with my previous patch to swap FIR and SIR): # dmesg -n 8 # echo 0x200 > /sys/module/acpi/parameters/debug_level # echo disable > /sys/bus/pnp/devices/00:0a/resources # echo activate > /sys/bus/pnp/devices/00:0a/resources # modprobe smsc-ircc2 If you try this, can you collect the whole dmesg log? It's also possible that some other driver like i2c is messing with the ISA/LPC bridge configuration and breaking the IR device config. Your lspnp output doesn't show any other ISA devices down there, but I know i2c likes to poke around and discover things that kinda, sorta work, but the BIOS didn't expose. Bjorn - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/