Contribute
Register

Lenovo V330 - 15ikb

Status
Not open for further replies.
1. Card Reader into (About this Mac > System Information > Card Reader) says "this computer doesn't contain any Apple Internal Memory Card Readers, while it is natively supported, is it possible to add the informations there, not a must have thing but just for aesthetics.

I don't see a working card reader in the ioreg you attached earlier.

2. FanRPM to show on HWMonitor.app & other similar apps.
So far I checked DSDT and couldn't find any related Offset , there is FANS, 8, but same scenario on my previous laptops, it's only a 8-bit offset, it's not large enough to contain the code for that.
The laptop does have a PTID device but not skilled enough to find out if its implemented or not.
If you can check this, the PR files are on Post #68, if you need newer ones, let me know.

Like many computers you have PTID, but the code in there has references to H_EC data which does not exist anywhere in the ACPI set. Which means it doesn't really work...
 
@RehabMan I decided to go back to this thread since it's this laptop what we are talking about and don't want to clutter the Mojave Support Thread for B570e.

So I think im almost finished with this laptop,
the remaining issues:

1. is that every USB3 device when connected on USB-C port (via USB to USBC converter), they are connecting as USB 2.0 device on both USB-C ports (HS03,HS04), I did leave SS03,SS04, even tried without the USB injector & with the port limit remover patch "which works as i see a lot more ports listed on IOREG but they do the same.
Is it possible that this Gen of USB-C is 2.0 speed only ?

2.EDID is patched as written per guide but it makes the login screen blur and shadows pixelated (16-bit colors like).

3. can you check a bit in more details the logs and IOREG and tell me if something is wrong, I'm kinda suspicious if the EC is ok or not.

Attached you can find the Problem Reporting files & Source Files (hotpatch unmarked).
 

Attachments

  • hotpatch(Source).zip
    19.2 KB · Views: 159
  • debug_26169.zip
    2.4 MB · Views: 171
@RehabMan I decided to go back to this thread since it's this laptop what we are talking about and don't want to clutter the Mojave Support Thread for B570e.

So I think im almost finished with this laptop,
the remaining issues:

1. is that every USB3 device when connected on USB-C port (via USB to USBC converter), they are connecting as USB 2.0 device on both USB-C ports (HS03,HS04), I did leave SS03,SS04, even tried without the USB injector & with the port limit remover patch "which works as i see a lot more ports listed on IOREG but they do the same.
Is it possible that this Gen of USB-C is 2.0 speed only ?

See guide for correct port discovery:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

2.EDID is patched as written per guide but it makes the login screen blur and shadows pixelated (16-bit colors like).

You're referring to byte 20 tweaks?
The value used there is not the same for everyone.

3. can you check a bit in more details the logs and IOREG and tell me if something is wrong, I'm kinda suspicious if the EC is ok or not.

Attached you can find the Problem Reporting files & Source Files (hotpatch unmarked).

iasl does not like something about SSDT-8-UsbCTabl.aml. Not sure if it is real or an iasl bug (may need to try newer iasl).

EC driver is not loading (no AppleACPIEC under EC0). Not sure if it causes a problem or not.
 
You're referring to byte 20 tweaks?
The value used there is not the same for everyone
Will try the other values as my problem wasn't black screen from wake, but from hdmi unplug or caused kernel panic on hdmi unplug (insta reboot).

iasl does not like something about SSDT-8-UsbCTabl.aml. Not sure if it is real or an iasl bug (may need to try newer iasl).
Should i build it from source and give it a try ?
EC driver is not loading (no AppleACPIEC under EC0). Not sure if it causes a problem or not.
I don't seem to have a issue "not seen any other than the ones im mentioned".

I believe that when i tried to rename ec0 to EC laptop freezed early apple logo bar.

The fake ec is on the ssdt-usb (as i did by reading your power property guide).

It is on the source files (hotpatch) zip that i uploaded on previous post, same for the iasl problem to check if theres a bug with it or a patching error. (If these files do help spot any issue)
 
Should i build it from source and give it a try ?

