diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 7df62a5..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "shared"] - path = shared - url = https://github.com/dortania/build-files.git diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..20cb67d --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,14 @@ +{ + "default": true, + "line_length": false, + "no-alt-text": false, + "no-inline-html": false, + "header-increment": false, + "no-duplicate-header": false, + "fenced-code-language": false, + "no-emphasis-as-heading": false, + "single-title": false, + "ul-style": { + "style": "asterisk" + } +} diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000..d58a2c5 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,10 @@ +/node_modules/ +/_book/ +*.json +/extra-files/ +/.git/ +/icons/ +/images/ +/styles/ +/.github/ +/.vuepress/ \ No newline at end of file diff --git a/Laptops/trackpad-methods/manual.md b/Laptops/trackpad-methods/manual.md index bbf0ed0..12d92a9 100644 --- a/Laptops/trackpad-methods/manual.md +++ b/Laptops/trackpad-methods/manual.md @@ -17,7 +17,7 @@ Here, we can see that VoodooGPIO is attached to GPI0 so no edits are needed for If VoodooGPIO isn't attached, then you may need to modify the `_STA` method in the `GPI0` device. In that case, you will need to find the GPI0 device in ACPI. -First open your decompiled DSDT you got from [Dumping the DSDT](/Manual/dump.md) and [Decompiling and Compiling](/Manual/compile.md) with either maciASL(if in macOS) or any other text editor if in Windows or Linux (VSCode has an [ACPI extension](https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl) that can also help). +First open your decompiled DSDT you got from [Dumping the DSDT](/Manual/dump.md) and [Decompiling and Compiling](/Manual/compile.md) with either MaciASL(if in macOS) or any other text editor if in Windows or Linux (VSCode has an [ACPI extension](https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl) that can also help). Next search for `Device (GPI0)`. You should get a result similar to this: @@ -82,6 +82,7 @@ If (_OSI ("Darwin")) ``` For the second example, you'd want to remove GPEN and use the below: + ``` If (_OSI ("Darwin")) { @@ -134,7 +135,7 @@ Method (LSTA, 1, Serialized) There are various checks for many different versions of Windows, but there is no check for `Darwin` (which Apple's ACPI usually checks for). We generally want to set `OSYS` to the value for the latest version of Windows in order to enable the most features. In this case, the latest version of Windows is "Windows 2015", or [Windows 10](https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi#_osi-strings-for-windows-operating-systems). This means that we should set OSYS to `0x07DF`. Notice that this value is greater than the `OSYS < 0x07DC` value being checked for earlier, which means that the check in LSTA should return `0x0F` now. -The best way to patch these checks is to use _OSI to XOSI with SSDT-XOSI, or to set the OSYS value just within the scope of the I2CX device. Attempting to set OSYS directly generally fails as _INI sets a default value which will override whatever value you set. +The best way to patch these checks is to use _OSI to XOSI with SSDT-XOSI, or to set the OSYS value just within the scope of the I2C device. Attempting to set OSYS directly generally fails as \_INI sets a default value which will override whatever value you set. ### _OSI to XOSI @@ -144,7 +145,7 @@ Requires the below SSDT and patch * [SSDT-XOSI.aml](/extra-files/compiled/SSDT-XOSI.aml) - Precompiled * XOSI Rename(add this under config.plist -> ACPI -> Patch): -| Comment | String | Change _OSI to XOSI | +| Comment | String | Change \_OSI to XOSI | | :------ | :------ | :------- | | Enabled | Boolean | YES | | Count | Number | 0 | @@ -154,15 +155,15 @@ Requires the below SSDT and patch ::: details Dell Machines You may need to add the below patch to allow the backlight keys to work. Credit to Rehabman for the below patch: -Make sure that this patch appears **BEFORE** the previous _OSI to XOSI patch +Make sure that this patch appears **BEFORE** the previous \_OSI to XOSI patch -| Comment | String | Change _OSID to XSID (to avoid match against _OSI patch) +| Comment | String | Change \_OSID to XSID (to avoid match against _OSI patch) | :------ | :----- | :-------- | | Enabled | Boolean | YES | | Count | Number | 0 | | Limit | Number | 0 | | Find | Data | 4F534944 | -| Replace | Data | 58534944 | +| Replace | Data | 58534944 | ::: ### Create OSYS Variable Under I2C Scope @@ -177,8 +178,9 @@ If (_OSI("Darwin")) { } ``` -### Note: -Windows will also return true for checks of earlier versions of the OS. For example, Windows 7 would return true for "Windows 2000" through "Windows 2009", but not any version after. This is important as some features are only enabled in earlier Windows checks. For example, `WNTF = 0x01` allows DYTC thermal management to work on newer Thinkpads, though this only gets set in the check for "Windows 2001". You will need to check your own DSDT and see what values it sets and where they are used. At this point, you should [compiling the SSDT](/Manual/compile.md) and see if the trackpad works. +### Note + +Windows will also return true for checks of earlier versions of the OS. For example, Windows 7 would return true for "Windows 2000" through "Windows 2009", but not any version after. This is important as some features are only enabled in earlier Windows checks. For example, `WNTF = 0x01` allows DYTC thermal management to work on newer ThinkPads, though this only gets set in the check for "Windows 2001". You will need to check your own DSDT and see what values it sets and where they are used. At this point, you should [compiling the SSDT](/Manual/compile.md) and see if the trackpad works. ## Further Setup diff --git a/dictionary/dictionary.txt b/dictionary/dictionary.txt new file mode 100644 index 0000000..29ef1ca --- /dev/null +++ b/dictionary/dictionary.txt @@ -0,0 +1,1198 @@ +(15|16)h +(No)?TouchID +.aml +.chunklist +.dat +.dmg +.dsl +.kext +.plist +.txt +00010D13 +01xx0900 +02000A00 +02xx0A00 +0x[0-9A-Fa-f]+ +100MBe +100MHz +1024x768 +120Hz +144Hz +14F1 +14e4 +16XX +17h +18G103 +18G95 +19H +19h +1Revenger1 +20XX +2200S +2B-i +2B-iii +32MB +3700X +390X +3990X +3D +43a0 +4G +4K +4k +50F4 +5700XT +64MB +64bit +6970M +6XX +7920x +7980xe +7XX +7zip +970EvoPlus +A320 +A520 +AAPL +ACPIBatteryManager +AGPM +AHCI +AHCIPortInjector +AIDA64 +AIOs +ALC +ALC1220 +ALC3601 +ALZA +ANS1 +ANS2 +APIC +APTIO +APUs +ARPT +ASR +ASUS +ASentientBot +ATA +ATAPortInjector +ATH9KFixup +AWAC +AZAL +Above4G +Above4GDecoding +Acidanthera +Acidanthera's +Acpi +AcpiSamples +AirPortBrcm4360 +AirportAtheros40 +AirportBrcmFixup +AirportItlwm +AlGrey +Aleksander +Aleksander's +AlpsT4USB +AmazonBasics +Andrey's +Andrey1970AppleLife +Aorus +ApfsDriverLoader +Apianti +Apianti's +AppStore +AppeALC's +AppleACPICPU +AppleACPIEC +AppleAHCIPort +AppleALC +AppleALC's +AppleBusPowerController +AppleGVA +AppleHDA +AppleHDAController +AppleHDAInput +AppleHV +AppleHV's +AppleID +AppleIntelCPUPM +AppleIntelCPUPowerManagement +AppleIntelCPUPowerManagment +AppleIntelI210Ethernet +AppleIntelPchSeriesAHCI +AppleIntelPowerManagement +AppleIntele1000e +AppleLPC +AppleLife +AppleMCEReporter +AppleMCEReporterDisabler +AppleRTC +AppleSMBus +AppleSMBusController +AppleSMBusPCI +AppleSupport +AppleSupportPkg +AppleTV +Aptio +AptioMemoryFix +Aquantia +Architected +Arg +Arg0 +Arrandale +Arrendale +AsMedia +AsRock +AssetCache +Asus +Asus's +Ath3kBT +Ath3kBTInjector +AthBluetoothFirmware +Atheros +AtherosE2200Ethernet +Atmel +Attribution-NonCommercial-ShareAlike +AudioDxe +Auth +B0D3 +B360 +B365 +B450 +B460 +B550 +B75 +B8 +BCM43224 +BCM4331 +BCM5722 +BCM5722D +BCM94331 +BCM94331CD +BCM94352Z +BCM94360 +BGRT +BOOTICE +BT +Backlight +BaseSystem +BeyondCompare +Big +BlueScreen +BootCamp +BootInstall +Bootable +Bootcamp +BrcmBluetoothInjector +BrcmFirmwareData +BrcmPatchRAM[0-3]? +Bridge-E5 +Broadcom +Broadwell +Broadwell-E +Bugtracker +BusID +C3 +C602 +C612 +C7030000 +CAVS +CFG +CFG-Lock +CLKT +CMD +CMOS +CONFIGURATORS +CPU0 +CPUFriend +CPUFriendDataProvider +CPUFriendFriend +CPUID +CPUID's +CPUs +CR0 +CSM +Capitan +Carcraftz +Celeron +Celerons +Changelog +Chipset +Chipsets +Clarkdale +Clarksfield +CloverV2 +Cmd +Codec +Codecs +CoffeeLake +Config +Configurator +ConsoleControl +ConsoleGOP +Core2 +CorpNewt +CorpNewt's +Cpu +Cpu0Ist +CpuPm +CpuTscSync +Crohn +Crohn's +CsrDecode +CtlnaAHCIPort +Ctrl +Cupertino +CustomSMBIOSMode +D3 +DAC +DACs +DBG +DC7900 +DMAR +DMGs +DRM +DSDT +DSDTs +DSMOS +DVI +DVMT +DVMT-prealloc +DYTC +DaVinci +Decluttering +Decompile +Decompiling +Dev +DeviceManager +DevicePath +DeviceProperty +DhinakG +DiskArbitrationFixup +DiskUtility +DisplayPort +Dont +Dortania +Dortania's +DriveDroid +DuetPkg +E2 +E2500 +EB +EC0 +ECDV +EDID +EDK +EDKII +EFI +EFI's +EFI32 +EFI64 +EH01 +EH02 +EHC1 +EHC2 +EHCI +ELAN1200 +ELANs +EPP +ETH0 +EUSB +EVGA +EVO +EfiPkg +EfiReservedMemoryType +El +El Capitan +EmuVariableUEFI +En0 +EnableWriteUnprotected +Enclos +EndRandomSeed +Endian +Endianness +Esc +EveryMac +Evo +ExitBootServices +Explainer +ExtendBTFeatureFlags +F10 +F12 +F3A +F4 +FAT32 +FPU +FSB +FTE1001 +FW +FX +Factor-Aut +Factor-Auth +FairPlay +FakeSMC +FakeSMC-32 +FakeSMC-32's +FakeSMC3_with_plugins +Fenvi +FileVault +FireWire +Firmwares +FixHPET +FixIPIC +FixShutdown-USB-SSDT +Fn +ForceKextsToLoad +Framebuffer +FredWst +FwRuntimeServices +G6 +GA-X299-UD4 +GBE1 +GCN +GFX +GFX0 +GMA +GMA950 +GPEN +GPHD +GPI0 +GPIO +GPT +GPT. +GPUs +GSync +GT1 +GT2 +GTX +GUID +GenSMBIOS +GenSMBIOS's +GibMacOS +GitBook +Github +Goldfish64 +Goldfish64's +GraphicsEnabler +GraphicsEnabler=Yes +Greenwhich +GuC +Gui +H310 +H370 +H61 +HD +HDA +HDAS +HDAU +HDCP +HDDs +HDEF +HD[0-9]* +HEC1 +HECI +HEDT +HFS +HM370 +HM[0-9]{2} +HPET +HWPEnable +Hackintool +Hackintosh +Hackintosher +Hackintoshes +Hackintoshing +Handoff +Haswell +Haswell-E +Hfs +HfsPlus +HfsPlus's +HfsPlus32 +HfsPlusLegacy +HiDPI +HiiDatabase +HoRNDIS +Hx6x +I211 +I211-AT +I2C +I2C1 +I7, +IA32 +IDER +IGPEnabler +IGPEnabler=Yes +IGPU +IM +IMEI +IMEI's +INI +IO80211 +IO80211Family +IOHDACodecDevice +IOHIDFamily +IOIIIO +IOKit +IONVMe +IONetworkingFamily +IOPCIFamily +IOReg +IORegistryExplorer +IOService +IPIC +IQSV +IRQ +IRQs +IceLake +Icelake +Icelake's +InjectAMD +InjectAti +InjectIntel +InjectNvidia +InsanelyMac +Inspiron +InstallAssistant +InstallMacOSX +Insyde +Intel +IntelBluetoothFirmware +IntelMausi +IntelMausiEthernet +IntelSnowMausi +InyextcionES +InyextcionES' +IvyBridge +JDK +JRE +JackFix +Journaled +KASLR +KBL-R +KDK +KVM +KVMs +Kaby +KabyLake +Kabylake +KernelAndKextPatches +KernelCollections +KernelPM +Kernelspace +Kext +KextBeast +Kexts +Keychain +Khronokernel +L305 +L8200A +LAPIC +LD:OFS +LPC +LPC0 +LPCB +LPM +LSTA +LVDS +LegacyBoot +LegacyCommpage +Lenovo +Lenovo's +Lexa +Lilu +Lilu-independent +LoadImage +LoadVBIOS +LowPinCount +LucyRTL8125Ethernet +Lynnfield +M1 +MADT +MBR +MBR-based +MEI +MEID +MKext +MMIO +MSI +MSR +MSR_FLEX_RATIO +MT2 +MacBook +MacBook7 +MacBook8 +MacBookAir[0-9]+ +MacBookPro13 +MacBookPro14 +MacBookPro[0-9]+ +MacInfoPkg +MacMini +MacMini6 +MacMini7 +MacOS +MacPro5 +MacPro6 +MacPro7 +MacProMemoryNotificationDisabler +MacRecovery's +MacRumors +MacSerial +MaciASL +Mackie +Mackie's +Macmini6 +Macmini7 +Maemo +MakeInstall +MasterBootRecord +MediaKit +Mellanox +Memfast +MemoryFix +Merom +MinMultiplier +Misconfigured +MonitorControl +MountEFI +MultiBeast +Multiboot +Multitouch +NIC +NICs +NOOPT +NPM +NTFS +NUC +NUCs +NVCAP +NVCAP-settings +NVMe +NVMeFix +NVRAM +NVRAM's +Navi +Nehalem +Niresh +NoHybGfx +NoOne +Notiflux +NullCPUPowerManagement +NullCPUPowerManagment +Nvidia +Nvidia's +OC +OC's +OC/ +OCABC +OCB +OCConfigCompare +OCSCAN_ALLOW_DEVICE +OCSCAN_ALLOW_FS +OC_SCAN_ALLOW_DEVICE_NVME +OC_SCAN_ALLOW_DEVICE_SASE +OC_SCAN_ALLOW_DEVICE_SASEX +OC_SCAN_ALLOW_DEVICE_SATA +OC_SCAN_ALLOW_DEVICE_SCSI +OC_SCAN_ALLOW_DEVICE_US +OC_SCAN_ALLOW_DEVICE_USB +OC_SCAN_ALLOW_FS_APFS +OC_SCAN_DEVICE_LOCK +OC_SCAN_FILE_SYSTEM_LOCK +OEM +OEM's +OEMs +OPENCORE +OSI +OSX +OSX's +OSYS +OcAppleKernelLib +OcQuirks +OpenCanopy +OpenCore +OpenCore's +OpenCorePkg +OpenCorePkg's +OpenRuntime +OpenShell +OpenUsbKbDxe +Optane +Optimus +OsxAptioFixDrvX +OtherOS +P50 +P530 +PARSEOP_ONE +PBR +PC00 +PCI +PCIO +PCIRoot +PCIRootUID +PCIRootUID=Value +PCIe +PEG0 +PEGP +PGEC +PLIST +PListPath +PM981 +PM991 +PMC +PMHeart +PNLF +PNP0C09 +PNP0C09's +PR00 +PRs +PS2 +PXSX +PartitionDxe +PartitionDxe32 +PartitionDxeLegacy +Patch1 +Pathing +Pathname +Pci +PciRoot +PciRoot's +Penryn +Penyrn +Plist +Plists +PowerBook +PowerMac +PowerProperties +Pre-Allocated +Preboot +Prebuilt +Prelinked +ProperTree +ProperTree's +Psystar +Q8300 +QE/CI +QEMU +Qlogic +Quicklook +R5/R7 +R9 +RDRAND +RHUB +ROMs +RSA +RSA-2048 +RST +RTC +RTC0 +RTCMemoryFixup +RTVariables +R[5|7] +Radeon +Radeon-Denit-SSDT +Ramus +Realtek +Realtek's +RealtekRTL8100 +RealtekRTL8111 +RecoveryImage +ReddestDream's +RehabMan's +Rehabman +Rehabman's +Reinstalls +Rename-SSDT +Repo +Ryzen +S3 +SAS +SAT0 +SAT1 +SATA +SATA-Unsupported +SATA-unsupported +SBRG +SGX +SHA-1 +SL01 +SLOTID +SMBUS +SMBus +SMBus-based +SMC +SMCAMDProcessor +SMCBatteryManager +SMM +SSD +SSDT +SSDT-.* +SSDTTime +SSDTTime's +SSDTs +SSDs +SSE3 +SSE4 +SSSE3 +STAS +Safemode +SandyBridge +SecureBootModel +SetVirtualAddresses +Shannee +SharedSupport +Shiki +ShowPackageContents +SidecarEnabler +Siri +Skylake +Skylake-SP +Skylake-X +SmUUID +SmallTree +SmallTreeIntel82576 +Speccy +Stompy +StopSign-fixv +StopSign-fixv5 +Subreddit +Sur +Sur's +Synaptics +Syrah +SystemAudioVolume +SystemParameters +SystemProfilerMemoryFixup +T2 +TDP +TIMR +TMR +TR4 +TRX40 +TRx40 +TSC +TSCAdjustReset +Takedowns +Technopat +Telemetrap +TetherMe +TextEdit +TextMate +TextMode +TgtBridge +ThinkPad +ThinkPads +Thinkpad +ThrRip +ThreadRipper +Threadripper +TimeMachine +Touchbase +Trackpad +Trackpads +TransMac +Typora +UEFI-based +UEFIExtrac +UEFITool +UHD +UI +UID +USBE +USBInjectAll +USBX +USBmap +UUID +UUIDs +Ubuntu +Uncore +UniBeast +Universal-IFR-Extractor +UsbInjectAll +UselessBanana +Userspace +V1 +VBIOS +VDADecoderChecker +VDI +VIAO +VM +VMDK +VMWare +VMs +VMware +VPN +VRAM +VSCode +VerifyMsrE2 +VirtualBox +VirtualSMC +VirtualSMC's +Vit +Vit's +VmAssetCacheEnable +VoiceOver +VoodooGPIO +VoodooHDA +VoodooHDA-FAT +VoodooI2C.* +VoodooInput +VoodooPS2 +VoodooPS2's +VoodooPS2Controller +VoodooRMI +VoodooSMBus +VoodooTSCSync +VoodooTsc +VuePress +WHFR +WHQL +WIFI +WIP +WLAN +Welp +Westmere +WhateverGreen +WhateverGreen's +Wifi +X299 +X3100 +X470 +X520 +X540 +X570 +X64 +X79 +X86 +X86-based +X86PlatformPlugin +X86PlatformShim +X99 +XCPM +XHC +XHC0 +XHC1 +XHCI +XHCI-unsupported +XLNCUSBFIX +XLNCUSBFix +XNU +XNU's +XOSI +XPoint +XXX-XXXXX +Xcode +Xeon +Xeons +Xserve +Yonah +Z270 +Z370 +Z390 +Z490 +Z67 +Z68 +Z77 +Z87 +Z87-Pro +Z97 +[0-9]+GB +[0-9]+MB +[0-9]+XXX +\.efi +acidanthera +acpica +actionLink +actionText +al3xtjames +alcid +algrey +architected +args +arse +auth +automagically +ba10b5d +backlight +backports +base64 +bitmask +boot-arg +boot-args +boot-args. +bootable +bootcamp +bootloader +bootloaders +borked +breakless +bugtracker +build-repo +busID +busId +busid +busid=00 +busids +cacheless +cd +cdfon +checksums +chipset +chipset's +chipsets +chunklist +codec +codecs +con0 +config +config's +configs +configurator +configurators +createinstallmedia +csr-active-config +csrstat +dGPU +dGPUs +debug=0x100 +decompile +decompiled +decompiling +decrypt +dev +devirt +diskXsY +diskpart +diskutil +distro +distro's +distros +dmg +dmg's +dortania +eDP +eMMC +eMac +endian +erroring +ethernet +executables +explainer +fakeID +fassl's +filesystem +firmwares +framebuffer +framebuffer-con0-alldata +framebuffer-con0-enable +framebuffer-con1-alldata +framebuffer-con1-enable +framebuffer-con2-alldata +framebuffer-con2-enable +framebuffers +fs +gIOLockState +gdisk +gfxutil +gibMacOS +gibMacOS's +gitbook +gitbook-cli +google-fu +grey +hackintosh +hackintoshes +hackintoshing +hacky +heroImage +heroText +hotplug +i210 +i211 +i218 +i219 +i225 +i225-V +i225LM +i3 +i3-3110M +i7 +i7-10700K +i7-9700T +i9 +i9-10850K +i9-10900K +i9-10910 +i9-9900K +iASL +iBook +iCloud +iGPU +iGPU's +iGPU-less +iGPU-only +iGPU. +iGPUs +iMac +iMac10 +iMac11 +iMac12 +iMac13 +iMac14 +iMac15 +iMac16 +iMac17 +iMac18 +iMac19 +iMac20 +iMac6 +iMacPro1 +iMessage +iPad8 +iPadOS +iServices +iStat +iasl +iasl-stable +ie +ie\. +ig-platform-id +ig-platform-id's +igfxcdc +igfxfw +img +ix-3xxx +jailbroken +keepsyms=1 +kernelcache +kernelspace +kext +kext(\.)? +kextd +kexts +laggy +lapic +lappie +licensor +linter +lsblk +macOS +macOS's +macOS(\.)? +macOS-compatible +macOS-limited +macOS-only +macOS86 +macrecovery +macrecovery's +macserial +markdownlint-cli +max_cpus_from_firmware +midi1996 +mini-explainer +msi +multiboot +multibooting +natively +nms42 +non-Fenvi +non-UEFI +non-latin +npci +nvda_drv=1 +osxaptiofix2drv.efi +passthrough +patcher +pathing +pathing. +pci +pentiums +plist +plist-only +plists +pre- +pre-2012 +pre-Skylake +pre-built +pre-builts +pre-compiled +pre-existing +pre-hex +pre-made +preboot +prebuilt +prebuilts +precompiled +prelinked +prelinkedkernel +prelinker +probs +r10 +r4 +rEFInd +raw2vmdk +re-architecting +readme +rebranded +reimplements +renderer +repo +repos +resolutuion +rottenpants466 +savvamitrofanov +shiki +shikigva +slavs +slowgeek +smcread +snapshotting +snb-platform-id +socketed +soooooo +spacebar +spellchecker-cli +ssdtPRGen +ssdtPRgen +stolenmem +subreddit +sudo +sysctl +takedowns +tbh +threadripper +touchpad +touchpads +trackpad +trackpads +trackpoints +trashOS +ubuntu +unallocated +unbootable +uncomment +uncore +unenroll +unmount +unoptimized +untrusted +userspace +v1 +v3006 +v5210 +vSMC +ver +vit9696 +vit9696's +vmdk +vmx +vmxf +webserver +wifi +x10 +x64 +x86 +x86-based +xcpm +Как +завести +сервисы \ No newline at end of file diff --git a/dictionary/opencorekeys.txt b/dictionary/opencorekeys.txt new file mode 100644 index 0000000..8dd12e1 --- /dev/null +++ b/dictionary/opencorekeys.txt @@ -0,0 +1,202 @@ +4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 +4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 +7C436110-AB2A-4BBB-A880-FE41995C9F82 +ACPI +APFS +ARTFrequency +AdviseWindows +AllowNvramReset +AllowSetDefault +AppleAudio +AppleBootPolicy +AppleCpuPmCfgLock +AppleDebug +AppleDebugLog +AppleEvent +AppleImageConversion +AppleKeyMap +ApplePanic +AppleRtcRam +AppleSmcIo +AppleUserInterfaceTheme +AppleXcpmCfgLock +AppleXcpmExtraMsrs +AppleXcpmForceBoost +AudioCodec +AudioDevice +AudioOut +AudioSupport +AuthRestart +AvoidRuntimeDefrag +BID +BIOSReleaseDate +BIOSVendor +BIOSVersion +BlessOverride +BoardAssetTag +BoardLocationInChassis +BoardManufacturer +BoardProduct +BoardRevision +BoardSerialNumber +BoardType +BoardVersion +Boot1f32 +BootProtect +Booter +BundlePath +ChassisAssetTag +ChassisManufacturer +ChassisSerialNumber +ChassisType +ChassisVersion +ClearScreenOnModeSwitch +ConnectDrivers +ConsoleAttributes +ConsoleMode +Cpuid1Data +Cpuid1Mask +CustomSMBIOSGuid +DataHub +DevicePathsSupported +DeviceProperties +DevirtualiseMmio +DirectGopCacheMode +DirectGopRendering +DisableIoMapper +DisableRtcChecksum +DisableSingleUser +DisableVariableWrite +DisableWatchDog +DiscardHibernateMap +DisplayDelay +DisplayLevel +DummyPowerManagement +EnableJumpstart +EnableSafeModeSlide +EnableWriteUnprotector +ExecutablePath +ExistBootServicesDelay +ExposeSensitiveData +ExternalDiskIcons +FSBFrequency +FadtEnableReset +FindMask +FirmwareFeatures +FirmwareFeaturesMask +FirmwareVolume +ForceExitBootServices +HaltLevel +HashServices +HibernateMode +HideAuxiliary +HideSelf +HideVerbose +IgnoreInvalidFlexRatio +IgnoreTextInGraphics +IncreasePciBarSize +InitialTSC +JumpstartHotPlug +JumpstartHotplug +KeyFiltering +KeyForgetThreshold +KeyMergeThreshold +KeySupport +KeySupportMode +KeySwap +LapicKernelPanic +LegacyEnable +LegacyOverwrite +LegacySchema +Lifewire +MLB +MaxKernel +MemoryFormFactor +MinDate +MinKernel +MinVersion +MinimumVolume +MmioWhitelist +NormalizeHeaders +OSInfo +OemTableId +PickerAttributes +PickerAudioAssist +PickerMode +PlatformFeature +PlatformInfo +PlatformNVRAM +PlatformName +PlayChime +PlistPath +PointerSupport +PointerSupportMode +PollAppleHotKeys +PowerTimeoutKernelPanic +ProcessorType +ProtectMemoryRegions +ProtectSecureBoot +ProtectUefiServices +ProtocolOverrides +ProvideConsoleGop +ProvideCustomSlide +Quirks +ROM +RebaseRegions +RebuildAppleMemoryMap +ReconnectOnResChange +ReleaseUsbOwnership +ReplaceMask +ReplaceTabWithSpace +RequestBootVarFallback +RequestBootVarRouting +ReservedMemory +ResetHwSig +ResetLogoStatus +Resolution +SMBIOS +SanitiseClearScreen +ScanPolicy +SerialInit +SetupVirtualMap +ShowPicker +SignalAppleOS +SmcBranch +SmcPlatform +SmcRevision +SmcVersion +SpoofVendor +StartupPowerEvents +SyncRuntimePermissions +SysReport +SystemFamily +SystemManufacturer +SystemMemoryStatus +SystemProductName +SystemSKUNumber +SystemSerialNumber +SystemUUID +SystemVersion +TableLength +TableSignature +TakeoffDelay +Target +TextRenderer +ThirdPartyDrives +TimerResolution +UEFI +UIScale +UnblockFsConnect +UnicodeCollation +UpdateDataHub +UpdateNVRAM +UpdateSMBIOS +UpdateSMBIOSMode +Vault +VolumeAmplifier +WriteFlash +XhciPortLimit +boot0 +bootia32 +bootx64 +snapshotted \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fdd339b..d647626 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "version": "0.0.1", "license": "CC-BY-NC-SA-4.0", "devDependencies": { +<<<<<<< HEAD "@vuepress/plugin-back-to-top": "^1.8.2", "markdown-it-multimd-table": "^4.1.1", "markdown-link-check": "^3.8.7", @@ -15,6 +16,15 @@ "run-script-os": "^1.1.6", "spellchecker-cli": "^4.8.0", "vuepress": "^1.8.2", +======= + "@vuepress/plugin-back-to-top": "^1.7.1", + "markdown-it-multimd-table": "^4.0.3", + "markdown-link-check": "^3.8.5", + "markdownlint-cli": "^0.26.0", + "run-script-os": "^1.1.5", + "spellchecker-cli": "^4.4.0", + "vuepress": "^1.7.1", +>>>>>>> 0e617c6... Test pass "vuepress-plugin-medium-zoom": "^1.1.9", "vuepress-plugin-zooming": "^1.1.8", "vuepress-theme-book": "0.0.6", diff --git a/package.json b/package.json index ef6b314..e82e476 100644 --- a/package.json +++ b/package.json @@ -15,24 +15,25 @@ "dev": "vuepress dev", "build": "vuepress build", "fix-lint": "run-script-os", - "fix-lint:default": "(echo Attempting to fix lint... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore '**/*.md' -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", - "fix-lint:win32": "(echo Attempting to fix lint... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore **/*.md -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", + "fix-lint:default": "(echo Attempting to fix lint... && markdownlint -c .markdownlint.json -p .markdownlintignore '**/*.md' -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", + "fix-lint:win32": "(echo Attempting to fix lint... && markdownlint -c .markdownlint.json -p .markdownlintignore **/*.md -f && echo Fixed successfully, please commit.) || (echo Fix failed! && exit 1)", "lint": "run-script-os", - "lint:default": "(echo Linting... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore '**/*.md' && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", - "lint:win32": "(echo Linting... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore **/*.md && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", + "lint:default": "(echo Linting... && markdownlint -c .markdownlint.json -p .markdownlintignore '**/*.md' && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", + "lint:win32": "(echo Linting... && markdownlint -c .markdownlint.json -p .markdownlintignore **/*.md && echo Lint passed.) || (echo Lint failed! Please review and fix errors. && exit 1)", "lint-ci": "run-script-os", - "lint-ci:default": "(echo Linting... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore '**/*.md' && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore '**/*.md' -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", - "lint-ci:win32": "(echo Linting... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore **/*.md && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint -c shared/.markdownlint.json -p shared/.markdownlintignore **/*.md -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", - "sort-dict": "node ./shared/scripts/sortDict.js", + "lint-ci:default": "(echo Linting... && markdownlint -c .markdownlint.json -p .markdownlintignore '**/*.md' && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint -c .markdownlint.json -p .markdownlintignore '**/*.md' -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", + "lint-ci:win32": "(echo Linting... && markdownlint -c .markdownlint.json -p .markdownlintignore **/*.md && echo Lint passed.) || ((echo Lint failed, attempting fix... && markdownlint -c .markdownlint.json -p .markdownlintignore **/*.md -f && echo Fix generated successfully. Please apply the following diff using git apply && git diff) || echo Fix failed! && exit 1)", + "sort-dict": "node ./scripts/sortDict.js", "spellcheck": "run-script-os", - "spellcheck:default": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries shared/dictionary/dictionary.txt shared/dictionary/opencorekeys.txt --files '**/*.md' && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", - "spellcheck:win32": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries shared/dictionary/dictionary.txt shared/dictionary/opencorekeys.txt --files **/*.md && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", + "spellcheck:default": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries dictionary/dictionary.txt dictionary/opencorekeys.txt --files '**/*.md' && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", + "spellcheck:win32": "(spellchecker --plugins spell indefinite-article repeated-words syntax-urls --dictionaries dictionary/dictionary.txt dictionary/opencorekeys.txt --files **/*.md && echo Spellcheck passed.) || (echo Spellcheck failed! Please review and fix errors/add words to dictionary as needed. && exit 1)", "test": "run-script-os", "test:default": "npm run lint --silent; npm run spellcheck --silent", "test:win32": "npm run lint --silent & npm run spellcheck --silent" }, "license": "CC-BY-NC-SA-4.0", "devDependencies": { +<<<<<<< HEAD "@vuepress/plugin-back-to-top": "^1.8.2", "markdown-it-multimd-table": "^4.1.1", "markdown-link-check": "^3.8.7", @@ -40,6 +41,15 @@ "run-script-os": "^1.1.6", "spellchecker-cli": "^4.8.0", "vuepress": "^1.8.2", +======= + "@vuepress/plugin-back-to-top": "^1.7.1", + "markdown-it-multimd-table": "^4.0.3", + "markdown-link-check": "^3.8.5", + "markdownlint-cli": "^0.26.0", + "run-script-os": "^1.1.5", + "spellchecker-cli": "^4.4.0", + "vuepress": "^1.7.1", +>>>>>>> 0e617c6... Test pass "vuepress-plugin-medium-zoom": "^1.1.9", "vuepress-plugin-zooming": "^1.1.8", "vuepress-theme-book": "0.0.6", diff --git a/scripts/linkcheck.py b/scripts/linkcheck.py new file mode 100644 index 0000000..cdcf3ef --- /dev/null +++ b/scripts/linkcheck.py @@ -0,0 +1,9 @@ +from pathlib import Path +import subprocess + +for i in [i for i in list(Path().resolve().glob("**/*.md")) if "node_modules" not in str(i.parent) and "_book" not in str(i.parent)]: + #bert = subprocess.run(['npx', 'markdown-link-check', '"' + str(i) + '"', '-c', '.markdownlinkcheck.json'], capture_output=True, shell=True, cwd=Path().resolve()) + bert = subprocess.run('npx markdown-link-check "' + str(i) + '"', stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, cwd=Path().resolve()) + outpot = bert.stdout.decode().replace("\r", "").split("\n") + outpot = [i for i in outpot if ("FILE: " in i or " → Status: " in i) and " → Status: 429" not in i] + [print(i) for i in outpot] \ No newline at end of file diff --git a/scripts/sortDict.js b/scripts/sortDict.js new file mode 100644 index 0000000..8866ca0 --- /dev/null +++ b/scripts/sortDict.js @@ -0,0 +1,26 @@ +const fs = require("fs"); + +process.chdir(__dirname); + +console.log("Reading dictionary.txt"); +let dictionary = fs.readFileSync("../dictionary/dictionary.txt", { encoding: "UTF8" }) + .replace("\r", "").split("\n"); + +let ocDictionary = fs.readFileSync("../dictionary/opencorekeys.txt", { encoding: "UTF8" }) + .replace("\r", "").split("\n"); + +dictionary = dictionary.filter(string => string != ""); +ocDictionary = ocDictionary.filter(string => string != ""); + +dictionary = dictionary.filter((string, index) => dictionary.indexOf(string) == index); +ocDictionary = ocDictionary.filter((string, index) => ocDictionary.indexOf(string) == index); + +dictionary = dictionary.filter(string => !ocDictionary.includes(string)); + +console.log("Sorting..."); +dictionary.sort(); +ocDictionary.sort(); + +console.log("Writing dictionary.txt"); +fs.writeFileSync("../dictionary/dictionary.txt", dictionary.join("\n")); +fs.writeFileSync("../dictionary/opencorekeys.txt", ocDictionary.join("\n")); diff --git a/shared b/shared deleted file mode 160000 index 9158b82..0000000 --- a/shared +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9158b8216083335c01ccf6f0215a2c5bfe3696aa