Skip to contentSkip to conversation

hwmon: nct6683 ASRock B850 (customer ID 0x164a) PWM write blocked

DISCUSSION [email protected] 2 participants 2 messages Jan 16 – Jan 17 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

Hello hwmon maintainers,

I'm testing the nct6683 hwmon driver on an ASRock B850 LiveMixer WiFi board and ran into a limitation regarding PWM fan control.

Hardware details:
- Board: ASRock B850 LiveMixer WiFi
- Super I/O: Nuvoton NCT6686D
- Customer ID: 0x164a
- BIOS: ASRock 5.35
- EC firmware: 1.0 (build 10/29/24)
- Kernel: 6.18.5 (Fedora 43)

The driver detects the chip correctly and exposes temperatures, voltages, and fan RPMs. The nct6686 device shows up under /sys/class/hwmon/ and pwm1-pwm6 nodes are present, but all pwm entries are read-only (0444), so fan control is not possible.

Relevant dmesg output includes:
Enabling support for unknown customer ID 0x164a
NCT6686D EC firmware version 1.0 build 10/29/24

From looking at the driver, this seems to be expected behaviour for unrecognized customer IDs. I wanted to ask whether customer ID 0x164a (ASRock B850 LiveMixer WiFi) could be enabled for PWM write access.

I'm happy to test patches or provide additional information if needed.

Thanks,
Biorez

maintainer
#1 lore raw
Quoted 14 lines · On 1/16/26 13:52, [email protected] wrote:

Hello hwmon maintainers,

I'm testing the nct6683 hwmon driver on an ASRock B850 LiveMixer WiFi board and ran into a limitation regarding PWM fan control.

Hardware details:
- Board: ASRock B850 LiveMixer WiFi
- Super I/O: Nuvoton NCT6686D
- Customer ID: 0x164a
- BIOS: ASRock 5.35
- EC firmware: 1.0 (build 10/29/24)
- Kernel: 6.18.5 (Fedora 43)

The driver detects the chip correctly and exposes temperatures, voltages, and fan RPMs. The nct6686 device shows up under /sys/class/hwmon/ and pwm1-pwm6 nodes are present, but all pwm entries are read-only (0444), so fan control is not possible.

Quoted 8 lines

Relevant dmesg output includes:
Enabling support for unknown customer ID 0x164a
NCT6686D EC firmware version 1.0 build 10/29/24

From looking at the driver, this seems to be expected behaviour for unrecognized customer IDs. I wanted to ask whether customer ID 0x164a (ASRock B850 LiveMixer WiFi) could be enabled for PWM write access.

I'm happy to test patches or provide additional information if needed.

pwm write access is only enabled for Mitac boards. Adding the customer ID would not change that; the only difference would be that you'd no longer have to provide the force module parameter.

If you can test patches, I assume you can write them as well. Please feel free to submit a patch adding the new customer ID to the driver. However, again, that would not enable pwm write access.

In case you wonder why pwm write access is not enabled: The NCT668X chips are programmable embedded controllers. The controller software varies from board to board, as can be seen by the customer ID and firmware version. The API between main CPU and the EC is not well defined, and may differ from board to board. It may even differ for different versions of the chip used by a single manufacturer on different boards. For all but the Mitac boards, access is only possible due to reverse engineering and guesswork. While that is good enough for read access, it would be way too risky for write access.

Thanks,
Guenter