I think you need to export each gpio you want to use:

echo N > /sys/class/gpio/export

where N is the desired gpio number, then you can you access it
by /sys/class/gpio/GPIO_N

On Wed, Jul 13, 2011 at 5:15 AM, Hitchcocknz <[email protected]>wrote:

> >From my reading of the release notes 0.7.5 once again included cs5535_gpio
> driver (it was removed from 0.7.0 ?).  However it looks as if it is the new
> driver that conforms to the standard gpio sysfs implementation.  The old
> one
> create /dev nodes where as this one looks like it should be creating sysfs
> entries.
>
> My problem is that the driver seems to be installed (lsmod indicates it is)
> and the /sys/class/gpio directory exists with export, unexport entries but
> there is no actually gpio* file itself.
>
> Has anyone used this cs5535_gpio driver in 0.7.5 and can the confirm
> successful usage?
>
> Cheers
> Shane
>
> --
> View this message in context:
> http://voyage-linux.34677.n3.nabble.com/GPIO-ALIX6-Under-Voyage-0-7-5-tp3164659p3164659.html
> Sent from the Voyage Linux mailing list archive at Nabble.com.
>
> _______________________________________________
> Voyage-linux mailing list
> [email protected]
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to