shiecldk / ASUS-ZenBook-Pro-Duo-15-OLED-UX582-Hackintosh

Hackintosh installation guide for ASUS ZenBook Pro Duo 15 OLED UX582
GNU General Public License v3.0
24 stars 2 forks source link

Investigate Fake RTC #9

Open shiecldk opened 1 year ago

shiecldk commented 1 year ago

Reference: https://github.com/5T33Z0/OC-Little-Translated/tree/main/01_Adding_missing_Devices_and_enabling_Features/System_Clock_(SSDT-RTC0)

Qonfused commented 1 year ago

This only applies to some 300-series motherboards that don't have a legacy RTC device implemented (hence why it's disabled). Your RTC device is fairly standard and can be enabled by setting the STAS to One:

DSDT.aml .. RTC Device ```dsl 19238 | Device (RTC) 19239 | { 19240 | Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID 19241 | Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings 19242 | { 19243 | IO (Decode16, 19244 | 0x0070, // Range Minimum 19245 | 0x0070, // Range Maximum 19246 | 0x01, // Alignment 19247 | 0x08, // Length 19248 | ) 19249 | IRQNoFlags () 19250 | {8} 19251 | }) 19252 | Method (_STA, 0, NotSerialized) // _STA: Status 19253 | { 19254 | If ((STAS == One)) 19255 | { 19256 | Return (0x0F) 19257 | } 19258 | Else 19259 | { 19260 | Return (Zero) 19261 | } 19262 | } 19263 | } ```

I have a similar SSDT named SSDT-AWAC that does this (src/ACPI/SSDT-AWAC.dsl#L14).

Right, you already have this SSDT implemented.