Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

2

threads

30

posts

279

credits

Intermediate member

Rank: 3Rank: 3

credits
279
Published in 2016-2-12 19:29:01 | Show all floors
I already have Orange Pi One. I'm trying to connect an external IR receiver to GPIO. But it does not work.
I tried TSOP31238 and VS1838B with pull-up resistor.
I tried several pins - PA14, PD14, PC04, PG07, PA10, PA20, without success.
In script.bin changing the name of the GPIO for s_cir0 (ir_rx position) and comments pin in gpio_para.

What else do I need to change to work?

1

threads

18

posts

320

credits

Intermediate member

Rank: 3Rank: 3

credits
320
Published in 2016-2-12 19:40:40 | Show all floors
jernej, how can i use dvi on your builds? i have seen in the forum that once the hdcp is disabled for hdmi, hdmi to dvi adapters work successfully.
http://www.orangepi.org/orangepi ... &page=1#pid4648
https://github.com/loboris/Orang ... er/build_scripts.sh

0

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-2-12 19:42:56 | Show all floors
Edited by well0ne at 2016-2-12 22:10

Its me again.

Is it possible to merge your changes/commits with this openelec-version ? https://github.com/lrusak/OpenELEC.tv/tree/kodi-17
Would be nice to know. Thanks in advance.

Kodi 17 has some minor changes, which i would like to use.

I'm using git and github a week, so i have not the experiance, sorry.

Is there any posibillity to donate for your work?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-12 22:13:35 | Show all floors
Edited by jernej at 2016-2-12 15:26
well0ne replied at 2016-2-11 23:18
Thank you! I have an ath9k_htc using on my rasp-pi, having very good results.
what i tried now was ...

Yep, Atheros has usually good drivers and performace. That's why I have their stick.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-12 22:18:29 | Show all floors
@GUTEK@ replied at 2016-2-12 12:29
I already have Orange Pi One. I'm trying to connect an external IR receiver to GPIO. But it does not ...

IR settings in script.bin are a bit pointless. The only important thing there is enable parameter. You must always connect it to s_cir0 pin - check OPiPC schematic where and how to connect IR sensor. It should work.

Can you elaborate a bit how the OPi one is working with OpenELEC images? I saw that voltage settings are changed a bit and I'm a bit worried about combination of 512MB RAM and CMA settings. Definetly needs a new entry under devices section. Is there anyone who has it and would like to help?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-12 22:19:54 | Show all floors
swordfish6975 replied at 2016-2-12 10:36
sorry been a way for a while working on other project

just pulled git, building new images as we sp ...

Maybe you can now remove warning about heatsink? There is no need for it for some time now.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-12 22:26:05 | Show all floors
starsail0r replied at 2016-2-12 12:40
jernej, how can i use dvi on your builds? i have seen in the forum that once the hdcp is disabled fo ...

Done!

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-12 22:32:55 | Show all floors
Edited by jernej at 2016-2-12 15:36
well0ne replied at 2016-2-12 12:42
Its me again.

Is it possible to merge your changes/commits with this openelec-version ? https://git ...

Merging that branch is not a problem. There would be few or even none merge conflicts. However, my patch for H3 could not be applied, because Kodi is going under big code reorganization and maintenance. This changes are very welcome, some of them will allow writting support for new devices more easily. That doesn't mean that it can't be done, just more time is needed. IMHO, until kodi 17 codebase doesn't stabilize a bit, there is no point to port H3 support.

There is a way to workaround this H3 support (quick way) - instead of using CedarX library, you can configure project to use X11 and libvdpau-sunxi.

0

threads

8

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-2-12 23:25:37 | Show all floors
Edited by well0ne at 2016-2-12 23:37

Okay thanks for the answer.
Well then i have to wait until everything is more stable.

I have just one reason why i would like to have a newer build: InputStreams are handled different and its easyer for me to intercept.
http://forum.kodi.tv/showthread.php?tid=258494
As you already know. ;)

They will release something in the future, no timeline. But i know i'm close ;)


Anyway, if you take donations, tell me where to donate

2

threads

30

posts

279

credits

Intermediate member

Rank: 3Rank: 3

credits
279
Published in 2016-2-13 01:50:48 | Show all floors
Edited by @GUTEK@ at 2016-2-13 02:39
jernej replied at 2016-2-12 22:18
IR settings in script.bin are a bit pointless. The only important thing there is enable parameter. ...

I have not used for a long time OpenELEC on Opi One. It seems that it works correctly. It works network card and USB. Hardware acceleration work, I tried video 1080p HEVC and 4k h264 sample, TV also works.
Oddly shows little RAM - 297MB only, of which about half is used.

I also tried Debian, when starting displays this errors: http://linux-sunxi.org/Orange_Pi_One#Compatibility
Probably the OpenELEC is the same (not checked).
There is no light any led on the board, on the Debian was lit red.

Yet found s_cir0 assigned to pin PL11 (for this is connected the receiver ir in Opi PC) in the file linux-awh3-3.4/drivers/pinctrl/pinctrl-sun8iw7.c
I changed there for the pin to which I have connected the receiver and compiled kernel, but also it did not work.

I guess I have to wait until someone wiser figure this out

EDIT:
Ok, I'm blind. Next to the CPU is the point solder, described as ir_rx. It was enough to connect the receiver and it works without any modification.
http://linux-sunxi.org/images/e/e0/Orange_Pi_One_Top.jpg
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list