From mboxrd@z Thu Jan 1 00:00:00 1970 From: Justin Clacherty Date: Tue, 19 Dec 2006 01:19:15 +0000 Subject: Re: udev rule for custom driver Message-Id: <45873E13.8090108@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 Thanks Alex. Alex Merry wrote: > The original kernel name is spi1.0. Do you get /dev/spi1.0 created alrea= dy (ie: even without the rule)? I thought it should automagically create /dev/spi1.0 but it doesn't. > One other thing to check, though, is whether /sys/devices/platform/pxa2xx= -spi.1/spi1.0/dev exists (it should have a major:minor pair to tell udev ho= w to create the device). > =20 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=20 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. 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