Is there a "usual" way to detect whether a is a laptop, desktop, tablet, phone, embedded device, server, virtual machine and so on without the use of HAL?
In the past this information could be snagged from smbios.chassis.type
, but as HAL is now deprecated in most Linux distributions I need to get access to this some other way. I can't see anything obvious in dmidecode
.