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-5-13 07:46:43 | Show all floors
chaszim replied at 2016-5-13 00:37
Most people hate to admit when their wrong, fortunantly, I'm not one who suffers that. I think I f ...

The reason why it falls back to 1. 1. 1970 (give or take timezone) is format which is internally used for time representation. That is something called unix time stamp and 0 means, you guess it, 1. 1. 1970. This is something which was invented in old unix days (70's obviously) and it remained standard to this day. So unless you syncronize with time server, it will stay that way, because there is no RTC on board.

I will add syncronization command to sleep, so it hopefully preserve the data.

Published in 2016-5-13 08:02:57 | Show all floors
jernej replied at 2016-5-12 23:43
I will upload new build soon (few days) to fix some things and one of them will be wifi driver cra ...

how do you do dmesg without a cable? And, please tell me more about how to load a new image from withing openelec. I get you use a tar file but how/where, is it downloaded etc. And location of tar file.

Published in 2016-5-13 08:19:44 | Show all floors
Edited by chaszim at 2016-5-13 08:25
jernej replied at 2016-5-13 07:46
The reason why it falls back to 1. 1. 1970 (give or take timezone) is format which is internally u ...

Yea, now it apparently save after re-boot. Ideally it should be save on exit from page. But, you know we'll take what we get, and like it. Thanks And, right again I remember now too, that there was no real time clock module onboard. Which I looked at one, for the RPI, (pretty cheep) wondering if it would be too nasty to interface. I still haven't got around to loading the new image, it's been a rough couple of days. should I hold now till the new new image comes out?

1

threads

90

posts

788

credits

Senior member

Rank: 4

credits
788
Published in 2016-5-13 12:53:55 | Show all floors
Edited by lymon at 2016-5-13 12:55
jernej replied at 2016-5-13 07:46
The reason why it falls back to 1. 1. 1970 (give or take timezone) is format which is internally u ...

Maybe include the "fake-hwclock" package ?
I use it on other devices that don't have a RTC and  it will reset the time/date to that of the last reboot..even if you don't have a network/ntp connection (yet)



4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-13 12:56:00 | Show all floors
chaszim replied at 2016-5-13 01:19
Yea, now it apparently save after re-boot. Ideally it should be save on exit from page. But, you kn ...

Adding RTC should not be too hard nor expensive. Usually, it's not included beacause it needs some kind of another type of power supply likw button cell battery.

It's on you if you want to update. Some bugs are fixed, some introduced... I thought I make clear where to update file in latest prebuild images thread. Check FAQ point 12 for update instructions. But if you do update, you can enable automatic updates from now on.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-5-13 12:57:47 | Show all floors
lymon replied at 2016-5-13 05:53
Maybe include the "fake-hwclock" package ?
I use it on other devices that don't have a RTC and  it  ...

I'm not a fan of adding things which are not by default in other official images.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-13 14:21:30 | Show all floors
chaszim replied at 2016-5-13 08:02
how do you do dmesg without a cable? And, please tell me more about how to load a new image from w ...

You an dmseg through putty and SSH (first enable SSH in openelec settings).
Updating image: just upload tar file in "updates" folder with Samba (in Windows just go to network, find your openelec orangepi there). However, since last update you will be able to go to settings -> Openelec settings and there choose update

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-13 14:31:39 | Show all floors
Edited by Dima at 2016-5-13 14:40
chaszim replied at 2016-5-13 07:37
Most people hate to admit when their wrong, fortunantly, I'm not one who suffers that. I think I fo ...

I was able to reproduce this issue.
Settings -> add add-ons to homepage. Then directly after it I went to home screen, pulled the plug and when it rebooted, it was gone. Also after shutdown and then pulling the plug.
Interesting issue... Never noticed it, though quite significant.

I do see a few possible causes. For example
  1. 08:26:35 T:3035710016 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
Copy code

BTW: noticed another interesting error when shutting down:
  1. 08:26:59 T:2931815328  NOTICE: Skin Helper Service --> Shutdown requested !
  2. 08:26:59 T:2931815328  NOTICE: Skin Helper Service --> BackgroundsUpdater - stop called
  3. 08:27:01 T:2931815328  NOTICE: Skin Helper Service --> ListItemMonitor - stop called
  4. 08:27:02 T:2931815328  NOTICE: Skin Helper Service --> WebService - stop called
  5. 08:27:04 T:2854048672   ERROR: CPythonInvoker(0, /storage/.kodi/addons/script.skin.helper.service/service.py): script didn't stop in 5 seconds - let's kill it
  6. 08:27:04 T:2583688096   ERROR: Traceback (most recent call last):
  7. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
  8. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
  9. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
  10. 08:27:04 T:2583688096   ERROR:   File "/storage/.kodi/addons/script.skin.helper.service/resources/lib/WebService.py", line 64, in __init__
  11. 08:27:04 T:2583688096   ERROR:     SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, request, client_address, server)
  12. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
  13. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  14. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
  15. 08:27:04 T:2583688096   ERROR:   File "/storage/.kodi/addons/script.skin.helper.service/resources/lib/WebService.py", line 69, in do_QUIT
  16. 08:27:04 T:2583688096   ERROR:     self.send_response(200)
  17. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 395, in send_response
  18. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 401, in send_header
  19. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/socket.py", line 328, in write
  20. 08:27:04 T:2583688096   ERROR:   File "/usr/lib/python2.7/socket.py", line 301, in flush
  21. 08:27:04 T:2583688096   ERROR: SystemExit
Copy code
And actually a possible "bug in lircd":
  1. 08:29:25 T:3035710016  NOTICE: OnSleep: Stopping lirc
  2. 08:29:26 T:3035710016   ERROR: Keymapping error: no such action 'lirc.stop' defined
Copy code

Will investigate further a bit later with a clean image, though this is an interesting start.
Published in 2016-5-13 22:50:21 | Show all floors
Edited by chaszim at 2016-5-17 11:50
jernej replied at 2016-5-13 12:56
Adding RTC should not be too hard nor expensive. Usually, it's not included beacause it needs some ...

Sorry, were not all computers, with items locations locked in (grin). I remembered the location after I said that.


And I'm kind of in at war with my local Cable monolopy. I really really need to find an alturnative to them and their ever increasing prices.

@jernej: It might an idea to add more detail to the image page, on how do use the upgade process (the simpelist, right way, for the masses). Is the upgrade process done through the openelec config page, or is it done with the other available app "openeled dev update"? Which, this app, is giving me an error, which keeps popping in on kodi startup. I tried doing it with a thumb drive and failed.

0

threads

5

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-5-14 03:47:46 | Show all floors
jernej replied at 2016-5-13 06:39
Connect serial adapter to RX,TX and GND pins and provide the output.

Ok and what if I do not have a serial adapter?

I have tested with 3 different monitors. On all of them everything works just fine (even switched the HDMI cables).

So there is something going on with my monitor (it is the oldest of all that I used to test) not being able to display the information it gets from the OPI. I tried to change refresh rate and resolution but nothing works.

Any other ideas what could be wrong with the monitor? In all those years it was able to display anything I have connected on. Also it displayed the default Android OS and some other Linux distros on OPI just fine. So I guess there is some specific setting that is preventing it to work?

BTW: my monitor is AOC V27T if it helps
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list