Martin Krämer Posted November 26, 2015 Posted November 26, 2015 Hi, i recently switched from an old Cubietruck Image (1.XX) to the latest available. Everything works fine but i cant find the trigger disk-activity anymore. Is it an bug or an feature? P.S.: i downloaded legacy_jessie_4.5 best regards Martin
zador.blood.stained Posted November 26, 2015 Posted November 26, 2015 Disk-activity module seems to be missing in current repository for legacy kernel https://github.com/linux-sunxi/linux-sunxi,but it was present in previous one https://github.com/dan-and/linux-sunxi You can try to compile and load this module on cubie itself, it shouldn't require any additional dependencies: https://github.com/dan-and/linux-sunxi/blob/dan-3.4.current/drivers/leds/ledtrig-disk.c Edit: Hm, it may require patching and recompiling whole kernel because looks like this trigger is not designed to be compiled as a module.
Igor Posted November 27, 2015 Posted November 27, 2015 Added (back) to this kernel. https://github.com/igorpecovnik/lib/commit/3da8d0b92e608696bbdf314c95d625198a8d6a1c Add: tested, working o.k.
Martin Krämer Posted November 27, 2015 Author Posted November 27, 2015 Cool Thank you man! apt-get upgrade after the next release will be the only thing to do? best regards Martin
Igor Posted November 27, 2015 Posted November 27, 2015 yes. Update will be soon since I produced some bugs in latest release. But you need to enable / map certain led to "disc-activity" in script.bin or your startup script, but that you probably already have. Just a not for others who wants to use this.
Recommended Posts