[Voyage-linux] GPIO ALIX6 Under Voyage 0.7.5

lestoilfante (spam-protected)
Wed Jul 13 21:52:54 HKT 2011


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 <shane at longwhitecloud.com>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
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110713/457d8dea/attachment-0002.html>


More information about the Voyage-linux mailing list