Hi, On Mon, 30 Aug 2010 14:25:39 -0400, Philip Balister <philip@xxxxxxxxxxxx> wrote: > I've got a module that claims gpio's when it is loaded and frees them > when it is unloaded. It looks like something goes wrong when I free them: > > gpio_unexport: gpio144 status -22 > gpio_unexport: gpio146 status -22 > gpio_unexport: gpio14 status -22 > gpio_unexport: gpio21 status -22 > gpio_unexport: gpio22 status -22 > gpio_unexport: gpio23 status -22 this is telling you, you have entered invalid arguments to gpio_unexport. > Then when I try to reclaim them I get this: > > gpio_request: gpio-175 (sysfs) status -16 > export_store: status -16 > gpio_request: gpio-175 (sysfs) status -16 > export_store: status -16 > gpio_request: gpio-114 (sysfs) status -16 > export_store: status -16 > gpio_request: gpio-114 (sysfs) status -16 > export_store: status -16 > gpio_request: gpio-173 (sysfs) status -16 > export_store: status -16 > gpio_request: gpio-173 (sysfs) status -16 > export_store: status -16 > > > This has to be silly, but I can't find the problem. Everything works > fine, I just would like the messages to go away :) it's telling you that the gpio is busy, claimed by sysfs usage, so you can't claim it again. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html