From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 19 Aug 2010 15:27:45 +0000 Subject: Re: UDEV. Message-Id: <20100819152745.GA2952@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Aug 19, 2010 at 07:07:40PM +0400, ???? wrote: > Thanks. > My question (I think) is very easy. But I could not find answer in the Internet, and did not get it on forum. > My aim is to make UDEV create device node automatically on loading module. > I tied rule: > KERNEL="math", NAME="math" > meaning my device name (register char dev) is "math" and the node name I want is "math". > But nothing happens. > Is there any possibility to make such rule? > Maybe I do not export some required information to SysFS? > If you need module code I can send it to you with Makefile. Yes, please post your kernel code. You need to hook into the driver model to properly be able to have udev pick up your device information. Have you done that? thanks, greg k-h