LowPowerLab Forum

Hardware support => ATXRaspi => Topic started by: Plugandplay on June 17, 2015, 03:23:17 PM

Title: ATX raspi on openelec kodi [solved]
Post by: Plugandplay on June 17, 2015, 03:23:17 PM
Hi There,

I've used an atx raspi for powering my raspberry pi for a while now. I'm in the process of building a nice enclosure for my other pi that runs openelec kodi and is connected to my TV. I was going to use the switch and atxraspi for it but when I tried to run the sudo wget command there was an error to do with not being able to connect to the https. I have no Linux knowledge whatsoever but after a bit of thinking and googeling I used the nano command and copied and pasted the script, saved and executed with bash.
Problem now is the openelec file system being read only...
Is there a way (that can be followed by a complete novice in Linux) to run this script?

Looking forward to your replies☺

Cheers
Title: Re: ATX raspi on openelec kodi
Post by: mheyman on July 10, 2015, 01:41:47 AM
Did you ever find a solution for this? I am using Lakka which is also OpenElec and I got the read only error too.
Title: Re: ATX raspi on openelec kodi
Post by: zoomzoomluke on July 10, 2015, 08:01:02 AM
One solution on OpenElec is to convert the script into a Kodi Service Add-on. Shouldn't take very long, I'm still waiting on my ATXRaspi so I can't test it but once it turns up i'll make the Add-on if no one else has done it yet.
Title: Re: ATX raspi on openelec kodi
Post by: Kylix on July 10, 2015, 08:44:19 AM
Could this help: http://raspberrypi.stackexchange.com/questions/9437/edit-read-only-file-in-etc-init-d-or-override-settings-file-from-storage-dir
?
Title: Re: ATX raspi on openelec kodi
Post by: arjanv on February 22, 2016, 03:58:31 PM
Hi,

anyone has this working on openelec?

thanks
Title: Re: ATX raspi on openelec kodi
Post by: chunkysteveo on February 25, 2016, 09:24:44 AM
Works on OSMC without any issue..?
Title: Re: ATX raspi on openelec kodi
Post by: arjanv on March 05, 2016, 12:47:02 PM
Quote from: chunkysteveo on February 25, 2016, 09:24:44 AM
Works on OSMC without any issue..?

not working by me
Title: Re: ATX raspi on openelec kodi
Post by: Felix on March 11, 2016, 04:06:25 PM
FYI it looks like for openelect things that should run at startup should go in /storage/.config/autostart.sh
See this page for details: http://wiki.openelec.tv/index.php/Autostart.sh
I guess this would be the equivalent to /etc/rc.local on debian distros
Title: Re: ATX raspi on openelec kodi
Post by: Felix on March 14, 2016, 01:33:13 PM
! UPDATE !

I have successfully created a script that works for OpenElec/Kodi, it is tested and works the same as on raspbian.
The install instructions for OpenElec are now posted on this page: http://lowpowerlab.com/atxraspi/#installation
Please use the latest script at the link above, not the one attached here earlier.
Sorry for not having done this earlier guys.