Re: Purpose of the service-os and software-defined-cockpit bundles


Geoffroy Van Cutsem
 

-----Original Message-----
From: acrn-users@... [mailto:acrn-
users@...] On Behalf Of Auke Kok
Sent: Wednesday, September 26, 2018 7:10 PM
To: acrn-users@...
Subject: Re: [acrn-users] Purpose of the service-os and software-defined-
cockpit bundles

On 09/26/2018 09:04 AM, Geoffroy Van Cutsem wrote:
Is there a way we could make these only start if running on supported HW?
Solutions:

- use udev rules to start the units

- create unit dependencies on virtual devices

Either those will work, but they require that userspace can somehow
through kernel events or device nodes determine that the hardware support
is there.
I believe that's the crux of the issue, it's a UART you connect to. Is there a way you can trigger a udev rule/system unit based on a Product Name or something? The boot firmware on the platform is SBL (if that makes any difference).

Thanks,
Geoffroy

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.