Closed lvs1974 closed 4 years ago
If you want to use the stock ver then go here: https://github.com/alexandred/VoodooI2C
@tctien342, thank you very much for your answers! I will try everything what I can. Probably I will found a workaround. It seems quite strange for me: there are many repositories related to Inspiron 7590/7591, and nobody mentioned any issues with trackpad. Am only I "lucky"?
@lvs1974 i use touch to click and two finger to right click so dont care much about it, you can select text by using shift! just click the begin of block text and hold shift then click the end of block text then you done.
@tctien342, thank you for your suggestions! If you or anybody else experience similar issues with trackpad, I am in the same boat. I can use workarounds, and I will get use to do it. If you agree, we can close this issue. May be VoodooI2C team will fix it in the feature, it seems it the only driver which we can use for our I2C-only trackpad.
@lvs1974 Yep, hope Voodooi2c team will optimize this on feature, enjoy your hackintosh
@tctien342, could you probably try this fork from VoodooI2C & VoodooI2CHID, please? I made many fixes, and with updated VooodoPS2 from acidanthera I don't have any panics, even when I wake my laptop with a lid (this feature is turned off in BIOS, but lidwake=1 in pmset). Sources you can find on my github page. I also had to turn off CPUFriend, since it also produces rare panics (NMI).
EFI.zip Please try this, everything work well in this built i ported from https://github.com/xxxzc/xps15-9570-macos
@tctien342, the EFI folder you attached in previous post seems to be very stable! I am really surprised!
@lvs1974 glad that you like it, can you take a look in HDMI audio? Try patch Framebuffer but that blink screen still exist
@tctien342, you are right, when FakePCIID is loaded, video is blinking, but in my case audio is also "blinking" with the same frequency, I mean only very short portions of sound are audible. When I disabled FakePCIID - video is ok, audio via HDMI is missing. As far as I remember - AppleALC is responsible for audio via HDMI, int't it?
Yep, AppleALC is responsible for HDMI audio. Can't find any info about this problem, this maybe an complete new situation
@lvs1974 as what i found if HDMI audio enabled, when plug-in HDMI the internal screen will become 30bit instead of 24bit color
@tctien342, I was wrong: for Intel HD digital audio HDMI, DP, Digital DVI WhateverGreen is responsible. I discovered stange thing in FakePCIID_Intel_HDMI_Audio.kext: Intel cards like 0x9d748086 0x9d718086 0x9d708086 0xa1718086 are faked to 70A10000 (actually this is HDEF in Intel HD 630 which is installed in out laptops). But our HDEF 0xa1708086 is faked to 709D0000!!! Probably video is also must be faked to corresponding HDEF. But I am not an expert.
@tctien342, this approach (fake HDEF to 709D0000) seems to be very strange. Is there anybody with fully working audio via HDMI and this FakePCIID?
PS: observations related to the newest EFI folder:
@tctien342 new research, after sleep, the HDMI will usable even the audio, both work perfectly
@tctien342, Wah! No blinking and with audio!!! Without FakePCIID or with?
@lvs1974 with FakePCIID!
@tctien342, yes, I can confirm - this trick works! BTW: I've got one kernel panic on wake (wake via keyboard).
@lvs1974 maybe some bug with voodoops2
I got two IOreg state of HDMI when it work or not: HDMI test.zip
@tctien342, did you find any difference between these two ioregs? And when does not it work?
@lvs1974 this will show up after sleep, even without hdmi plug-in
I replaced VoodooI2C and VoodooI2CHID with fixed versions, and any panics! It is definitely VoodoI2C issues. Regarding audio issues: workaround is in master, AppleALC supports boot-arg alcdelay=500 (where 500 - delay in milliseconds), and DeviceProperty key alc-delay, format is the same, data type is Number. Currently I am adding fake-id functionality into AppleALC, so via device property we can add alc-device-id=709D0000 (data) and alc-vendor-id=86800000. FakePCIID is not needed any more. I attached debug version: AppleALC-1.4.8-DEBUG.zip
@lvs1974 so far so good, thing left:
As @xxxzc say, two mode of trackpad will have different power usage:
@tctien342, thank you for the info. Now I will have to reimplement a HDMI audio support for our sound card, it has been found there is a support for specific cards in Apple Alc, but nobody added these cards.
@lvs1974 i have some bug on HDMI that if we disconnect the hdmi, macos still have still recognize it an show in setting, it we plug back, only black screen and mouse! This problem is there from the first built!
@tctien342, I saw this, but it can be easily fixed:
GPIO mode will suck our battery but will better if we use mouse
@tctien342 it depends. 9570's cpu usage in GPIO mode is abnormal, for 9550, kernel task is always under 20% in use.
@lvs1974 currently using that trick
@xxxzc My 7591 in GPIO mode can up to 60% of cpu
@tctien342 (꒪ꇴ꒪(꒪ꇴ꒪ ;) which pin number are u using? a bad pin number will cause high cpu usage
@xxxzc current use your old TDPX, will revert to mine SSDT and test again
@lvs1974 @xxxzc , dell 7591 should use polling mode, alway <10% cpu
@tctien342, I suppose in the EFI archive uploaded in this topic there is nothing for GPIO, so it should be polling mode. Is it right?
@lvs1974 disable SSDT-TPDX.aml, that file for enable GPIO
@tctien342, I see the difference, thank you!
@tctien342, could you give attached version a try, I tried to reduced cpu usage in polling mode. VoodooI2C.zip
@lvs1974 as i know, if u increase INTERRUPT_SIMULATOR_TIMEOUT , the report of trackpad per seccond will decrease too. as default we got 5 in config so the report can up to 200/s, increase to 14 will be ~71/s, so it not smooth when using
Default config only suck about 7% cpu on kernel_task, so it may not an big problem to have smoother trackpad
@tctien342, it is a good idea to check whether ac adapter is connected. I will check.
@tctien342, I made some major optimisations in code for polling mode, could you check it again, please? I don't think we need to detect AC adapter, now I set timer interval INTERRUPT_SIMULATOR_TIMEOUT to 3 ms, and it cannot be less than 1 ms. I think current version is a good balance between performance and smoothness. VoodooI2C.zip
@lvs1974 okay, will test an report you late
In this attached version I implemented adaptive timer interval for polling mode: if we touchpad is used - interval 3 ms, in idle mode - 15 ms. VoodooI2C.zip
@lvs1974 much better now, all test in battery mode:
@lvs1974 seem like this kext not working in clover, can you test it ? INSPIRON-759x-CLOVER-200308.zip
@lvs1974 seem like this kext not working in clover, can you test it ? INSPIRON-759x-CLOVER-200308.zip
But how can it be so? Did you disable GPIO and interrupt mode in Clover? I will check later.
@lvs1974 revert to my old voodooi2c it work well
@lvs1974 revert to my old voodooi2c it work well
With this Clover I don't have even keyboard. Strange.
I fixed this. It is related to possibility of kext VoodooI2CHID to be loadable via recovery. VoodooI2C.zip
@lvs1974 okay, it work well now
@tctien342, please update all VoodooI2C and CpuTscSync binaries, previous ones will work only under Catalina. https://github.com/lvs1974/VoodooI2C/releases https://github.com/lvs1974/CpuTscSync/releases
@tctien342, could you possibly test a new version of VoodooI2C: https://github.com/lvs1974/VoodooI2C/releases Fix kernel panics after wake I think I have managed to improve a bit text selection and dragging (when touchpad button is pressed).
Hello, first of all I want to say "thank you" for gathering/developing into one repository many useful fixes and maintaining them. I open this issue since I want to share my experience and collect here feedbacks from other users.
So, I have Inspiron 7590 and I use Catalina 10.15.3. Below my observations:
Trackpad buttons: Trackpad left and right buttons do the same - just simulate click on left mouse button. I know - original Macs have only one button, but can we get two? Sometimes happens that left/right button does not work for some reason, and I have to press a few times (to select file in Finder, for example). And this is very annoying bug. But if I keep any finger on trackpad and click button - it works always!
Trackpad and text selection If I need to select more than 10 lines of text - it is a pain, since selection is reset for some reason. It is reproducible very often, but at some (rare) moments it works without any issues.
Below I put my questions:
4. I still use buggy (and unsupported in macOS) Samsung PM991 OEM SSD, it is slow and sometime raises kernel panics. Can it be the reason of my bad experience with trackpad?- Replaced with Samsung EVO 970 Plus, but trackpad issues still here.