rtokarev / openrelease Goto Github PK
View Code? Open in Web Editor NEWOPENRELEASE - enhanced version of the RELEASE
Home Page: https://github.com/rtokarev/OPENRELEASE/wiki
License: Other
OPENRELEASE - enhanced version of the RELEASE
Home Page: https://github.com/rtokarev/OPENRELEASE/wiki
License: Other
Description:
After "power on", TV screen/sound to be OFF - similar like "soft power off" works. "Soft power off" is a nice feature. You can turn off TV screen/sound and services will work in background. Now we have : "TV" mode, "server" mode and "TV and server" mode.
It will be nice if "power on" does not start RELEASE. And if we are able to receive remote control keys and start RELEASE only when "TV" mode is needed.
As far I know, This is possible only for S6/S7. BCM TVs, RELEASE is needed, other way network does not work. For BCM TV, RELEASE have to be started, but maybe "init" process could be interrupted before screen ON
Reasons:
After reboot, TV screen/sound does start. You need to use remote control and manually to "soft power off". This is very hard work. After reboot, TV screen always starts. if you need "server" mode, If you test something and reboot often - then this is bad for your TV screen.
When RELEASE is not started, you can use more resources in "server" mode. After starting RELEASE you can't kill it. RELEASE does "init" many devices - "soft power off" does not "finalize" all devices and does not free resources. Another reason why, "soft power on" could be very useful.
EDIT:
S7: I can't kill RELEASE. I can start second RELEASE, which does kill first process, but it does not end nice - it does not success to "init" TV properly, TV does not work or I get exception yellow msg on TV screen or I get junk (white/black lines)
BCM: RELEASE can be killed but second RELEASE does not work. "It worked great for RELEASE versions below 3.20.xx" (xeros)
EDIT2: S7 TV starts with "energy saving"=OFF (very bright screen). After startup, RELEASE does adjust to "energy saving"=maximum (for example). It is bad (less or more) in case of reboot.
Currently RELEASE tries to mount any partition from USB storage devices regardless real filesystem tag in such order:
vfat
ntfs
msdos
If any of those mounts will succeed then partition is being accepted for media playback if fail then try mount as next filesystem until all of them fail.
On BCM default Linux kernel supports at least those two filesystems on USB storage devices:
jfs
ext3
Both are used by RELEASE for DVR (AKA Time Machine) in Brazillian TV models but not being mounted on other models.
I would like OPENRELEASE to be able to mount and use for media playback at least ext3 fs (if hard to do as additional mount try) then I would like to sacrifice 'msdos' for 'ext3'.
On Saturn 6 and 7 platforms there are tests with custom kernel that supports even more filesystems so possibility to extend such functionality in OPENRELEASE (via config file?) would be very apreciated.
It would be useful to have possibility to call internal RELEASE functions via input pipe without debug menu access, for example:
echo "OPENRELEASE: call functionname" > /tmp/openrelease.in
I would like to get /bin/keyhandler or something simmilar being executed with system() call with key hex code as argument from libopenrelease.so on each button press.
Such thing can be enabled/disabled (disabled by default) in openrelease.cfg option.
For example:
keyhandler = /bin/keyhandler
with default:
keyhandler = NULL
So it would run for example '/bin/keyhandler a9' for Guide button press.
Such code should wait until /bin/keyhandler exits (some timeout?), check its exit status and depends on exit status run other key events actions or not.
Examples of exit status:
0 - key action has been run, stop doing other actions.
1 - generate just uinput event
2 - run action set in openrelease_keymap.cfg
3 - generate uinput event and run action set in openrelease_keymap.cfg
... ?
We could then enhance functionality with such script or binary to execute actions in Linux shell depends on which key has been pressed.
Description:
Two well knows features. Just added here for reference. (Sorry if description looks bad)
First: About "umount -a" before real power off
Right now, we have shell "reboot" but shell "poweroff" does not work (it does reboot). Real power off using remote control does not "umount -a". In case of "write" operations to usb/jffs2 it could be problem.
We need "notification and delay" before real poweroff - that is how shell script can "umount -a" before power off.
Or, second option, we need to remap "poweroff" to shell script and shell script to be able to call "real power off" function.
Second: Example about "KeyDblClick"
KeyDblClick for Power key, could do "real power off" (default) when single click does "soft power off".
Only if action is assigned to keyDblClick, then single click have to wait 0.5-1 seconds and act after that.
Description:
RELEASE, running in foreground (not as daemon), to be able to accept input from openrelease.in.
Reasons:
Build should produce epk image.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.