Contribute
Register

Lenovo Ideapad Flex 15

Status
Not open for further replies.
Joined
May 28, 2012
Messages
99
Motherboard
Lenovo Ideapad Flex 15 (Clover)
CPU
Intel® Core™ i7- 4500U/Haswell-ULT
Graphics
Intel HD4400 (Integrated) 1920x1080
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. Other
Hello TonyMac community,

The specs for this laptop are as follows:

Intel Core i7
8GB RAM
Intel HD Graphics 4400
1TB HDD+ 16GB SSD Flash storage
15.6 1080p FullHD 10 Point Multi-Touch Display
Intel Dual Band Wireless-AC 7260 Plus Bluetooth
Realtek RTL8101 Family PCI-E Fast Ethernet
MOBO: Strawberry 5D


I've followed the guides linked below:
http://www.tonymacx86.com/yosemite-...faq-read-first-laptop-frequent-questions.html
http://www.tonymacx86.com/yosemite-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
http://www.tonymacx86.com/yosemite-...tel-hd4200-hd4400-hd4600-mobile-yosemite.html
http://www.tonymacx86.com/multi-booting/96000-guide-dual-booting-mountain-lion-windows-8-a.html



And so far have the following working:

Boot Windows 8.1 and Yosemite 10.10.2 for HDD
HDMI Hot-plugging
Trackpad (Basic Gestures)
Keyboard (No backlight)
Full native HD Display with touch
Networking (Ethernet)
iMessage + FaceTime
USB 2.0/3.0



A guide will be compiled upon successful utility of all features



I am unable to get the sound working. I have scoured the Internet trying to make sense of AppleHDA patching but it does not appear that I have the correct codec to apply those techniques. I've posted my Linux extracted DDST/SSDT, ioreg output and codec_dump here if anyone can provide some assistance or guidance.

Thanks in advance!
 

Attachments

  • Kyron’s MacBook Pro.ioreg
    5 MB · Views: 190
  • Postpatch.zip
    87.8 KB · Views: 103
  • codec_dump.txt
    4 KB · Views: 207
Codec dump is for the wrong codec. Look on Linux for codec dump for onboard graphics, not Intel HDMI.
 
Codec dump is for the wrong codec. Look on Linux for codec dump for onboard graphics, not Intel HDMI.


Apologies, the correct file has been attached.

For reference, the following guides/resources have been read;

http://forum.osxlatitude.com/index.php?/topic/1946-complete-applehda-patching-guide/
http://www.tonymacx86.com/audio/143752-no-audio-devices-realtek-alc-applehda-guide.html
http://www.insanelymac.com/forum/topic/295001-guide-to-patch-applehda-for-your-codec/
https://github.com/Mirone/AppleHDA_10.10.2
https://insanelydeepak.wordpress.com/2015/03/30/new-style-of-applehda-patching-os-x-update-proof/

I have tried to apply what I read therein but have so far been unsuccessful. At this point I'm not even sure if my codec is compatible with these guides.

I've:

-Extracted codec and relevant information
-Extracted verb data

The part where my confusion begins is correcting the verb data. Any suggestions would be helpful..
 

Attachments

  • card1-codec#0.txt
    10.6 KB · Views: 173
Apologies, the correct file has been attached.

For reference, the following guides/resources have been read;

http://forum.osxlatitude.com/index.php?/topic/1946-complete-applehda-patching-guide/
http://www.tonymacx86.com/audio/143752-no-audio-devices-realtek-alc-applehda-guide.html
http://www.insanelymac.com/forum/topic/295001-guide-to-patch-applehda-for-your-codec/
https://github.com/Mirone/AppleHDA_10.10.2
https://insanelydeepak.wordpress.com/2015/03/30/new-style-of-applehda-patching-os-x-update-proof/

I have tried to apply what I read therein but have so far been unsuccessful. At this point I'm not even sure if my codec is compatible with these guides.

I've:

-Extracted codec and relevant information
-Extracted verb data

The part where my confusion begins is correcting the verb data. Any suggestions would be helpful..

Try using AppleHDA for ALC283 (note: 0x10ec0283 in codec dump).

ALC283 is the same as my Lenovo u430. You can use AppleHDA_ALC283.kext in my u430 repo...

https://github.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch

Requirements:
- Clover bootloader
- config.plist must have the three AppleHDA patches from my config.plist in the repo
- AppleHDA.kext must be vanilla
- CodecCommander.kext installed to /S/L/E: https://github.com/RehabMan/EAPD-Codec-Commander
- AppleHDA_ALC283.kext installed to /S/L/E
- rebuild cache following the procedure detailed in the u430 guide: http://www.tonymacx86.com/yosemite-...ideapad-u330-u430-u530-using-clover-uefi.html
- DSDT patches "IRQ Fix" and "Audio Layout 12", with layout-id changed from 12 to 86.
 
Try using AppleHDA for ALC283 (note: 0x10ec0283 in codec dump).

ALC283 is the same as my Lenovo u430. You can use AppleHDA_ALC283.kext in my u430 repo...

https://github.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch

Requirements:
- Clover bootloader
- config.plist must have the three AppleHDA patches from my config.plist in the repo
- AppleHDA.kext must be vanilla
- CodecCommander.kext installed to /S/L/E: https://github.com/RehabMan/EAPD-Codec-Commander
- AppleHDA_ALC283.kext installed to /S/L/E
- rebuild cache following the procedure detailed in the u430 guide: http://www.tonymacx86.com/yosemite-...ideapad-u330-u430-u530-using-clover-uefi.html
- DSDT patches "IRQ Fix" and "Audio Layout 12", with layout-id changed from 12 to 86.



I appreciate your prompt support and will try your suggestions later today. I would however like to learn as well. Now I know that the line that literally reads "Codec" isn't the actual codec name.

The next matter of difficulty was application of verb correction.. Do you know of any resources that more clearly addresses how it is done in the codec and why perhaps e.g. "every-time you see a "9" replace with a "0" because.."


Your assistance as always is appreciated!


Edit: I tried the suggestions you made, but the device does not appear in "About This Mac" and my sound icon remains unavailable.

I loaded the kexts as instructed and made the necessary config.plist and DDST changes. Any ideas?
I've attached the two files I attempted to change.
 

Attachments

  • DSDT.aml
    52 KB · Views: 145
  • config.plist
    8.6 KB · Views: 265
The next matter of difficulty was application of verb correction.. Do you know of any resources that more clearly addresses how it is done in the codec and why perhaps e.g. "every-time you see a "9" replace with a "0" because.."

To understand that, you'll need to read the Intel HDA spec (approx. 700 pages).

Edit: I tried the suggestions you made, but the device does not appear in "About This Mac" and my sound icon remains unavailable.

I loaded the kexts as instructed and made the necessary config.plist and DDST changes. Any ideas?
I've attached the two files I attempted to change.

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Also, post EFI/Clover folder.
 
To understand that, you'll need to read the Intel HDA spec (approx. 700 pages).



Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Also, post EFI/Clover folder.




Thank you for the resource, I'll look through it. This is the output from the grep functions:

Last login: Fri Jun 12 07:37:31 on ttys000
t0018b034a70c:~ kyronbenjamin$ kextstat|grep -y acpiplat
13 2 0xffffff7f81fe7000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
t0018b034a70c:~ kyronbenjamin$ kextstat|grep -y appleintelcpu
t0018b034a70c:~ kyronbenjamin$
 

Attachments

  • Kyron’s MacBook Pro.ioreg
    2.5 MB · Views: 145
  • RehabMan.zip
    36.5 KB · Views: 93
  • CLOVER.zip
    10.4 MB · Views: 120
Thank you for the resource, I'll look through it. This is the output from the grep functions:

Last login: Fri Jun 12 07:37:31 on ttys000
t0018b034a70c:~ kyronbenjamin$ kextstat|grep -y acpiplat
13 2 0xffffff7f81fe7000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
t0018b034a70c:~ kyronbenjamin$ kextstat|grep -y appleintelcpu
t0018b034a70c:~ kyronbenjamin$

AppleHDA.kext is not loaded. Probably due to:
- layout-id is not injected via DSDT patch
- AppleHDA may not be vanilla
 
AppleHDA.kext is not loaded. Probably due to:
- layout-id is not injected via DSDT patch
- AppleHDA may not be vanilla




I've repatched the DSDT and compiled without error, and copied an APPLEHDA.kext from my iMac running Yosemite.

Rebuilt cache as per your directions but on reboot there is still no sound.
 
I've repatched the DSDT and compiled without error, and copied an APPLEHDA.kext from my iMac running Yosemite.

Rebuilt cache as per your directions but on reboot there is still no sound.

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Also, post EFI/Clover folder.
 
Status
Not open for further replies.
Back
Top