PDA

View Full Version : macbook pro 2015 touchpad/bluetooth adapter do not work



si13nt7ruth
2015-09-12, 09:55
I have recently installed Kali 2.0 on my macbook pro 2015 retina and on my friends macbook pro 2015 retina (we got them at the same time from the same place)

after installing kali on both our laptops,

1. his one had extra options in settings>mouse&trackpad to enable/disable tapping/scrolling/right click etc while mine didnt

i compared the following conf files and they are identical

/usr/share/X11/xorg.conf.d/10-evdev.conf & 50-synaptics.conf

here are the contents of them

10-evdev.conf

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection


50-synaptics.conf

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection
# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "SHMConfig" "true"
EndSection


i have tried updating the drivers - it seems i have the latest drivers loaded - although when i try to use the synclient command i get the following

Couldn't find synaptics properties. No synaptics driver loaded?


any ideas?? ive tried many methods but to no avail


2. after installing kali 2.0 on both our systems, his laptop had the bluetooth adapter working perfectly on install, mine did not

im totally clueless in the bluetooth section so any help is appreciated..

thanks

justa2e2
2015-10-19, 00:14
I am in the same boat as you. Don't have the options in mouse/trackpad. It works fine in a VM but not on install to the HD or live.

***Update*** Downloaded and compiled kernel 4.2.2 and upon reboot everything is working perfectly. I haven't seen any side effects so far but if I do I'll post them up.

justa2e2
2015-10-22, 01:18
Finally got everything sorted out. Looks like the kernel does not support the new force trackpad in the newer macbook pro's. I downloaded and compiled the 4.2.2 kernel from kernel.org and now everything functions the way it should. I haven't seen any side effects yet but if I do I'll post it up.

brooksly.com
2016-01-05, 20:34
justa2e2-So I build by kali system and was working on the trackpad issues. Ran across this post and did the same and promptly messed up my system. I can boot into OSX but when I get into kali I have no keyboard/mouse. So I did something wrong which does not surprise me as I've not compiled many kernels and it's been a long time.

My question is 2 fold: 1. should I start over? and 2. would you be willing to guide me a bit with the process?

Thanks for taking the time on your post.....Chris

brooksly.com
2016-01-20, 01:06
Ok, so I reloaded my 2015 MBP. It's now a single boot Kali system. I have things running quite well but I can not get past this trackpad issue. Kinda strange there is not a lot of people running this on the newer MBP. Anyway, it looks like the best course of action is to compile with 4.2.2. Question, justa2e2, can you give me the steps you took? I'm not looking for the direct code to run in terminal, just an overview of what you went through to get it done.

Thanks in advance.....Chris

brooksly.com
2016-01-22, 14:33
ok, So i have this working. I wanted to share in case someone else comes across this issue.

So knowing that a newer kernel would work, thanks to justa2e2, I set out figuring out how to compile a new kernel with the existing settings. What ended up working was to follow the official kali doc for "Recompiling the Kali Linux Kernel". Skip the step for downloading the kernel source and download the current release from kernel.org.

Works great with 4.4.0, thanks for the direction I was able to get from the forums.