docs: def system_model():
      """Get manufacturer and model number.
  
      On older Linux kernel versions without /sys/class/dmi/id this
      requires root access.
      """
      mdata = {}
      man = None
      pn = None
      try:
          # This might be
          # sys_vendor, bios_vendor, board_vendor, or chassis_vendor
          man = open('/sys/class/dmi/id/sys_vendor').read().strip()
      except:
          if os.getuid() == 0:
              for line in os.popen('/usr/sbin/dmidecode -s system-manufacturer'):
                  man = line.strip()
      try:
          pn = open('/sys/class/dmi/id/product_name').read().strip()
      except:
          if os.getuid() == 0:
              for line in os.popen('/usr/sbin/dmidecode -s system-product-name'):
                  pn = line.strip()
      if man is not None:
          mdata['System_manufacturer'] = man
      if pn is not None:
          mdata['System_product_name'] = pn
      return mdata