Closed agners closed 2 years ago
That will not work because it's mask by docker. We Can pass the machine type over env
Yes I realized, that is why I set it to draft :sweat_smile:
We could also enable device tree access for Audio with a Supervisor upgrade I guess? Add-ons have that as an option. Not sure what is better/easier.
Hm, I see there is currently not a easy way to access the firmware directory in its default location. /proc/device-tree
symlinks to /sys/firmware/devicetree/base
and /sys/firmware/` directory is in a hard-coded mask list since years: https://github.com/moby/moby/commit/8b1772c86b20d06ae6bd8ccf4b20f6df4cd86b62
We support non-native location with this pull request: https://github.com/home-assistant/supervisor/pull/519
It seems that a bind mount to a different location works, but the symlink /proc/device-tree
can't be changed, so whereever we bind mount it would be non-standard :(
New version using sound device id from sysfs.
Add sound configuration for Khadas VIM3. Currently only HDMI supported. This requires access to device tree in sysfs.