kingo132 / surface-go2-hackintosh

Install hackintosh into surface go 2
27 stars 8 forks source link

Battery and EC in DSDT #3

Open TheAstroWonderer opened 3 years ago

TheAstroWonderer commented 3 years ago

Hi, does the battery indication works on your Surface Go 2 device? Does the DSDT contains EC device?

kingo132 commented 3 years ago

Yes, the battery indicater works. I don't know what EC means. Nearly everything works except screen wake up problem.

TheAstroWonderer commented 3 years ago

Thanks. How about multitouch on the touchscreen and touchpad?

kingo132 commented 3 years ago

Thanks. How about multitouch on the touchscreen and touchpad?

all works

TheAstroWonderer commented 3 years ago

Great! Could you attach your DSDT? I want to check if there is EC device (related to battery and volume button patch) in Surface Go 2. I currently have surface pro 7 and want to return it and get this one instead if it all works.

kingo132 commented 3 years ago

you can find it in dsdt.orig folder

TheAstroWonderer commented 3 years ago

Sorry for a stupid question. How can I view the *.dat DSDT file in MaciASL or other app?

Edit: Never mind. Found out renaming to *.aml allows MaciASL to open it.

kingo132 commented 3 years ago

I don't know if these dat file is correct, you can try rename it to *.aml and open it with MaciASL. Or I will upload the correct ones later.

TheAstroWonderer commented 3 years ago

Thanks. I found out your DSDT has EC device, which is why battery indicator works (unlike the surface pro lines which has no EC device so the battery cannot be detected.)

Does the volume buttons work? If it's not working and you want to get volume button work, you can check the _QXX (here XX is the number) under

Scope (_SB.PCI0.LPCB)
    {
        Device (EC)

in your DSDT, and apply Rehabman's ACPIDebug to check which method is called when you press volume up and volume down in your console log. Once you find the methods, you edit can change it to the PS2 keyboard scan code for volume up and volume down.

I'll return my surface pro 7 and get this surface go 2 for test.

TheAstroWonderer commented 3 years ago

The OpenCore files for Surface Pro 7 is here. Maybe some ACPI or config settings can solve your sleep/wake issues. https://github.com/badstorm/surface-pro-7-opencore

kingo132 commented 3 years ago

I don't think so, surface pro 7 and go 2 are very different, I have done many many test and now I have totally give up about this sleep issue.

shiecldk commented 3 years ago

Yes. I just found out the CPU on surface go 2 is actually an old CPU. How is the battery life in macOS compare to in Windows? I saw reviews said it’s about 3-6 hours in Windows. I assume it would be 1-3 hours in macOS?

kingo132 commented 3 years ago

yes, you are right, in windows the CPU will be throttled to very low frequency, and in mac os it doesn't throttle the CPU.

TheAstroWonderer commented 3 years ago

Have you tried to use CPUFriendFriend to fix the power management of your CPU? You can try C0 and use the CPUFriendDataProvider.kext and CPUFriend.kext with OpenCore. https://github.com/corpnewt/CPUFriendFriend

TheAstroWonderer commented 3 years ago

@kingo132 What SMBIOS do you use?

shiecldk commented 3 years ago

Post moved to: https://github.com/kingo132/surface-go2-hackintosh/issues/1#issuecomment-903082176

shiecldk commented 3 years ago

Post moved to: https://github.com/kingo132/surface-go2-hackintosh/issues/1#issuecomment-903082269

kingo132 commented 3 years ago

@kingo132 What SMBIOS do you use?

I'm using MacBookAir8,1