The right *ELEC for C2

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Fri Dec 14, 2018 3:15 am

Could do order of loading
gpio-ir-recv
gpioplug-ir-recv

makes difference? I thought it doesnt, but just for sure tested it, but expectedly doesnt :)

HiassofT mentions

Code: Select all

Usually gpio-ir-recv gets it's configuration (gpio, rc table) from devicetree and relies on proper pinmux/gpio setup via devicetree as well - this is what RPi and Rockchip are doing.
I guess its not possible to do that through devicetree, so it would be possible used similiar metod like on Rpi:

Code: Select all

dtoverlay=lirc-rpi
or
#dtoverlay=gpio-ir,gpio_pin=18,gpio_pull=1 ...
I understand, that this could be done via gpioplug, but since seems doesnt work for me, I would try anything :(
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Fri Dec 14, 2018 1:54 pm

I believe you are getting the kernel modules setup correctly.
You would not be getting a response from mode2, if there was a problem there.

Which leaves the last step of placing the lircd.conf file.

After you setup the kernel modules and generate the lircd.conf file. Where exactly are you putting it and what are you naming the file?

lircd won't start unless it's config file is exactly /storage/.config/lircd.conf

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Fri Dec 14, 2018 3:26 pm

Yes,
exactly there:

Code: Select all

CoreELEC (funhouse): devel-fh-1850.2 (S905.arm)
CoreELEC:~ # ls -la /storage/.config
total 28
drwxr-xr-x   16 root     root          1024 Jun 22 11:11 .
drwxr-xr-x   14 root     root          1024 Dec 13 07:52 ..
drwxrwxr-x    2 root     root          1024 Dec 12 04:34 aacs
-rw-r--r--    1 root     root             3 Dec 13 18:12 boot.status
-rw-rw-r--    1 root     root           284 Dec 12 04:23 hosts.conf
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 hwdb.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:23 iptables
-rw-------    1 root     root          4738 Dec 13 07:33 lircd.conf
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 logind.conf.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:34 modprobe.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 modules-load.d
drwx------    2 root     root          1024 Jun 22 11:11 pulse
drwxrwxr-x    2 root     root          1024 Dec 12 04:34 pulse-daemon.conf.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:34 rc_keymaps
-rw-rw-r--    1 root     root           720 Dec 12 04:34 rc_maps.cfg.sample
-rw-rw-r--    1 root     root          3660 Dec 12 04:26 samba.conf.sample
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 sleep.conf.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 sysctl.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 system.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 tmpfiles.d
drwxrwxr-x    2 root     root          1024 Dec 12 04:22 udev.rules.d
This reading for GPIO was problematic for me since beginning. I think I could see improvement of irrecord through GPIO (its more consistent then before you made a changes), but this reading+usage... I dont know. The config itself could be right, and I believe, that the original config should works also for GPIO (at the end, I placed lircd.conf same way, to same place, when using meson-ir and it works immediatelly).

If those few comands should do a trick, I dont think much room to experiment more (maybe change GPIO pins once again.. I changed them, because before I have troubles with gpio-ir inicialize on "standard" pins from GPIO IR guides). Maybe my GPIO/board are malfunctioned somehow? On the other hand, in mode2 I receive some signals..

I dont have free untouched C2 to do compare tests, hopefully someone else could test also. But I think you made a great work, and I would like to see this gpioplug / tuned driver in next CE releases..


EDIT: I repeated test on pin 249, with the exact same results :( I am able to catch some remote codes, but cant get it work to operate something.
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Sat Dec 15, 2018 3:24 am

If you followed exactly what I did, and have the config files in the right place, and have not changed any other settings then it should be working.

I switched to using a TSOP4838 and switched GPIO pins to match what you are using, I also emulated the two remotes you mentioned trying.
I still have success.

So the only difference between our setups seems to be the wire,
I'm using 75mm 24awg jumper wires to connect the IR receiver.
Do you have any female to female jumper wires of a similar length you could try? Just as a test to rule out cable length as a problem with that TSOP4838.
I also find that the legs on the IR receiver are narrower then the standard 2.54mm Pitch pin that those connectors are designed for, and can cause a bad connection if the receiver is not firmly seated in the connector.

From your pictures I can see you replaced the original ROM-WT138L(N) from the C2 with pins. If you still have the original IR receiver try connecting it up instead of the TSOP4838. See if it gives you different results.

Besides that all I can think of suggesting right now is check the batteries in the remote.

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Mon Dec 17, 2018 6:51 pm

Thank you very much for your help.

I dont have original ROM-WT138L(N) anymore, unfortunatelly. My thoughts are, if there would be a problem with wire or IR or batteries, why would the same IR (TSOP4838) and cable works, when its plugged to the meson IR pins and using same remote?

For now I am temporary pause testing actions, I feel I tried almost everything.. I dont have a reason to not believe you, that it should work (if you tried the raw codes and they works, and I hope it will be aprt of official CoreELEC). I am suspecting, if there isnt something faulty on my C2 GPIO pins. I dont know what, if something wasnt plugged wrongly before.. I just dont know :(

In future (when I figure out MySQL, DVB-t, stable version of Kodi, and make proper tests), its highly possible, that I will buy ~3-5 more Odroid 's, to replace other installation setups (parents, GF, sister, grandparents house). Then I will get back and hope, that your tests are solid, and maybe it will work also for me through GPIO@fresh boards. Hopefully I didnt forgot the guide/procedure :)

Btw., the CoreELEC Odroid C2 buidls, are there aarch64 or arm?
/etc/os-release says COREELEC_ARCH="S905.arm", Kodi info page shows aarch64..

Code: Select all

10:49:08.931 T:4090282000  NOTICE: Starting Kodi (18.0-RC2 Git:18.0rc2-Leia). Platform: Linux ARM 32-bit
10:49:08.931 T:4090282000  NOTICE: Kodi compiled Dec 11 2018 by GCC 8.2.0 for Linux ARM 32-bit
10:49:08.931 T:4090282000  NOTICE: Running on CoreELEC (funhouse): devel-fh-1850.2 (9.0), kernel: Linux ARM 64-bit version 3.14.29 aarch64
Docker is id="service.system.docker" name="Docker" version="9.0.119" provider-name="Team CoreELEC"

(just tryin get to work MariaDB through Docker, and wondering what image is better to use)
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Tue Dec 18, 2018 2:13 am

The changes I've made so far have been included in CoreELEC so will be in the next release when that happens. I've got some other changes to the IR drivers in CoreELEC I'm working on as well, I will let you know when I'm done with further IR work just in case some of the other problems I'm trying to fix for others users ends up being related to your problems.

The CoreELEC builds are a split 64bit(aarch64) kernel 32bit(arm) userspace, and I don't use docker so don't know much about it. I run the database for my kodi install on the same device that has my nfs shares.

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Tue Dec 18, 2018 2:46 am

Thank You. I will appretiate it.

Momentarily I am fighting with MariaDB performance anyway (If you have tip to tuning my.cnf from your installation I am one ear :-). I am bit confused regarding arch and userspace, but according md5sum, Docker, which is downloaded from your testbuild is the same as https://addons.coreelec.org/9.0/Amlogic ... em.docker/. So, most propably ARM. I can run both on CE Docker, but maybe its better use ARM image, when its used by ARM Docker..
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Fri Dec 28, 2018 11:57 pm

JimmyS wrote:
Tue Dec 18, 2018 2:46 am
Thank You. I will appretiate it.

Momentarily I am fighting with MariaDB performance anyway (If you have tip to tuning my.cnf from your installation I am one ear :-). I am bit confused regarding arch and userspace, but according md5sum, Docker, which is downloaded from your testbuild is the same as https://addons.coreelec.org/9.0/Amlogic ... em.docker/. So, most propably ARM. I can run both on CE Docker, but maybe its better use ARM image, when its used by ARM Docker..
Hello Jimmy.
Why not build an Arduino Pro Micro and control it?
It works very well. And do not be afraid every time that something will not work after the next update.
Arduino will be like a keyboard. And the keyboard always works. If you're interested, then I can show you the scheme and firmware for arduino and you will forget the lirc as a bad dream. :)
Also the best tsop - TSOP31238
Oroid C2/LibreELEC 9

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Sat Dec 29, 2018 12:00 am

cdu13a wrote:
Tue Dec 18, 2018 2:13 am
The changes I've made so far have been included in CoreELEC so will be in the next release when that happens. I've got some other changes to the IR drivers in CoreELEC I'm working on as well, I will let you know when I'm done with further IR work just in case some of the other problems I'm trying to fix for others users ends up being related to your problems.

The CoreELEC builds are a split 64bit(aarch64) kernel 32bit(arm) userspace, and I don't use docker so don't know much about it. I run the database for my kodi install on the same device that has my nfs shares.
Are you one of the developers of Coreelec?
Oroid C2/LibreELEC 9

User avatar
rooted
Posts: 6073
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: The right *ELEC for C2

Unread post by rooted » Sat Dec 29, 2018 12:37 am

cdu13a is a developer for CoreELEC.


User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Sat Dec 29, 2018 12:43 am

cdu13a wrote:
Tue Dec 18, 2018 2:13 am
The changes....
Why happens switching is the video frequency? - Adjust display refresh rate
I have turned off in the settings of the player kodi. But, it still switches.
How to fix it?
In LE it works fine.
Oroid C2/LibreELEC 9

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Sun Dec 30, 2018 1:55 am

blackride wrote:
Sat Dec 29, 2018 12:43 am
cdu13a wrote:
Tue Dec 18, 2018 2:13 am
The changes....
Why happens switching is the video frequency? - Adjust display refresh rate
I have turned off in the settings of the player kodi. But, it still switches.
How to fix it?
In LE it works fine.
Just to make sure I understand what you are saying.

You are having difficulty trying to turn off the auto refresh rate changing feature? Is this correct?

I just did a fresh install of CoreELEC 8.95.6 (the most recent version as of writing this) and when
I set Settings/Player/Videos - Adjust display refresh rate to Off I get the expected result of kodi not
automatically switching when I play content that doesn't match the current refresh rate.
So this should be working.

What version of CoreELEC are you using?

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Sun Dec 30, 2018 9:01 pm

cdu13a wrote:
Tue Dec 18, 2018 2:13 am
Just to make sure I understand what you are saying.

You are having difficulty trying to turn off the auto refresh rate changing feature? Is this correct?

I just did a fresh install of CoreELEC 8.95.6 (the most recent version as of writing this) and when
I set Settings/Player/Videos - Adjust display refresh rate to Off I get the expected result of kodi not
automatically switching when I play content that doesn't match the current refresh rate.
So this should be working.

What version of CoreELEC are you using?
I used CE night build from 26.12.2018.

Perhaps you are right that the frequency does not switch. But why does a black screen appear before playback video (dvb-s/s2 channels) and also after a stop, about 1-2 seconds.? There is no black screen in LE.
Oroid C2/LibreELEC 9

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Mon Dec 31, 2018 4:51 am

blackride wrote:
Sun Dec 30, 2018 9:01 pm
cdu13a wrote:
Tue Dec 18, 2018 2:13 am
Just to make sure I understand what you are saying.

You are having difficulty trying to turn off the auto refresh rate changing feature? Is this correct?

I just did a fresh install of CoreELEC 8.95.6 (the most recent version as of writing this) and when
I set Settings/Player/Videos - Adjust display refresh rate to Off I get the expected result of kodi not
automatically switching when I play content that doesn't match the current refresh rate.
So this should be working.

What version of CoreELEC are you using?
I used CE night build from 26.12.2018.

Perhaps you are right that the frequency does not switch. But why does a black screen appear before playback video (dvb-s/s2 channels) and also after a stop, about 1-2 seconds.? There is no black screen in LE.
The black screen before and after playback is most likely the refresh rate changing.

It looks like the Adjust display refresh rate setting was removed and reset to on playback start/stop on the 26th. I will inquire into details of that change.

There is however a work around to not being able to set Adjust display refresh rate to Off. If you select only the one resolution and refresh rate you want to use in Settings/System/Display - Whitelist, this will have the same effect as turning the Adjust display refresh rate setting to Off. So for example if you have the GUI in Kodi set to 1920x1080p at 60Hz just select only the 1920x1080p 60.00Hz option in the whitelist.
Last edited by cdu13a on Sat Jan 05, 2019 3:41 am, edited 1 time in total.

User avatar
rooted
Posts: 6073
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: The right *ELEC for C2

Unread post by rooted » Mon Dec 31, 2018 7:50 am


cdu13a wrote: It looks like the Adjust display refresh rate setting was removed and reset to on playback start/stop by one of the other CoreELEC developers on the 26th. I will inquire into details of that change.
Why would they change core functionality of Kodi?

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Mon Dec 31, 2018 2:16 pm

cdu13a wrote:
Tue Dec 18, 2018 2:13 am
So for example if you have the GUI in Kodi set to 1920x1080p at 60Hz just select only the 1920x1080p 60.00Hz option in the whitelist.
I do it. But this is don't work. I also see blackscreen. I even installed the build CoreELEC-S905.arm-8.95.6-Odroid_C2.img.gz - don't work.
Oroid C2/LibreELEC 9

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Mon Dec 31, 2018 2:49 pm

The Adjust display refresh rate setting has been restored and should be back in the nightly builds tomorrow.

I guess it's a small reminder of why nightly builds should be considered unstable and not for regular use.

edit: So disregard the bit about the whitelist, leave it with nothing selected. Try the nightly build for the 31st set the Adjust display refresh rate to off. If it still happens try playing a local video file, to see if it's just a dvb thing or if all videos are showing a black screen before and after playback.
Last edited by cdu13a on Mon Dec 31, 2018 3:32 pm, edited 1 time in total.

User avatar
rooted
Posts: 6073
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: The right *ELEC for C2

Unread post by rooted » Mon Dec 31, 2018 3:29 pm


cdu13a wrote: I guess it's a small reminder of why nightly builds should be considered unstable and not for regular use.
Indeed, something to remember. For 'mission critical' living room duties I suggest finding a build that does the important things well and sticking with it. Otherwise you may come home to a mad wife and/or kids :)

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Mon Dec 31, 2018 5:59 pm

cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
Try the nightly build for the 31st
But there https://relkai.coreelec.org/:
builds of 30.12.2018 - CoreELEC-S905.arm-9.0-nightly_20181230-Odroid_C2.img.gz

How i can get build 31.12.2018?
Oroid C2/LibreELEC 9

User avatar
rooted
Posts: 6073
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: The right *ELEC for C2

Unread post by rooted » Mon Dec 31, 2018 6:26 pm

blackride wrote:
cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
Try the nightly build for the 31st
But there https://relkai.coreelec.org/:
builds of 30.12.2018 - CoreELEC-S905.arm-9.0-nightly_20181230-Odroid_C2.img.gz

How i can get build 31.12.2018?
You have to wait until it goes up.

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Mon Dec 31, 2018 10:16 pm

First post updated, to possible help other people with similiar needs.

I added new finding too - significant CPU Idle usage jump between Jarvis and Leia (4% -> 20%). #1 #2
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Tue Jan 01, 2019 12:20 am

JimmyS wrote:
Mon Dec 31, 2018 10:16 pm
First post updated[/url]
Hello Jimmy.
Why not build an Arduino Pro Micro and control it?
It works very well. And do not be afraid every time that something will not work after the next update.
Arduino will be like a keyboard. And the keyboard always works. If you're interested, then I can show you the scheme and firmware for arduino and you will forget the lirc as a bad dream. :)
Also the best tsop - TSOP31238
Oroid C2/LibreELEC 9

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Tue Jan 01, 2019 12:28 am

Thanks, but this is overkill (and not necessary costs).. Me (and also people whom I did the installations) are used to existing remotes to the TV/VCR, no need another "machine" :)

But good / interesting ideas are always welcomed, feel free to share your knowledge / user experience. But maybe in another thread, as this should be related to the *ELEC distribution as it is - and which is the best for Odroid C2 nowadays :)
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Tue Jan 01, 2019 2:19 am

