Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for addons to set the device-tree mount path #3140

Closed
MarcA711 opened this issue Feb 4, 2024 · 3 comments
Closed

Option for addons to set the device-tree mount path #3140

MarcA711 opened this issue Feb 4, 2024 · 3 comments
Labels

Comments

@MarcA711
Copy link

MarcA711 commented Feb 4, 2024

Describe the issue you are experiencing

I am not sure if this is the right place to ask. If not, please tell me where I should put this.
Is it possible to add an option to the addon configuration config.yaml to allow addon developers to choose where to mount the device-tree? There already is the option devicetree: true, I suggest adding an option like devicetree_path: "/devicetree" (with default value /devicetree for compatibility) that allow passing another path. This would allow me to create a frigate addon that uses hardware acceleration using the NPU on modern rockchip boards (see blakeblackshear/frigate-hass-addons#145).

What operating system image do you use?

generic-aarch64 (Generic UEFI capable aarch64 systems)

What version of Home Assistant Operating System is installed?

11.4

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

...

Anything in the Supervisor logs that might be useful for us?

No.

Anything in the Host logs that might be useful for us?

No.

System information

Rockchip boards supporting rknn-toolkit2

Additional information

No response

@MarcA711 MarcA711 added the bug label Feb 4, 2024
@Bascht74
Copy link

Bascht74 commented Feb 4, 2024

As Home Assistant supports the "Home Assistant Blue" with an ODROID-N2+ chip,
I really hope that your wish will be granted.

I am using the same device (with the blue cover) and looking forward to use frigate with hardware acceleration.
That would be a dream.

@Bascht74
Copy link

Bascht74 commented Feb 4, 2024

@MarcA711 Could this be the right spot:
home-assistant/supervisor#4863
agners responded to the request already.

I think that supervisor has the logic for the config.yaml

@agners
Copy link
Member

agners commented Feb 5, 2024

@MarcA711 Could this be the right spot:
home-assistant/supervisor#4863
agners responded to the request already.

Yes, let's collaborate/discuss the issue in home-assistant/supervisor#4863.

@agners agners closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants