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-15 03:53:23 | Show all floors
jernej replied at 2016-2-15 03:31
It's only in comments and even there is represented as an example of alternative wiring. Do you ha ...

I plugged the display and do not work. Blinking a backlight and no display. Had to seek at the cause and add to the configuration file configuration of the the connection.
Converters i2c to the display mainly occur in one of the default configuration. So the same configuration should be set in the system.
Not that plug in and I have to look further why does not work!

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-15 05:39:25 | Show all floors
lymon replied at 2016-2-14 07:54
I know, but as it says in the "latest prebuilt images" topic that the images are with PVR addons in ...

I updated the patch. Can you please pull latest changes and test again? As I said in my previous post, if kodi doesn't reboot (e.g. crashes and creates a crash log), enable debug log and reproduce the issue. Then please send me both log files (kodi.log and kodi.old.log).

2

threads

94

posts

656

credits

Senior member

Rank: 4

credits
656
Published in 2016-2-15 07:38:38 | Show all floors
Edited by jeevasv at 2016-2-15 15:55
@GUTEK@ replied at 2016-2-15 02:43
jernej
There is a bug in the patch to lcdproc:
Address BL is 0x80 (i2c_line_BL=0x80) should be 0x08  ...

Whatever he is telling about is a typo in the example mentioned in the README in the original patch github page

I tested the LCDproc along with the XBMClcd Addon and it works beautifully using a 16x2 lcd along with an pcf8574T i2c backpack. With  longer lines the scroll speed is too fast with the default addon settings. You can change that in the XBMCLCDproc addon configure options along with backlight behaviour and few others.

I also noticed that with the mainline IR driver irrecord  consistently failed to detect the gap with couple of remotes that I tried. Reverting to the legacy driver resolved the issue. So I think it is better to revert to the legacy driver till the mainline driver improves unless there is a different test report which proves the case otherwise.


I'm totally in for the H3 rewrite and we should plan and start whenever the time is right.

2

threads

94

posts

656

credits

Senior member

Rank: 4

credits
656
Published in 2016-2-15 08:12:04 | Show all floors
Jernej,

The one-wire bus support also needs to be enabled in the fex files by including the w1-para.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-15 14:42:22 | Show all floors
jeevasv replied at 2016-2-15 01:12
Jernej,

The one-wire bus support also needs to be enabled in the fex files by including the w1-para ...

Fex files need overhaul. Any suggestion what else to change? Select SPI over GPIO, etc.?

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-2-15 14:46:40 | Show all floors
jeevasv replied at 2016-2-15 00:38
Whatever he is telling about is a typo in the example mentioned in the README in the original patch ...

There is not necessarily a bug in IR driver, could be also bug in input/rc subsystem. I would rather fix this than go back. Unfortunately, there is so many requests that is hard to keep up. Pull requests would be very welcome.

Don't you think that now is the right time?

9

threads

634

posts

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
Published in 2016-2-15 15:29:42 | Show all floors
I fixed kernel patches up to latest .110 if you find it useful. It's building fine, working too.
https://github.com/igorpecovnik/ ... ernel/sun8i-default

2

threads

94

posts

656

credits

Senior member

Rank: 4

credits
656
Published in 2016-2-15 18:46:24 | Show all floors
Edited by jeevasv at 2016-2-15 18:51
jernej replied at 2016-2-15 14:46
There is not necessarily a bug in IR driver, could be also bug in input/rc subsystem. I would rath ...

Probably you are right but ir-keytable -t --sysdev=devinput -d /dev/input/event1 is working properly and is detecting a keydown and keyup events as it should.

Only the irrecord fails and detect gap and quits. It seems to detect something when keys are manually repetitively pressed rather than kept depressed. So by vague guess looks more on the IR driver side rather than the input side. Would like to see the behaviour with mainline kernel to confirm.

Anytime is right time for a proper rewrite. I'm not following the mainline kodi development timelines. Since you mentioned a major kodi overall is in the pipeline which better reorganizes the way new devices are supported I thought we may want to wait/follow that inorder to avoid rework later

2

threads

94

posts

656

credits

Senior member

Rank: 4

credits
656
Published in 2016-2-15 19:34:27 | Show all floors
jernej replied at 2016-2-15 14:42
Fex files need overhaul. Any suggestion what else to change? Select SPI over GPIO, etc.?

I think enabling one -wire and spi0 in all three fex files should be enough for the time being.

I also think people are having better opinion about running OPiPC image in the OPiOne board by just replacing script.bin. Whenever you have some time Just clone the current OPiPC folder as OPi-One. And later I can provide the files to be replaced or give you a pull request.
-Cheers

1

threads

18

posts

320

credits

Intermediate member

Rank: 3Rank: 3

credits
320
Published in 2016-2-15 19:38:30 | Show all floors
Edited by starsail0r at 2016-2-15 19:40
jeevasv replied at 2016-2-15 18:46
Probably you are right but ir-keytable -t --sysdev=devinput -d /dev/input/event1 is working properl ...

you are trying the old method, read the faq for beginners again. i failed as you did too but that was due to using old method for ir.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list