blackride wrote:
Mon Dec 31, 2018 5:59 pm
cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
Try the nightly build for the 31st
But there https://relkai.coreelec.org/:
builds of 30.12.2018 - CoreELEC-S905.arm-9.0-nightly_20181230-Odroid_C2.img.gz

How i can get build 31.12.2018?
The build will be available latter today.

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Tue Jan 01, 2019 2:43 pm

cdu13a wrote:
Tue Jan 01, 2019 2:19 am
blackride wrote:
Mon Dec 31, 2018 5:59 pm
cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
Try the nightly build for the 31st
But there https://relkai.coreelec.org/:
builds of 30.12.2018 - CoreELEC-S905.arm-9.0-nightly_20181230-Odroid_C2.img.gz

How i can get build 31.12.2018?
The build will be available latter today.
I checked 31.12.2018 build. After stop channel - blackscreen. :?
There is no blackscreen when you run the channel.
Apparently this can not be fixed, since it appeared a long time ago.

Another question, is it possible to switch to the 4.xx kernel soon?
I tried two chewitt's builds on the 4.19 kernel and they worked well - like x86. There were no frame passes for dvb-s / s2 channels. And also the interface was very responsive.
Oroid C2/LibreELEC 9

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Tue Jan 01, 2019 5:52 pm

