On Tue, Feb 10, 2009 at 6:18 PM, Greg KH <greg@xxxxxxxxx> wrote: > 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. I need a /dev node to manipulate my hex display device ( open , write , close). For example echo "A" > /dev/hexd will print out on display the letter A. > > thanks, > > greg k-h > thanks, Daniel. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