On Tue, Feb 10, 2009 at 11:52:58AM +0200, Daniel Baluta wrote:
> Led class seems to be a very good idea.

Good.

> The idea is that i want to dynamically create /dev/hexd in order to
> write to my hexdisplay.

But the led class uses sysfs, not a device node to interact with the
device.  No /dev/ node is needed at all.

>  I've noticed that for example , for printer class there is a file
> /sys/class/printer/lp0/dev that contains MAJOR:MINOR.

Yes, because it needs a device node, the led class does not.

Why do you want a /dev/ node?  Are you going to be creating new ioctls
for your device?  That is really not recommended at all.

thanks,

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