blackride wrote:
Tue Jan 01, 2019 2:43 pm
cdu13a wrote:
Tue Jan 01, 2019 2:19 am
blackride wrote:
Mon Dec 31, 2018 5:59 pm
cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
Try the nightly build for the 31st
But there https://relkai.coreelec.org/:
builds of 30.12.2018 - CoreELEC-S905.arm-9.0-nightly_20181230-Odroid_C2.img.gz

How i can get build 31.12.2018?
The build will be available latter today.
I checked 31.12.2018 build. After stop channel - blackscreen. :?
There is no blackscreen when you run the channel.
Apparently this can not be fixed, since it appeared a long time ago.

Another question, is it possible to switch to the 4.xx kernel soon?
I tried two chewitt's builds on the 4.19 kernel and they worked well - like x86. There were no frame passes for dvb-s / s2 channels. And also the interface was very responsive.
Then It seems that it might be a dvb issue. Did you try playing a local file to see if the same thing happens?
Also can you provide me more information about your setup?

While work has been happening to support using a current 4.xx kernel we won't be switching away from the 3.14 kernel for the 9.0 release.
Despite all the amazing work that has already been done to add support for the Amlogic SOCs to the mainline kernel, there is still a lot more to be done before the mainline kernel is feature complete enough to replace the 3.14 kernel.

