Thomas Petazzoni wrote:
> Le Thu, 14 Feb 2008 13:18:59 -0500,
> tommy <[EMAIL PROTECTED]> a écrit :
> 
>>  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..
> 
> Quick suggestion: run "udevmonitor --env" before loading your kernel
> module, and watch the events.

Thanks, this is what I see:

mars char # insmod char.ko
UEVENT[1203018508.939978] add      /module/char (module)
ACTION=add
DEVPATH=/module/char
SUBSYSTEM=module
SEQNUM=884

UDEV  [1203018508.941391] add      /module/char (module)
UDEV_LOG=3
ACTION=add
DEVPATH=/module/char
SUBSYSTEM=module
SEQNUM=884
UDEVD_EVENT=1

mars char #


Cheers.

--
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