Contribute
Register

[Guide] Lenovo ThinkPad X240

Joined
Nov 30, 2018
Messages
12
Motherboard
Thinkpad x240
CPU
i5-4300U
Graphics
HD 4400
Mobile Phone
Android, Other
For those who have an audio issue with ALC3232.kext and the update of Mojave (10.14.2), you must:
Go to Cover Configurator> Devices> Properties (bottom of the page).
Change the "layout-id" value :
PciRoot (0) / Pci (0x1b, 0) -> layout-id = 3
PciRoot (0) / Pci (0x03,0) -> layout-id = 3
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,719
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi again RehabMan,

Please find attached details and problem folder.

Thx.

Regards
You provided no details regarding your problem/bug/issue.
 
Joined
Nov 30, 2018
Messages
12
Motherboard
Thinkpad x240
CPU
i5-4300U
Graphics
HD 4400
Mobile Phone
Android, Other
Hi,

Let me explain, when I use Sniki's original files for my Thinkpad X240, I have an USB issue. I dunno why but to fix it I need to insert "-uia_ignore_rmcf" in my config.plist.
Also, with the latest update of Mojave 10.14.2, I need to modify devices poperties (see my previous post).

With these tricks everything is OK (audio, usb, lan, brigthness, trackpad, battery,...) but I don't know if it's a correct way to fix...
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,719
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi,

Let me explain, when I use Sniki's original files for my Thinkpad X240, I have an audio issue. I dunno why but to fix it I need to insert "-uia_ignore_rmcf" in my config.plist.
Also, with the latest update of Mojave 10.14.2, I need to modify devices poperties (see my previous post).

With these tricks everything is OK (audio, usb, lan, brigthness, trackpad, battery,...) but I don't know if it's a correct way to fix...
You must provide details on what you mean by "an audio issue".
And if you have two scenarios to present, one that works, one that doesn't, you must provide PR files that represent both scenarios, such that they can be compared.
 
Joined
Nov 30, 2018
Messages
12
Motherboard
Thinkpad x240
CPU
i5-4300U
Graphics
HD 4400
Mobile Phone
Android, Other
It's simple.
In the both scenarios I have same files from Sniki's guide :

- kexts>Other :
ALC3232.kext
CodecCommander.kext
IntelMausiEthernet.kext
Lilu.kext
SMCBatteryManager.kext
SMCLightSensor.kext
SMCProcessor.kext
USBInjectAll.kext
VirtualSMC.kext
VoodooPS2Controller.kext
WhateverGreen.kext

- ACPI>patched :
SSDT-X240.aml

- drivers64UEFI :
AfpsDriverLoader-64.efi
AppleImageLoader-64.efi
AppleUISupport-64.efi
AptioInputFix-64.efi
AptioMemory-64.efi
DataHubDxe-64.efi
FSInject-64.efi
HFSPlus.efi
VirtualSmc.efi

- drivers64 :
AfpsDriverLoader-64.efi
AppleImageLoader-64.efi
FPSInject-64.efi
XhciDxe-64.efi

The difference between the 2 scenarios is in the config.plist file :

With the original Sniki's config.plist file
Battery -> Ok
Brightness -> Ok
Lan -> Ok
USB -> Ok -> (CORRECTION : NOk)
Audio -> NOk (CORRECTION : Ok)

