Neon Enclosure Module
Project description
Neon Enclosure
The enclosure module implements the Platform and Hardware Abstraction Layer (PHAL) from OpenVoiceOS. This service loads PHAL plugins that provide different functionality to the core; plugins primarily differ from skills in that they do not have any intents and that they may only be valid in certain core environments (i.e. only for particular hardware or operating system environments).
Admin Services
neon_enclosure.admin
contains a service much like neon_enclosure
, but plugins
it loads will have root
privileges. This service is intended for handling any
OS-level interactions requiring escalation of privileges and is excluded from Docker support.
Because this service runs as root, it also requires configuration be initialized
prior to its initialization; user-level configurations will be placed in the /root
directory per XDG, so any configuration should be done at the system-level.
Running in Docker
The included Dockerfile
may be used to build a docker container for the neon_audio module. The below command may be used
to start the container.
docker run -d \
--network=host \
--name=neon_enclosure \
-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_enclosure
Note: The above example assumes Docker data is stored in the standard user locations
~/.local/share
and~/.config
. You may want to change these values to some other path to separate container and host system data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neon-enclosure-1.7.0.tar.gz
.
File metadata
- Download URL: neon-enclosure-1.7.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da89740365c8fe02db970fc1fa11054ff70b14a619d54874a55b337e49e8e03 |
|
MD5 | e25164d2ddab18bf2f5950d63bf1e7bf |
|
BLAKE2b-256 | 507a2ebb251c205397ca86d2aadd7f0b5b11711c6655b07988fb920096cff0fd |
File details
Details for the file neon_enclosure-1.7.0-py3-none-any.whl
.
File metadata
- Download URL: neon_enclosure-1.7.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f2db197a86e91590f93a7490bb9aa8da0ca664c617bc916b45e3f474c051ea |
|
MD5 | a4d51a8e0d4530fcb6535a54881c4395 |
|
BLAKE2b-256 | 7470f3599a3a98ec5afad288595fbd1a7cab037d4766ada89b5b7e358134f7a6 |