From mboxrd@z Thu Jan 1 00:00:00 1970 From: shyam Date: Thu, 06 Jan 2005 15:37:51 +0000 Subject: Re: wait_for_sysfs problem Message-Id: <41DD587F.8080601@multitech.co.in> List-Id: References: <41DA4F9B.7050008@multitech.co.in> In-Reply-To: <41DA4F9B.7050008@multitech.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I forgot to mention that I use minicom to open my device which is configured in such a way that the node to be opened is in the /dev of the filesystem. Is that problem? Thanks, Shyam Kay Sievers wrote: >On Wed, 2005-01-05 at 14:36 +0530, shyam wrote: > > >>It would be nice if anybody could tell me how to create a "dev" file in >>my /sys directory. >> >> > >You may look at: > drivers/base/class_simple.c > >how a simple version of class device is doing it, which is needed for >udev to create the /dev node automatically for you. If you don't need to >roll you own class registration, you may even just use the class_simple >and it will do it for you. > > > >>I do create the nodes in the /dev directory. I find >>some ttyMU{0-31} files in /sys/class/tty directory. They do have the >>same major number and minor number that I give in my make file but that >>is not the name that I give in the makefile. For example I give ttyMU1{a >>-h} in my make file which I update in the /dev directory. >> >> > >Hard to guess, is the driver publicly available somewhere? > >Kay > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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