Re: gpio-sch GPIO_SYSFS access

From: Linus Walleij
Date: Thu Feb 07 2013 - 05:10:00 EST


On Thu, Feb 7, 2013 at 1:58 AM, Darren Hart <dvhart@xxxxxxxxxxxxxxx> wrote:

> Is it that some other driver has claimed these GPIO lines? If so, how do
> I determine which one?

Yes I think that could be it, the driver would need to call
gpio_export() for it to also be accessible in sysfs.

Configure in debugfs and check the file "gpio" in debugfs
to figure out the client.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/