Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/03/2019 in all areas

  1. Hackintool v2.2.0 Released - New PCI Devices, Network, Power and Tools tab - Set power settings (be careful!) - Power tab includes: A. If your computer has a problem with sleep this could help. Hibernatemode will be set to 0 and the Sleepimage will be replaced with a write protected 0-byte file. - Tools tab includes: A. Generate AppleIntelInfo report (thanks Pike R. Alpha) B. Install Kext for Atheros AR92xx/93xx WLan Cards (only 10.14 +) (thanks Sascha Lamprecht) C. Install Kext to enable SATA HotPlug on Mojave again (thanks Sascha Lamprecht) D. Generate Windows Bluetooth Registry File - If you dual boot with Windows and want to share your Bluetooth mouse without having to pair again, do it once in macOS then generate this registry file for Windows.
    3 points
  2. There is a bug, whoever wrote this did not read the specification of TimeZone member of EFI_TIME, it has valid values of -1440 to 1440, and 2047. Also timezones don't go 0 to 24, they go -24 hours to +24 hours but that member field is in minutes, not hours: https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/refit/main.c#l2007 EDIT: Fixed for revision 4916. EDIT2: Found another bug, probably no effect but still, fixed 4917: https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l2684
    3 points
  3. *** UPDATE *** 10/25/2022 I did some experiments with the HP 800 G1 and although I can get Ventura working, the HD4600 video is not good enough for a daily driver IMO, for the full tower system you could get an RX 560 and that will probably work but the HP800 G1 is getting to old and not worth the parts. *** UPDATE *** 11/20/2021 I have a new EFI folder with OC .0.7.5, Audio has been fixed using AppleHDA.kext, sound now works via internal speaker, HDMI, DisplayPort or output jack in the back. other improvements have increased boot time. I am still not able to get 4k working, if anyone wants to take that on, please do and share. Monterey 12.01 works with this desktop, I needed to change the SMBIOS to iMac 16,1 and OC .0.7.4 and latests kexts. This build does not include the Audio kexts as I am using a USB audio device. For all of those that have been playing along, I have condensed down this post and collapsed the beta data. Simple install of Big Sur download Big Sur create bootable USB stick (google it) download EFI folder from this thread, copy the EFI folder to the EFI partition on USB stick install Big Sur, make sure you hit F9 to boot off the USB between reboots Copy EFI folder to Bug Sur disk you installed on (for mounting EFO partitions, you can use Clover Configurator and select Mount on the left Side menus) Enjoy Big Sur Beta notes Older versions NOTE" VGA will not work, you will need to use the display port for your monitor, if you have a video card installed, check to make sure its compatible with OS X, top tip: install first without a video card, if all good, then install it. Not working 4k does not work in OS X, I only tested video using the DP port Some USB ports may not work, USB3 use lower blue in the back. TVApp is not working but I have not spent a lot of time on it. Sidecar not working, resolution in progress. NOTE: this zip file may contain older versions of Kext's, make sure you are using the latest before rebooting. HP_800_G1_075.zip
    1 point
  4. AMD OS X is proud to announce that native macOS is available on Ryzen CPUs thanks to AlGrey. No need to use a patched kernel/prelinkedkernel. This is currently being classed as beta support and other CPUs are being worked on. https://github.com/AMD-OSX/AMD_Vanilla
    1 point
  5. these files inject an alternate EDID - rather that default/built-in EDID for your LCD. these are the EDID extracted and corrected (set to RGB only mode etc) from other LCD vendors such as LGD that seem to work better than the common/inferior standard from AUO. Historically these fix problems such as white screen, glitches, and ring buffer hangs. config.EDID-2e2.plist config.EDID-2e3.plist config.EDID-366.plist These 2 are for using the unsupported OS Mojave based on LCD size - sets model to MBP9,1 instead of MBP8,1 as well sets a few gfx properties needed. config.mojave.1366x768.plist config.mojave.1600x900.plist Some folks were seeing problems when Clover was asked to patch the DSDT - most of the patching was redundant with the provided DSDT. so now there are 2 versions - one that does a number of patches to patch the built-in DSDT (i.e. when you don't provide one) and a config.plist that does almost nothing to the DSDT since over the years - way before the current SSDT/hot-patch approach was devised - manual edits were made to the DSDT. config.patchDSDT.plist - does some patching. config.plist (default) - only fixes regions So one should start with config.plist if there are glitches, then try config.EDID-2e2 or EDID-2e3 if you are on Mojave - presumable means you know what are doing! - then you need start with this one - which injects EDID-2e3. Note: I am actually using EDID-2e2. the name/number ie 2e3 is representative of the product id encoded in the EDID string - for example: 00FFFFFF FFFFFF00 30E4E302 00000000 FF140104 801F1178 E2338599 56559127 17505400 00000101 01010101 01010101 01010101 0101AE24 405A6084 1A303020 350036AE 1000001A 401F4080 60841A30 30203500 36AE1000 00180000 00FE004C 656E6F76 6F0A2020 20202020 000000FE 00313630 30783930 300A2020 202000C6 which means vendor_id 30E4 and product_id E302 - which is byte swapped to mean 02E3 there are corresponding Displayoverride files that match vendor/product_id to provide a better gamma and color space definition. Note: The 2e2 EDID worked great for many years (and 5 OS releases - 10.8-10.12) but when HighSierra (and now Mojave) came out glitches and freezes were back for many. Mostly with an AUO LCD and/or less than 16GB of memory. But sad to say, seems like HD 3000 models - such as the trusty T420 - are at EOL with the latest macOS. - My son has a T420 with 16GB and LGD model LCD on HighSierra and it works quite well for him. - My T420 has 8GB and AUO LCD and it hangs about every 3 days. i can often revive it by 1-2 sleep/wake cycles (or remote shell to reboot). So I don't use it as my main machine anymore.
    1 point
  6. @vinhkm6 check this table DSDT.aml.zip
    1 point
  7. @vinhkm6 need to delete this table, it prevents generation P-CStates.
    1 point
  8. si va bene..ma presta attenzione che spesso i kext scaricati non combaciano esattamente con le ultime release.. come data etc..
    1 point
  9. Asus k43e i3 2330 hd3000
    1 point
  10. @vinhkm6 I know. I was asking for your specs as i have explained it earlier of a non-show signature n my part
    1 point
  11. @vinhkm6 Check. DSDT.aml.zip
    1 point
  12. in ur case i think a simple shutdown patch work DSDT.aml.zip
    1 point
  13. vinhkm6 check. DSDT.aml.zip
    1 point
  14. ZFS related posts moved to dedicated thread.
    1 point
  15. Try this: DSDT.aml.zip
    1 point
  16. I created a ROG STRIX Z390-I GAMING node, modified the labels and had to change the FANINLIMIT to 5 to see the pump RPM. I only have 1 pump and the fans are on a single speed hub. Everything shows up in HWMonitor SMC2 as laid out and it no longer crashes. Config question: What are the VIN1 to VIN8 entries in the plist for, core readings? Do I need to put the fans to 7 and add FANIN5 and FANIN6 to access the onboard temperature probe connector? How do I remove a category, like Battery from HWMonitorSMC2 Is there a way to customize the labels in HWMonitorSMC2? What is the fan slider size for? Tuning RPM? What if you have different size fans? Is there a config Guide for HWMonitorSMC2 you can point me to? The IGPU seems like it's not working. Are these readings ok? Compiling: I compiled the latest version of HWMonitorSMC2 using Xcode and that went fine. I also built FakeSMC, W386x, and IntelCPUMonitor but had a few issues: I got the error "unable to find sdk 'macosx10.11'". and had to change all the base SDKs to macOS to build. Is that ok? Everything ran but I had the 16366 fan rpm issue with my built versions. Is that because you didn't finish making changes? It's basically perfect all I need is to learn how to configure it. You just made the whole Z370 and Z390 community very happy! Thank you very much!
    1 point
  17. IGPU only works. Just if you have a DGPU inside your machine GVA stops working both standalone and IGPU Confirmed for these constellations so far: - Vega 64 Standalone - RX560 Standalone - RX570 Standalone - RX580 Standalone - Vega 64 + UHD630 - RX560 + UHD630 - RX570 + UHD630 - RX570 + UHD620 - RX580 + UHD630 Using Quick Sync + AppleGVA framwork of 10.14.4 brings at least H.264 back to life, H.265 remains dead.
    1 point
  18. Try overclocking, works very well! Got my aircooled Gigabyte V64 Gaming OC to 1672MHz / 1050MHz after removing my second Vega 64 for better airflow.
    1 point
  19. Ciao... FV2 nel caso è perché l'hai abilitato tu Riguardo all'aggiornamenti spesso è tutto ok, requisiti kext aggiornati e clover aggiornati...questo diciamo è la prassi
    1 point
  20. looks pretty promising so far, no crashes with beta (18F96h), injected PPT removed and editing all day in Resolve. fan idles lower (~800rpm) than I ever got it with a custom PPT.
    1 point
  21. @Wackymac Yup, VideoProc. And yes it is broken on 10.14.5. Neither H.264 nor H.265 works. But that also applies to other GPUs, not just Vega. Will report how it goes with the next betas. I am running the in productive mode for a couple of months now.
    1 point
  22. So what about the suggestion I made a while ago regarding AppleVPA patching alongside AppleGVA patching? It would be neat if certain Shiki features Boot would also apply to the AppleVPA framework. Use case example: Enabling The RX580 Hardware Encoder / Decoder while running iMac18,3 with IGPU disabled (necessary for optimum performance). For this you use a dummy kext that overrides the driver configuration with the Vega 56/64 parameters for video acceleration. Then you need to spoof iMacPro1,1 board ID for stable working GVA with shikigva=32 and shiki-id=<Board-ID>. This is due to AppleGVA containing hardcoded parameters which in case of iMac18,3 are for the IGPU and not for the AMD card. Switching to iMacPro1,1 board ID for AppleGVA fixes this. However, the same is true for the AppleVPA framework! Issue: AppleVPA expects IGPU so preview will stop working on Mojave when IGPU is disabled. NoVPA.kext needs to be used, which isn't really a fix because it just disables the VPA feature of preview. It's kind of a dirty workaround. Real solution: Editing AppleVPA so the iMacPro1,1 board ID configuration applies to the currently used SMBIOS. If Whatevergreen would patch the board ID for AppleVPA as well, preview would start working without NoVPA.kext and without the need of manually editing the AppleVPA framework. Since AppleGVA patching is already fully implemented in Whatevergreen, it shouldn't be that hard to extend this to AppleVPA I think?
    1 point
  23. Hackintool v2.1.9 Released - Added Github kext downloading. The download version may be older than the source version. Also due to Github API rate limits it will store the latest download urls. - Added Install kext(s) function - Added Rebuild KextCache and Repair Permissions function - Buy me a Beer button added if you want to support my craft beer habit (and continued work on Hackintool)
    1 point
  24. 1 point
  25. I'm using driver from this topic. https://github.com/dukzcry/osx-goodies/releases My LSI MegaRAID 9264-8i (with two SFF 8087 —> 4×SAS cables) costs about $70
    1 point
  26. Zen deserves having Siri, iMessage and Facetime. (No FX support) Stock 10.13.6 patched in binary for Zen. Beta version. Enjoy. kernel.algrey.zip
    1 point
  27. if you are using Mohave with non-metal GPU (such as HD3000 on the T420) there is some good news: 10.14.3 is not the end of the road. @dosdude has discovered and provided a recipe where one can use/roll-back 2 system frameworks from 10.14.3. this is essentially what he discovered: these are 2 frameworks that need to be saved from 10.14.3 and replaced when on a later version such as 10.14.4 (beta): /System/Library/PrivateFrameworks/GPUSupport.framework /System/Library/Frameworks/OpenGL.framework it is a bit tricky... 1) pre update - remove the HD3000 kexts from /S/L/E 2) update to 10.14.4 beta 3) post update - then in single user mode replaced the HD3000 kexts in /S/L/E replaced the 2 frameworks
    1 point
  28. Hi, I updated my original post about the Plextor/LiteOn/Hynix patch with a new Find/Replace pattern, as the underlying code seems to be changing in the upcoming 10.14.4 (judging by the betas). The new pattern is backwards compatible with older OSX versions, so I recommend everyone using this patch to change it with the new variant, in order not to lose booting ability when the 10.14.4 update arrives.
    1 point
  29. Thanks bro. I have HP 800 G1 mojave working fine after i add voodoohda in kexts\Other booting very slow take time to open not sime before add kexts
    1 point
  30. number 3 is is your OS and that is probably the one you want. we haven't looked at the bios yet.. do a apply defaults and exit, then get back into bios using F10 at startup lets make setting or verify that the correct ones are selected My BIOS version is 02.71 Storage tab - Storage Options - SATA Emulation = AHCI Security - Master Boot Record Security = Disabled report back after checking this
    1 point
  31. Hello RehabMan / Others involved, Regarding the Plextor/LiteOn/Hynix "special patch", I see it mentioned as "IONVMeFamily Preferred Block Size patch". However I can't see the relation of this patch to block size (I think the description is wrong), and I also don't understand why we need 4 variants (0x01, 0x02, 0x04, 0x08). If we look at what we are patching (for High Sierra, which by the way is the same for Mojave Beta1): ... 8A 48 1A (mov cl, byte [rax+0x1a]) F6 C1 10 (test cl, 0x10) 0F 85 41 01 00 00 (jne some_32bit_offset) 80 E1 0F (and cl, 0xf) 0F B6 C9 (movzx ecx, cl) ... The test in this code is on byte 26 (0x1a) of the Identify Namespace, which represents Formatted LBA Size (FLBAS). Its structure is something like this: struct { UCHAR LbaFormatIndex : 4; UCHAR MetadataInExtendedDataLBA : 1; UCHAR Reserved : 3; } FLBAS; // byte 26 M - Formatted LBA Size (FLBAS) Bits 3-0 indicate the index of the chosen format variant for the namespace, and Bit 4 indicates whether metadata for a command is transferred as part of an extended data LBA. The test instruction of original code checks if Bit 4 (0x10) of FLBAS is set to 1 (this bit corresponds to MetadataInExtendedDataLBA), and if it is, the jne instruction performs the jump. The problem here is that OSX decides that metadata should be used, only by the data at byte 26 (FLBAS), which these drives don't properly respect, and doesn't perform further checks. Linux driver, for example, takes that value into consideration only if the active LBA Format data structure has MS (metadata size) > 0: NVME_NS_FLBAS_LBA_MASK = 0xf; NVME_NS_FLBAS_META_EXT = 0x10; ... ns->ms = le16_to_cpu(id->lbaf[id->flbas & NVME_NS_FLBAS_LBA_MASK].ms); ns->ext = ns->ms && (id->flbas & NVME_NS_FLBAS_META_EXT); Or another possible place to check, would be byte 27 of the Identify Namespace (MC), that shows the metadata capabilities (but not necessarily the active setting): struct { UCHAR MetadataInExtendedDataLBA : 1; UCHAR MetadataInSeperateBuffer : 1; UCHAR Reserved : 6; } MC; // byte 27 M - Metadata Capabilities (MC) Under linux, we can easily see the inconsistency for this drive: $ sudo nvme id-ns /dev/nvme0n1 NVME Identify Namespace 1: ... flbas : 0x11 mc : 0 ... lbaf 0 : ms:0 lbads:9 rp:0x1 lbaf 1 : ms:0 lbads:12 rp:0 (in use) FLBAS bit 4 is set to 1, but MC bit 0 is set to 0. We can also see the two available LBA formats (512 and 4K), none of which allows metadata (ms=0, which stands for metadata size, clearly means unsupported) So, in the above code (when unpatched), FLBAS bit 4 would trigger the jump, although no metadata is present in extended data LBA, leading to an assert (as probably OSX NVME driver doesn't support such metadata). Anyway, about the proposed patch: it is clear that in the patch we reverse bit 4 (0x10) of FLBAS to disable checking for metadata, but my question is, why additionally in the presented patch variants we also add tests on bits 0-3 of FLBAS, which may just trigger as well the assert? (each of the 4 variants 0x01 0x02, 0x04, 0x08 adds a test on one of the bits 0-3, when the original check does not test at all against LbaFormatIndex, so I can't really see the logic in that). It is clear that the "proper" solution would be to add further checks for metadata presence, but as the intention here seems just to disable checking for metadata, why not, for example, just reverse bit 4 (0x00) instead of all the variants? This would result in something like this, and should work for all cases (the relevant code is the same for 10.12.x->10.14b1): <dict> <key>Comment</key> <string>IONVMeFamily: Ignore FLBAS bit:4 being set - for Plextor/LiteOn/Hynix</string> <key>Disabled</key> <false/> <key>Name</key> <string>IONVMeFamily</string> <key>Find</key> <data>SBr2wRAPhQ==</data> <key>Replace</key> <data>SBr2wQAPhQ==</data> </dict> Edit (Feb 2019): Updated the Find/Replace pattern above to be compatible also with the coming 10.14.4 (it remains compatible also with older versions), as the underlying code described at the beginning of this post was changed into the following equivalent: ... 0F B6 48 1A (movzx ecx, byte [rax+0x1a]) F6 C1 10 (test cl, 0x10) 0F 85 44 01 00 00 (jne some_32bit_offset) 83 E1 0F (and ecx, 0xf) ...
    1 point
  32. Hello, I'm French and new on this topic. So excuse me if I don't write english as well as a native english guy! I hope that I can get help from you. I'm new on hackintosh : I already try wth partial success on shuttle barebone. And now I would like to try on this elitedesk 800 G1 usdt (i5-4570S) I try to do as the first post (with high sierra instead). I downloaded clover configurator but I do not know how it's work. So I tried to copy/paste the proposal on first page. When I start the hackintosh (I have clover page) I start on the SSD where MacOS is and after many lines I have a message about a problem with the CPU. May I ask you a download of your config.plist or a help to use cloverconfigurator? Many thanks
    1 point
  33. @slice here is fan related code Scope (_SB.PCI0.LPCB.SIOR) { Name (SNCT, Zero) Name (E1BK, Zero) Method (HWV0, 0, NotSerialized) { Return (Multiply (VCOR, 0x08)) } Method (HWV1, 0, NotSerialized) { Return (Multiply (V12V, 0x08)) } Method (HWV3, 0, NotSerialized) { Return (Multiply (V33V, 0x08)) } Method (HWV4, 0, NotSerialized) { Return (Multiply (V50V, 0x08)) } Method (HWT0, 0, NotSerialized) { ENFG (0x0C) Store (CR20, Local0) EXFG () If (LEqual (Local0, 0xB3)) { Store (Zero, BSEL) Store (Zero, SR7D) Store (SR7E, Local1) } Else { Store (MBTE, Local1) } If (And (Local1, 0x80)) { Or (Local1, 0xFFFFFF00, Local1) } Multiply (Local1, 0x0A, Local1) Return (Local1) } Method (HWT1, 0, NotSerialized) { Store (One, BSEL) Store (TSR1, Local1) If (And (Local1, 0x80)) { Or (Local1, 0xFFFFFF00, Local1) } WBYT (0x80, 0x1D, Local1) Multiply (Local1, 0x0A, Local1) Store (TSR2, Local2) Multiply (Local2, 0x05, Local2) Add (Local1, Local2, Local1) Return (Local1) } Method (HWT2, 0, NotSerialized) { Store (0x02, BSEL) Store (TSR1, Local1) If (And (Local1, 0x80)) { Or (Local1, 0xFFFFFF00, Local1) } Multiply (Local1, 0x0A, Local1) Store (TSR2, Local2) Multiply (Local2, 0x05, Local2) Add (Local1, Local2, Local1) Return (Local1) } OperationRegion (DBGE, SystemIO, 0x80, 0x04) Field (DBGE, WordAcc, NoLock, Preserve) { DBGG, 22 } Method (HWF0, 0, NotSerialized) { Store (FAN1, Local0) Store (Zero, BSEL) And (FD21, 0x20, Local1) ShiftRight (Local1, 0x05, Local1) Multiply (Local1, 0x04, Local1) And (FDR1, 0x30, Local2) ShiftRight (Local2, 0x04, Local2) Add (Local1, Local2, Local1) If (LOr (LGreater (Local1, 0x05), LLess (Local1, 0x02))) { If (LGreater (Local0, 0xF0)) { Store (0x02, Local1) } Else { If (LLess (Local0, 0x1E)) { Store (0x05, Local1) } Else { Store (0x03, Local1) } } Divide (Local1, 0x04, Local2, Local3) ShiftLeft (Local3, 0x05, Local3) Store (FD21, Local4) And (Local4, 0xDF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0xCF, Local4) ShiftLeft (Local2, 0x04, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (FAN1, Local0) } While (LOr (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05)), LAnd ( LLess (Local0, 0x1E), LGreater (Local1, 0x02)))) { If (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05))) { Add (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x05, Local3) Store (FD21, Local4) And (Local4, 0xDF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0xCF, Local4) ShiftLeft (Local2, 0x04, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (FAN1, Local0) Sleep (0x32) Store (FAN1, Local0) Sleep (0x32) Store (FAN1, Local0) } Else { Subtract (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x05, Local3) Store (FD21, Local4) And (Local4, 0xDF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0xCF, Local4) ShiftLeft (Local2, 0x04, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (FAN1, Local0) Sleep (0x32) Store (FAN1, Local0) Sleep (0x32) Store (FAN1, Local0) } } If (LAnd (LEqual (Local0, 0xFF), LEqual (Local1, 0x05))) { Return (Zero) } If (LAnd (LEqual (Local0, Zero), LEqual (Local1, 0x02))) { Return (0xFFFF) } Store (One, Local2) While (Local1) { Multiply (Local2, 0x02, Local2) Decrement (Local1) } Multiply (Local0, Local2, Local0) Divide (0x00149970, Local0, Local1, Local0) Return (Local0) } Method (HWF1, 0, NotSerialized) { Store (Zero, BSEL) Store (FAN2, Local0) And (FD21, 0x40, Local1) ShiftRight (Local1, 0x06, Local1) Multiply (Local1, 0x04, Local1) And (FDR1, 0xC0, Local2) ShiftRight (Local2, 0x06, Local2) Add (Local1, Local2, Local1) If (LOr (LGreater (Local1, 0x05), LLess (Local1, 0x02))) { If (LGreater (Local0, 0xF0)) { Store (0x02, Local1) } Else { If (LLess (Local0, 0x1E)) { Store (0x05, Local1) } Else { Store (0x03, Local1) } } Divide (Local1, 0x04, Local2, Local3) ShiftLeft (Local3, 0x06, Local3) Store (FD21, Local4) And (Local4, 0xBF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0x3F, Local4) ShiftLeft (Local2, 0x06, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (Zero, BSEL) Store (FAN2, Local0) } While (LOr (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05)), LAnd ( LLess (Local0, 0x1E), LGreater (Local1, 0x02)))) { If (LAnd (LLess (Local0, 0x1E), LGreater (Local1, 0x02))) { Subtract (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x06, Local3) Store (FD21, Local4) And (Local4, 0xBF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0x3F, Local4) ShiftLeft (Local2, 0x06, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (Zero, BSEL) Store (FAN2, Local0) Sleep (0x32) Store (FAN2, Local0) Sleep (0x32) Store (FAN2, Local0) } Else { Add (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x06, Local3) Store (FD21, Local4) And (Local4, 0xBF, Local4) Or (Local3, Local4, FD21) Store (FDR1, Local4) And (Local4, 0x3F, Local4) ShiftLeft (Local2, 0x06, Local2) Or (Local4, One, Local4) Or (Local4, Local2, FDR1) Sleep (0x32) Store (Zero, BSEL) Store (FAN2, Local0) Sleep (0x32) Store (FAN2, Local0) Sleep (0x32) Store (FAN2, Local0) } } If (LAnd (LEqual (Local0, 0xFF), LEqual (Local1, 0x05))) { Return (Zero) } If (LAnd (LEqual (Local0, Zero), LEqual (Local1, 0x02))) { Return (0xFFFF) } Store (One, Local2) While (Local1) { Multiply (Local2, 0x02, Local2) Decrement (Local1) } Multiply (Local0, Local2, Local0) Divide (0x00149970, Local0, Local1, Local0) Return (Local0) } Method (HWF2, 0, NotSerialized) { Store (FAN3, Local0) Store (Zero, BSEL) And (FD21, 0x80, Local1) ShiftRight (Local1, 0x07, Local1) Multiply (Local1, 0x04, Local1) Divide (FD13, 0x40, Local2, Local3) Add (Local1, Local3, Local1) If (LOr (LGreater (Local1, 0x05), LLess (Local1, 0x02))) { If (LGreater (Local0, 0xF0)) { Store (0x02, Local1) } Else { If (LLess (Local0, 0x1E)) { Store (0x05, Local1) } Else { Store (0x03, Local1) } } Divide (Local1, 0x04, Local2, Local3) ShiftLeft (Local3, 0x07, Local3) Store (FD21, Local4) And (Local4, 0x7F, Local4) Or (Local3, Local4, FD21) Store (FD13, Local3) And (Local3, 0x3F, Local3) Multiply (Local2, 0x40, Local2) Add (Local3, Local2, Local2) Store (Local2, FD13) Sleep (0x32) Store (FAN3, Local0) } While (LOr (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05)), LAnd ( LLess (Local0, 0x1E), LGreater (Local1, 0x02)))) { If (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05))) { If (LEqual (Local0, 0xFF)) { Store (0x05, Local1) } Else { Add (Local1, One, Local1) } Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x07, Local3) Store (FD21, Local4) And (Local4, 0x7F, Local4) Or (Local3, Local4, FD21) Store (FD13, Local3) And (Local3, 0x3F, Local3) Multiply (Local2, 0x40, Local2) Add (Local3, Local2, Local2) Store (Local2, FD13) If (LNotEqual (Local0, 0xFF)) { Sleep (0x32) } Store (FAN3, Local0) Sleep (0x32) Store (FAN3, Local0) Sleep (0x32) Store (FAN3, Local0) } Else { Subtract (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x07, Local3) Store (FD21, Local4) And (Local4, 0x7F, Local4) Or (Local3, Local4, FD21) Store (FD13, Local3) And (Local3, 0x3F, Local3) Multiply (Local2, 0x40, Local2) Add (Local3, Local2, Local2) Store (Local2, FD13) Sleep (0x32) Store (FAN3, Local0) Sleep (0x32) Store (FAN3, Local0) Sleep (0x32) Store (FAN3, Local0) } } If (LAnd (LEqual (Local0, 0xFF), LEqual (Local1, 0x05))) { Return (Zero) } If (LAnd (LEqual (Local0, Zero), LEqual (Local1, 0x02))) { Return (0xFFFF) } Store (One, Local2) While (Local1) { Multiply (Local2, 0x02, Local2) Decrement (Local1) } Multiply (Local0, Local2, Local0) Divide (0x00149970, Local0, Local1, Local0) Return (Local0) } Method (HWF4, 0, NotSerialized) { Store (0x05, BSEL) Store (FAN4, Local0) Store (Zero, BSEL) And (FND4, 0x80, Local1) ShiftRight (Local1, 0x07, Local1) Multiply (Local1, 0x04, Local1) And (FND4, 0x0C, Local2) ShiftRight (Local2, 0x02, Local2) Add (Local1, Local2, Local1) If (LOr (LGreater (Local1, 0x05), LLess (Local1, 0x02))) { If (LGreater (Local0, 0xF0)) { Store (0x02, Local1) } Else { If (LLess (Local0, 0x1E)) { Store (0x05, Local1) } Else { Store (0x03, Local1) } } Divide (Local1, 0x04, Local2, Local3) ShiftLeft (Local3, 0x07, Local3) ShiftLeft (Local2, 0x02, Local2) Store (FND4, Local4) And (Local4, 0x73, Local4) Or (Local3, Local2, Local3) Or (Local3, Local4, FND4) Sleep (0x32) Store (0x05, BSEL) Store (FAN4, Local0) } While (LOr (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05)), LAnd ( LLess (Local0, 0x1E), LGreater (Local1, 0x02)))) { If (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05))) { Add (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x07, Local3) ShiftLeft (Local2, 0x02, Local2) Store (FND4, Local4) And (Local4, 0x73, Local4) Or (Local3, Local2, Local3) Or (Local3, Local4, FND4) If (LNotEqual (Local0, 0xFF)) { Sleep (0x32) } Store (0x05, BSEL) Store (FAN4, Local0) Sleep (0x32) Store (FAN4, Local0) Sleep (0x32) Store (FAN4, Local0) Store (Zero, BSEL) } Else { Subtract (Local1, One, Local1) Divide (Local1, 0x04, Local2, Local3) Store (Zero, BSEL) ShiftLeft (Local3, 0x07, Local3) ShiftLeft (Local2, 0x02, Local2) Store (FND4, Local4) And (Local4, 0x73, Local4) Or (Local3, Local2, Local3) Or (Local3, Local4, FND4) Sleep (0x32) Store (0x05, BSEL) Store (FAN4, Local0) Sleep (0x32) Store (FAN4, Local0) Sleep (0x32) Store (FAN4, Local0) Store (Zero, BSEL) } } If (LAnd (LEqual (Local0, 0xFF), LEqual (Local1, 0x05))) { Return (Zero) } If (LAnd (LEqual (Local0, Zero), LEqual (Local1, 0x02))) { Return (0xFFFF) } Store (One, Local2) While (Local1) { Multiply (Local2, 0x02, Local2) Decrement (Local1) } Multiply (Local0, Local2, Local0) Divide (0x00149970, Local0, Local1, Local0) Return (Local0) } Name (FNDT, Package (0x08) { One, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }) Method (HWF3, 0, NotSerialized) { Store (Zero, BSEL) Store (CFN3, Local0) And (FD15, 0x80, Local1) ShiftRight (Local1, 0x05, Local1) And (FND4, 0x03, Local2) Or (Local1, Local2, Local1) If (LOr (LGreater (Local1, 0x05), LLess (Local1, 0x02))) { If (LGreater (Local0, 0xF0)) { Store (0x02, Local1) } Else { If (LLess (Local0, 0x1E)) { Store (0x05, Local1) } Else { Store (0x03, Local1) } } ShiftLeft (Local1, 0x05, Local2) And (Local2, 0x80, Local2) And (FD15, 0x7F, Local3) Or (Local2, Local3, Local3) Store (Local3, FD15) And (Local1, 0x03, Local2) And (FND4, 0xFC, Local3) Or (Local2, Local3, Local3) Store (Local3, FND4) Sleep (0x32) Store (CFN3, Local0) } While (LOr (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05)), LAnd ( LLess (Local0, 0x1E), LGreater (Local1, 0x02)))) { If (LAnd (LGreater (Local0, 0xF0), LLess (Local1, 0x05))) { Increment (Local1) } Else { Decrement (Local1) } ShiftLeft (Local1, 0x05, Local2) And (Local2, 0x80, Local2) And (FD15, 0x7F, Local3) Or (Local2, Local3, Local3) Store (Local3, FD15) And (Local1, 0x03, Local2) And (FND4, 0xFC, Local3) Or (Local2, Local3, Local3) Store (Local3, FND4) Sleep (0x32) Store (CFN3, Local0) Sleep (0x32) Store (CFN3, Local0) Sleep (0x32) Store (CFN3, Local0) } If (LAnd (LEqual (Local0, 0xFF), LEqual (Local1, 0x05))) { Return (Zero) } If (LAnd (LEqual (Local0, Zero), LEqual (Local1, 0x02))) { Return (0xFFFF) } Store (DerefOf (Index (FNDT, Local1)), Local2) Multiply (Local0, Local2, Local0) Divide (0x00149970, Local0, Local1, Local0) Return (Local0) } OperationRegion (HWRE, SystemIO, IOHW, 0x0A) Field (HWRE, ByteAcc, NoLock, Preserve) { Offset (0x05), HIDX, 8, HDAT, 8 } IndexField (HIDX, HDAT, ByteAcc, NoLock, Preserve) { Offset (0x04), CHNM, 1, CFNM, 1, CHNS, 2, CFNS, 2, Offset (0x05), SYST, 8, TRGT, 8, Offset (0x08), SSDN, 8, CSDN, 8, SSUP, 8, CSUP, 8, Offset (0x20), VCOR, 8, V12V, 8, Offset (0x23), V33V, 8, V50V, 8, Offset (0x27), MBTE, 8, FAN1, 8, FAN2, 8, FAN3, 8, Offset (0x3F), CFN3, 8, Offset (0x47), FDR1, 8, Offset (0x4B), FD13, 8, FD15, 8, Offset (0x4E), BSEL, 4, Offset (0x4F), Offset (0x50), TSR1, 8, , 7, TSR2, 1, Offset (0x53), FAN4, 8, Offset (0x59), FND4, 8, Offset (0x5D), FD21, 8, Offset (0x7D), SR7D, 8, SR7E, 8 } } how to get fan RPM in HWmonitors
    1 point
  34. @vinhkm6 Im waiting for your answer
    0 points
×
×
  • Create New...