Coder Social home page Coder Social logo

opencore-hasee-x57s1's Introduction

OpenCore For Hasee KingBook X57S1

  • OpenCore 0.7.2
  • Intel Core i7-1065G7
  • Hasee HINS02 ( Intel 495 Series Chipset, Intel Ice Point-LP, Intel Ice Lake-U )
  • Crucial 8 GB DDR4-2666 x2
  • Realtek ALC256
  • Intel(R) Wi-Fi 6 AX201 160MHz
  • BOEhydis NV156FHM-N61 [15.6" LCD]
  • Hantick I2C Touchpad HTIX5288
  • Realtek RTS5129 USB 2.0 Card Reader
  • Geekbench Score / OpenCL Score / Metal Score

Functionality

How To Use

  1. Copy EFI folder to ESP/EFI Partition in bootable USB flash drive.
  2. Install Mac OS X.
  3. Copy EFI folder to ESP/EFI Partition in HDD/SSD disk.
  4. Modify BIOS For Advanced Setting (Possible Collapse BIOS, IF YOU NOT DO IT RIGHT)
  5. Disable CFG Lock, Change DVMT to 128MB, And Disable CFG Fix in config.plist

Tools

Reference

Thanks

opencore-hasee-x57s1's People

Contributors

ardentwheel avatar m0d16l14n1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

opencore-hasee-x57s1's Issues

Question: Wakeup via PS/2

Hey,

I just saw the Wake Up (PS/2 Keyboard) (Big Thanks to m0d16l14n1)-claim and even If I'm on a Lenovo Thinkpad, it's one of the items of my 'nice-to-have'-list that I didn't knew it is even possible. Would you be so kind and give me a hint on how you managed to get that working? A hint in the right direction should be sufficient I think. Thanks in advance!

Touchpad After sleep stop working

After sleep Touchpad stop working

As we change SHPO (GPDI, Zero) -> SHPO (GPDI, One) to made Touchpad worked,
there's still have warning on the log sudo dmesg | grep -i voodoo

VoodooI2CControllerNub::pci8086,34e8 SSCN not implemented in ACPI tables
VoodooI2CControllerNub::pci8086,34e8 FMCN not implemented in ACPI tables

In OEM DSDT there's SSCN & FMCN

If (USTP) {
Scope (_SB.PCI0.I2C0) {
Method (SSCN, 0, NotSerialized) { Return (PKG3 (SSH0, SSL0, SSD0)) }
Method (FMCN, 0, NotSerialized) { Return (PKG3 (FMH2, FML2, FMD2)) }}}

According #1 VoodooSMBus/VoodooRMI#67 (comment)

the problem seems to be the default clock speed timing of I2C controller
but voodooi2c fine the SSCN & FMCN,
so I change Method SSCN & FMCN to XSCN & XMCN, And add:

External (_SB_.PCI0.I2C3, DeviceObj)
Scope (_SB.PCI0.I2C3)
{
    Name (SSCN, Package (0x03) {
        0x01B0, 
        0x01FB, 
        0x1E
        })
    Name (FMCN, Package (0x03) {
        0x48, 
        0xA0, 
        0x1E
    })
}

warning on the log about not implemented in ACPI tables is gone,

but after sleep Touchpad still stop working, maybe the value not right

Thought Or Suggestion?

@m0d16l14n1
@ben9923
@zhen-zen

Just a few questions

Hello! I got same laptop and I got it booting well with your EFI folder with some changes.

I have same problem with trackpad - I can't fix that. Did you find out what's the problem?

Also I have a graphical glitch of cursor (I got square with some RGB lights in it) - I will attach a screenshot

Btw, do you have full bios options unhidden? I got only few of them, I can't change DVMT and so on. BIOS is poor and locked. Do you have yours unlocked or know the way how to unlock it?

2020-09-05 00 43 20

To-do list / Issue (problems) list

  • Black screen bug after boot process (glitching/blinking and etc in other Ice Lake laptops)
  • HDMI issues (Type-C to HDMI is working okay)
  • Issues with HDMI audio (through Type-C to HDMI dongles) - it's not working at all. Need to investigate this
  • Audio issues (get the rid of faking device-id + fix headphones)
  • Touchpad isn't working after sleep-wake cycle
  • Touchpad isn't working after hot reboot from Windows/Linux
  • Power button isn't working at all, or working randomly (using YogaSMC.kext fixed that issue)
  • Sound is not working after reboot or shutdown from Windows
  • Random glitch with the cursor (sometimes it's glitching like it's in a low resolution, sleep cycle can fix that)
  • Check other available framebuffers for Ice Lakes (currently only to tested - default one (0x8A520000 - not working properly with sleep) and (0x8A5C0002 / 0x8A510002 (default MacBookAir9,1) - current framebuffer list with properly working wake after sleep)
  • Test hibernation (fixed, working modes 3 and 25)
  • Thunderbolt 3 - working without support of hotplug
  • Get the rid of brightness patches (using YogaSMC to get that keys working without patches)
  • Get the rid of H_EC rename to EC (afaik it's not safe to use that kind of renames, already did on my EFI)
  • Need to understand what OEM laptop we have (Clevo/Tongfang/IP3 Technology), just for BIOS updates and other stuff
  • Check ALL settings of the BIOS, many of them might be helpfull for Hackintosh
  • Undervolting or set some settings (example: fan settings) to get lower temperature (75-88* while installing XCode even with new thermal paste - that's really not "safe") > possible to set lower turbo options and other stuff in unlocked BIOS)
  • Cosmetics stuff (it's actually useless, but easy to do with Hackintool, for example)
  • Line-in is still WIP
  • #8

New problems:

  • HiDPi problem - screen is blinking if you use any browser to play youtube / or just some graphic stuff (i got blinking screen if i use XCode + browsing github. As i`ve already mentioned - the problem with WindowServer (in Activity Monitor it has too many processes + too many CPU (over 99-130%, very strange)

You can add something what i forgot to mention

LID sleep issue / Not going to sleep if lid is closed

Was just curious, why lid sleep is not working sometimes, so I did a little research with my system.

Here is the log from 2 different boots:

  1. LID is NOT working

[ 24.057541]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed **[\134_SB.PCI0.LPCB.H_EC.ECRD] (Node ffffff937301cd50)[\134_SB.PCI0.LPCB.H_EC.ECRD]** (Node ffffff937301cd50), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 24.057553]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed **[\134_SB.PCI0.LPCB.H_EC.LID0._LID]** (Node ffffff937301b990)**[\134_SB.PCI0.LPCB.H_EC.LID0._LID]** (Node ffffff937301b990), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 24.087987]: loadPrefs: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2-9e5-747-b3422a8f61594f46 using new keyACPI Error: ACPI Error: Needed Integer/Buffer/String/Package/Ref/Ddb], found [Mutex] ffffff9372fdff00Needed Integer/Buffer/String/Package/Ref/Ddb], found [Mutex] ffffff9372fdff00 (20160930/exresop-758) [ 24.089307]: ACPI Exception: AE_AML_OPERAND_TYPE, ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [Store]While resolving operands for [Store] (20160930/dswexec-570) [ 24.089463]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB.PCI0.LPCB.H_EC.ECRD] (Node ffffff937301cd50)[\134_SB.PCI0.LPCB.H_EC.ECRD] (Node ffffff937301cd50), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 24.089503]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff937301b990)[\134_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff937301b990), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 24.090386]: ACPI Error: ACPI Error: Needed Integer/Buffer/String/Package/Ref/Ddb], found [Mutex] ffffff9372fdff00Needed Integer/Buffer/String/Package/Ref/Ddb], found [Mutex] ffffff9372fdff00 (20160930/exresop-758) [ 24.090426]: ACPI Exception: AE_AML_OPERAND_TYPE, ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [Store]While resolving operands for [Store] (20160930/dswexec-570) [ 24.090592]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB.PCI0.LPCB.H_EC.ECRD] (Node ffffff937301cd50)[\134_SB.PCI0.LPCB.H_EC.ECRD] (Node ffffff937301cd50), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 24.090630]: ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff937301b990)[\134_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff937301b990), AE_AML_OPERAND_TYPE, AE_AML_OPERAND_TYPE (20160930/psparse-632) [ 32.360421]: AGDCC: Unauthorized client 'PerfPowerService' (IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl)memorystatus: set assertion priority(3) target setoken:319

  1. LID is working like it should (waking from sleep, going to sleep well)

Nothing special about _LID or ECRD stuff.

I will attach full logs. So, it's seems that we need somehow patch it to make it working stable, as it should.

LID is WORKING.log
LID not working.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.