dcdbas.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ===================================
  2. Dell Systems Management Base Driver
  3. ===================================
  4. Overview
  5. ========
  6. The Dell Systems Management Base Driver provides a sysfs interface for
  7. systems management software such as Dell OpenManage to perform system
  8. management interrupts and host control actions (system power cycle or
  9. power off after OS shutdown) on certain Dell systems.
  10. Dell OpenManage requires this driver on the following Dell PowerEdge systems:
  11. 300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC,
  12. 700, and 750. Other Dell software such as the open source libsmbios project
  13. is expected to make use of this driver, and it may include the use of this
  14. driver on other Dell systems.
  15. The Dell libsmbios project aims towards providing access to as much BIOS
  16. information as possible. See http://linux.dell.com/libsmbios/main/ for
  17. more information about the libsmbios project.
  18. System Management Interrupt
  19. ===========================
  20. On some Dell systems, systems management software must access certain
  21. management information via a system management interrupt (SMI). The SMI data
  22. buffer must reside in 32-bit address space, and the physical address of the
  23. buffer is required for the SMI. The driver maintains the memory required for
  24. the SMI and provides a way for the application to generate the SMI.
  25. The driver creates the following sysfs entries for systems management
  26. software to perform these system management interrupts::
  27. /sys/devices/platform/dcdbas/smi_data
  28. /sys/devices/platform/dcdbas/smi_data_buf_phys_addr
  29. /sys/devices/platform/dcdbas/smi_data_buf_size
  30. /sys/devices/platform/dcdbas/smi_request
  31. Systems management software must perform the following steps to execute
  32. a SMI using this driver:
  33. 1) Lock smi_data.
  34. 2) Write system management command to smi_data.
  35. 3) Write "1" to smi_request to generate a calling interface SMI or
  36. "2" to generate a raw SMI.
  37. 4) Read system management command response from smi_data.
  38. 5) Unlock smi_data.
  39. Host Control Action
  40. ===================
  41. Dell OpenManage supports a host control feature that allows the administrator
  42. to perform a power cycle or power off of the system after the OS has finished
  43. shutting down. On some Dell systems, this host control feature requires that
  44. a driver perform a SMI after the OS has finished shutting down.
  45. The driver creates the following sysfs entries for systems management software
  46. to schedule the driver to perform a power cycle or power off host control
  47. action after the system has finished shutting down:
  48. /sys/devices/platform/dcdbas/host_control_action
  49. /sys/devices/platform/dcdbas/host_control_smi_type
  50. /sys/devices/platform/dcdbas/host_control_on_shutdown
  51. Dell OpenManage performs the following steps to execute a power cycle or
  52. power off host control action using this driver:
  53. 1) Write host control action to be performed to host_control_action.
  54. 2) Write type of SMI that driver needs to perform to host_control_smi_type.
  55. 3) Write "1" to host_control_on_shutdown to enable host control action.
  56. 4) Initiate OS shutdown.
  57. (Driver will perform host control SMI when it is notified that the OS
  58. has finished shutting down.)
  59. Host Control SMI Type
  60. =====================
  61. The following table shows the value to write to host_control_smi_type to
  62. perform a power cycle or power off host control action:
  63. =================== =====================
  64. PowerEdge System Host Control SMI Type
  65. =================== =====================
  66. 300 HC_SMITYPE_TYPE1
  67. 1300 HC_SMITYPE_TYPE1
  68. 1400 HC_SMITYPE_TYPE2
  69. 500SC HC_SMITYPE_TYPE2
  70. 1500SC HC_SMITYPE_TYPE2
  71. 1550 HC_SMITYPE_TYPE2
  72. 600SC HC_SMITYPE_TYPE2
  73. 1600SC HC_SMITYPE_TYPE2
  74. 650 HC_SMITYPE_TYPE2
  75. 1655MC HC_SMITYPE_TYPE2
  76. 700 HC_SMITYPE_TYPE3
  77. 750 HC_SMITYPE_TYPE3
  78. =================== =====================