roadrunner2/macbook12-spi-driver

Touchbar doesn't work on MBP13,3 15''

Jemmy1228 opened this issue · 2 comments

I installed Ubuntu 18.04 with kernel 4.15.0-43-generic on MBP13,3 15'' (with touchbar)
Basic keyboard input works after installing this driver. However the touchbar and Fn key don't work, the touchbar shows nothing, and the backlit keyboard doesn't light up, just as if the computer is shutdown.
And I find that sometimes mouse clicks automatically when typing, I really don't know why ..?
Thank you very much!

Below is some info about my issue:

$ dmesg |grep apple
[    2.094621] applespi: loading out-of-tree module taints kernel.
[    2.094635] applespi: module verification failed: signature and/or required key missing - tainting kernel
[    2.301905] apple-ibridge: registered driver 'apple-ib-touchbar'
[    2.306140] apple-ibridge: registered driver 'apple-ib-als'
[    2.443752] applespi: spi-device probe done: spi-APP000D:00
[    2.446653] applespi: modeswitch done.
[    8.450944] apple_gmux: Found gmux version 4.0.29 [indexed]
[    8.906353] applesmc: key=858 fan=2 temp=46 index=45 acc=0 lux=0 kbd=0
[    8.906439] applesmc applesmc.768: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
$ lsinitramfs /boot/initrd.img-4.15.0-43-generic | grep -iE "apple"
lib/modules/4.15.0-43-generic/kernel/drivers/hid/hid-apple.ko
lib/modules/4.15.0-43-generic/kernel/drivers/hid/hid-appleir.ko
lib/modules/4.15.0-43-generic/updates/dkms/apple-ibridge.ko
lib/modules/4.15.0-43-generic/updates/dkms/apple-ib-als.ko
lib/modules/4.15.0-43-generic/updates/dkms/applespi.ko
lib/modules/4.15.0-43-generic/updates/dkms/apple-ib-tb.ko
$ cat /etc/initramfs-tools/modules 
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod

# drivers for keyboard+touchpad
applespi
apple-ib-tb
intel_lpss_pci
spi_pxa2xx_platform
apple_ibridge
apple_ib_als

See the note near the top of the README: since you're running a pre-4.16 kernel you'll need to check out the legacy branch. Alternatively in your case, and probably the better solution, install and boot a more recent Ubuntu HWE kernel.

Opps! I really missed that sentence 😅
Sorry about that .... ThankU