hostnamed: SMBIOS 3.0 knows the "tablet" form factor, add support for it
This commit is contained in:
parent
5449f1e331
commit
f3f4f0086e
|
@ -212,10 +212,10 @@ try_dmi:
|
|||
unreliable enough, so let's not do any additional guesswork
|
||||
on top of that.
|
||||
|
||||
See the SMBIOS Specification 2.7.1 section 7.4.1 for
|
||||
See the SMBIOS Specification 4.0 section 7.4.1 for
|
||||
details about the values listed here:
|
||||
|
||||
http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_2.7.1.pdf
|
||||
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdf
|
||||
*/
|
||||
|
||||
switch (t) {
|
||||
|
@ -237,7 +237,11 @@ try_dmi:
|
|||
|
||||
case 0x11:
|
||||
case 0x1C:
|
||||
case 0x1D:
|
||||
return "server";
|
||||
|
||||
case 0x1E:
|
||||
return "tablet";
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue