The idea of using MythWelcome + ACPI to manage Linhes via the recording schedule has great appeal. Ages ago Knopmyth wiki guided a test but I decided not to use it because of bios compatibility issues. Recently, had a chance to test with Linhes R8.02 with better results.
Hardware
Zotac ion
HP Wireless USB keyboard
Iogear Wired USB Mouse
HDHomeRun Dual
Step 1 – Installation
Service Menu/ Linhes Configuration/System Type
Check the box to install MythWelcome, then select finish
Thoughts – MythWelcome takes quite while to install on Atom
Hint - The Crazy Automatic Frontend
Linhes R8 uses Enlightment V16 and when the system starts up the Mythwelcome screen is blue and completely blank in the back round. Many times when you exit the Frontend the Mythwelcome screen is blank. This can be crazy and make the user think something is broken. So here is a workaround.
Code:
pkill mythfrontend
You might need to pkill a couple times to get the mythwelcome screen to come up with the info. Is there is a difference between the Frontend when it starts automatically and when you click on the Start Frontend button in Mythwelcome?
Step 2 – Configuration Script
Run the config script
Code:
/usr/LH/bin/mythwelcome-config.py
Thoughts – ran the script, program is up but the timer is still missing
Hint – M key
Lock the Sytem
Mythfilldatabase
Shutdown now
Exit
Cancel
Hint – I Key
If you are just following the recording schedule you do not have to configure anything on this screen
Step 3 – The Big 5 Minute Wakeup test
Code:
/usr/LH/bin/mythwelcome-test-wakeup.sh
Thoughts – ACPI 5 minute wakeup test works correctly for the first time..... but where is the timer?
Step 4 - The mysql.txt dependency
Code:
find / -name mysql.txt
cp /usr/MythVantage/templates/mysql.txt /home/mythtv/.mythtv/
Change ownership of mysql.txt to mythtv
Code:
chown mythtv:mythtv /home/mythtv/.mythtv/mysql.txt
Hints – Troubleshoot with these commands
Code:
mythwelcome –v
mythbackend –v idle.system
Step 5 – Configure the Shutdown Timer and Server Halt Command
Mythsetup/General/Shutdown/Wakeup Options/
Code:
Idle Shutdown Timer: 15 (seconds)
Server Halt Command: mythwelcome --shutdown
Thoughts - I needed to change the Server Halt Command to get shutdown working properly
Step 6 – Allow user mythtv to run mythshutdown with root commands
As root
Code:
nano /etc/sudoers
add this line to end of the file and save
Code:
%mythtv localhost = NOPASSWD: /usr/bin/mythshutdown
Step – 7 Test Mythwelcome
Use Mythweb to set two recordings at different times and watch MythWelcome work it’s magic
