Jump to content
Onestyle

El Capitan - Sierra - High Sierra - Sony Vaio E Series (2012) - SVE1712W1EB - AMD Radeon HD 7650M

69 posts in this topic

Recommended Posts

THIS IS STILL WORK IN PROGRESS

Laptop : Sony Vaio- SVE1712W1EB




 

 

OSX version : 10.13 - High Sierra - SMBIOS - MacBookPro9,1

 

Motherboard : Intel HM76 Express
DSDT FIX :


RehabMan’s Laptop Repo- (link) -use only these patches :

[sys] Fix _WAK Arg0 v2
[sys] HPET Fix

[sys] SMBUS Fix
[sys] IRQ Fix

[sys] RTC Fix
[sys] OS Check Fix

[sys] Fix Mutex with non-zero SyncLevel
[sys] Add IMEI



Show Fan RPM's : Updated,now working with Latest Istat Menus and HWMonitor 

 

To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist FNum from 0 to 1 using plist editor

# Source : kjen93 fan patch # modified by Onestyle for SVE1712W1EB
# This patch enables the Fan RPM reading in HWMonitor and Istat Menus
# To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist FNum from 0 to 1 using plist editor
# For SONY VAIO SVE1712W1EB or any other Sony Vaio E Series that has RDEC (0x95) in dsdt already
# This patch is a "basic" Fan reading patch and doesn't attempt
# to control the fan in any way,just shows RPM’s
.#
into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (SMCD)\n
{\n
Name (_HID, "FAN00000")\n
Name (TACH, Package (0x02)\n
{\n
"Exhaust Fan",\n
"FAN0"\n
})\n
Name (TEMP, Package (0x02)\n
{\n
"CPU Heatsink",\n
"TCPU"\n
})\n
Method (TCPU, 0, Serialized)\n
{\n
Store (^^PCI0.LPCB.EC0.RDEC (0xA8), Local0)\n
Return (Local0)\n
}\n
Method (FAN0, 0, Serialized)\n
{\n
Store (^^PCI0.LPCB.EC0.RDEC (0x95), Local0)\n
If (Local0)\n
{\n
Divide (Add (0x0003C000, ShiftRight (Local0, One)), Local0, , Local0)\n
}\n
If (LEqual (0x03C4, Local0))\n
{\n
Return (Zero)\n
}\n
Return (Local0)\n
}\n
}\n
}\n
end; 



CPU : i7 - 3632QM (2.2Ghz- 3.2Ghz) :


SpeedStep : SSDT made with ssdtPRGen
Turbo boost : Turbo enabled and disabled with Turbo Boost Switcher app



Dedicated Graphics : AMD Radeon HD 7650M 2048MB 
Full QE/CI and Resolution: 


1. Add 1002_6841.rom.zip to Clover/ROM
2. Clover configuration-Graphics : 
set Dual Link : 1 , FB Name : Velvet , Vram : 2,048 , Video Ports : 3 , Check Load Vbios ,Inject Edid , Inject ATI .
3. Clover configuration- Kernel and Kext Patches : 
Name : AMD6000Controller 
Find HEX : 000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002 
Replace HEX : 020000004000000009010000200100070008000004020000000100002103040510000000100000000001000000000101
4. Use one or the other,never both. 4a you'll have to repeat after every update,4b works aways with vanilla (untouched) AMDRadeonX3000.kext
4a. (Old way) Open AMDRadeonX3000.kext/Contents/Info.plist and find AMDTurksGraphicsAccelerator, there find IOPCIMatch and add this 0x68411002 on the first place in the string 
4b. (New way) Clover Configuration-Devices : Fake ID : ATI : 0x67411002 


Fix gradient issue with AMD Graphics the fast way :


1. Add original EDID for your laptop in clover-Custom Edid
2. Boot to OS X and go to /System/Library/Displays/Contents/Resources/ And copy Overrides to /System/Library/Displays/ 
3. Download and extract GradientFix.zip (i'v extracted these files from probook clover installer )
4. Open terminal and run the two files you've extracted in step 3 : ioregpbi and post install with sudo command 
5. Go to /System/Library/Displays/Overrides and look for the newest folder(probably with the current date),open it and open the latest DisplayProductID with text edit ( probably with the current date )
6. Copy your new edid and go to http://tomeko.net/online_tools/base64.php?lang=enso you can convert it to hexadecimal and use it with clover configurator 
7. Copy your converted EDID and add it in the Clover Custom EDID field,save,restart and boot without gradient issues


Fix Brightness issue + brightness fn keys:


DSDT FIX
1.


#Maintained by: RehabMan for: Laptop Patches#graphics_PNLF.txt
# This patch enables the brightness slider in SysPrefs->Displays
# and will also enable activation of sleep mode by closing
# the laptop lid.
# This patch is a "basic" PNLF patch and doesn't attempt
# to fix various common problems with the backlight control.
#
# For advanced patches, see:
# graphics_PNLF_ivy_sandy.txt
# graphics_PNLF_haswell.txt
#
into_all device label PNLF remove_entry;into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId ("APP0002"))\n
Name (_CID, "backlight")\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end; 

