Switching off Odroid C2 Leds

Post Reply
cjescudero
Posts: 4
Joined: Thu Jun 09, 2016 10:30 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Switching off Odroid C2 Leds

Unread post by cjescudero » Sun Jun 12, 2016 9:15 pm

Is there any way to switch off the leds of the Odroid C2 with LibreElec? I have it in my bedroom and the light by night are very disturbing.

By other hand, do you think that is it better to mantain the Odroid always on or there is a way to switch on by demand?

wakko
Posts: 23
Joined: Tue Aug 19, 2014 1:43 am
languages_spoken: german
ODROIDs: u3,c1,xu4,c2
Has thanked: 0
Been thanked: 0
Contact:

Re: Switching off Odroid C2 Leds

Unread post by wakko » Sun Jun 12, 2016 9:57 pm

Hi,
you can switch off the blue led by:

echo none > /sys/class/leds/blue:heartbeat/trigger

regards,
wakko

User avatar
wrxtasy
Posts: 1298
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2
Location: Australia
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Switching off Odroid C2 Leds

Unread post by wrxtasy » Sun Jun 12, 2016 10:09 pm

I may even make that the default option as it annoys the crap out of me as well.
In the meantime just put the above command in /storage/.config/autostart.sh to have it execute on boot.
and make sure the .sh (shell) is executable with a

Code: Select all

chmod +x /storage/.config/autostart.sh
Further details:
http://forum.odroid.com/viewtopic.php?f=139&t=19897
LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE

infinity85
Posts: 329
Joined: Tue May 24, 2016 4:26 am
languages_spoken: english, german
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Switching off Odroid C2 Leds

Unread post by infinity85 » Tue Jun 14, 2016 1:22 am

cjescudero wrote:Is there any way to switch off the leds of the Odroid C2 with LibreElec? I have it in my bedroom and the light by night are very disturbing.

By other hand, do you think that is it better to mantain the Odroid always on or there is a way to switch on by demand?
Well, depends on you whether you want to have it always on. From powerconsumption respectively cost point of view this shouldn't be a big concern with round about 2W. Stability should also be ok I guess... read about somebody in the main thread who mentioned it restarts every couple of days.

In my case I usually switch off my power strip every night (there is standby from my AVR, FireTV 2, GbitLanSwitch, TV, C2, Logitech Harmony charger, external HDD drives, Wii, etc.) which sums up to around 8W and more. I like it to be off then, so I use a RemotePi board for my Raspberry Pi / and now C2. So my IR remote just powers on the Odroid on demand within ~ 15s on a microSD. I feel better with this solution (salve my conscience regarding waste of energy and nature blabla ;) )

User avatar
iOSID
Posts: 17
Joined: Thu May 12, 2016 2:09 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Switching off Odroid C2 Leds

Unread post by iOSID » Sat Jul 09, 2016 7:40 am

I was successful in turning it off with "echo none > /sys/class/leds/blue:heartbeat/trigger", but as soon as I restart it, it comes back again.

I looked in storage/.config but I don't have "autostart.sh" file there.

Any update on implementing this in the official release?

User avatar
iOSID
Posts: 17
Joined: Thu May 12, 2016 2:09 am
languages_spoken: english
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Switching off Odroid C2 Leds

Unread post by iOSID » Sat Jul 09, 2016 7:50 am

I found the answer on wiki.openelec.

1) I created the autostart file by: "nano /storage/.config/autostart.sh"

2) Then I added the "echo none > /sys/class/leds/blue:heartbeat/trigger" to the autostart file

3) Save it

4) Added this in my Terminal app: "chmod +x /storage/.config/autostart.sh"

5) Reboot

No more annoying flashing light :-) Thank you guys.

Post Reply

Return to “CoreELEC/LibreELEC - Kodi Project for C1/C2”

Who is online

Users browsing this forum: No registered users and 2 guests