Suggestion An Kip to set fan speed

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by SwitchMods, Jun 11, 2019.

  1. SwitchMods
    OP

    SwitchMods Member

    Newcomer
    1
    Aug 27, 2018
    Netherlands
    For paranoid people (like me), is possible to develop a KIP to automatically/manually set the fan speed? Something like the one from webman-mod on PS3.

    it also would be cool, to have a popup that display the current temperature (again, something similar to webman-mod on PS3).

    maybe @XorTroll and/or @m4xw can have a look at this? thank you buddy.


    EDIT: ah, worth noting: I don't care a f**k about fan noise, what it is important for me is the temperature.
     
    Last edited by SwitchMods, Jun 11, 2019
    NoNAND likes this.
  2. XorTroll

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    pip Developer
    12
    Dec 28, 2017
    Spain
    Nowhere
    Well unsure about that, not sure whether that can be adjusted by code
     
    NoNAND likes this.
  3. SwitchMods
    OP

    SwitchMods Member

    Newcomer
    1
    Aug 27, 2018
    Netherlands
    Well, I guess that the fan is controlled by the kernel in some way (otherwise it would be always on) or by some controller on the motherboard, so I think that with some research this can be done.
     
  4. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    It’s probably controlled by a sysmodule, like everything else. If this is the case, you could probably patch said sysmodule (though I personally don’t see the point as Nintendo’s fan speeds work fine)
     
    NoNAND and SwitchMods like this.
  5. SwitchMods
    OP

    SwitchMods Member

    Newcomer
    1
    Aug 27, 2018
    Netherlands
    Yeah, at least a popup with the current temp would be great to have.
     
  6. NoNAND

    NoNAND GBAtemp Advanced Maniac

    Member
    12
    Aug 22, 2015
    Albania
    The Adriatic Sea
    I have to say a temperature monitoring app would be quite useful to us.
    But an app that controls the speed of fans could be difficult to code for with the few resources and knowledge in that regard
    I'm assuming this gets controlled by the kernel and some proprietary "nintendo" drivers.
    But then again the switch is a tegra x1 custom tablet, assuming if the fans are adjusted and controlled on a hardware level rather than the OS (which I personally don't think is the case) it could be possible to make an app or perhaps even a device that you could solder onto the motherboard with which you could adjust the fan speeds with.
     
    TR_mahmutpek likes this.
  7. TR_mahmutpek

    TR_mahmutpek medic

    Member
    7
    Jul 28, 2015
    Turkey
    *bump

    Come on everybody, we need this! If you replace thermal paste and gain less heat, there should be fan optimization also..
     
  8. mrcroket

    mrcroket Advanced Member

    Newcomer
    3
    Mar 14, 2018
    Spain
    AFAIK fan speed is controller with temperature. So less heat must lead to less fan speed.
     
  9. TR_mahmutpek

    TR_mahmutpek medic

    Member
    7
    Jul 28, 2015
    Turkey
    But if you set temperature lower like on ps3, fan will work better and console's lifespan will be increased
     
  10. chaoskagami

    chaoskagami G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚

    Member
    10
    Mar 26, 2016
    United States
    ↑↑↓↓←→←→BA
    If I'm reading the docs on switchbrew correctly, the fan is controlled by a PWM register so it should be theoretically adjustable by software. Said PWM is apparently controlled by PTM services, but the documentation on those service commands is...lacking. Not to mention, there's a note about how it changed in 7.0.0 and I'm 99% sure there's no fan endpoint implemented in libnx right now.
     
    Last edited by chaoskagami, Aug 10, 2019
    TR_mahmutpek likes this.
Quick Reply
Draft saved Draft deleted
Loading...