mbp2018-bridge-drv icon indicating copy to clipboard operation
mbp2018-bridge-drv copied to clipboard

Mouse right click or taps not working

Open abhisek176 opened this issue 5 years ago • 92 comments

HI, Thanks for the great help with the modules. Keyboard and touchpad works just fine with MBP15,4. However, the right click and taps on the touchpad is a problem. Please let me know if something can be done.

abhisek176 avatar Jan 02 '20 20:01 abhisek176

Hi, try using bce together with hid-apple from https://github.com/MCMrARM/mbp2018-etc

Works fine for me on my 15.4.

yurnam avatar Jan 02 '20 20:01 yurnam

I did install both of them. But Audio,wifi and touchpad right click,scrolling and tap without clicks not working. Everything works for you? Can you tell me the Kernel Version or how do you ingest them?

abhisek176 avatar Jan 02 '20 21:01 abhisek176

i use 5.5-rc4 with the config attached. also applied only the keyboard and wifi patches from https://github.com/aunali1/linux-mbp-arch

just copied the .ko files in /lib/modules/$(uname -r) and ran depmod everything got loaded automatically on reboot.

Working:

  • touchbar,
  • audio (Speaker only)
  • Keyboard
  • Keyboard-backlight
  • nvme
  • Trackpad with right click, scroll and tap

Wifi and Bluetooth are currently not working, due to a new Broadcom chip (BCM4377) used in some of these models. See: https://github.com/Dunedan/mbp-2016-linux/issues/112

config.txt

yurnam avatar Jan 02 '20 22:01 yurnam

Thanks for the reply @yurnam . Could you please share an easy way to upgrade the kernel to 5.5-rc4 and if I can reinstall all of them at once (the available drivers)! That would be a great help. I am using Ubuntu 18.04

abhisek176 avatar Jan 02 '20 22:01 abhisek176

what kernel version are you using right now ? I'll write a tutorial tomorrow. :)

yurnam avatar Jan 02 '20 22:01 yurnam

I am using 5.0.0-37. That would be really awesome (waiting :+1: ). BTW I do not have to reinstall Ubuntu again, right (Just a noob's question :laughing: )?

abhisek176 avatar Jan 02 '20 22:01 abhisek176

No you don't have to reinstall ubuntu step 1 just follow this guide here: https://www.cyberciti.biz/tips/compiling-linux-kernel-26.html but make sure you do make modules_install INSTALL_MOD_STRIP=1 otherwise it will hang at grub

yurnam avatar Jan 02 '20 22:01 yurnam

This is great! Thanks! Is is needed to include @aunali1's patches here?

abhisek176 avatar Jan 02 '20 22:01 abhisek176

honestly i am not sure yet, i'll try it

yurnam avatar Jan 02 '20 22:01 yurnam

Alright then, I will go ahead and install the kernel along with the bce,hid-apple and touchbar drivers. Let me see if I can get things done now. Thanks a lot for your help. (Please do a tutorial on this as it would help a lot)

abhisek176 avatar Jan 02 '20 23:01 abhisek176

Hi @yurnam : Is it possible to edit these patches https://github.com/ppaulweber/linux-mba for 5.4.7. It seems all included. I am not able to append the .diff patches.

abhisek176 avatar Jan 03 '20 14:01 abhisek176

Tried with the latest kernel, still touchpad things are not working.. Rest are working fine .. @yurnam

abhisek176 avatar Jan 04 '20 15:01 abhisek176

can you tell me exactly whats working and what's not ?

yurnam avatar Jan 04 '20 15:01 yurnam

Working:

touchbar, audio (Speaker only) Keyboard Keyboard-backlight nvme Trackpad with only right or left click

Not working: Trackpad scroll, taps and both the clicks at once Fn key seems not working

abhisek176 avatar Jan 04 '20 15:01 abhisek176

https://github.com/yurnam/linux-mbp15-4 works for me

yurnam avatar Jan 04 '20 15:01 yurnam

Have you complied everything into this?

abhisek176 avatar Jan 04 '20 16:01 abhisek176

updated it a minute ago, bce and touchbar were added, but not compiling, now it's working w/o external patches,

also: please check if you have two finger scrolling enabled in gnome-settings ;)

yurnam avatar Jan 04 '20 17:01 yurnam

Gnome does not show any option for that.

abhisek176 avatar Jan 04 '20 17:01 abhisek176

gnome-settings --> Devices --> Mouse and Touchpad --> Two - Finger Scrolling

might be a bit off because mine is in German :)

yurnam avatar Jan 04 '20 17:01 yurnam

There are no option available : https://drive.google.com/file/d/1LZFESEISk3hY2-pVV0Ad_awqCmW3czpk/view?usp=drivesdk

abhisek176 avatar Jan 04 '20 17:01 abhisek176

should look like this

DeepinScreenshot_select-area_20200104182520

yurnam avatar Jan 04 '20 17:01 yurnam

right. :( what distro are you using. It does not look like Ubutnu!

abhisek176 avatar Jan 04 '20 17:01 abhisek176

I use ubuntu 19.10 with a custom theme

pls try downloading my repo and run the mk.sh script to install

yurnam avatar Jan 04 '20 17:01 yurnam

Alright. Let me try that. Otherwise I will use Ubuntu 19.10

abhisek176 avatar Jan 04 '20 17:01 abhisek176

19.10 required to blacklist the efivarfs module, otherwise it would crash on boot did not happen in 18.04

yurnam avatar Jan 04 '20 17:01 yurnam

*If this does not work that's the last option.. :(

abhisek176 avatar Jan 04 '20 17:01 abhisek176

[ make.log ](url)

abhisek176 avatar Jan 04 '20 21:01 abhisek176

problem compiling it.

abhisek176 avatar Jan 04 '20 21:01 abhisek176

Tried with Ubuntu 19.10. Same issue.. ;(

abhisek176 avatar Jan 04 '20 21:01 abhisek176

okay seems like i forgot to push to remote

should work now

yurnam avatar Jan 04 '20 21:01 yurnam