<div dir="ltr">Hi Bolle,<div><br></div><div>Yes, your email got the leds fully working! Many thanks.</div><div><br></div><div>For anyone else following, the modules exist but aren't being loaded on startup.</div><div>After editing /etc/modules as you suggested, I was able turn the leds on an off but no heartbeat or timer etc.</div><div>Adding VOYAGE_SYSTEM_MODULES to <span style="font-size:12.8px">vi /etc/voyage.conf did nothing, but I could load them all by hand.</span></div><div>So I simply added the module list to: <span style="font-size:12.8px">vi /etc/modules (as opposed to just </span><span style="font-size:12.8px">leds-apu2).</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">And that was that.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks again Bolle!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 June 2017 at 18:01,  <span dir="ltr"><<a href="mailto:bolle@geodb.org" target="_blank">bolle@geodb.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Again me ;-)<br>
<br>
Maybe this could help you or bring you into the right direction.<br>
<br>
This is an excerpt from my manual installation:<br>
<br>
APU2# cp leds-apu2.ko /lib/modules/3.16.7-ckt9-voyag<wbr>e/kernel/drivers/leds/<br>
APU2# depmod -a<br>
APU2# vi /etc/modules<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote></blockquote>
leds-apu2<br>
<<<<br>
APU2# modprobe leds-apu2<br>
<br>
APU2# vi /etc/voyage.conf<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote></blockquote>
VOYAGE_PROFILE=APU2<br>
VOYAGE_SYSTEM_MODULES="sp5100-<wbr>tco; led-class; ledtrig-heartbeat; ledtrig-timer; ledtrig-netdev; leds-apu2;"<br>
<<<<br>
<br>
APU2# vi /etc/init.d/voyage-util<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote></blockquote>
                'APU2')<br>
                        echo heartbeat > /sys/class/leds/apu2\:2/trigge<wbr>r<br>
                        echo ata1 > /sys/class/leds/apu2\:3/trigge<wbr>r<br>
                        ;;<br>
<<<<br>
<br>
The paths would differ on Voyage 0.11.0. The ">>>" and "<<<" are only markers.<br>
<br>
I would check the following:<br>
<br>
 - Does the kernel module exist ?<br>
 - Can you load the kernel module by hand ?<br>
 - Is the kernel module in the Voyage profile ?<br>
<br>
Andreas<span class=""><br>
<br>
<br>
On 2017-06-16 07:26, Richard Warburton wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks Andreas,<br>
<br>
Voyage 0.11.0 explicitly says that it supports APU2 leds in the<br>
release data (unless I'm reading it wrong), so I'm hoping it's a minor<br>
config issue.<br>
<br>
If I have no luck, I might have a go with the sources you provide.<br>
<br>
Thanks again.<br>
<br>
On 16 June 2017 at 17:18, <<a href="mailto:bolle@geodb.org" target="_blank">bolle@geodb.org</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hello Richard<br>
<br>
I don't know about a simple fix. On my APU2s with Voyage 0.10.0, the<br>
kernel module has been missing.<br>
<br>
Using the Voyage SDK, I've compiled and installed the missing kernel<br>
module using this sources:<br>
</span><a href="http://daduke.org/dl/apu2-leds.tgz" rel="noreferrer" target="_blank">http://daduke.org/dl/apu2-leds<wbr>.tgz</a> [2]<div><div class="h5"><br>
<br>
On Voyage 0.11.0, it could be the same problem.<br>
<br>
Cheers<br>
Andreas<br>
<br>
On 2017-06-16 07:06, Richard Warburton wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Fresh install of Voyage 0.11.0, alas on startup I see the<br>
message:<br>
/etc/init.d/voyage-util: 76: /etc/init.d/voyage-util: cannot<br>
create<br>
/sys/class/leds/apu2:1/trigger<wbr>: Directory nonexistent<br>
/etc/init.d/voyage-util: 77: /etc/init.d/voyage-util: cannot<br>
create<br>
/sys/class/leds/apu2:3/trigger<wbr>: Directory nonexistent<br>
<br>
/etc/init.d/voyage-util: 78: /etc/init.d/voyage-util: cannot<br>
create<br>
/sys/class/leds/apu2:3/trigger<wbr>: Directory nonexistent<br>
<br>
/etc/init.d/voyage-util: 79: /etc/init.d/voyage-util: cannot<br>
create<br>
/sys/class/leds/apu2:3/trigger<wbr>: Directory nonexistent<br>
<br>
Looking inside /sys/class/leds, there's only one directory called<br>
mmc0::<br>
<br>
Is there a simple fix for this?  I tried the current release as<br>
well,<br>
but no dice.<br>
<br>
Thanks in advance.<br>
______________________________<wbr>_________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
</div></div><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" rel="noreferrer" target="_blank">http://list.voyage.hk/mailman/<wbr>listinfo/voyage-linux</a> [1]<br>
</blockquote></blockquote><span class="">
<br>
--<br>
<br>
Richard Warburton - MSc(Hons), PGDipSci, BE(Hons) <a href="tel:%2B64%209%20377-2881%20ext%209" value="+6493772881" target="_blank">+64 9 377-2881 ext 9</a><br>
Skagerrak Software - Senior Developer -<br>
<a href="http://www.skagerraksoftware.com/" rel="noreferrer" target="_blank">http://www.skagerraksoftware.c<wbr>om/</a><br>
<br>
40/22a Willcott St, Mt Albert 1025 - PO Box 77039, Mt Albert, Auckland<br>
1350<br>
<br></span>
Links:<br>
------<br>
[1] <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" rel="noreferrer" target="_blank">http://list.voyage.hk/mailman/<wbr>listinfo/voyage-linux</a><br>
[2] <a href="http://daduke.org/dl/apu2-leds.tgz" rel="noreferrer" target="_blank">http://daduke.org/dl/apu2-leds<wbr>.tgz</a><br>
</blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Richard Warburton - MSc(Hons), PGDipSci, BE(Hons) +64 9 377-2881 ext 9<br><span style="font-size:12.8000001907349px">Skagerrak Software - </span>Senior Developer - <a href="http://www.skagerraksoftware.com/" target="_blank">http://www.skagerraksoftware.com/<br></a><div><span style="font-size:12.8000001907349px">40/22a Willcott St, Mt Albert 1025 - </span>PO Box 77039, Mt Albert, Auckland 1350</div></div></div></div></div></div></div>
</div>