Giter Site home page Giter Site logo

reelboxng's Introduction

ReelBoxNG

ReelBox Next Generation Helper/Support Scripts/Tools/Code

Content of this repository will support creating ReelBoxNG based on self-made mainboard exchange

See also Wiki: https://github.com/pbiering/ReelBoxNG/wiki

Features

  • DONE: frontpanel display (setup, control, progress feature)
  • DONE: frontpanel LEDs (setup, control, progress feature)
  • DONE: ReelBox remote control unit via frontpanel
  • DONE: netceiver (preparation)
  • PARTIAL: frontpanel button (POWER-only so far)
  • DONE: add support for eHD (see also https://github.com/pbiering/vdr-plugin-reelbox)

History

Starting with easyVDR, switching to BM2LTS, back to easyVDR, now running on vanilla Fedora Linux distribution

Notes

In case of taking use in easyVDR or BM2LTS or local, please feed back all required extensions in an unbreaking compatibility was via github Pull Request

Issues

Please use github's issue tracker

Coming next

  • schematics for frontpanel connection (serial and towards mainboard)

Content

src-reelvdr

Contain source code for

  • hdshm3
  • bspshm
  • reelfpctl
  • reelbox-ctrld

By scripts expected target for binaries would be: /opt/reel/sbin (use e.g. softlink)

bin-reelvdr

Contain binaries for

  • eHD boot image (MIPS)
  • hdplayer binary (MIPS)

etc

Contains script / config files, can be either stored directly in related OS directories or use softlink to the cloned directory

etc/vdr

  • remote.conf.reelbox: remote control unit configuration file extension for ReelBox support
  • keymacros.conf.reelbox: keymacro configuration file example for ReelBox Remote Control Unit

etc/sysconfig

  • etc/sysconfig/reel: config file related to ReelBox

  • etc/sysconfig/vdr (not shown): suggested action options would be: --shutdown=/opt/reel/sbin/easyvdr-shutdownaction --record /opt/reel/sbin/easyvdr-recordingaction

etc/sysconfig/vdr-plugins.d/

  • etc/sysconfig/vdr-plugins.d/graphlcd.conf: example for "graphlcd" plugin configuration
  • etc/sysconfig/vdr-plugins.d/mcli.conf: example for "mcli" plugin configuration
  • etc/sysconfig/vdr-plugins.d/remote.conf: example for "remote" plugin configuration
  • etc/sysconfig/vdr-plugins.d/softhddevice.conf: example for "softhddevice" plugin configuration
  • etc/sysconfig/vdr-plugins.d/mpv.conf: example for "mpv" plugin configuration

etc/X11

  • etc/X11/xorg.conf.d/99-mode-1920x1080-50.conf: config example for displays to enforce proper video mode

etc/systemd/reel

systemd (example) files for preparation and progress

etc/systemd/system/vdr.service.d

  • etc/systemd/system/vdr.service.d/override.conf: set CAP_NET_RAW required by vdr if mcli plugin is used (otherwise it cannot listen on the given interface using raw socket)

sbin

  • sbin/easyvdr-recordingaction: imported+extended from easyVDR
  • sbin/easyvdr-shutdownaction: imported+extended from easyVDR
  • sbin/easyvdr-lcd: script for controlling frontpanel LCD by options
  • sbin/easyvdr-lcd: script for controlling frontpanel LED by options
  • sbin/reelbox-control.sh: major merge of various original ReelBox scripts into one-and-only controllable by options

share/images

start/stop/reboot/progress images (can be configured by GRAPHLCDIMAGEPREFIX, see /etc/sysconfig/reel)

  • DONE: "ReelBoxNG"
  • DONE: "BM2LTS"
  • DONE: "easyVDR"

share/images/generator

  • image source (XCF)
  • image templates
  • image generator script

share/reel

very simple "ReelBoxNG" log

share/vdr

  • recording-hooks/20_easyvdr-led.custom: hook script to control the recording LED and (upcoming in VDR > 2.5.1) standby LED in case of editing/copying

Further information

Required plugins

mcli

graphlcd

  • ReelBox skin is integrated since release 1.0.3
  • Select "st7565r-reel" as driver

reelboxng's People

Contributors

pbiering avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reelboxng's Issues

eHD shows a bunch of unsupported ioctl

dmesg on eHD show a bunch of unsupported ioctl

<4>fs453: ioctl 40046535 not supported
<4>sil9030: ioctl 800464ce not supported
<4>fs453: ioctl 800464ce not supported
<4>sil9030: ioctl 800464d0 not supported
<4>fs453: ioctl 800464d0 not supported
<4>fs453: ioctl 40046535 not supported
<4>sil9030: ioctl 800464ce not supported
<4>fs453: ioctl 800464ce not supported
<4>sil9030: ioctl 800464d0 not supported
<4>fs453: ioctl 800464d0 not supported
<4>fs453: ioctl 40046535 not supported
<3>Stream 0 volume control failed!<3>Stream 1 volume control failed!fs453: ioctl 40046538 not supported

needs to be investigated, potentially fixable by updated boot image

hdshm3: investigate duplicated ioctl code

found duplicate definition in hdshm.h:

#define IOCTL_HDSHM_DMA          _IOWR('d', 0xc, hdshm_dma_t*)
#define IOCTL_HDSHM_CMDLINE      _IOR('d', 0xc, char[256]) // TODO check: has same 0xc as DMA ?!

somehow strange, potential bug, but needs also eHD boot image rebuild to be aligned

replace hardcoded /dev/fb0 by option or autodetection

currently, /dev/fb0 is hardcoded in code, which causes issues if fb0 is not eHD:

hdshm3/src/hdctrld/hdvideo.c:	fd=open("/dev/fb0",O_RDONLY);
hdshm3/src/hdctrld/hdvideo.c:	fd=open("/dev/fb0",O_RDONLY);
hdshm3/src/hdctrld/hdvideo.c:	fd=open("/dev/fb0",O_RDONLY);
hdshm3/src/hdctrld/hdvideo.c:	fd=open("/dev/fb0",O_RDONLY);
hdshm3/src/hdctrld/hdvideo.c:    int fd = open("/dev/fb0", O_RDWR|O_NDELAY);

either add mandatory option or autodetection like in bash:

awk '$2 == "hde_fb" { print "/dev/fb" $1 }' /proc/fb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.