Right now the main focus is the 9.0 release of CoreELEC. After 9.0 is released there will be public development builds of CoreELEC with a 4.xx kernel.

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Wed Jan 02, 2019 2:56 am

cdu13a wrote:
Mon Dec 31, 2018 2:49 pm

Then It seems that it might be a dvb issue. Did you try playing a local file to see if the same thing happens?
Also can you provide me more information about your setup?
I used:
Settings/Player/Videos - Adjust display refresh rate to Off

I playing local video file 1920x1080p. After stop channel - blackscreen.

The problem is CE.
There is no problem in LE.
Oroid C2/LibreELEC 9

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Thu Jan 03, 2019 10:34 pm

Hi cdu13a,

I hit on the interesting HK commit. Should be port of lirc_rpi (which works very well for me @Rpi+ELEC) for odroid XU3/4, C1/C2.
Original commit is from 2013 for X/X2, polished for C1/C2@2016 and XU3/4@2017. Associated HK forum thread is here.

I dont know, why in Official Odroid C2 HK Wiki mentions gpioplug (maybe its more universal?), but this maybe also worth a try and test?
Edit: aah, the original lirc_odroid for X/X2 works both as transmitter/receiver, but rework done 2016 change it to only transmitter :cry:
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

User avatar
cdu13a
Posts: 124
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1
Contact:

Re: The right *ELEC for C2

Unread post by cdu13a » Fri Jan 04, 2019 7:03 am

blackride wrote:
Wed Jan 02, 2019 2:56 am
cdu13a wrote:
Mon Dec 31, 2018 2:49 pm

Then It seems that it might be a dvb issue. Did you try playing a local file to see if the same thing happens?
Also can you provide me more information about your setup?
I used:
Settings/Player/Videos - Adjust display refresh rate to Off

I playing local video file 1920x1080p. After stop channel - blackscreen.

The problem is CE.
There is no problem in LE.
I have 2 C2 setup. One with CE one with LE both nightly builds from the 31st, both identical settings, both attached to same model monitor. Using an 8bit hevc and an 8bit h264 file from http://jell.yfish.us/ I get the exact same results, on both CE and LE.

Video plays, at end of video playback screen goes black(like it does for all local video files In my collection of test files) for I guess around just under a second then back to the gui.

If it is the black screen for less then a second at the end of playback you are referring to then it happens on both CE and LE, and seems to be expected behavior.

If this is not what you are referring to, then I'm unsure what the problem you are having is, or how to reproduce it?

User avatar
blackride
Posts: 59
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Contact:

Re: The right *ELEC for C2

Unread post by blackride » Sat Jan 05, 2019 5:02 pm

