Contribute
Register

Lenovo Flex 2 14 Mavericks

Status
Not open for further replies.
Joined
Jan 9, 2014
Messages
117
Motherboard
Gigabyte H270M-DS3H
CPU
i7-7700K
Graphics
GTX 660
Mac
  1. iMac
Hi, running 10.9.4 with chameleon boot loader on Lenovo Flex 2 14
latest Lenovo bios A0CN28WW
laptop conf
i3-4010U, 1.7Ghz
4 Gb ram
256 gb ssd
Macbook Air 6.2 smbios
HD4400, Vram 1024mb, works well with 10.9.2 appleframebufferazul.kext + boot.plist intel azul FB 11, graphics mode 1920x1080, graphics enabler=yes, filenvram.dylib installed
wifi BCM43142 combo with BT , wifi/BT not working, replacement is hard to find, cos it’s NGFF aka M.2 card
Ethernet 8168 works well with rtl8111.kext
audio ALC233, at the moment works over voodooHDA 2.8.6
SSDT in Extra
Elan Microelectronics touchscreen not working
OSX recognize Lenovo camera
Usb’s working (2 x usb2 and 1 x usb3 ports)
SD card reader works


HD4400 starts flickering (artefacts) with 10.9.4 or 10.9.5 frame buffer, also detects 1536mb Vram, so older 10.9.2 frame buffer kext gave clear view


I need help patch DSDT for things which not working or needs to be enhanced, like
screen brightness dimming
touchscreen, any hope with mavericks ?
ALC233 sounds better with patched appleHDA
sleep not working right now
which is the best way extract dsdt tables, with MaciASL or with ubuntu live ? and can i upload here for assistance ?
 
Hi, running 10.9.4 with chameleon boot loader on Lenovo Flex 2 14
latest Lenovo bios A0CN28WW
laptop conf
i3-4010U, 1.7Ghz
4 Gb ram
256 gb ssd
Macbook Air 6.2 smbios
HD4400, Vram 1024mb, works well with 10.9.2 appleframebufferazul.kext + boot.plist intel azul FB 11, graphics mode 1920x1080, graphics enabler=yes, filenvram.dylib installed
wifi BCM43142 combo with BT , wifi/BT not working, replacement is hard to find, cos it’s NGFF aka M.2 card
Ethernet 8168 works well with rtl8111.kext
audio ALC233, at the moment works over voodooHDA 2.8.6
SSDT in Extra
Elan Microelectronics touchscreen not working
OSX recognize Lenovo camera
Usb’s working (2 x usb2 and 1 x usb3 ports)
SD card reader works


HD4400 starts flickering (artefacts) with 10.9.4 or 10.9.5 frame buffer, also detects 1536mb Vram, so older 10.9.2 frame buffer kext gave clear view


I need help patch DSDT for things which not working or needs to be enhanced, like
screen brightness dimming
touchscreen, any hope with mavericks ?
ALC233 sounds better with patched appleHDA
sleep not working right now
which is the best way extract dsdt tables, with MaciASL or with ubuntu live ? and can i upload here for assistance ?


Haswell Brightness Fix:

You will need to extract all DSDT/SSDT from Linux. Your GFX0 device is in one of the SSDTs not DSDT and to get a proper disassembly of your DSDT (and the SSDT that has GFX0) you will need all of them. They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB for transfer to OS X.

Place all SSDT/DSDT in a single directory and use a recent build of iasl to disassemble:
https://bitbucket.org/RehabMan/acpica/downloads
Code:
cd "to directory where you placed all SSDT/DSDT"
iasl -da *.aml

Then search the resulting *.dsl so you know where GFX0 is defined. Search for "Device (GFX0)"...

Laptop repo: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply: "Rename GFX0 to IGPU" (to both DSDT and the SSDT that has your GFX0 device)
Apply: "Brightness Fix (Haswell)" to the file (SSDT or DSDT) with GFX0 device definition.
install: https://github.com/RehabMan/OS-X-ACPI-Backlight

Place patched DSDT.aml in /Extra/dsdt.aml. Place patched SSDT in /Extra/ssdt-1.aml (assuming you have already generated SSDT.aml for CPU). Obviously different locations for Clover (EFI/Clover/ACPI/patched).

Result: Working brightness slider in SysPrefs->Displays (mapping of keyboard keys is a separate issue), possible LID sleep, and IGPU power management.
 
Hi, thanks about info. After hardware "development" i have finally right configuration up,
replaced the BCM43142 next generation M.2 wifi card for normal BCM943225HMB half miniPCI card using special adaptor, which one makes only 1 company in the world...
Of course changed pci card was blacklisted in bios, so finally the last one also needed modification. Now hardware is ready for osx.
Later if there will be more time, i will write quide how use miniPCI card istead of NGFF aka M2 card.
Now i extracted under ubuntu all tables and tried compile clean dsdt/ssdt but i can't get away from errors, can you help me with this ?
ACPI tables enclosed
Thanks in advance
 

Attachments

  • Linux_AML.zip
    35.2 KB · Views: 119
  • Extracted_DSL.zip
    71.9 KB · Views: 106
Last edited:
...
Now i extracted under ubuntu all tables and tried compile clean dsdt/ssdt but i can't get away from errors, can you help me with this ?
ACPI tables enclosed

Nothing is attached.
 
Just uploaded.
 
Patched the dsdt, now no errors, just of several warnings and remarks, copied to Extra. After system reboot no kernel panic, seems compilation succeeded.
You told that i need only ssdt5, so how i do call it, ssdt1 ? as regular ssdt generated for power management already. And rest of extracted ssdt files i can just send to trash ?
Present ssdt5 is the table where i do need replace the GFX0 to IGPU ....
 
Patched the dsdt, now no errors, just of several warnings and remarks, copied to Extra. After system reboot no kernel panic, seems compilation succeeded.
You told that i need only ssdt5, so how i do call it, ssdt1 ? as regular ssdt generated for power management already.

/Extra/SSDT-1.aml

Since you're using Chameleon or Chimera (/Extra), the bootloader loads SSDT.aml, SSDT-1, SSDT-2,etc. until it doesn't find one... then it stops (so you can't have gaps in the numbering).

And rest of extracted ssdt files i can just send to trash ?
Present ssdt5 is the table where i do need replace the GFX0 to IGPU ....

Yes/yes. And SSDT5 is where you'll do "Brightness Fix (Haswell)"
DSDT needs rename patch too, of course (renames must always be balanced).
 
Used DSDT editor for dsdt.aml compilation, there was 3 errors, 1 syntax and 2 others, patched syntax error and deleted two others. Copied to Extra, seems dsdt.aml works, laptop started boot much faster. Strange thing is that if i'll open the dsdt with Maciasl there is still 15 syntax errors ? do i need to ignore them or how to compile clean dsdt without any error ? thanks
 
Used DSDT editor for dsdt.aml compilation, there was 3 errors, 1 syntax and 2 others, patched syntax error and deleted two others. Copied to Extra, seems dsdt.aml works, laptop started boot much faster. Strange thing is that if i'll open the dsdt with Maciasl there is still 15 syntax errors ? do i need to ignore them or how to compile clean dsdt without any error ? thanks

You can never open an aml directly... always must disassemble in a group.
 
Status
Not open for further replies.
Back
Top