platform device , uevent file

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

 



Hello,

I don't really understand how kernel generates events when working
with platform devices and drivers ( [1] ).
I have registered my driver with platform_driver_register and my
device with platform_device_register_simple.

I want to dynamically create the node in /dev , and for that i need
the kernel to send events like ( MAJOR=x, MINOR=y)
that will be interpreted by the udev daemon acording to rules from
/etc/udev/rules.d.

As a remark the file /sys/devices/platform/my_device/uevent is empty.
Any help is appreciated.

Thanks,
Dan.

[1] http://www.mjmwired.net/kernel/Documentation/driver-model/platform.txt

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