Re: udev problems with cdev_add()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Petazzoni wrote:
> Le Thu, 14 Feb 2008 13:18:59 -0500,
> tommy <lknewbies@xxxxxxxxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux