From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 14 Jan 2005 09:17:08 +0000 Subject: Re: PCI hotplug/udev problem Message-Id: <1105694228.7556.48.camel@localhost.localdomain> List-Id: References: <1105692480.4134.1.camel@allblack.org> In-Reply-To: <1105692480.4134.1.camel@allblack.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 2005-01-14 at 11:14 +0200, Jan Zwiegers wrote: > Hi Kay > > We develop data acquisition devices (in this case PCI) and use our own > driver libraries etc, so it does not relate to standard devices. > We have many drivers (for each series) and I need to create nodes as > the devices are attached/installed. > I have developed the driver as suggested by the PCI.txt file under the > kernel docs, and added the dev (major:minor) sysfs file, which if I > understand correct udev needs for the node creation. Ah ok, what does tree /sys/class/pci_bus/ print? We skip this class of devices. You need to recompile udev. --- 1.20/udev_sysfs.c 2004-12-12 00:34:45 +01:00 +++ edited/udev_sysfs.c 2005-01-14 10:12:35 +01:00 @@ -48,7 +48,7 @@ { .subsystem = "bluetooth", .file = "address" }, { .subsystem = "firmware", .file = "data" }, { .subsystem = "i2c-adapter", .file = NULL }, - { .subsystem = "pci_bus", .file = NULL }, + //{ .subsystem = "pci_bus", .file = NULL }, { .subsystem = "ieee1394", .file = NULL }, { .subsystem = "ieee1394_host", .file = NULL }, { .subsystem = "ieee1394_node", .file = NULL }, ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel