YaST2 Developers Documentation: Initial hwinfo

Initial hwinfo

Initial hwinfo module - configuration workflow

Imports

  • Arch
  • InitHWinfo
  • Label
  • Popup
  • Report
  • Sequencer
  • Stage
  • Wizard

Includes

  • hwinfo/classnames.ycp
  • hwinfo/newid.ycp
  • hwinfo/routines.ycp

Local Functions

local floppy_selection (map<string,string> devices) -> string

Show floppy selection dialog.

Parameters:
devices map with pairs $["device name" : "model (description)"]
Return value:
selected floppy device name or nil when canceled
local selected_floppy () -> string

Select floppy device where hwifo will be stored. If more than one floppy device was found display selection dialog

Return value:
floppy device name (e.g. /dev/fd0) or nil when no floppy was found
local details_dialog (string model, map info) -> symbol

Show detail dialog for selected device

Parameters:
model hardware description (used in the tree widget as a root node)
info hardware description returned by .probe agent
Return value:
UserInput() value
local detected_dialog () -> symbol

Show summary dialog with all detected hardware

Return value:
UserInput() value