Well, there are some different ways of approaching this.  Either we
physically state the machine is meant to be a specific machine type
using a command line option or we try to infer it (e.g. has it got a
battery, then 'probably' it's a mobile platform of some sort).

Perhaps we should have a command line option called: --machine-type= and
have different options like infer, desktop, laptop, netbook, server,
unknown, other,  etc.

The default should be infer, so if a user does not specify this, we try
and make fwts do the right thing, even if it means guessing what kind of
platform it is from various attributes (e.g. has it got a battery, etc).

And then we can then expand the DMI test to sanity check Section 7.4.1
of the SMBIOS spec "System Enclosure or Chassis Types" and also make the
acpitables acpi_table_check_fadt() function sanity check the
preferred_pm_profile field too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/897298

Title:
  fwts should test chassis type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/897298/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to