From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 04 Jun 2005 06:30:26 +0000 Subject: Re: Question on how to get custom kernel module to work with udev Message-Id: <20050604063025.GA13025@kroah.com> List-Id: References: <42A05A1C.80101@beam.ltd.uk> In-Reply-To: <42A05A1C.80101@beam.ltd.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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