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: Question on how to get custom kernel module to work with udev
Date: Sat, 04 Jun 2005 06:30:26 +0000	[thread overview]
Message-ID: <20050604063025.GA13025@kroah.com> (raw)
In-Reply-To: <42A05A1C.80101@beam.ltd.uk>

On Sat, Jun 04, 2005 at 07:00:12AM +0100, Terry Barnaby wrote:
> Yes, the source code is available, and I have expierience in
> writing Linux device drivers, but I have not been able to
> find any information on what a device driver needs to do
> to get udev to work.
> Does it need to override the default set up of sysfs ?

No, you need to provide the major/minor of your device through sysfs.
Examples of how to do this are in the Linux Device Drivers book, third
edition, Chapter 14.  It's online for free if you don't want to buy it
at:
	http://lwn.net/Kernel/LDD3/

If you have further questions after reading that, let us know.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
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:[~2005-06-04  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 13:24 Question on how to get custom kernel module to work with udev Terry Barnaby
2005-06-03 13:33 ` Terry Barnaby
2005-06-03 20:20 ` Kay Sievers
2005-06-04  6:00 ` Terry Barnaby
2005-06-04  6:30 ` Greg KH [this message]
2005-06-04  6:32 ` Greg KH
2005-06-04  7:06 ` Terry Barnaby
2005-06-04  7:36 ` Greg KH
2005-06-04  8:14 ` Terry Barnaby

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=20050604063025.GA13025@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).