cdu13a wrote:
Mon Dec 31, 2018 2:49 pm
If it is the black screen for less then a second at the end of playback you are referring to then it happens on both CE and LE, and seems to be expected behavior.
You're right. I was wrong. I apologize.

When is it about to expect the CE public images on the 4.xx kernel?
Oroid C2/LibreELEC 9

User avatar
JimmyS
Posts: 53
Joined: Sun Apr 22, 2018 9:37 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: The right *ELEC for C2

Unread post by JimmyS » Thu Jan 10, 2019 10:30 pm

Hi,

I am really trying to organize and make GPIO IR changes widelly avaible for users. Therefore I made a comprehensive comparation of amlogic kernels related to the GPIO IR:

HK linux - odroidc2-3.14.y
media/rc: Add new IR receiver to specify gpio number for IR sensor
ODROID-C2: Adjust request irq routine based on meson gpio irq
ODROID-C2: Apply meson_fix_irqbank to find an available gpioirq bank
ODROID-C2 : gpio sysfs irq implement.

CoreELEC linux-amlogic amlogic-3.14-nougat
Cherrypicked from HK:
[PATCH] media/rc: Add new IR receiver to specify gpio number for IR s…
[PATCH] ODROID-C2: Adjust request irq routine based on meson gpio irq
[PATCH] ODROID-C2: Apply meson_fix_irqbank to find an available gpioi
[PATCH] ODROID-C2 : gpio sysfs irq implement.

Custom, implemented in CoreELEC:
PD#123733: irq: Add gpio irq mask interface
gpio: add new gpio and pinctrl driver
drivers/media/rc: adjust gpio-ir-recv timeouts
[PATCH] [media] rc: gpio-ir-recv: add timeout on idle

LibreELEC linux-amlogic
Cherrypicked from HK, not implemented:
media/rc: Add new IR receiver to specify gpio number for IR sensor

Custom, not implemented in LibreELEC:
[media] rc: set IR_MAX_DURATION to 500 ms
[media] rc-core: define a default timeout for drivers
smsir.h: remove a now duplicated definition (IR_DEFAULT_TIMEOUT)
[media] rc: gpio-ir-recv: add timeout on idle
[media] gpio-ir: do not allow a timeout of 0

@cdu13a, Is it possible to merge CoreELEC tuning into HK kernel?

The best would be also push HK (C2) kernel optimalisations to the upstrem linux kernel, @Joy, do you think its possible? At least for the gpio part? I am asking that, because gpio-ir-recv is also used by DVB drivers (V4L-DVB etc.), so without propagating changes, when using DVB drivers there would be losing of GPIO functionality..
Odroid C2 + ??? - proof of concept, trying to find out best ELEC version supporting: GPIO IR, Mysql(for Kodi library), DVB-T2 drivers, TVHeadend. Not sucessfull yet.

6x RPi2 + Various TV's + LE 7.0.3, 2x Win7 Kodi 16.1 + MySQL from vPeter's LAMP plugin as Library DB + .zip patch + EAC3 patch .

Post Reply

Return to “LibreELEC - Kodi Project for C1/C2”

Who is online

Users browsing this forum: No registered users and 3 guests