I think you need to export each gpio you want to use:<div><br></div><div>echo N > /sys/class/gpio/export</div><div><br></div><div>where N is the desired gpio number, then you can you access it by /sys/class/gpio/GPIO_N<br>
<br><div class="gmail_quote">On Wed, Jul 13, 2011 at 5:15 AM, Hitchcocknz <span dir="ltr"><<a href="mailto:shane@longwhitecloud.com">shane@longwhitecloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
>From my reading of the release notes 0.7.5 once again included cs5535_gpio<br>
driver (it was removed from 0.7.0 ?). However it looks as if it is the new<br>
driver that conforms to the standard gpio sysfs implementation. The old one<br>
create /dev nodes where as this one looks like it should be creating sysfs<br>
entries.<br>
<br>
My problem is that the driver seems to be installed (lsmod indicates it is)<br>
and the /sys/class/gpio directory exists with export, unexport entries but<br>
there is no actually gpio* file itself.<br>
<br>
Has anyone used this cs5535_gpio driver in 0.7.5 and can the confirm<br>
successful usage?<br>
<br>
Cheers<br>
Shane<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://voyage-linux.34677.n3.nabble.com/GPIO-ALIX6-Under-Voyage-0-7-5-tp3164659p3164659.html" target="_blank">http://voyage-linux.34677.n3.nabble.com/GPIO-ALIX6-Under-Voyage-0-7-5-tp3164659p3164659.html</a><br>
Sent from the Voyage Linux mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</font></blockquote></div><br></div>