[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bringing Mobian closer to Debian



Hi,
On Tue, Sep 07, 2021 at 06:12:28PM +0200, Arnaud Ferraris wrote:
[..snip..]
> > According to the systemd documentation for /etc/machine-info, CHASSIS
> > is a workaround for buggy firmware, so it sounds like
> > u-boot/grub2/something need fixing?
> 
> I assume it mostly works on UEFI-based system, but I doubt it'll ever be
> the case on ARM-based machines, unless we make it a device-tree
> property? Maybe Guido has more insight about that point.

Currently systemd looks at DMI data and ACPI so we'd need to extend that
logic to either a lookup table based on
e.g. /sys/firmware/devicetree/base/compatible or to export the chassis
type in /sys based on a DT property¹ (or likely both: the later being
the preferred solution and the former being the user space quirk table).
I have had this on my list for some time but it keeps slipping but
didn't get around to it yet but just bumped it in priority a little.

Cheers,
 -- Guido

1) https://github.com/systemd/systemd/issues/7390


Reply to: