Page 5 of 26

Re: Openelec for MatrixTBS

PostPosted: Mon Sep 01, 2014 2:51 am
by nwagenaar
Somehow I managed to get the dvbhdhomerun plugin working on the current OpenElec version for the Matrix device. However, I found out that TVHeadend version is quite old and it's missing quite a lot of interesting features that should make our lives easier (for example, the local channel number option is missing in the original version). So I build my own binary based upon the latest 3.9 GIT and made it available for others to use.

Before replacing your TVHeadend, please be aware of the following:

- Since the TVHeadend 3.9 editions use a new config format, it means you need to start over again or convert the current version first (see https://tvheadend.org/boards/5/topics/9792).
- This build are provided as is, is not optimized in any way and using it is at your own risk. I can't be held responsible for any issues that may arise like bricked or unstable devices. They seemed to work fine on my device, but this doesn't mean it'll work for you.

Just unpack it, backup the current tvheadend binary and configuration, overwrite the binary with the new version and do a chmod a+x on the binary. Reboot your device and my version should be active.

In case anybody wants to use it, you can grab it from here: http://shalafi.home.xs4all.nl/moi/20143 ... rix.tar.gz

Re: Openelec for TBS Matrix

PostPosted: Thu Sep 11, 2014 2:34 am
by vpeter
It's time for new OpenELEC version for our TBS Matrix. After some consideration about future of this project we decided to move to common iMX6 project for OpenELEC which will cover all iMX6 based devices.

And here are two images: one Helix based and one Gotham based.
The installation is simple: just download the file, unpack and run MfgTool2-reinstall_vX.bat. As before.

Download link: http://l.bitcasa.com/yvfGcXvL

For tvheadend 3.9 there are some problems and service doesn't start. To fix that some folders must be deleted/moved.
This needs to be run in ssh console:
Code: Select All Code
systemctl stop service.multimedia.tvheadend
mv /storage/.xbmc/addons/service.multimedia.tvheadend/xmltv-config /storage/.xbmc/addons/service.multimedia.tvheadend/xmltv-config-orig
rm -fr /storage/.xbmc/userdata/addon_data/service.multimedia.tvheadend/xmltv
systemctl start service.multimedia.tvheadend

Re: Openelec for MatrixTBS

PostPosted: Fri Sep 12, 2014 12:53 am
by diabloss
excellent work Peter

Re: Openelec for MatrixTBS

PostPosted: Fri Sep 12, 2014 4:39 am
by javanphi
Hello everyone,
First of all thank you for the excellent work you do on this case.
I just installed OpenELEC-TBS-Matrix-iMX6.arm-devel-20140910145440-r19210-g2d9c62b-Gotham and I have some bug

And with this version in the audio setup, the SPDIF option no longer appears at the passthrough in XBMC? So no way for me to read DolbyDigital or DTS content.
And when I want to shut down or restart via XBMC I see that it will run but the box does not power off.
I am forced to turn it off from ssh

Have you any idea?

Re: Openelec for MatrixTBS

PostPosted: Fri Sep 12, 2014 4:11 pm
by vpeter
javanphi Wrote:the SPDIF option no longer appears at the passthrough in XBMC
This I must check.

javanphi Wrote:when I want to shut down or restart via XBMC I see that it will run but the box does not power off
Seems I forgot to include one patch for this to work. Will fix that in a day or two.

Re: Openelec for MatrixTBS

PostPosted: Sun Sep 14, 2014 2:55 am
by vpeter
Gotham with fixed shutdown: http://l.bitcasa.com/nEsFIXJS

The problem with SPDIF is harder. I noticed that Linux kernel we use doesn't have spdif in it's device tree for sabresd platform. I'm trying to fix that. I wish manufactures would have more interest in supporting basic things. Seems no one cares about sabresd imx6 platform and tbs matrix board.

Re: Openelec for MatrixTBS

PostPosted: Sun Sep 14, 2014 6:10 am
by nwagenaar
I haven't used the latest Gotham release from tonight, but the one you posted a couple of days ago; doesn't seem to activate SSH (and yes, I selected it). Also adding the ssh_enable textfile and rebooting the device didn't seem to work.

Can anybody reproduce this with their 2.1 edition of the MatrixTBS? Also, does this edition have a regular kernel so we can use non-TBS DVB-devices?

Re: Openelec for MatrixTBS

PostPosted: Sun Sep 14, 2014 3:36 pm
by vpeter
nwagenaar Wrote:doesn't seem to activate SSH
SSH is enabled by default from bootloader arguments. It should always work - assuming the system boots properly.

nwagenaar Wrote:Also, does this edition have a regular kernel so we can use non-TBS DVB-devices?
Openelec uses it's own kernel. With iMX6 project we have 3.14.18 the same as Cubox-i use. There are some dvb tuners enabled. Of course there will be no support for TBS tuners (which is little ironic).

Re: Openelec for MatrixTBS

PostPosted: Sun Sep 14, 2014 5:45 pm
by vpeter
Gotham with shutdown and spdif: http://l.bitcasa.com/wU2Kid3S

Works with my equipment.

Helix is not updated. If someone wants that let me know.

Re: Openelec for MatrixTBS

PostPosted: Sun Sep 14, 2014 7:07 pm
by nwagenaar
[edit]
I got it working:

I added coherent_pool=2M to the bootargs in the uEnv-matrix-v2.txt
[/edit]

I upgraded my Matrix with the latest version and that seems to have solved my issues with SSH. However, my DVB-S cards were detected but didn't show up in the /dev/dvb tree:

[ 7.172751] technisat-usb2: set alternate setting
[ 7.179894] technisat-usb2: firmware version: 17.63
[ 7.179923] dvb-usb: found a 'Technisat SkyStar USB HD (DVB-S/S2)' in warm state.
[ 7.181165] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 7.182796] ERROR: 256 KiB atomic DMA coherent pool is too small!
[ 7.182796] Please increase it with coherent_pool= kernel parameter!
[ 7.183316] dvb-usb: Technisat SkyStar USB HD (DVB-S/S2) error while loading driver (-12)
[ 7.183487] usbcore: registered new interface driver dvb_usb_technisat_usb2


[ 285.942191] usb 1-1.2: new high-speed USB device number 6 using ci_hdrc
[ 286.560311] usb 1-1.2: New USB device found, idVendor=0b48, idProduct=300a
[ 286.560342] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 286.560364] usb 1-1.2: Product: TT-USB2.0
[ 286.560381] usb 1-1.2: Manufacturer: TechnoTrend
[ 286.560399] usb 1-1.2: SerialNumber: LHJCIÃ
[ 286.599241] dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
[ 286.599289] pctv452e: pctv452e_power_ctrl: 1
[ 286.599289]
[ 286.601603] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 286.602888] dvb-usb: Technotrend TT Connect S2-3650-CI error while loading driver (-12)
[ 286.603101] usbcore: registered new interface driver pctv452e