Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 22:22:23 | Show all floors
giaur500 replied at 2016-9-2 15:15
Jernej, I just noticed that power off option from Kodi power menu does not work as expected. It actu ...

Read last page or two of this topic. I explained why is this so.

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
Published in 2016-9-2 22:32:19 | Show all floors
Ok. Can I map my own shell command to Kodi power menu option? To get shutdown command executed directly?

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 22:39:46 | Show all floors
darqoq replied at 2016-9-2 07:32
IR interface inputs are interpreted as the keys on a keyboard thats why patch changes keymaps/keyb ...

power key driver:
https://github.com/jernejsk/linu ... i-gpiokey.c#L38-L60

All possible keys in kernel:
https://github.com/jernejsk/linu ... /linux/input.h#L550
All keys that Kodi cares about (no KEY_SLEEP inside):
https://github.com/xbmc/xbmc/blo ... vices.cpp#L121-L275

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 23:04:10 | Show all floors
giaur500 replied at 2016-9-2 15:32
Ok. Can I map my own shell command to Kodi power menu option? To get shutdown command executed direc ...

Well, a lot can be done, but you will have to ask somebody else or google it

Published in 2016-9-2 23:04:59 | Show all floors
jernej replied at 2016-9-2 15:39
power key driver:
https://github.com/jernejsk/linux/blob/master/drivers/input/keyboard/sunxi-gpiok ...

Thanks,
That is strage, I was wondering which key is maped to "sleep"
(https://github.com/xbmc/xbmc/blo ... ps/keyboard.xml#L95)
Orange PI PC

0

threads

4

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2016-9-2 23:10:44 | Show all floors
Hi, thanks for openelec image...

I have oragepi-plus, how to install to emmc? Is a little hard, openelec not permit to install packages...

Elia

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 23:12:06 | Show all floors
eliafino replied at 2016-9-2 16:10
Hi, thanks for openelec image...

I have oragepi-plus, how to install to emmc? Is a little hard, ope ...

read the faq topic

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 23:12:54 | Show all floors
darqoq replied at 2016-9-2 16:04
Thanks,
That is strage, I was wondering which key is maped to "sleep"
(https://github.com/xbmc/xb ...

Only for X11 and SDL:
https://github.com/xbmc/xbmc/blo ... nEventsX11.cpp#L147
https://github.com/xbmc/xbmc/blo ... inEventsSDL.cpp#L76

I'm not even sure for which platform SDL is used...

0

threads

4

posts

26

credits

Novice

Rank: 1

credits
26
Published in 2016-9-2 23:14:50 | Show all floors

P

Edited by eliafino at 2016-9-2 23:16

I read the faq topics, but script install_to_emmc not present and apt-get not present in openelec, so no rsync no mkfs.vfat
P.s. ok, sorry, emmc_install.sh

4

threads

1118

posts

9350

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9350
Published in 2016-9-2 23:21:04 | Show all floors
eliafino replied at 2016-9-2 16:14
I read the faq topics, but script install_to_emmc not present and apt-get not present in openelec,  ...

You should read official OpenELEC docs first. Filesystem is mostly read only. You can install things only through Kodi's plugin system. If you install unofficial repository, you will get possibility to install rsync, for example. This is not OSMC. OpenELEC (and now LibreELEC) principle is "Just enough OS for Kodi" (something like that).

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list