USB ports are desactived, when I plug my USB stick or my USB mouse nothing happens.
When I remove ALC3232.kext from "kexts>Other" my USB ports are actived but I have no more audio (it's logic)...

With the modified Sniki's config.plist file
All is Ok !

In Clover Configurator I have added :
(Boot>Custom Flags) : -uia_ignore_rmcf

After the Mojave's update (version 10.14.2), the audio is disabled. To fix it, in Clover Configurator I have modified the "layout-id" value from Devices> Properties.
PciRoot (0) / Pci (0x1b, 0) -> layout-id = 3
PciRoot (0) / Pci (0x03,0) -> layout-id = 3
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,719
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
It's simple.
In the both scenarios I have same files from Sniki's guide :

- kexts>Other :
AL3232.kext
CodecCommander.kext
IntelMausiEthernet.kext
Lilu.kext
SMCBatteryManager.kext
SMCLightSensor.kext
SMCProcessor.kext
USBInjectAll.kext
VirtualSMC.kext
VoodooPS2Controller.kext
WhateverGreen.kext

- ACPI>patched :
SSDT-X240.aml

- drivers64UEFI :
AfpsDriverLoader-64.efi
AppleImageLoader-64.efi
AppleUISupport-64.efi
AptioInputFix-64.efi
AptioMemory-64.efi
DataHubDxe-64.efi
FSInject-64.efi
HFSPlus.efi
VirtualSmc.efi

- drivers64 :
AfpsDriverLoader-64.efi
AppleImageLoader-64.efi
FPSInject-64.efi
XhciDxe-64.efi

The difference between the 2 scenarios is in the config.plist file :

With the original Sniki's config.plist file
Battery -> Ok
Brightness -> Ok
Lan -> Ok
USB -> Ok
Audio -> NOk

Audio icon in menubar is disabled and when I up and down the volume I see a "no entry" sign. With the alc_fix installation nothing changed.


With the modified Sniki's config.plist file
All is Ok !

In Clover Configurator I have added :
(Boot>Custom Flags) : -uia_ignore_rmcf

After the Mojave's update (version 10.14.2), the audio is disabled. To fix it, in Clover Configurator I have modified the "layout-id" value from Devices> Properties.
PciRoot (0) / Pci (0x1b, 0) -> layout-id = 3
PciRoot (0) / Pci (0x03,0) -> layout-id = 3
You failed to attach PR files for the two scenarios.

Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Nov 30, 2018
Messages
12
Motherboard
Thinkpad x240
CPU
i5-4300U
Graphics
HD 4400
Mobile Phone
Android, Other
RehabMan,

I made a mistake, I apologize...
It's not with audio that I have a problem but with USB ports.

Without config.plist modifications (Sniki's version) my USB ports are disabled (the rest is ok).
To enable my USB ports I need to remove ALC3232.kext from kexts>Other.
-> Please check "debug_10349.zip"

With config.plist modifications all is enabled, my USB ports too.
-> Please check "debug_24442.zip"

Do I have to leave the changes made on config.plist or not? If not, what should I do to make everything work?

Thanks for your help

Regards
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,719
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
RehabMan,

I made a mistake, I apologize...
It's not with audio that I have a problem but with USB ports.

Without config.plist modifications (Sniki's version) my USB ports are disabled (the rest is ok).
To enable my USB ports I need to remove ALC3232.kext from kexts>Other.
-> Please check "debug_10349.zip"

With config.plist modifications all is enabled, my USB ports too.
-> Please check "debug_24442.zip"

Do I have to leave the changes made on config.plist or not? If not, what should I do to make everything work?

Thanks for your help

Regards
Content in Clover/kexts/Other has no effect on your main system partition due to config.plist/SystemParameters/InjectKexts=
"Detect" and the fact that VirtualSMC.kext is installed.

The config.plist in each scenario is different in more than just -uia_ignore_rmcf. You're injecting a different layout-id.
Look:
Code:
505c505
<        <string>-uia_ignore_rmcf nv_disable=1 dart=0 kext-dev-mode=1 -cdfon -igfxnohdmi</string>
---
>        <string>nv_disable=1 dart=0 kext-dev-mode=1 -cdfon -igfxnohdmi</string>
579c579
<                <integer>3</integer>
---
>                <integer>1</integer>
586c586
<                <integer>3</integer>
---
>                <integer>1</integer>
 
Joined
Nov 30, 2018
Messages
12
Motherboard
Thinkpad x240
CPU
i5-4300U
Graphics
HD 4400
Mobile Phone
Android, Other
Content in Clover/kexts/Other has no effect on your main system partition due to config.plist/SystemParameters/InjectKexts=
"Detect" and the fact that VirtualSMC.kext is installed.

The config.plist in each scenario is different in more than just -uia_ignore_rmcf. You're injecting a different layout-id.
Look:
Code:
505c505
<        <string>-uia_ignore_rmcf nv_disable=1 dart=0 kext-dev-mode=1 -cdfon -igfxnohdmi</string>
---
>        <string>nv_disable=1 dart=0 kext-dev-mode=1 -cdfon -igfxnohdmi</string>
579c579
<                <integer>3</integer>
---
>                <integer>1</integer>
586c586
<                <integer>3</integer>
---
>                <integer>1</integer>
Hi RehabMan,

What should I do ? Which scenario should I keep?
Please, what's this ? :

579c579
< <integer>3</integer>
---
> <integer>1</integer>

Regards.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,719
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi RehabMan,

What should I do ? Which scenario should I keep?
Please, what's this ? :

579c579
< <integer>3</integer>
---
> <integer>1</integer>

Regards.
Post #1 files have it set to 0. And SSDT-X240.aml is injecting layout-id=28 via HDEF._DSM.

Perhaps you should follow post #1 as written instead of doing random things.
 
Top