From: Kay Sievers Date: Wed, 23 Aug 2006 23:18:26 +0000 Subject: Re: issues getting I/O device to work with udev.... Message-Id: <1156375106.3509.10.camel@pim.off.vrfy.org> List-Id: References: <20060823222620.GA1164@seberino.org> In-Reply-To: <20060823222620.GA1164@seberino.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, 2006-08-23 at 16:14 -0700, chris@seberino.org wrote: > > Udevtest expects the sysfs devpath, not the node name. Try: > > udevtest /class/edredaq/device0 > > Kay, thanks. that got me more info.... > > # udevtest /class/edredaq/device0 > main: looking at device '/class/edredaq/device0' from subsystem > 'edredaq' > udev_rules_get_name: rule applied, 'device0' becomes 'edredaq/device0' > udev_db_get_device: no db file to read > /dev/.udev/db/class@edredaq@device0: No such file or directory > udev_node_add: creating device node '/dev/edredaq/device0', major > '254', minor = '0', mode = '0660', uid = '0', gid = '0' > main: run: 'socket:/org/kernel/udev/monitor' Yeah, looks all fine. To see how all that works, you may want to have a look at: udevmonitor or udevmonoitor --env while you load your kernel module. There you can watch what the kernel sends to udev and what udev is doing with it. You can also see all the devpath's, which are the kernels key to the device, and which udevtest expects to simulate an event run. Kay ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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