syscl / XPS9350-macOS

macOS patches for Dell XPS 13 9350 (Skylake)
916 stars 73 forks source link

Touchpad gestures not working - Glitchy Touchpad && Brightness keys not working #73

Open jdlives opened 7 years ago

jdlives commented 7 years ago

I ran deploy.sh and everything said "[ok]". But the trackpad still does not support gesture controls. Brightness keys work initially (before the reboot after running deploy.sh), but then it stopped working after i rebooted for the deploy.sh. Any reply would be appreciated.

syscl commented 7 years ago

@jdlives Running deploy.sh is not enough, you should follow my guide, use the Clover from my github

syscl

jdlives commented 7 years ago

Hi! I copied the clover folder to the EFI partition of my SSD. Is that what you mean? Sorry, I'm new to hackintoshing. Thank you!

jdlives commented 7 years ago

Dell XPS 13 9350(FHD) - i5 6200U, replaced ssd with samung 850 evo, intel hd 520. Here's what I did (Sierra Installation) :

  1. Created bootable USB drive using Clover v2. (Install for UEFI booting only, Install Clover in the ESP, Driver64UEFI [everything under it checked]).
  2. Replaced the clover folder in the EFI partition of my USB drive with the one in your repository.
  3. Deleted the /Kext/10.11, placed everything inside /kext/10.12 to a newly created /kext/Other directory.
  4. Added the SATA-100-series-unsupported.kext file to /kext/Other in the EFI partition of the USB, because the installer won't read my internal SSD otherwise.
  5. Proceed with installation. -----Making the SSD bootable----
  6. Ran Clover V2 with the same settings but this time on the SSD with the SSD as target volume.
  7. Copied the Clover folder of the USB/EFI partition to the SSD/EFI partition(deleting the default Clover of the SSD/EFI partition) -----POST-INSTALL-----
  8. Rebooted to clover in order to dump ACPI table by pressing F4/[fn] F4 while in clover bootloader. Note: Brightness keys still working, trackpad glitchy.
  9. Copied the repository to the Desktop.
  10. Started up the terminal, changed to the directory of the repository.
  11. Ran the following commands: a. "chmod +x ./deploy.sh" b. "./deploy.sh -d" (I chose VoodooPS2Controller when I was asked) Note: Everything seemed to run fine. I had to press the return key 3 times when the script was running because there was a question mark. Then it resumed and I saw no errors. Then it told me to reboot.
  12. Restarted the system. -----After Reboot----- Brightness key no longer works, trackpad still glitchy and still no gesture controls(also no options in the preferences, totally nothing in trackpad system preferences.
  13. Asked for your help :)) haha. Thanks! Please tell me what I did wrong, or what I still have to do. Thank you! Note: Other problems : a. weird sleep behavior, power button light does not turn off. And sometimes after sleep, it won't wake up. b. sometimes it doesn't boot right away, it has to go through the boot loader twice(it takes a long time considering that I use a samsung 850 evo m.2 SSD. not that long :) ) c. again no gestures and glitchy trackpad and no brightness control and cant use the command key.

Please help thanks!

syscl commented 7 years ago

@jdlives please provide this information after executing

uid=10
ioreg -n AppleBacklightDisplay -arxw0>/tmp/syscl.plist
id=`/usr/libexec/PlistBuddy -c "Print :0:DisplayProductID" /tmp/syscl.plist`
id=`printf "F%02dT%04x" $uid $id`
echo $id

Thank you, syscl

jdlives commented 7 years ago

Sorry but I dont know what you mean by "executing"?

jdlives commented 7 years ago

Not sure if I did it correctly but I saved the text you gave me to a .sh file then i ran it with: "chmod +x script.sh" "./script.sh" Output is "F5152T0000" Thank you!

syscl commented 7 years ago

Thank you, please try the latest deploy.sh to see if this fix your brightness issue.

syscl

syscl commented 7 years ago

@jdlives seems your command are wrong from the beginning, my script would not give you F5152T0000, about how to use the command lines above, you just copy it, paste in terminate, type in enter, that's it.

snip20170304_2

syscl

jdlives commented 7 years ago

Hi! I executed the text above and I got "F10T1420" Thank you! Edit: Brightness keys work great now! I copied the latest version of your repo then i ran deploy.sh , but trackpad still glitchy. And now it does not sleep when i close the lid.

syscl commented 7 years ago

@jdlives Please clarify which Panel id you use to power up your Brightness key: F10T1420 vs F5152T0000??

Please clarify which track pad driver you use: VoodooPS2 vs ApplePS2SmartTouchPad

I don't know how your brightness key works, obviously, F5152T0000 is definitely wrong to power your brightness.

From my experience, both VoodooPS2 and ApplePS2SmartTouchPad work like a charm.

syscl

jdlives commented 7 years ago

Hi! I used the VoodooPS2controller since it was recommend for Sierra. And I ran the script you gave me again and I got, F10T1420. Did I do the installation correctly? I'm not sure, please see my comment above. I listed how I installed everything. Maybe I did something wrong during the installation? Please tell me. Thank you very much. Edit: Also what do you mean before that running deploy.sh is not enough? what more do i have to do? Thank you!

furrybanana commented 7 years ago

did you dump ACPI properly? follow this: https://github.com/syscl/XPS9350-macOS/issues/62#issuecomment-280959860

syscl commented 7 years ago

