Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-4-30 14:42:16 | Show all floors
Edited by jernej at 2016-4-30 07:57

Almost. Opi2 and plus needs script.bin fix which will be commited today. As mentioned above, driver for deinterlacing crashes after resume, but otherwise, its should work.

EDIT: Or maybe not. I must test few things first on OPi2 and OPiPlus, but this will take some days. OPiOne and OPiPC should have working suspend/resume according to some reports.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-4-30 17:19:24 | Show all floors
If you don't use lircd, it does indeed work. I tried again with various addons and stuff. Only lircd is the one thing that breaks suspend. Also power command of the remote doesn't work. So I really think there's something wrong in the lircd code.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-4-30 18:39:52 | Show all floors
You mean power off with remote? Because power on with remote will be hard to support unless you have remote which is compatible with original allwinner's IR driver.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-4-30 20:22:59 | Show all floors
jernej replied at 2016-4-30 18:39
You mean power off with remote? Because power on with remote will be hard to support unless you have ...

Yeah, KEY_POWER doesn't do anything.

0

threads

19

posts

518

credits

Senior member

Rank: 4

credits
518
Published in 2016-4-30 21:20:32 | Show all floors
Dima, IR KEY_POWER always work, as power_off, i use this manual:
http://www.orangepi.org/orangepi ... thread&tid=1177

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-4-30 23:56:48 | Show all floors
Oh, strange, will have to check my config, maybe I made a typo (I edited the file manually afterwards)

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-1 23:10:29 | Show all floors
Dima replied at 2016-4-30 10:19
If you don't use lircd, it does indeed work. I tried again with various addons and stuff. Only lircd ...

I'm not so sure that lircd is the main reason. Could you test it with closed kodi (you must stop it through systemd) and lircd running?

0

threads

3

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2016-5-2 00:21:12 | Show all floors
Edited by Red-Z at 2016-5-2 00:26

G'day,

I have some trouble with the latest build on OPi PC. After booting a fresh installation, the screen is completely striped /distorted over HDMI, the TV shows that the resolution is 576p, never had this problem before with other distros / devices.

Is there a solution for this special problem?

TY @ all,
Red-Z

(I know, the TV is very old...)

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-2 14:34:52 | Show all floors
jernej replied at 2016-5-1 23:10
I'm not so sure that lircd is the main reason. Could you test it with closed kodi (you must stop i ...

Ok, I just tested a bit more extensively and this is sooooo strange! I've narrowed it down even further.
First a few remarks:
1) Even without running lircd, when killing kodi using systemctl, standby doesn't work anymore. However, it's important to note that when killing kodi, the last "screen" of kodi remains on the screen. So it isn't completely killed to a black screen.
2) I did indeed have a typo, KEY_POWER and KEY_SLEEP does put the Orangepi into sleep, which is good.

Narrowed down reason of not working standby:
When lircd is started manually from putty, it works perfectly: power button works, you can put the box into standby using the remote (wakeup only through button).
However, when lircd is started from autostart.sh (see below in code), the standby function breaks. On the other hand, when any other command than lircd is run from autostart.sh, it doesn't break the standby function.
  1. #!/bin/sh
  2. lircd /storage/.config/lircd.conf
Copy code

So this is a real mystery: what happens differently when lircd is run from autostart compared to run from putty.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-2 14:56:18 | Show all floors
Dima replied at 2016-5-2 07:34
Ok, I just tested a bit more extensively and this is sooooo strange! I've narrowed it down even fu ...

When kodi is stopped, you must use "systemctl suspend" command. Can you please try this. Kodi always renders directly to framebuffer, which mean that latest image will always stay. Maybe lircd issue can be explained with different environment at that point?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list