Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

RPi4 run failed #24

Open
zhulinpinyu opened this issue Dec 2, 2019 · 1 comment
Open

RPi4 run failed #24

zhulinpinyu opened this issue Dec 2, 2019 · 1 comment

Comments

@zhulinpinyu
Copy link

when I run webengine_kiosk with nerves_system_rpi4 get following error:

02:46:37.736 [error] webengine_kiosk: unexpected exit from port: 127

02:46:37.737 [error] GenServer Display terminating
** (stop) :unexpected_exit
Last message: {#Port<0.72>, {:exit_status, 127}}
State: %{homepage: "http://0.0.0.0:4000", port: #Port<0.72>}

usage

config:

...
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM=y
BR2_PACKAGE_QT5BASE_LINUXFB=y
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
BR2_PACKAGE_QT5BASE_GIF=y
BR2_PACKAGE_QT5BASE_PNG=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS=y
BR2_PACKAGE_QT5WEBENGINE_ALSA=y
...
config :webengine_kiosk,
  uid: "kiosk",
  gid: "kiosk",
  data_dir: "/root/kiosk",
  homepage: "http://0.0.0.0:4000"
{WebengineKiosk, {Application.get_all_env(:webengine_kiosk), [name: Display]}},
@zhulinpinyu zhulinpinyu changed the title Rpi4 run failed RPi4 run failed Dec 2, 2019
@fhunleth
Copy link
Collaborator

fhunleth commented Dec 2, 2019

The Raspberry Pi 4's video output doesn't work with Nerves. I did some work at https://github.com/fhunleth/kiosk_system_rpi4/pull/1 that might be of interest. The upstream repository is https://github.com/LeToteTeam/kiosk_system_rpi4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants