From mboxrd@z Thu Jan 1 00:00:00 1970 From: Justin Clacherty Date: Tue, 19 Dec 2006 03:33:28 +0000 Subject: Re: udev rule for custom driver Message-Id: <45875D88.7090103@redfish-group.com> List-Id: References: <45873525.8050007@redfish-group.com> In-Reply-To: <45873525.8050007@redfish-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Justin Clacherty wrote: > > > No, this doesn't exist, I guess that's the problem. I can manually=20 > create the node and it works fine but if the major number changes (it's=20 > dynamic) then I'll have some problems - thus udev. Looks like it's time = > to find out how to create the dev entry in /sys. If anyone can help by=20 > pointing me to appropriate documents or code that'd be great. > =20 It looks like all you need to do is create a new class in the module=20 initialisation, then create new device classes for each device that is=20 probed. Once that is done the sys entries are created and udev is happy. Justin. ------------------------------------------------------------------------- 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