Changes between Version 125 and Version 126 of gsc


Ignore:
Timestamp:
07/18/2025 07:04:44 PM (3 days ago)
Author:
Ryan Erbstoesser
Comment:

Reverted to version 124 by ryan until we figure out degrees discussion

Legend:

Unmodified
Added
Removed
Modified
  • gsc

    v125 v126  
    503503|| io3         || 0x26           || Voltage       || Volts/1000  || Miscellaneous                   ||
    504504|| io4         || 0x29           || Voltage       || Volts/1000  || Miscellaneous                   ||
    505 || fan0_point0 || 0x2C           || Temperature   || Deg C/100    || Fan controller set point 0      ||
    506 || fan0_point1 || 0x2E           || Temperature   || Deg C/100    || Fan controller set point 1      ||
    507 || fan0_point2 || 0x30           || Temperature   || Deg C/100    || Fan controller set point 2      ||
    508 || fan0_point3 || 0x32           || Temperature   || Deg C/100    || Fan controller set point 3      ||
    509 || fan0_point4 || 0x34           || Temperature   || Deg C/100    || Fan controller set point 4      ||
    510 || fan0_point5 || 0x36           || Temperature   || Deg C/100    || Fan controller set point 5      ||
     505|| fan0_point0 || 0x2C           || Temperature   || Deg C/10    || Fan controller set point 0      ||
     506|| fan0_point1 || 0x2E           || Temperature   || Deg C/10    || Fan controller set point 1      ||
     507|| fan0_point2 || 0x30           || Temperature   || Deg C/10    || Fan controller set point 2      ||
     508|| fan0_point3 || 0x32           || Temperature   || Deg C/10    || Fan controller set point 3      ||
     509|| fan0_point4 || 0x34           || Temperature   || Deg C/10    || Fan controller set point 4      ||
     510|| fan0_point5 || 0x36           || Temperature   || Deg C/10    || Fan controller set point 5      ||
    511511
    512512 * Note that the above descriptions are board-specific. Please see the board [http://www.gateworks.com/usermanuals Hardware User Manual] 'System Temperature and Voltage Monitor' section for details. Note also that Vin (Board Input voltage) is evaluated at the board's primary power supply input and offset by an estimated diode drop and thus may differ from your actual power supply within a volt or so.
     
    589589
    590590
    591 ||= Source =||= Default (°C/100) =||= Description =||
    592 || Fan0_point0  || 3000                   || Set point 0 = 50% PWM duty cycle  ||
    593 || Fan0_point1  || 3300                   || Set point 1 = 60% PWM duty cycle  ||
    594 || Fan0_point2  || 3600                   || Set point 2 = 70% PWM duty cycle  ||
    595 || Fan0_point3  || 3900                   || Set point 3 = 80% PWM duty cycle  ||
    596 || Fan0_point4  || 4200                   || Set point 4 = 90% PWM duty cycle  ||
    597 || fan0_point5  || 4500                   || Set point 5 = 100% PWM duty cycle ||
    598 
    599 * Note - The set point value represents temperature in °C/100 (only positive values allowed).
     591||= Source =||= Default (°C/10) =||= Description =||
     592|| Fan0_point0  || 300                   || Set point 0 = 50% PWM duty cycle  ||
     593|| Fan0_point1  || 330                   || Set point 1 = 60% PWM duty cycle  ||
     594|| Fan0_point2  || 360                   || Set point 2 = 70% PWM duty cycle  ||
     595|| Fan0_point3  || 390                   || Set point 3 = 80% PWM duty cycle  ||
     596|| Fan0_point4  || 420                   || Set point 4 = 90% PWM duty cycle  ||
     597|| fan0_point5  || 450                   || Set point 5 = 100% PWM duty cycle ||
     598
     599* Note - The set point value represents temperature in °C/10 (only positive values allowed).
    600600
    601601The fan controller temperature set points can be found in the {{{/sys/class/hwmon}}} directory along with the temperature and voltage monitor information (see previous section). The following examples show reading and writing to the fan set point register.
     
    617617# echo 3000 > /sys/class/hwmon/$DEV/pwm1_auto_point1_temp
    618618}}}
    619 
     619 * Kernels prior to 4.20:
     620  - Read temperature set-point 0:
     621{{{#!bash
     622# DIR=$(find /sys/bus/i2c/devices/0-0029/ -name in0_input)
     623# DIR=${DIR%/*}
     624# cat $DIR/fan0_point0 # read set point - default 30C
     625300
     626}}}
     627  - Set temperature set-point 0:
     628{{{#!bash
     629# DIR=$(find /sys/bus/i2c/devices/0-0029/ -name in0_input)
     630# DIR=${DIR%/*}
     631# echo 350 > $DIR/fan0_point0 # set to 35C
     632}}}
    620633
    621634=== Always-on FAN for a constant voltage source ===