linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev 092 with kernel 2.6.10?  (version neutral simple api)
Date: Fri, 02 Mar 2007 20:23:49 +0000	[thread overview]
Message-ID: <20070302202349.GB23810@kroah.com> (raw)
In-Reply-To: <556445368AFA1C438794ABDA8901891C03445753@usa0300ms03.na.xerox.net>

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).
> 
> After running a number of udevs I found newer udevs have improved
> logging/debugging 
> facility over older udevs.  I found udevmonitor to be very useful.
> 
> Can someone explain why the API changed between various kernel versions?
> (i.e. removed class_simple).
> 
> 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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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

      parent reply	other threads:[~2007-03-02 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02 17:34 udev 092 with kernel 2.6.10? (version neutral simple api) Leisner, Martin
2007-03-02 20:21 ` Greg KH
2007-03-02 20:23 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070302202349.GB23810@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).