Takenover83
Members
-
Joined
-
Last visited
Reputation Activity
-
Takenover83 got a reaction from balbes150 in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)For those of you using kodi. Here is a little script I made to auto switch terminals (tty1 then tty7) on exit. This way you won't be stuck on a black screen.
sudo nano /usr/local/bin/kodi-auto paste the following
#!/bin/sh kodi-standalone sudo chvt 1 sleep 2 sudo chvt 7 ctrl+x to save, then hit y to confirm. Then go ahead and make it executable.
sudo chmod +x /usr/bin/local/kodi-auto You will need to add the chvt command to your suedors file, so you can use it without being prompted for password.
su nano /etc/sudoers Paste in the following at the bottom of the file. Be sure to replace "YOURUSERNAME" with your user name.
YOURUSERNAME ALL=(ALL) NOPASSWD: /bin/chvt Then if you want, update your kodi shortcuts to use the new script.
Shortcuts are stored in "/usr/share/applications".
sudo nano /usr/share/applications/kodi.desktop Just change the "kodi" Exec to "kodi-auto".
Edit 1: Also a question. My wifi is very very unstable. What dtb are a95x 1GB S905 user's using? The included a95x S905 dtb does not work. I have been forced to try the gxbb_p201.dtb, which is not working all that well. Note, this is a SD install. I have not flashed to nand yet, as I wanted to get the wifi stable first. I would like to test a realtek 100M 1GB version if possible.
Edit 2: I figured out how to get my remote to work. You will need the following files from a libreelec install.
/usr/bin/remotecfg /etc/amremote //just copy the whole folder. /storage/.config/remote.conf
Then it was just a matter of copying, fixing permissions and running "remotecfg ~/.config/remote.conf" on boot.