YaST2 Developers Documentation: Hardware information

Hardware information

clients/hwinfo.ycp
Main file
  • Dan Meszaros
  • Ladislav Slezak
  • Michal Svec

This module has an unstable interface.

Imports

  • Arch
  • CommandLine
  • Directory
  • Icon
  • Label
  • Wizard

Includes

  • hwinfo/routines.ycp

Local Variables

Local Functions

local abortPressed -> boolean

this global variable is needed for skipping out from recursed function

local add_cpu_info (list<map> cpuinfo) -> list

Add extra CPU info from .proc.cpuinfo to data read from .probe agent

Parameters:
cpuinfo CPU information returned by .probe agent
Return value:
input with additional CPU information
local afterLast (string str) -> string

returns string that is behind the last dot of given string (extract last part of path)

Parameters:
str path in string form
Return value:
last path element
local buildHwTree (string p, integer progMin, integer progMax) -> term

Returns list of values read from path p

Parameters:
p read path p
progMin minimum value used in progressbar
progMax maximum value used in progressbar
Return value:
tree widget content