From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 02 Mar 2007 20:23:49 +0000 Subject: Re: udev 092 with kernel 2.6.10? (version neutral simple api) Message-Id: <20070302202349.GB23810@kroah.com> List-Id: References: <556445368AFA1C438794ABDA8901891C03445753@usa0300ms03.na.xerox.net> In-Reply-To: <556445368AFA1C438794ABDA8901891C03445753@usa0300ms03.na.xerox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Fri, Mar 02, 2007 at 12:34:21PM -0500, Leisner, Martin wrote: > After a number of gyrations, I got udev 092 working with 2.6.10 (and it > looks like its > working pretty good). >=20 > After running a number of udevs I found newer udevs have improved > logging/debugging=20 > facility over older udevs. I found udevmonitor to be very useful. >=20 > Can someone explain why the API changed between various kernel versions? > (i.e. removed class_simple). >=20 > I wrapped the api changes into a header file and I ported some of the > ldd3 examples to udev... > I have a little tutorial on udev to pass around at work... You are not allowing the parent pointer to be sent to the driver core, which is one of the most important things to show for real devices. You want the topology information so that your code gets called properly for suspend/resume, and so that userspace/udev can determine what specific device your class device is associated with. To just not allow this at all is missing a large portion of the functionality of the driver core. thanks, greg k-h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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