5/20/2023 0 Comments Dell bios fan controlI've never tried to make a call to the DoBFn method outside of C# but I'll play with that and see what I come up with. Restart and at the Dell Logo, press F12 to enter the Dell G7. "Class" and "Selector" are both shorts and I have some of the possible values listed here and here, with links to where I got them from (Linux code). Edit Dell G7 BIOS Settings Shut down your Dell G7, but leave it connected to power. It has a single parameter called "Data" which takes the byte array buffer that represents the command. The "DoBFn" is the method that needs to be called. In my limited experience, the presence of this method is the indicator that the system supports this WMI interface. The BFn class has a method named "DoBFn". This one lists all of the methods in the root/wmi namespace with the class that they are attached to. > Get-WmiObject -Namespace root/wmi -List | select _Path -Expand Methods | select Origin, Name, _Path > Get-WmiObject -Namespace root/wmi -Class BFn I've done some PowerShell mucking around this area before, but my comfort level with the syntax isn't the greatest. I care a lot of about fan control so I have gotten it to a point where it is workable for my purposes, but I haven't been able to find time to finish a fully fleshed out release.) (This is a sort of hobby / side project for me. Regarding logging, I haven't fully built that out in Dell Fan Management but if you run it from the command line, you will get some text log entries dumped out there. Starting in 2021 (Tiger Lake systems) they removed the old interface that HWiNFO and other tools that can deal with Dell fans were using, so WMI is the only way to go now that I am aware of. I think any Dell system from 2018+ (maybe older), desktops included, supports the same WMI interface for reading the fan speeds. I did a lot of slinking around Dell's libsmbios C code (for Linux SMBIOS support), a lot of BIOS token/variable dumps, and some reverse-engineered Dell Power Manager code to figure this out. There is experimental support for disabling automatic BIOS fan control, at least on laptops where the corresponding SMM command is known, by writing the value 1 in the attribute pwm1enable (writing. Therefore the fan speed set by mean of this driver is quickly overwritten. I am author of Dell Fan Management and I would be happy to pass along any information to help with this implementation. On some laptops the BIOS automatically sets fan speed every few seconds.
0 Comments
Leave a Reply. |