~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/hwmon/hp-wmi-sensors.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/hwmon/hp-wmi-sensors.rst (Version linux-6.11.5) and /Documentation/hwmon/hp-wmi-sensors.rst (Version linux-5.1.21)


  1 .. SPDX-License-Identifier: GPL-2.0-or-later      
  2                                                   
  3 .. include:: <isonum.txt>                         
  4                                                   
  5 ===========================                       
  6 Linux HP WMI Sensors Driver                       
  7 ===========================                       
  8                                                   
  9 :Copyright: |copy| 2023 James Seo <james@equiv.    
 10                                                   
 11 Description                                       
 12 ===========                                       
 13                                                   
 14 Hewlett-Packard (and some HP Compaq) business-    
 15 monitoring information via Windows Management     
 16 This driver exposes that information to the Li    
 17 userspace utilities like ``sensors`` to gather    
 18                                                   
 19 sysfs interface                                   
 20 ===============                                   
 21                                                   
 22 When the driver is loaded, it discovers the se    
 23 system and creates the following sysfs attribu    
 24 ``/sys/class/hwmon/hwmon[X]``:                    
 25                                                   
 26 (``[X]`` is some number that depends on other     
 27                                                   
 28 ======================= ======= ==============    
 29 Name                    Perm    Description       
 30 ======================= ======= ==============    
 31 ``curr[X]_input``       RO      Current in mil    
 32 ``curr[X]_label``       RO      Current sensor    
 33 ``fan[X]_input``        RO      Fan speed in R    
 34 ``fan[X]_label``        RO      Fan sensor lab    
 35 ``fan[X]_fault``        RO      Fan sensor fau    
 36 ``fan[X]_alarm``        RO      Fan sensor ala    
 37 ``in[X]_input``         RO      Voltage in mil    
 38 ``in[X]_label``         RO      Voltage sensor    
 39 ``temp[X]_input``       RO      Temperature in    
 40                                 (m\ |deg|\ C).    
 41 ``temp[X]_label``       RO      Temperature se    
 42 ``temp[X]_fault``       RO      Temperature se    
 43 ``temp[X]_alarm``       RO      Temperature se    
 44 ``intrusion[X]_alarm``  RW      Chassis intrus    
 45 ======================= ======= ==============    
 46                                                   
 47 ``fault`` attributes                              
 48   Reading ``1`` instead of ``0`` as the ``faul    
 49   indicates that it has encountered some issue    
 50   measurements from it should not be trusted.     
 51   condition recovers later, reading this attri    
 52                                                   
 53 ``alarm`` attributes                              
 54   Reading ``1`` instead of ``0`` as the ``alar    
 55   indicates that one of the following has occu    
 56                                                   
 57   - ``fan``: The fan has stalled or has been d    
 58   - ``temp``: The sensor reading has reached a    
 59     The exact threshold is system-dependent.      
 60   - ``intrusion``: The system's chassis has be    
 61                                                   
 62   After ``1`` is read from an ``alarm`` attrib    
 63   and returns ``0`` on subsequent reads. As an    
 64   ``intrusion[X]_alarm`` can only be manually     
 65                                                   
 66 debugfs interface                                 
 67 =================                                 
 68                                                   
 69 .. warning:: The debugfs interface is subject     
 70              and is only available when the ke    
 71              ``CONFIG_DEBUG_FS`` defined.         
 72                                                   
 73 The standard hwmon interface in sysfs exposes     
 74 that are connected as of driver initialization    
 75 other sensors in WMI that do not meet these cr    
 76 system-dependent "platform events objects" use    
 77 be present. A debugfs interface is therefore p    
 78 all available HP WMI sensors and platform even    
 79                                                   
 80 ``/sys/kernel/debug/hp-wmi-sensors-[X]/sensor`    
 81 contains one numbered entry per sensor with th    
 82                                                   
 83 =============================== ==============    
 84 Name                            Example           
 85 =============================== ==============    
 86 ``name``                        ``CPU0 Fan``      
 87 ``description``                 ``Reports CPU0    
 88 ``sensor_type``                 ``12``            
 89 ``other_sensor_type``           (an empty stri    
 90 ``operational_status``          ``2``             
 91 ``possible_states``             ``Normal,Cauti    
 92 ``current_state``               ``Normal``        
 93 ``base_units``                  ``19``            
 94 ``unit_modifier``               ``0``             
 95 ``current_reading``             ``1008``          
 96 ``rate_units``                  ``0`` (only ex    
 97 =============================== ==============    
 98                                                   
 99 If platform events objects are available,         
100 ``/sys/kernel/debug/hp-wmi-sensors-[X]/platfor    
101 contains one numbered entry per object with th    
102                                                   
103 =============================== ==============    
104 Name                            Example           
105 =============================== ==============    
106 ``name``                        ``CPU0 Fan Sta    
107 ``description``                 ``CPU0 Fan Spe    
108 ``source_namespace``            ``root\wmi``      
109 ``source_class``                ``HPBIOS_BIOSE    
110 ``category``                    ``3``             
111 ``possible_severity``           ``25``            
112 ``possible_status``             ``5``             
113 =============================== ==============    
114                                                   
115 These represent the properties of the underlyi    
116 and ``HPBIOS_PlatformEvents`` WMI objects, whi    
117 See [#]_ for more details and Managed Object F    
118                                                   
119 Known issues and limitations                      
120 ============================                      
121                                                   
122 - If the existing hp-wmi driver for non-busine    
123   loaded, ``alarm`` attributes will be unavail    
124   support them. This is because the same WMI e    
125   for ``alarm`` attributes is used on those sy    
126 - Dubious sensor hardware and inconsistent BIO    
127   observed to cause inaccurate readings and pe    
128   failing to occur or occurring only once per     
129 - Only temperature, fan speed, and intrusion s    
130   the wild so far. Support for voltage and cur    
131   provisional.                                    
132 - Although HP WMI sensors may claim to be of a    
133   types unknown to hwmon will not be supported    
134                                                   
135 References                                        
136 ==========                                        
137                                                   
138 .. [#] Hewlett-Packard Development Company, L.    
139        "HP Client Management Interface Technic    
140        Available: https://h20331.www2.hp.com/h    
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php