<div dir="ltr"><div>I've patched an already existing driver for the AMD 50 FCH present in the APU board for using the GPIO (3 OUTs + 1 IN).<br>I also have implemented a driver for using the LEDs and the switch connected to these GPIOs using the leds-gpio interface,<br>
</div><div>so hardrive, heartbeat, network, ... and other events can be mapped to these leds.<br></div><div>To make everything work I had to pach the watchdog driver sp5100_tco as well. <br></div><div><br>So you could use directly the GPIO interface or the LEDs interface depending on your needs.<br>
</div><div>I've been testing all this stuff on the voyage 0.9.2 (amd64) + kernel 3.10.11. It seems to work fine.<br>I attach the patch that can be applied directly to the linux-source-3.10.11-voyage and the patch for the config-3.10.11-voyage.<br>
</div><div><br>There is no major changes between kernel 3.10.11 and the last 3.15 related to the GPIO/LEDs interfaces and drivers, so with<br>very few changes (in some Makefile) the same patch can be modified to be applied to any kernel from 3.10.11 to 3.15.<br>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 4:10 PM,  <span dir="ltr"><<a href="mailto:lutz.niederer@gmx.net" target="_blank">lutz.niederer@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>If x64 voyage kernel is the same as x32 version then it was 3.8.13 on voyage.  I do not remember the voyage x64 kernel but I have an x32 voyage that should have the same kernel version.</div>

<div>For plain debian jessie it was 3.13.10.</div>

<div>Both did not run.</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Donnerstag, 15. Mai 2014 um 11:27 Uhr<div class=""><br>
<b>Von:</b> "Kim-man 'Punky' TSE" <<a href="mailto:punkytse@punknix.com" target="_blank">punkytse@punknix.com</a>><br>
<b>An:</b> <a href="mailto:lutz.niederer@gmx.net" target="_blank">lutz.niederer@gmx.net</a>, <a href="mailto:voyage-linux@voyage.hk" target="_blank">voyage-linux@voyage.hk</a><br>
</div><b>Betreff:</b> Re: Aw: Re: Re: [Voyage-linux] LEDs and ledtrig stuff on APU</div><div class="">

<div name="quoted-content">On 5/15/2014 4:43 PM, <a href="mailto:lutz.niederer@gmx.net" target="_blank">lutz.niederer@gmx.net</a> wrote:<br>
> netdev may be the only trigger that does not work. debian 8 omits that one (and others) from triggers and debian 7<br>
> does not include it. Am I right, that netdev is non-standard? And changing Alix led driver to APU is ridiculous easy<br>
> (you just need to know the new ports). This is why I believe it has something to do with netdev trigger. Or the<br>
> combination of netdev trigger, APU led driver and kernel. Do you have an APU to test?<br>
I have APU to test with APU Led driver and netdev LED triggers, it hangs too.<br>
<br>
Did you try on 3.10 or 3.8 kernel?<br>
<br>
--<br>
Regards,<br>
Kim-man "Punky" Tse<br>
<br>
* Open Source Embedded Solutions and Systems<br>
- Voyage Linux (<a href="http://linux.voyage.hk" target="_blank">http://linux.voyage.hk</a>)<br>
- Voyage MPD (<a href="http://linux.voyage.hk/voyage-mpd" target="_blank">http://linux.voyage.hk/voyage-mpd</a>)<br>
- Voyage MuBox (<a href="http://mubox.voyage.hk" target="_blank">http://mubox.voyage.hk</a>)<br>
* Voyage Store (<a href="http://store.voyage.hk" target="_blank">http://store.voyage.hk</a>)<br>
 </div>
</div></div>
</div>
</div></div></div>

<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>
<br></blockquote></div><br></div>