Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbWCMTYO (ORCPT ); Mon, 13 Mar 2006 14:24:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932317AbWCMTYO (ORCPT ); Mon, 13 Mar 2006 14:24:14 -0500 Received: from soundwarez.org ([217.160.171.123]:56195 "EHLO soundwarez.org") by vger.kernel.org with ESMTP id S932151AbWCMTYN (ORCPT ); Mon, 13 Mar 2006 14:24:13 -0500 Date: Mon, 13 Mar 2006 20:24:11 +0100 From: Kay Sievers To: Pierre Ossman , Andrew Morton , ambx1@neo.rr.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [PNP] 'modalias' sysfs export Message-ID: <20060313192411.GA23380@vrfy.org> References: <20060227214018.3937.14572.stgit@poseidon.drzeus.cx> <20060301194532.GB25907@vrfy.org> <4406AF27.9040700@drzeus.cx> <20060302165816.GA13127@vrfy.org> <44082E14.5010201@drzeus.cx> <4412F53B.5010309@drzeus.cx> <20060311173847.23838981.akpm@osdl.org> <4414033F.2000205@drzeus.cx> <20060312172332.GA10278@vrfy.org> <20060313165719.GB4147@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060313165719.GB4147@devserv.devel.redhat.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 25 On Mon, Mar 13, 2006 at 11:57:19AM -0500, Bill Nottingham wrote: > Kay Sievers (kay.sievers@vrfy.org) said: > > There is no need to rush out with this half-baken solution. This simple > > udev rule does the job for you, if you want pnp module autoloading with > > the current kernel: > > SUBSYSTEM=="pnp", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" > > See: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178998 > > This doesn't work for everything. Sure not, and I don't think "everything" in PnP will ever work. :) But it does the same as the modalias patch to the kernel we are talking about. There are device table entries completely missing and some other don't match. Some of them can be fixed by adding the aliases as modprobe.conf entries. Thanks, Kay - 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/