On Sun, Feb 08, 2009 at 07:47:05PM +0200, Daniel Baluta wrote:
> 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.

Platform devices can't do this, you need to use a "real" struct device,
or register with a class that handles major/minor allocation for you
(input, block, etc.)

hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to