[GH-ISSUE #534] Can I use Hexadecimals? #486

Closed
opened 2026-02-26 00:32:47 +03:00 by kerem · 2 comments
Owner

Originally created by @silicahd on GitHub (Aug 11, 2018).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/534

Hello,

I am trying to create a profile for google chormebooks. However I am running into a wall. The EC code shows hexadecimals not integer. Even after I put them It did not seem to work. Am I doing something wrong.

This is the Fan controller from the bios.
https://chromium.googlesource.com/chromiumos/platform/ec/+/factory-1235.B/host_interface/ec_command.h

`

/* Thermal and fan */

  | EC_COMMAND_THERMAL_CMD = 0x20,
  | EC_COMMAND_THERMAL_CMD_MASK = 0xf0,
  | EC_COMMAND_THERMAL_GET_CURRENT_FAN_RPM = 0x21,
  | EC_COMMAND_THERMAL_GET_TARGET_FAN_RPM = 0x22,
  | EC_COMMAND_THERMAL_SET_TARGET_FAN_RPM = 0x23,
  | EC_COMMAND_THERMAL_READ_SENSOR = 0x24,
  | EC_COMMAND_THERMAL_SET_ALARM_RANGE = 0x25,
  | /* TODO: PECI? */

`

This was my configuration

`<FanDisplayName>CPU fan</FanDisplayName>
<WriteRegister>47</WriteRegister>
<ReadRegister>46</ReadRegister>
<MinSpeedValue>88</MinSpeedValue>
<MaxSpeedValue>48</MaxSpeedValue>
<IndependentReadMinMaxValues>false</IndependentReadMinMaxValues>
<MinSpeedValueRead>0</MinSpeedValueRead>
<MaxSpeedValueRead>0</MaxSpeedValueRead>
<ResetRequired>true</ResetRequired>
<FanSpeedResetValue>255</FanSpeedResetValue>`
Originally created by @silicahd on GitHub (Aug 11, 2018). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/534 Hello, I am trying to create a profile for google chormebooks. However I am running into a wall. The EC code shows hexadecimals not integer. Even after I put them It did not seem to work. Am I doing something wrong. This is the Fan controller from the bios. https://chromium.googlesource.com/chromiumos/platform/ec/+/factory-1235.B/host_interface/ec_command.h ` /* Thermal and fan */ --   | EC_COMMAND_THERMAL_CMD = 0x20,   | EC_COMMAND_THERMAL_CMD_MASK = 0xf0,   | EC_COMMAND_THERMAL_GET_CURRENT_FAN_RPM = 0x21,   | EC_COMMAND_THERMAL_GET_TARGET_FAN_RPM = 0x22,   | EC_COMMAND_THERMAL_SET_TARGET_FAN_RPM = 0x23,   | EC_COMMAND_THERMAL_READ_SENSOR = 0x24,   | EC_COMMAND_THERMAL_SET_ALARM_RANGE = 0x25,   | /* TODO: PECI? */ ` This was my configuration ``` `<FanDisplayName>CPU fan</FanDisplayName> <WriteRegister>47</WriteRegister> <ReadRegister>46</ReadRegister> <MinSpeedValue>88</MinSpeedValue> <MaxSpeedValue>48</MaxSpeedValue> <IndependentReadMinMaxValues>false</IndependentReadMinMaxValues> <MinSpeedValueRead>0</MinSpeedValueRead> <MaxSpeedValueRead>0</MaxSpeedValueRead> <ResetRequired>true</ResetRequired> <FanSpeedResetValue>255</FanSpeedResetValue>` ```
kerem 2026-02-26 00:32:47 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@erkexzcx commented on GitHub (Aug 12, 2018):

Use google searches like "0x24 to decimal" and "191 to hex":

Like this - it is handy:
image

<!-- gh-comment-id:412374422 --> @erkexzcx commented on GitHub (Aug 12, 2018): Use google searches like "0x24 to decimal" and "191 to hex": Like this - it is handy: ![image](https://user-images.githubusercontent.com/5955795/44006824-5ecb7134-9e93-11e8-9d5b-6eee5241ee03.png)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 24, 2019):

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed

<!-- gh-comment-id:557844309 --> @github-actions[bot] commented on GitHub (Nov 24, 2019): This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#486
No description provided.