2.

2a. Find in your dsdt: 
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID



2b. replace
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID with Name (_HID, EisaId ("LCD1234")) // _HID: Hardware ID

3. DSDT FIX for brightness fn keys 


into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end; 

 

Fix sleep issue  and naming issue with AMD Graphics :

1.Download latest lilu.kext and  WhateverGreen.kext and put it in Clover/Kexts/10.13/

2. Set darkwake=10 in clover for working sleep ( not hibernation, sleep in ram)


 

Integrated Graphics : Intel HD Graphics 4000 (can't be enabled in bios,no option)

Touchpad and Keyboard :


1. Working with latest VoodooPS2Controller.kext in Clover/Kexts/10.13/



Wifi : AR9485 : 


Not working,there is no method to make it work yet - Using LB-Link Wifi Usb until i buy another card that works 



Ethernet : Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller : Works out of the box

Sound : Realtek ALC269 -VC1 : 


Use AppleHDA Patcher app - laptop - ALC269VC1 - i'll post the steps soon



Battery: Works after patching : 


1. Latest ACPIBatteryManager.kext by RehabMan in S/L/E ( battery percentage doesn't work with native battery menu item, but works normal with istat battery menu item)
2. DSDT FIX :
Used battery patch for SONY VAIO S from rehabman github,modified by me to make it work :


#Maintained by: RehabMan for: Laptop Patches
#battery_Sony-VAIO-S.txt
# created by RehabMan 2013-07-26# Sony VAIO SVE changes by Onestyle 2016-04-05
# works for:# Sony VAIO SVE (SVE1712W1EB)
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;
#
# BAT0: Change EC register declarations from 16-bit to 8-bit
#
into device label H_EC code_regex B1DC,\s+16 replace_matched begin XDC0, 8, XDC1, 8 end;
into device label H_EC code_regex B1FC,\s+16 replace_matched begin XFC0, 8, XFC1, 8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin XDV0, 8, XDV1, 8 end;
into device label H_EC code_regex B1AI,\s+16 replace_matched begin XAI0, 8, XAI1, 8 end;
into device label H_EC code_regex B1FV,\s+16 replace_matched begin XFV0, 8, XFV1, 8 end;
into device label H_EC code_regex B1RC,\s+16 replace_matched begin XRC0, 8, XRC1, 8 end;
#
# BAT0: Change access (reads) to those registers from 16-bit to 8-bit
#
into_all method label _BIF code_regex \(B1DC, replaceall_matched begin (B1B2 (XDC0, XDC1), end;
into_all method label _BIF code_regex \(B1FC replaceall_matched begin (B1B2 (XFC0, XFC1) end;
into_all method label _BIF code_regex \(B1DV, replaceall_matched begin (B1B2 (XDV0, XDV1), end;
into_all method label _BST code_regex \(B1AI, replaceall_matched begin (B1B2 (XAI0, XAI1), end;
into_all method label _BST code_regex \(B1FV, replaceall_matched begin (B1B2 (XFV0, XFV1), end;
into_all method label _BST code_regex B1FV\), replaceall_matched begin B1B2 (XFV0, XFV1)\), end;
into_all method label _BST code_regex \(B1RC, replaceall_matched begin (B1B2 (XRC0, XRC1), end;
#
# Activate BAT0 device
#
into method label _STA parent_label BAT1 replace_content begin Return (0x1F) end;
#
# Activate H_EC device
#
into method label _STA parent_label H_EC replace_content begin Return (0x0F) end;  





Built-in Camera :


1. Working with AnyiSightCam.kext in S/L/E



 

 


OSX version : 10.12 - Sierra - SMBIOS - MacBookPro9,1

Motherboard : Intel HM76 Express
DSDT FIX :


RehabMan’s Laptop Repo- (link) -use only these patches :

[sys] Fix _WAK Arg0 v2
[sys] HPET Fix

[sys] SMBUS Fix
[sys] IRQ Fix

[sys] RTC Fix
[sys] OS Check Fix

[sys] Fix Mutex with non-zero SyncLevel
[sys] Add IMEI



Show Fan RPM's : Updated,now working with Latest Istat Menus and HWMonitor 

 

To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist FNum from 0 to 1 using plist editor

# Source : kjen93 fan patch # modified by Onestyle for SVE1712W1EB
# This patch enables the Fan RPM reading  in HWMonitor and Istat Menus 
# To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist FNum from 0 to 1 using plist editor 
# For SONY VAIO SVE1712W1EB  or any other Sony Vaio E Series that has RDEC (0x95) in dsdt already
# This patch is a "basic" Fan reading patch and doesn't attempt 
# to control the fan in any way,just shows RPM’s 
.# 
into definitionblock code_regex . insert
begin
Scope (_SB)\n 
   {\n       
Device (SMCD)\n    
    {\n           
 Name (_HID, "FAN00000")\n  
          Name (TACH, Package (0x02)\n     
       {\n              
  "Exhaust Fan",\n       
         "FAN0"\n       
     })\n           
 Name (TEMP, Package (0x02)\n   
         {\n   
             "CPU Heatsink",\n   
             "TCPU"\n         
   })\n    
        Method (TCPU, 0, Serialized)\n    
        {\n        
        Store (^^PCI0.LPCB.EC0.RDEC (0xA8), Local0)\n  
              Return (Local0)\n   
         }\n  
          Method (FAN0, 0, Serialized)\n  
          {\n           
     Store (^^PCI0.LPCB.EC0.RDEC (0x95), Local0)\n  
              If (Local0)\n         
       {\n                 
   Divide (Add (0x0003C000, ShiftRight (Local0, One)), Local0, , Local0)\n      
          }\n          
      If (LEqual (0x03C4, Local0))\n     
           {\n        
            Return (Zero)\n       
         }\n             
   Return (Local0)\n       
     }\n      
  }\n   
 }\n
end; 



CPU : i7 - 3632QM (2.2Ghz- 3.2Ghz) :


SpeedStep : SSDT made with ssdtPRGen
Turbo boost : Turbo enabled and disabled with Turbo Boost Switcher app



Dedicated Graphics : AMD Radeon HD 7650M 2048MB
Full QE/CI and Resolution:


1. Add 1002_6841.rom.zip to Clover/ROM
2. Clover configuration-Graphics :
set Dual Link : 1 , FB Name : Velvet , Vram : 2,048 , Video Ports : 3 , Check Load Vbios ,Inject Edid , Inject ATI .
3. Clover configuration- Kernel and Kext Patches :
Name : AMD6000Controller
Find HEX : 000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002
Replace HEX : 020000004000000009010000200100070008000004020000000100002103040510000000100000000001000000000101
4. Use one or the other,never both. 4a you'll have to repeat after every update,4b works aways with vanilla (untouched) AMDRadeonX3000.kext
4a. (Old way) Open AMDRadeonX3000.kext/Contents/Info.plist and find AMDTurksGraphicsAccelerator, there find IOPCIMatch and add this 0x68411002 on the first place in the string
4b. (New way) Clover Configuration-Devices : Fake ID : ATI : 0x67411002


Fix gradient issue with AMD Graphics the fast way :


1. Add original EDID for your laptop in clover-Custom Edid
2. Boot to OS X and go to /System/Library/Displays/Contents/Resources/ And copy Overrides to /System/Library/Displays/
3. Download and extract GradientFix.zip (i'v extracted these files from probook clover installer )
4. Open terminal and run the two files you've extracted in step 3 : ioregpbi and post install with sudo command
5. Go to /System/Library/Displays/Overrides and look for the newest folder(probably with the current date),open it and open the latest DisplayProductID with text edit ( probably with the current date )
6. Copy your new edid and go to http://tomeko.net/online_tools/base64.php?lang=enso you can convert it to hexadecimal and use it with clover configurator
7. Copy your converted EDID and add it in the Clover Custom EDID field,save,restart and boot without gradient issues


Fix Brightness issue + brightness fn keys:


DSDT FIX
1.


#Maintained by: RehabMan for: Laptop Patches#graphics_PNLF.txt 
# This patch enables the brightness slider in SysPrefs->Displays
# and will also enable activation of sleep mode by closing
# the laptop lid.    
# This patch is a "basic" PNLF patch and doesn't attempt 
# to fix various common problems with the backlight control.
# 
# For advanced patches, see:
# graphics_PNLF_ivy_sandy.txt
# graphics_PNLF_haswell.txt
#    
into_all device label PNLF remove_entry;into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId ("APP0002"))\n
Name (_CID, "backlight")\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end; 

2.

2a. Find in your dsdt:
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID



2b. replace
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID with Name (_HID, EisaId ("LCD1234")) // _HID: Hardware ID

3. DSDT FIX for brightness fn keys - Doesn't work yet, but my guess is it's because VoodooPS2Controller.kext isn't yet fully working on 10.12


into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end; 



Integrated Graphics : Intel HD Graphics 4000 (can't be enabled in bios,no option)

Touchpad and Keyboard :


1. Working with latest VoodooPS2Controller.kext in Clover/Kexts/10.12/



Wifi : AR9485 :


Not working,there is no method to make it work yet - Using LB-Link Wifi Usb until i buy another card that works



Ethernet : Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller : Works out of the box

Sound : Realtek ALC269 -VC1 :


Use AppleHDA Patcher app - laptop - ALC269VC1 - i'll post the steps soon



Battery: Works after patching :


1. Latest ACPIBatteryManager.kext by RehabMan in S/L/E
2. DSDT FIX :
Used battery patch for SONY VAIO S from rehabman github,modified by me to make it work :


#Maintained by: RehabMan for: Laptop Patches
#battery_Sony-VAIO-S.txt    
# created by RehabMan 2013-07-26# Sony VAIO SVE changes by Onestyle 2016-04-05    
# works for:# Sony VAIO SVE (SVE1712W1EB)        
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;  
#  
# BAT0: Change EC register declarations from 16-bit to 8-bit
#
into device label H_EC code_regex B1DC,\s+16 replace_matched begin XDC0, 8, XDC1, 8 end;
into device label H_EC code_regex B1FC,\s+16 replace_matched begin XFC0, 8, XFC1, 8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin XDV0, 8, XDV1, 8 end;
into device label H_EC code_regex B1AI,\s+16 replace_matched begin XAI0, 8, XAI1, 8 end;
into device label H_EC code_regex B1FV,\s+16 replace_matched begin XFV0, 8, XFV1, 8 end;
into device label H_EC code_regex B1RC,\s+16 replace_matched begin XRC0, 8, XRC1, 8 end; 
#  
# BAT0: Change access (reads) to those registers from 16-bit to 8-bit
#
into_all method label _BIF code_regex \(B1DC, replaceall_matched begin (B1B2 (XDC0, XDC1), end;
into_all method label _BIF code_regex \(B1FC replaceall_matched begin (B1B2 (XFC0, XFC1) end;
into_all method label _BIF code_regex \(B1DV, replaceall_matched begin (B1B2 (XDV0, XDV1), end;
into_all method label _BST code_regex \(B1AI, replaceall_matched begin (B1B2 (XAI0, XAI1), end;
into_all method label _BST code_regex \(B1FV, replaceall_matched begin (B1B2 (XFV0, XFV1), end;
into_all method label _BST code_regex B1FV\), replaceall_matched begin B1B2 (XFV0, XFV1)\), end;
into_all method label _BST code_regex \(B1RC, replaceall_matched begin (B1B2 (XRC0, XRC1), end;   
#
# Activate BAT0 device
#
into method label _STA parent_label BAT1 replace_content begin Return (0x1F) end;  
#
# Activate H_EC device
#
into method label _STA parent_label H_EC replace_content begin Return (0x0F) end;  





Built-in Camera :


1. Working with AnyiSightCam.kext in S/L/E





OSX version : 10.11.6 - El Capitan - SMBIOS - MacBookPro9,1


Motherboard : Intel HM76 Express
DSDT FIX :


RehabMan’s Laptop Repo- (link) -use only these patches :

[sys] Fix _WAK Arg0 v2
[sys] HPET Fix

[sys] SMBUS Fix
[sys] IRQ Fix

[sys] RTC Fix
[sys] OS Check Fix

[sys] Fix Mutex with non-zero SyncLevel
[sys] Add IMEI



Show Fan RPM's : Updated,now working with Latest Istat Menus and HWMonitor 

 

To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist  FNum from 0 to 1 using plist editor

# Source : kjen93 fan patch # modified by Onestyle for SVE1712W1EB
# This patch enables the Fan RPM reading in HWMonitor and Istat Menus
#To get it to show in the latest HWMonitor and Istat Menus,you also need to change in FakeSMC.kext/Info.plist FNum from 0 to 1 using plist editor
# For SONY VAIO SVE1712W1EB or any other Sony Vaio E Series that has RDEC (0x95) in dsdt already
# This patch is a "basic" Fan reading patch and doesn't attempt
# to control the fan in any way,just shows RPM’s
.#
into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (SMCD)\n
{\n
Name (_HID, "FAN00000")\n
Name (TACH, Package (0x02)\n
{\n
"Exhaust Fan",\n
"FAN0"\n
})\n
Name (TEMP, Package (0x02)\n
{\n
"CPU Heatsink",\n
"TCPU"\n
})\n
Method (TCPU, 0, Serialized)\n
{\n
Store (^^PCI0.LPCB.EC0.RDEC (0xA8), Local0)\n
Return (Local0)\n
}\n
Method (FAN0, 0, Serialized)\n
{\n
Store (^^PCI0.LPCB.EC0.RDEC (0x95), Local0)\n
If (Local0)\n
{\n
Divide (Add (0x0003C000, ShiftRight (Local0, One)), Local0, , Local0)\n
}\n
If (LEqual (0x03C4, Local0))\n
{\n
Return (Zero)\n
}\n
Return (Local0)\n
}\n
}\n
}\n
end; 



CPU : i7 - 3632QM (2.2Ghz- 3.2Ghz) :


SpeedStep : SSDT made with ssdtPRGen
Turbo boost : Turbo enabled and disabled with Turbo Boost Switcher app



Dedicated Graphics : AMD Radeon HD 7650M 2048MB
Full QE/CI and Resolution:


1. Add 1002_6841.rom.zip to Clover/ROM
2. Clover configuration-Graphics :
set Dual Link : 1 , FB Name : Ipomoea , Vram : 2,048 , Video Ports : 3 , Check Load Vbios ,Inject Edid , Inject ATI .
3. Clover configuration- Kernel and Kext Patches :
Name : AMD6000Controller
Find HEX : 000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002
Replace HEX : 020000004000000009010000200100070008000004020000000100002103040510000000100000000001000000000101
4. Use one or the other,never both. 4a you'll have to repeat after every update,4b works aways with vanilla (untouched) AMDRadeonX3000.kext
4a. (Old way) Open AMDRadeonX3000.kext/Contents/Info.plist and find AMDTurksGraphicsAccelerator, there find IOPCIMatch and add this 0x68411002 on the first place in the string
4b. (New way) Clover Configuration-Devices : Fake ID : ATI : 0x67411002


Fix gradient issue with AMD Graphics the fast way :


1. Add original EDID for your laptop in clover-Custom Edid
2. Boot to OS X and go to /System/Library/Displays/Contents/Resources/ And copy Overrides to /System/Library/Displays/
3. Download and extract GradientFix.zip (i'v extracted these files from probook clover installer )
4. Open terminal and run the two files you've extracted in step 3 : ioregpbi and post install with sudo command
5. Go to /System/Library/Displays/Overrides and look for the newest folder(probably with the current date),open it and open the latest DisplayProductID with text edit ( probably with the current date )
6. Copy your new edid and go to http://tomeko.net/online_tools/base64.php?lang=enso you can convert it to hexadecimal and use it with clover configurator
7. Copy your converted EDID and add it in the Clover Custom EDID field,save,restart and boot without gradient issues


Fix Brightness issue + brightness fn keys:


DSDT FIX
1.


#Maintained by: RehabMan for: Laptop Patches#graphics_PNLF.txt
# This patch enables the brightness slider in SysPrefs->Displays
# and will also enable activation of sleep mode by closing
# the laptop lid.
# This patch is a "basic" PNLF patch and doesn't attempt
# to fix various common problems with the backlight control.
#
# For advanced patches, see:
# graphics_PNLF_ivy_sandy.txt
# graphics_PNLF_haswell.txt
#
into_all device label PNLF remove_entry;into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId ("APP0002"))\n
Name (_CID, "backlight")\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end; 

2.

2a. Find in your dsdt:
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID



2b. replace
Name (_HID, EisaId ("PNP0C0D")) // _HID: Hardware ID with Name (_HID, EisaId ("LCD1234")) // _HID: Hardware ID

3. DSDT FIX for brightness fn keys


into method label _Q1D replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n
end; 



Integrated Graphics : Intel HD Graphics 4000 (can't be enabled in bios,no option)

Touchpad and Keyboard :


1. Working with latest VoodooPS2Controller.kext in Clover/Kexts/10.11/



Wifi : AR9485 :


Not working,there is no method to make it work yet - Using LB-Link Wifi Usb until i buy another card that works



Ethernet : Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller : Works out of the box

Sound : Realtek ALC269 -VC1 :


Use AppleHDA Patcher app - laptop - ALC269VC1 - i'll post the steps soon



Battery: Works after patching :


1. ACPIBatteryManager.kext by RehabMan in S/L/E
2. DSDT FIX :
Used battery patch for SONY VAIO S from rehabman github,modified by me to make it work :


#Maintained by: RehabMan for: Laptop Patches
#battery_Sony-VAIO-S.txt    
# created by RehabMan 2013-07-26# Sony VAIO SVE changes by Onestyle 2016-04-05    
# works for:# Sony VAIO SVE (SVE1712W1EB)        
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;  
#  
# BAT0: Change EC register declarations from 16-bit to 8-bit
#
into device label H_EC code_regex B1DC,\s+16 replace_matched begin XDC0, 8, XDC1, 8 end;
into device label H_EC code_regex B1FC,\s+16 replace_matched begin XFC0, 8, XFC1, 8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin XDV0, 8, XDV1, 8 end;
into device label H_EC code_regex B1AI,\s+16 replace_matched begin XAI0, 8, XAI1, 8 end;
into device label H_EC code_regex B1FV,\s+16 replace_matched begin XFV0, 8, XFV1, 8 end;
into device label H_EC code_regex B1RC,\s+16 replace_matched begin XRC0, 8, XRC1, 8 end; 
#  
# BAT0: Change access (reads) to those registers from 16-bit to 8-bit
#
into_all method label _BIF code_regex \(B1DC, replaceall_matched begin (B1B2 (XDC0, XDC1), end;
into_all method label _BIF code_regex \(B1FC replaceall_matched begin (B1B2 (XFC0, XFC1) end;
into_all method label _BIF code_regex \(B1DV, replaceall_matched begin (B1B2 (XDV0, XDV1), end;
into_all method label _BST code_regex \(B1AI, replaceall_matched begin (B1B2 (XAI0, XAI1), end;
into_all method label _BST code_regex \(B1FV, replaceall_matched begin (B1B2 (XFV0, XFV1), end;
into_all method label _BST code_regex B1FV\), replaceall_matched begin B1B2 (XFV0, XFV1)\), end;
into_all method label _BST code_regex \(B1RC, replaceall_matched begin (B1B2 (XRC0, XRC1), end;   
#
# Activate BAT0 device
#
into method label _STA parent_label BAT1 replace_content begin Return (0x1F) end;  
#
# Activate H_EC device
#
into method label _STA parent_label H_EC replace_content begin Return (0x0F) end; 





Built-in Camera :


1. Working with AnyiSightCam.kext in S/L/E





UPDATED : October 9. 2016.

Edited by Onestyle

Share this post


Link to post
Share on other sites
Advertisement

How come ur PM is working without dropping MCFC !

N how did u get usb2 2 n 3 port working !

My /EFI/CLOVER/ACPI/patched has SSDT.aml created with ssdtPRGen, SSDT-0.aml SSDT-1.aml SSDT-2.aml created with clover during boot (pressed F4)

- Clover Configurator Drop Tables -

MCFG

DMAR

SSDT TableId CpuPM

SSDT TableId Cpu0Ist

 

-With that i got speedstep working,and since i only need turbo sometimes i used Turbo Boost Switcher app

 

-USB2 and USB3 ports are working ( but the speed on USB3 is as same as on USB2,didn't yet had time to play with that,but soon i'll fix it too) only thing i did for USB for now was

clover configurator - devices - usb

Inject

Add ClockID

FixOwnership

 

clover configurator - Acpi - DSDT Patches

Comment                        Find*Hex     Replace*Hex

change EHC1 to EH01    45484331   45483031

change EHC2 to EH02    45484332   45483032

Share this post


Link to post
Share on other sites

Gr8 Guide.
Just some advice for you:
1) Link the patches to their original place (RM's repo), you may also make a copy but leave the Original link because of the updates and support from the developer
2) when you put code (DSDT patch, command lines ...) use the Code button in the editor (it's a blue icon with "<>", put your code and hit save)

3) you are lucky to have the AMD gpu instead of intel's c:

Share this post


Link to post
Share on other sites

y the hell Metal is not working, while its working on MBP 12,1.

Both has OpenGL 4.1 and OpenCL 1.2.

Share this post


Link to post
Share on other sites

y the hell Metal is not working, while its working on MBP 12,1.

Both has OpenGL 4.1 and OpenCL 1.2.

What are you talking about MBP 12,1? Metal isn't working with our card,tested that already

Share this post


Link to post
Share on other sites

Laptop Sony SVE14126CVB
Motherboard: Intel HM76 
CPU: Intel Core i5-3210M, 2900 MHz (Ivy Bridge)
RAM: 4 GB DDR3
Graphics card: ATI AMD Radeon HD 7550M (1366x768 pixels)
Audio: Realtek High Definition Audio / Wifi: Qualcomm Atheros AR9485WB-EG

 

Sony SVE14126CVB don not Graphic Onborad 

 

You can edit files help me config.plist install mac os El Capitan 10.11.

I can not creat USB INSTALLATION

 

http://www.mediafire...nj/config.plist

 

this folder EFI on USB INSTALLATION

 

http://www.mediafire.com/download/mzmt32wzi10i8wd/EFI.7z

 

I have  report  file aidda64

 

http://www.mediafire.com/download/89dhwj4o8kprhg3/Report+laptop+sony+SVE14126cvb.txt

 

 

I very want USB INSTALLATION + clover + UEFI + GPT

 

BIOS Settings

  1. Shut down your laptop.
  2. Press the Assist button.

    vaio-s-power.jpg?raw=1
     
  3. Press F2 to boot into BIOS.

    medium.png?raw=1
     
  4. Restore default settings under the Exit tab.

    IMG_7852.jpg?raw=1



    IMG_7855.jpg?raw=1


     

  5. Make sure ‚UEFI‘ is on. Make sure ‚Booting from external device‘ is on.*4

    IMG_7853.jpg?raw=1


     

  6. Save settings.

    IMG_7855%20copy.jpg?raw=1


     

  7. Shut down your laptop.

    IMG_7855%20copy%202.jpg?raw=1



    *4 This option External Device Boot applies when you set the external device to first boot priority. it doesn't affect pressing F11 to boot from External Device. 

Edited by Allan
Spoiler tag - added

Share this post


Link to post
Share on other sites

Sony SVE14126CVB have not Graphic Onborad 

Doesn't matter for installation,you need to follow that guide to install OS X,after that you'll fix your Radeon card by following my guide for Graphics,for installation just boot without any graphics enablers. And besides Radeon,that laptops in the that guide are more similar to your laptop.

Share this post


Link to post
Share on other sites

You can edit file the mac os config.plist i can install. I did attempt to load kext error.


You can edit files help me config.plist install mac os El Capitan 10.11.

I can not edit config.plist to create USB INSTALLATION

 

http://www.mediafire...nj/config.plist

 

this folder EFI on USB INSTALLATION

 

http://www.mediafire.com/download/mzmt32wzi10i8wd/EFI.7z

Edited by Allan
Your topic does not deserve any more attention than others - This includes all-caps titles.

Share this post


Link to post
Share on other sites

You can edit file the mac os config.plist i can install. I did attempt to load kext error.

You can edit files help me config.plist install mac os El Capitan 10.11.

I can not edit config.plist to create USB INSTALLATION

 

http://www.mediafire...nj/config.plist

 

this folder EFI on USB INSTALLATION

 

http://www.mediafire.com/download/mzmt32wzi10i8wd/EFI.7z

DUDE delete everything from patched folder,those aren't your dsdt nor ssdt's that is why you can't install -.-

Share this post


Link to post
Share on other sites

@Cam Ha, read our Rules.

 

#1 - Your topic does not deserve any more attention than others seeking help hence topic titles must reflect their content, and topic titles containing things like: 'please help' 'look here' 'cash reward' 'urgent' or other inaccurate descriptions will be removed. This includes all-caps titles.

 

#2 - All posts must be clearly written and easy to read. For example, if you have long blocks of text, enclose it in BBCode; if you have code, use a code box, etc. Limit "empty lines" as much as possible, use punctuation where you can and be concise. Posts may be edited for this reasons by InsanelyMac staff at their discretion.

 

If you already ask help here, why you opened other topic?

Help me sony SVE14126 CVB

 

I'll delete the topic.

Share this post


Link to post
Share on other sites

DUDE delete everything from patched folder,those aren't your dsdt nor ssdt's that is why you can't install -.-

I deleted everything from patched folder and reinstalled. If there are errors I will take pictures sent you

Share this post


Link to post
Share on other sites

@Onestyle: 

for AppleHDA, I found AppleALC which is a lot easier and much more convenient when upgrading and even installing!

All you need is put it in Clover > Kexts > "version", put layout=6 (as you have ALC269_VC1 as my tablet), remove all DummyHDAs and the KextToPatch in clover, reboot, done!

I tried it with several OS X 10.11 versions (by upgrading) and sound still works (I'm using this kext for ALC275 on VAIO S and ALC269VC1 on Ativ 7)

One lil bug on my tablet that I hope you dont have: after sleep, the mic may or may not work, please check it by yourself and write a feedback.

link to thread: http://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page-1

link to github for source and dl: https://github.com/vit9696/AppleALC(check the releases or build it yourself)

Don't forget to install CodecCommander in S/L/E to fix no sound after sleep

 

For the Clover kexts, what I find good is that you leave only "Other" folder under the Kexts folder, that by removing the other folder version and copying all the needed kexts un that "Other" folder. This way you can boot ANY OS X version with the same injected kexts, but make sure you remove those folders again after installing clover again (or update), unless you're building clover yourself, so you just need to copy the built cloverx64.efi to clover folder and to /efi/boot/. 

 

Hope I helped :)

[PLEASE FIX THE FONT, IT'S KILLING MY EYES!]

Share this post


Link to post
Share on other sites

Have u upgraded to 10.12 GM !

Nah,not yet,didn't had time,but i'll do it soon(in a week or so),but my guess it that most of stuff (hopefully everything) in my first post above will work on 10.12 GM. 

 

Upgraded to 10.12,tested most of the stuff,there are some usb bugs (usb works, but USB 3.0 sometimes stops working,i'm looking into fixing that) Besides that, everything else works,I've updated first post with the tutorial for 10.12

Share this post


Link to post
Share on other sites

wat all kext u've installed !


hey due to some USB issue(USB port high current) my system was shut downed (by power button)  repeatedly and now my system won't boot.

I've managed to fix my USB. Ive tested it as ubuntu 16.04 was also giving issue but now it boots, so usb is fixed but my boot volume is corrupted or broken :(

 

clover is loading but after that system is getting restart :(

Share this post


Link to post
Share on other sites

wat all kext u've installed !

hey due to some USB issue(USB port high current) my system was shut downed (by power button)  repeatedly and now my system won't boot.

I've managed to fix my USB. Ive tested it as ubuntu 16.04 was also giving issue but now it boots, so usb is fixed but my boot volume is corrupted or broken :(

 

clover is loading but after that system is getting restart :(

Try to disable any usb patch you have in clover, just to eliminate the usb stuff since you had an issue with you usb. Next thing you should do is boot without cache so it loads your S/L/E folder completely, if that doesn't help, try safe mode and fix permissions of S/L/E

Share this post


Link to post
Share on other sites

Hey did u install clover 4035 or any 4K !

m getting black screen after i upgraded to 4K clover.

 

RM Sir, told there is a new way of patching ATI connector in 4K

 

slice sir can u guide us !

Share this post


Link to post
Share on other sites

My  AMD Radeon HD 7650M is not working in 10.12.5(clover 4077), it was previously working gr8 in 10.11.6(clover 3974)

how can i get it work again ! :( 

Share this post


Link to post
Share on other sites

Hey did u install clover 4035 or any 4K !

m getting black screen after i upgraded to 4K clover.

 

RM Sir, told there is a new way of patching ATI connector in 4K

 

slice sir can u guide us !

Haven't yet went on high Sierra so no reason for me to update to latest clover,but I'll look into it today and see what's up. First off, what's not working,the screen or there is no qe/ci(no acceleration)??. If screen is the issue then it's edid injection,if it's qe/ci then it's kexts patching aka framebuffer.

 

Might be this is the reason,just a wild guess after looking into clover changes:

<key>Graphics</key>

<dict>

<key>EDID</key>

<dict>

<key>Custom</key>

<data> bla bla bla edid </data>

<key>Inject</key>

<true/>

<key>VendorID</key> // this is the new thing for edid

<string>0x1006</string>

<key>ProductID</key> this is the new thing for edid

<string>0x9221</string>

</dict>

 

 

 

Rev 3737

We can fake our EDID to be like Apple's one.

Also changes in config.plist (old config also supported)

Rev 4058

Updated EDID injection by Sherlocks.

There are no more old keys "CustomEDID" and "InjectEDID".

Edited by Onestyle

Share this post


Link to post
Share on other sites

Hey bro thanks alot it worked  :)

But it is showing AMD Radeon HD 6xxx 1024MB  :(

 

Still lot to do :(


Wish AMD Community had all in one solution for AMD cards !

1.Dump Radeon Bios

2.Use AMDFrameBufferUtility to patch

3.Clover Injections

etc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By DoZe
      Hi :0)
       
      Hope As usual a perfect matching DSDT for this good Laptop.
       
      Regards, Ray
       
       
      SendMeStudiMac.zip
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <key>framebuffer-fbmem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
    • By kevin_1351
      tl;dr: VirtualSMC causes me a flood of log messages and correlated cpu spikes. FakeSMC doesn't.
       
      Hi, I have almost finalized my Huawei Matebook X Pro Opencore setup and everything is working very well besides wifi/bt ofc (which is about to change).
       
      However, I noticed how the cpu usage sometimes went up a little and when looking at the Console I could see a never-ending flood of:
      default 14:05:05.983292+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:05.982975+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:05.982996+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985932+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985949+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.986134+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426574+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:39.426729+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426585+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431085+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431097+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431246+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433068+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:42.433227+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433078+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434453+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434465+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434622+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:44.436155+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:44.436166+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0  
      As you can see, multiple of these per second. Another guy with the same computer is also having this issue and posted a dsdt change to fix it. This fix didn't solve anything though
      He tried to limit the Notify call by implementing a state change requirement before calling Notify.
       
      Here is the original acpi:
      Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } ^^PCI0.GFX0.CLID = Local0 Return (Local0) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } Notify (LID, 0x80) // Status Change } } Which he changed to: 
      Scope (_SB) { Device (LID) { Name (_OLD, One) // assuming everything else.. the lid should start open? Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } Return (Local0) } } Device (PNLF) { Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID Name (_CID, "backlight") // _CID: Compatible ID Name (_UID, 0x0A) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } If ((^^^^LID._OLD != Local0)) { Notify (LID, 0x80) // Status Change ^^^^LID._OLD = Local0 } } } Besides me not seeing any reason to declare _OLD in LID. The idea itself shouldn't be too bad right? Well, as I said, his fix didn't work.
       
      In fact, to prove that Method _Q81 doesn't have anything to do with the issue at all, I created a Clover/Opencore patch to change _Q81 to XQ81. This resulted in my lid not working at all of course, but the log flooding still persisted!
      So _Q81 doesn't have anything to do with the issue afaik.
       
      Now, further Google searches led me to a chinese post where he tied the issue to VirtualSMC. And indeed, by migrating to FakeSMC the issue is no more.
       
      Unfortunately, I'm very fond of VirtualSMC for various reasons. So I would very much like to keep it. If not I'd have to implement the old way of doing Battery monitoring etcetc. Which isn't very elegant and update proof as it requires DSDT patching.
       
      So, I do believe that the issue may very well be in the DSDT code, perhaps in the ambient light part. I'm not very skilled at this and just started studying the ACPI spec 3 days ago.
       
      Could someone please help me out? Thanks a lot in advance
       
       
      origin.zip
      OC.zip
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://www.olarila.com/topic/5165-olarila-app-images-and-folders/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
        First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×