ORIN NX 风扇配置极性无效

配置风扇极性不生效,目前是pwm的值为0风扇转动,我希望配置255的时候风扇转动
我配置极性0、1,都是pwm为255风扇停止,麻烦帮忙看看

    fan: pwm-fan {
            compatible = "pwm-fan";
            pwms = <&pwm3 0 45334 1>;
            #cooling-cells = <2>;
    };

*** Please note that this reply is generated by LLM automatically ***

The provided context does not contain any information about “pwm0255” or “01pwm255” in relation to the Jetson Orin NX. However, I can provide some general information about PWM (Pulse Width Modulation) on the Jetson platform.

PWM is a technique used to encode a message into a pulsing signal. It is commonly used in various applications such as motor control, LED dimming, and power management.

On the Jetson platform, PWM is supported through the Linux kernel’s PWM subsystem. The PWM subsystem provides a framework for managing PWM devices and allows users to control the PWM signals.

To use PWM on the Jetson Orin NX, you would typically need to:

  1. Identify the PWM pins on the Jetson Orin NX module. The PWM pins are usually labeled as PWM0, PWM1, etc.
  2. Configure the PWM pins using the Linux kernel’s PWM subsystem. This can be done using the pwmconfig command or by modifying the kernel’s device tree.
  3. Use a PWM library or API to control the PWM signals. There are several PWM libraries available for the Jetson platform, including the pwm library provided by the Linux kernel.

However, without more information about “pwm0255” and “01pwm255”, it is difficult to provide a more specific answer. If you could provide more context or clarify what you are trying to achieve, I may be able to provide a more detailed response.

In comparison to other Jetson modules, the Jetson Orin NX has a similar PWM configuration to other Jetson modules. However, the specific PWM pins and configuration may vary depending on the module and the application.

Here is a comparison of the PWM configuration on different Jetson modules:

  • Jetson AGX Orin: The Jetson AGX Orin module has 6 PWM pins, labeled as PWM0 to PWM5.
  • Jetson Orin NX: The Jetson Orin NX module has 4 PWM pins, labeled as PWM0 to PWM3.
  • Jetson Orin Nano: The Jetson Orin Nano module has 2 PWM pins, labeled as PWM0 and PWM1.

Please note that this information is based on the provided context and may not be accurate or up-to-date. For more information, please refer to the official NVIDIA documentation or contact NVIDIA support.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

麻烦帮忙看一下,谢谢

pwm驱动是否支持极性配置,如果不支持,在nvfancontrol应该怎样配置

Hi 114037563,

Are you using the devkit or custom board for Orin NX?
What’s the Jetpack version in use?

Do you disable nvfancontrol service before the test?

Please share the result of the following command in both cases.

$ sudo cat /sys/kernel/debug/pwm

Hi, KevinFFF

I use custom board for Orin NX;

jetpack version R36.4.4

Not disable nvfancontrol service before the test

May I know the reason for this task in your case?

Please disable nvfancontrol service before the test to prevent it controlling the fan at the same time.

硬件电路是低电平有效,nvfancontrol在高温是调整pwm1的值为255,所以想调整pwm极性,我看驱动源码,好像是配置不了极性。

我通过修改nvfancontrol.conf可以设置在高温升高的时候,pwm1的值减少了。

pwms = <&pwm3 0 45334> 默认是这样的 ,应该是驱动不支持后面配置极性的参数

Yes, it seems the pwm driver does not support the polarity.

You can configure this file according to your use case.