Skip to content

Commit

Permalink
Fix Thermal Zone in IDB D425KT
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jun 16, 2014
1 parent 2bdc9b4 commit 7cff871
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/i-nex/.src/thermal_zone.module
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ Public Sub _inits()
supporttemp = False
Endif

If Access("/sys/class/hwmon/hwmon0/temp2_input", gb.Read) = True Then
supporttemp = True
Shell "cat /sys/class/hwmon/hwmon0/temp2_input" Wait To Temperature
Else
supporttemp = False
Endif

If Temperature = Null Then
Logs("Not found temp", Logger.Error)
Else
Expand Down

0 comments on commit 7cff871

Please sign in to comment.