I am trying to add an additional sysfs attribute to a device (LED) that is created by another driver. (My ultimate goal is to provide a way for a userspace application to use the functionality provided by led_blink_set, which doesn't currently seem to be possible.) The kernel module code that sets up all the GPIOs & LEDs in my NAS is at: http://pastebin.com/TJZGww8T The call to device_create_file is at line 373. device_create_file is returning 0, but the "foo" attribute is not being created. ("find /sys -name '*foo*'" doesn't find anything, so I'm not just looking in the wrong place.) What am I doing wrong? Thanks! -- ======================================================================== Ian Pilcher arequipeno@xxxxxxxxx Sometimes there's nothing left to do but crash and burn...or die trying. ======================================================================== -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html