[mythtv-users] Updated MiniMyth2 Rpi edition

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Fri Nov 24 18:07:27 UTC 2017


> Piotr,
> 
> I have run a few tests on Minimyth2, once over the initial startup problems with upnp, more of that later, it works well.

Thx for trying :-)
> 
> I have two mythbackends on different subnets, one built from source, the other from ppa:mythbuntu/30 (i.e. current master), running under Xubuntu 16.04 LTS (HWE).
> 
> SD card image generated using bsdtar running as root ( sudo su) on Xubuntu 16.04 LTS (HWE) - note that bsdtar  and f2fs-tools packages have to be installed.
> 
>  I made to changes to /boot/config.txt  for my TV UK 50Hz 1080p, with no overscan, plus MPG2 licence code, before inserting SD card into RPI2 .
> 
> hdmi_group=1
> hdmi_mode=31
> disable_overscan=1
> 
> On booting Country/Language screen was presented, defaulted to US, changed to UK, then the problems started on Mythtv Servers screen with „Loading..." being displayed continuously - it never timed out and I could get no response to any key presses.

Interesting!
I’ll try enable upnp on my home router and see how this impacting BE discovery.

> Went in via SSH and rebooted, same issue.
> Turned off upnp on the router for the subnet, rebooted and then the single mythbackend was found, so I clicked Save - nothing happened, so rebooted again.
> This time I used manual to set IP address and password (note password is NOT ‚mythtv', it is the random 8 character alpha-numeric generated when mythtv-backend was installed, this time mythfrontend ran (config.xml file was created in /home/mythtv/.mythtv/).

So definitely there is issue with upnp BE discovery.
Image I put to download has master r311 I believe.
May You update to current master(*), delete config.xml, restart and see: 
-is auto discovery of BE works
-has Yours router upnp any impact on BE discovery
   
(*)
pls do update from ssh as root.

pacman -Sy
pacman -Su

updates from UI not working due typo in script.
I fixed this and new image will work OK for updates
 
> 
> Using Setup Wizard, set Audio to OpenMax:hdmi, no sound from speakers, then set video profile to OpenMAX normal, ran the SD test video, which worked, I could get sound by using Volume UP key.
> I then set Audio Mixer device to OpenMax and sound was then ok on speaker test.
> From then on things worked as expected.
> 
> There is definitely a problem with upnp detection on first run. I ran mythtv-light frontend on Raspbian Stretch and the mythbackend was automatically found.

Interesting!
I have perfectly working BE discovery - albeit for me it was important to have exactly current master (I done tests on r328).
Being on slightly older master also gives me issues with BE discovery…
(There was regression and upnp was fixed just week or two ago).
If Yours source built BE is older than very current master - maybe here is issue?
 
> 
> I also checked mythfrontend log in /home/mythtv and it entries :
> 2017-11-23 11:49:44.028244 I  Assumed character encoding:
> 2017-11-23 11:49:44.028292 W  This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
> 
> I setup locale to en_GB.UTF-8, which removed the entries.
> 
> Also set timezone to Europe/London (it was UTC, +0000) and keyboard map to uk.
> 
> I don't know if setting locale and  timezone are really necessary for just a frontend.
> 
> 
> And finally consider adding two packages to the MiniMyth2 image dialog  and wpa_supplicant this will allow USB WIFI devices to be used without having to install over ethernet first, wifi-menu is already present. I do use WIFI.

Sure. Already done this!

I’ll give notice on forum when new image will be available

(probably also with hosting loc based on google drive)
 
br


More information about the mythtv-users mailing list