From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis A. Montes" Date: Fri, 31 Dec 2004 05:32:45 +0000 Subject: Help with simple char device Message-Id: <1104471165.7269.10.camel@penguin.montes2.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi there, I'm trying to write a simple char device driver. I've used as starting point code that someone posted recently to the list (I can't find the post now, it was a file called mymod.c). Anyway, I do: alloc_chrdev_region() cdev_alloc() set owner and file operations kobject_set_name() cdev_add() class_simple_create() class_simple_device_add() It nicely creates a /dev/ entry, but it then complains: wait_for_sysfs[5689]: either wait_for_sysfs (udev 042) needs an update to handle the device '/class/mydevclass/mydev' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to Any pointers to what else do I need to do? -- Luis A. Montes ------------------------------------------------------- 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