I did a quick pull/merge from latest Intel sources. Still same problem:
Code:
NUC6i7KYK:origin rehabman$ iasl -dl SSDT-8-UsbCTabl.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180629(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file SSDT-8-UsbCTabl.aml, Length 0x5FB (1531) bytes
ACPI: SSDT 0x0000000000000000 0005FB (v02 LENOVO UsbCTabl 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
ACPI Error: Needed Region, found type 0x0 (Untyped) (20180629/exprep-572)

Not sure what all that is about.... probably just an iasl bug (may be a bug in iasl that was used by Lenovo to compile native files).

I believe that when i tried to rename ec0 to EC laptop freezed early apple logo bar.

You can't rename LPCB or EC0 because of ECDT.
 
I did a quick pull/merge from latest Intel sources. Still same problem:
Code:
NUC6i7KYK:origin rehabman$ iasl -dl SSDT-8-UsbCTabl.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180629(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file SSDT-8-UsbCTabl.aml, Length 0x5FB (1531) bytes
ACPI: SSDT 0x0000000000000000 0005FB (v02 LENOVO UsbCTabl 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
ACPI Error: Needed Region, found type 0x0 (Untyped) (20180629/exprep-572)

Not sure what all that is about.... probably just an iasl bug (may be a bug in iasl that was used by Lenovo to compile native files).



You can't rename LPCB or EC0 because of ECDT.
Ok good, but im curious to know what could be the cause of the EC not loading ?
That's why i asked about EC because i noticed that.

When i checked my Lenovo L440 & Lenovo B570e, under EC both AppleACPIEC and AppleBusPowerController, but here the AppleACPIEC should be under EC0 then.
Do you have any suggestion(s) ?


About USB-C Ports:
In which circumstances is the XHCI Injector kext required ?

My XHC controller is 8086_9d2f which i believe i need the 100-series Injector.kext ?, could that be the issue to my USB-C Problems ?

The problem is that im doing everything else as requested, i do have a SSDT-USB almost completed so i used the flag to ignore rmcf: -uia_ignore_rmcf
I enabled the Port limit patch (which works as it adds many other ports on XHC after i enable it & reboot)
i basically captured everything correctly but the problem is whatever i plug into the two USBC Ports, it only connects to HS03,HS04, and by that they connect as USB2 speed devices, not as 3.0/3.1 which i believe they should've connected to something like SSxx Port, so i can't capture the Fast Speed respective port for each USB-C, as they only connect to slow speed ports (USB2).

Any suggestions for this ?


I also believe that these two USB-C Ports are Gen1 so i suspect there's no Thunderbolt there.
 
Last edited:
Ok good, but im curious to know what could be the cause of the EC not loading ?
That's why i asked about EC because i noticed that.

When i checked my Lenovo L440 & Lenovo B570e, under EC both AppleACPIEC and AppleBusPowerController, but here the AppleACPIEC should be under EC0 then.
Do you have any suggestion(s) ?

No idea really. Never have seen that issue.
You might check your kernel logs.

About USB-C Ports:
In which circumstances is the XHCI Injector kext required ?

My XHC controller is 8086_9d2f which i believe i need the 100-series Injector.kext ?, could that be the issue to my USB-C Problems ?

9d2f is native.
Note:
Code:
NUC6i7KYK:Projects rehabman$ grep -y 9d2f -R /System/Library/Extensions/IOUSBHostFamily.kext/
/System/Library/Extensions/IOUSBHostFamily.kext//Contents/PlugIns/AppleUSBXHCIPCI.kext/Contents/Info.plist:           <string>0x9d2f8086</string>

i basically captured everything correctly but the problem is whatever i plug into the two USBC Ports, it only connects to HS03,HS04, and by that they connect as USB2 speed devices, not as 3.0/3.1 which i believe they should've connected to something like SSxx Port,

Maybe a problem with the adapter you're using.
 
No idea really. Never have seen that issue.
You might check your kernel logs.
BTW looking at my DSDT i found this:
Code:
Scope (_SB.PCI0.LPCB)
    {
        Device (EC0)
        {
            Name (_HID, EisaId ("PNP0C09"))  // _HID: Hardware ID
            Name (_UID, Zero)  // _UID: Unique ID
            Name (_GPE, 0x4F)  // _GPE: General Purpose Events
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                DOUS ("_SB.PCI0.LPC.EC._INI Start \n")
                ECWK (0x05)
                If (_OSI ("Linux"))
                {
                    Store (0x40, LXOS)
                }
                Else
                {
                    Store (GOST (), OSTP)
                }
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }
Is it possible that Linux emulation could make it load ?

Here i attached my Kernel Logs, i took it only for today with the terminal command that you specify the date for logs, as i just booted the laptop and tried to cut only the part without the audioengine related messages and only took the part that was non audio related stuff.
Maybe a problem with the adapter you're using.
Could be, although it's a USB to USB-C converter that came with the Galaxy S9 Plus (on the packaging of the phone) that it came with.
While gathering logs i noticed some messages about the HS03, HS04 (which are USB-C) ports of some power problems like:
Code:
2018-07-10 22:39:05.617251+0200 0x81       Default     0x0                  0      0    kernel: (AppleBusPowerController) 000002.407643 AppleBusPowerController: AppleBusPowerController::requestStaticServicePowerLocked: power supply unavailable, assuming successful power for HS03 of 500 mWWakePower and 0 mWSleepPower

2018-07-10 22:39:06.118392+0200 0x81       Default     0x0                  0      0    kernel: (AppleBusPowerController) 000002.908786 AppleBusPowerController: AppleBusPowerController::requestStaticServicePowerLocked: power supply unavailable, assuming successful power for HS04 of 500 mWWakePower and 0 mWSleepPower
I also attached the full log to make sure i didn't forget to cut an important message.
 

Attachments

  • Kernel Logs.txt
    104.3 KB · Views: 471
  • Full Kernel Log.txt
    885.3 KB · Views: 1,151
Last edited:
BTW looking at my DSDT i found this:
Code:
Scope (_SB.PCI0.LPCB)
    {
        Device (EC0)
        {
            Name (_HID, EisaId ("PNP0C09"))  // _HID: Hardware ID
            Name (_UID, Zero)  // _UID: Unique ID
            Name (_GPE, 0x4F)  // _GPE: General Purpose Events
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                DOUS ("_SB.PCI0.LPC.EC._INI Start \n")
                ECWK (0x05)
                If (_OSI ("Linux"))
                {
                    Store (0x40, LXOS)
                }
                Else
                {
                    Store (GOST (), OSTP)
                }
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }
Is it possible that Linux emulation could make it load ?

Probably not, but you could try.

Here i attached my Kernel Logs, i took it only for today with the terminal command that you specify the date for logs, as i just booted the laptop and tried to cut only the part without the audioengine related messages and only took the part that was non audio related stuff.

Could be, although it's a USB to USB-C converter that came with the Galaxy S9 Plus (on the packaging of the phone) that it came with.
While gathering logs i noticed some messages about the HS03, HS04 (which are USB-C) ports of some power problems like:
Code:
2018-07-10 22:39:05.617251+0200 0x81       Default     0x0                  0      0    kernel: (AppleBusPowerController) 000002.407643 AppleBusPowerController: AppleBusPowerController::requestStaticServicePowerLocked: power supply unavailable, assuming successful power for HS03 of 500 mWWakePower and 0 mWSleepPower

2018-07-10 22:39:06.118392+0200 0x81       Default     0x0                  0      0    kernel: (AppleBusPowerController) 000002.908786 AppleBusPowerController: AppleBusPowerController::requestStaticServicePowerLocked: power supply unavailable, assuming successful power for HS04 of 500 mWWakePower and 0 mWSleepPower
I also attached the full log to make sure i didn't forget to cut an important message.

Test your USB-C->USB3 adapter in Windows.
 
@Sniki Can you upload your Clover folder? I have some performance problem may it can solve it.
 
Status
Not open for further replies.
Back
Top