On Thu, Feb 14, 2008 at 01:18:59PM -0500, tommy wrote:
> Hi,
>  I'm having trouble getting udev to create a device node in /dev/, the
> init_module() code is below, the kernel loads the module fine, any
> help/ideas would be much appreciated..

cdev_add does not create anything in /sys which is what you need to do
if you are have udev create a device node for you.

You need to call device_create() and pass it a dev_t.

Hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to