Page 9 of 10

Re: OpenELEC 5.0.4

PostPosted: Fri Jun 05, 2015 9:39 am
by otipep2000
Hi, I have it installed and it's running pretty well. My only issue is that the unit runs hot (150F) and the CPU fan does not kick in. Should I worry or is this fine? Also, is there a recommended usb wifi adapter? I appreciate your work. Cheers!

Re: OpenELEC 5.0.4

PostPosted: Fri Jun 05, 2015 3:01 pm
by vpeter
For fan create a file /storage/.config/imx6-soc-fan-monitor.conf. There should already be sample file named imx6-soc-fan-monitor.conf.sample. Change the values and change high value to 60 for example. Then fan will start at 60 degrees celsius (140F).
Wifi adapter: I assume same as for RPi. Something with Linux support.

Re: OpenELEC 5.0.4

PostPosted: Sat Jun 06, 2015 10:43 am
by jimmyx
vpeter Wrote:For fan create a file /storage/.config/imx6-soc-fan-monitor.conf. There should already be sample file named imx6-soc-fan-monitor.conf.sample. Change the values and change high value to 60 for example. Then fan will start at 60 degrees celsius (140F).
Wifi adapter: I assume same as for RPi. Something with Linux support.


sadly for some reason I do not have this sample file.. would it be possible for some kind person to post the the sample /storage/.config/imx6-soc-fan-monitor.conf This would be much appreciated


Thank you for your awesome work vpeter :D

Re: OpenELEC 5.0.4

PostPosted: Sat Jun 06, 2015 2:41 pm
by vpeter
In ssh console run
Code: Select All Code
cp /usr/config/imx6-soc-fan-monitor.conf.sample /storage/.config/imx6-soc-fan-monitor.conf


Or create it in Windows over samba. The content is
Code: Select All Code
#
# imx6-soc-fan-monitor.conf.sample - i.MX6 SoC fan monitor config file
#   used only for TBS Matrix system
#

# default limits without config file
# when fan is turned on
#   high=70
# when fan is turned off
#   low=60
# temperature checking interval
#   interval=30
# periodically show temperature
#   debug=no

high=70
low=55
interval=30
debug=no

Re: OpenELEC 5.0.4

PostPosted: Sun Jun 07, 2015 12:50 am
by jimmyx
vpeter Wrote:In ssh console run
Code: Select All Code
cp /usr/config/imx6-soc-fan-monitor.conf.sample /storage/.config/imx6-soc-fan-monitor.conf


Or create it in Windows over samba. The content is
Code: Select All Code
#
# imx6-soc-fan-monitor.conf.sample - i.MX6 SoC fan monitor config file
#   used only for TBS Matrix system
#

# default limits without config file
# when fan is turned on
#   high=70
# when fan is turned off
#   low=60
# temperature checking interval
#   interval=30
# periodically show temperature
#   debug=no

high=70
low=55
interval=30
debug=no



for some reason the above will turn my fan on when it hits those temps...

I had to put this in the autostart.sh file in order for the fan to ever turn on, otherwise the fan will not turn on after a reboot

Code: Select All Code
echo "echo default-on > /sys/class/leds/fan/trigger" >>/storage/.config/autostart.sh


is there a way I could combine the two? Ideally id like the fan to only come on when needed, instead of running FULL Speed ALL the time

Re: OpenELEC 5.0.4

PostPosted: Sun Jun 07, 2015 1:02 am
by vpeter
Don't use trigger directly. Instead put in autostart.sh this command
Code: Select All Code
 systemctl restart imx6-soc-fan-monitor

It should already be start by default but there are some timing issues. Will be fixed in next version.

Re: OpenELEC 5.0.4

PostPosted: Sun Jun 07, 2015 4:15 am
by jimmyx
vpeter Wrote:Don't use trigger directly. Instead put in autostart.sh this command
Code: Select All Code
 systemctl restart imx6-soc-fan-monitor

It should already be start by default but there are some timing issues. Will be fixed in next version.


thank you, however it seems my unit does not want to cooperate today :/

Code: Select All Code
/storage/.config/imx6-soc-fan-monitor.conf

(exists I created it)

I added the line systemctl restart imx6-soc-fan-monitor to the autostart and rebooted... no fan. Then I tried manually running the command

OpenELEC:~ # systemctl restart imx6-soc-fan-monitor
Failed to restart imx6-soc-fan-monitor.service: Unit imx6-soc-fan-monitor.service failed to load: No such file or directory.
OpenELEC:~ #

sorry to be such a pain, i guess ill just go back to having the fan run all the time. this unit has been problematic when it comes to the fan and openelec

Re: OpenELEC 5.0.4

PostPosted: Sun Jun 07, 2015 2:27 pm
by vpeter
Tell me first which openelec version are you using? Because it seems you don't use 5.0.8 v1 or 5.95.1 v2. Only there this works.
I already suspected that because you didn't have fan config sample.

Re: OpenELEC 5.0.4

PostPosted: Mon Jun 08, 2015 2:00 pm
by jimmyx
I am using the 5.0.4 but I updated it through the update feature to 5.0.8

I will reinstall 5.0.8 from scratch, I take it the auto update feature updates with an official openelec and not your matrix modded openelec ?

Re: OpenELEC 5.0.4

PostPosted: Mon Jun 08, 2015 2:45 pm
by vpeter
Yes, autoupdate install official version. But maybe new v6 beta will have everything inside.