@jdlives Show the debug log from deploy.sh

Try remove directory EFI/Clover/kexts/10.12 then create this folder again.

syscl

jdlives commented 7 years ago

@furrybanana during the creation of the installation drive using Unibeast do I also check the "Install Clover at ESP option"?

aizigao commented 7 years ago

I had changed some shutcut like mission control from ctrl up to 'ctrl alt k' . then touchpad gesture can't used. so how to custom touchpad geature.?

syscl commented 7 years ago

you just need to restore all key shortcuts then enjoy multi gestures

aizigao commented 7 years ago

ok, I will give up all my custom keys

jdlives commented 7 years ago

@syscl please see attached text file for the debug log from running ./deploy.sh -d. deply_sh_debug_output.txt

jdlives commented 7 years ago

Some gestures are now working, but not all. I tried configuring through system preferences, still won't work. What do I have to do? Thank you!

syscl commented 7 years ago

What gestures you indicate as not working? Please be specific!

syscl

syscl commented 7 years ago

@jdlives @aizigao My version of VoodooPS2 and ApplePS2SmartTouchPad have the following gestures that are working flawlessly and they function similar to a real MacBookPro:

In all, only active Launchpad and Mission control need to use System Prefences->Keyboard->Shortcuts to set up. All other gestures I mentioned above are all out of box and work flawlessly. I've tested on not only my XPS 15 9350 but also Dell Precision M3800.

So please, just be specific which gestures are not working for you!! I really get confused with vague description.

Thank you, syscl

mircoianese commented 7 years ago

@syscl Sorry, how do you enable 2 finger tap 3D Touch? right now for me it's working only with 3 fingers tap, and I often fail with three fingers and it gets it as a click. I think that with two fingers it would be easier (I don't use two fingers right click so it would be perfect)

syscl commented 7 years ago

@ZombieTheBest Sorry, my typo, 2finger tap for 3D touch only available for ApplePS2SmartTouchPad at the moment.

VoodooPS2 only have 3finger and 4finger tap for 3D touch.

syscl

mircoianese commented 7 years ago

Okay, thanks @syscl ApplePS2SmartTouchPad is not working for me, so I will keep VoodooPS2, hoper the feature will be available soon! 👍

syscl commented 7 years ago

@ZombieTheBest A real MacBook use 3finger tap as look up function.

And, I need to see if there's a way to separate 2finger short tap and 2 finger long tap, because 2finger short tap is already occupied by clicking function. I need time which I don't have at this stage(exams).

syscl

jdlives commented 7 years ago

@syscl Hi! I was able to configure it through the keyboard shortcuts! Thank you so much syscl! Can I ask what bootloader do you use post installation? Because I've been having problem when booting (sometimes it takes a long time). Also when waking up from sleep( sometimes it won't wake and if it does sometimes the usb ports no longer work. Thank you! ALMOST PERFECT, LITTLE MORE PUSH! THANKS TO YOU!!

nos1609 commented 7 years ago

We have 2 different approaches using the touchpad on our laptop. The PS/2 one and the I2C one. The first ine was made for compatibility with older OSes while the second one is the real interface tha is used there. The same approach is used on new MBP2016, that is why it is a bit difficult installing Linux on them. To make the story short here is an Issue I opened to bring up the right way to use our touchpad under macOS.

svindled commented 7 years ago

@syscl I know currently MacBooks have 2f swipe from the edge open notifications. Is it possible to get that gesture working?

syscl commented 7 years ago

Hi @squash- , set it through setting... snip20170322_2

syscl

svindled commented 7 years ago

@syscl Wow! Thank you!

mircoianese commented 7 years ago

@syscl How to enable pinch-to-zoom in Safari with touchpad? Option in "TouchPad Settings" is not working.

schermata 2017-03-23 alle 11 12 14

Thank you!

syscl commented 7 years ago

@ZombieTheBest Zoom in/out has been removed intentionally because it's super unreliable.

You can bring it back by reverting the change here

syscl

mircoianese commented 7 years ago

@syscl I didn't applied last deploy, so i still have the previous version, but it's not working at all for me :D Hope this will be fixed somehow, as i think it is a pretty useful feature on a laptop :)

syscl commented 7 years ago

@ZombieTheBest Or really? I disable zoom in/out due to it's too buggy and always zoom in/out my contents these days(by testing), thus I disable it temporally. Need to improve this function. ApplePS2SmartTouchPad has the zoom in/out function but buggy as well.

syscl

mircoianese commented 7 years ago

@syscl Strage that was not working at all for me! Hope your exams are going well! 👍

mircoianese commented 7 years ago

@syscl One more thing. When you go to enable Trackpad Drag to drag things (you can do that under Accessibility -> Mouse and TrackPad -> Trackpad Settings) there are three options:

schermata 2017-03-25 alle 00 51 11

If you select the Without Drag Lockoption, which is supposed to automatically release the object you are dragging, it works, but there is a 1.5s delay from when you stop moving the object to when it is released. In Windows there is no delay, object is released instantly from when you stop dragging. I have checked and this is a MacOS X feature, and it seems like that the only way to disable this delay is by tweaking the driver. I have no idea on how to do this, may you look into this? It's very annoying for me and for many many other people out there 👎
Thank you

louwe commented 7 years ago

I find that dragging works really reliably on the touch screen. Unfortunately with the touchscreen, you don't have the fine control you need for resizing windows though.