Open tvannoy opened 1 year ago
For what it's worth, XCode is complaining about "'IOPCIDevice' is deprecated: Use PCIDriverKit " in the VoodooSMBus project. I don't know if that could have anything to do with this bug.
Same stuff, Lenovo X1 Yoga Gen 3 (HW is really the same as in carbon gen 6)
Personally, I have moved on from my hackintosh now, but this issue was a showstopper for me. The alternative VoodooPS2Trackpad kext is painful to use. I figured this project was dead, but it appears that other discussions are happening now, so let's hope there is some progress on this. Unfortunately, I'm not familiar enough with kext development and don't have enough time to pursue fixing this bug.
Describe the bug
Trackpad fails to suspend, then doesn't work upon wake.
This bug appears to have surfaced after I upgraded to macOS 13.1. I'm using a 6th gen Thinkpad X1 Carbon. As far as I remember, the trackpad never stopped working after wake on macOS 12.x. This bug occurs every time I sleep the laptop on macOS 13.1.
The error occurs in
rmi_f01_suspend()
, line 389: https://github.com/VoodooSMBus/VoodooRMI/blob/998761a22c8ada7c90e8b72f3998c2fc3ba439a5/VoodooRMI/Functions/F01.cpp#L389I tried tracing through the call stack beyond
rmi_f01_suspend()
, but ultimately didn't get very far becuase I'm not familiar with macOS kext development. The reported error code is-110
; as best as I could tell, this error message most likely propagated up from someVoodooSMBus
function.This is the call stack I think is happening:
rmi_f01_suspend
-->RMISMBus::blockWrite()
-->VoodooSMBusDeviceNum::writeBlockData()
-->VoodooSMBusControllerDriver::writeBlockData()
-->VoodooSMBusControllerDriver::transfer()
-->command_gate->run_action()
. I suspect the error is propagating from the IOCommandGate calls, but I'm not sure.System Details
I've also tried with a VoodooSMBus kext built using the latest commit in the
dev
branch: (9226dc). I've had the same results with the official debug releases and custom-built kexts, which include additional commits not in the released versions.Initially, I was thinking this bug might be related to https://github.com/VoodooSMBus/VoodooSMBus/pull/41, but the VoodooSMBus kext I built included that PR.
Kexts enabled/disabled
Enabled
Disabled
I've also deleted VoodooPS2Mouse, as recommended in the VoodooSMBus README.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Trackpad gets suspended upon sleep, and works on wake.
Log
Log was gathered using
sudo dmesg | grep -i vrmi
and DebugEnhancer.kext.Relevant section of the log after sleep:
Longer log excerpt: The rest of the log is just debug messages showing trackpad inputs