[systemd-devel] acpi_index value reported as 0 - not allowed?

Andrei Borzenkov arvidjaar at gmail.com
Fri Sep 14 07:39:03 UTC 2018


13.09.2018 22:05, Joe Hershberger пишет:
> Hi,
> 
> I have a system which reports acpi_index as 0, which matches the
> labeling on the device. Looking at the source in udev, it seems to be
> expecting an index greater than 0.
> 

You should have at least mentioned what system it is.

> Looking at https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_2.7.1.pdf

This is SMBIOS specification while acpi_index is obtained by ACPI _DSM
method. Unfortunately PCI specifications that define it are not publicly
accessible.

> it provides an example that uses 1 and 2, but I don't see anything
> that claims that 0 is allowed or disallowed.
> 
> Would it be reasonable to send a patch that makes udev allow an index
> of 0 or is there a reason not to allow 0?
> 
> Thanks,
> -Joe
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 



More information about the systemd-devel mailing list