Addendum: Got lucky and the hardware was found at next boot. Does not happen often, though. For comparison, this is the dmesg log when it works as it should:
[ 0.000000] Linux version 4.15.0-22-generic (buildd@lgw01-amd64-013) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 (Ubuntu 4.15.0-22.24-generic 4.15.17) [ ... ] [ 1.648084] usb 1-5: new full-speed USB device number 3 using xhci_hcd [ 1.798129] usb 1-5: New USB device found, idVendor=05ac, idProduct=0273 [ 1.798131] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.798132] usb 1-5: Product: Apple Internal Keyboard / Trackpad [ 1.798133] usb 1-5: Manufacturer: Apple Inc. [ 1.798134] usb 1-5: SerialNumber: D3H63923PU1GHJGA36PF [ 1.803481] hidraw: raw HID events driver (C) Jiri Kosina [ 1.811234] usbcore: registered new interface driver usbhid [ 1.811235] usbhid: USB HID core driver [ 1.813483] input: Broadcom Corp. Bluetooth USB Host Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:05AC:8290.0001/input/input5 [ 1.813672] apple 0003:05AC:0273.0003: hiddev0,hidraw0: USB HID v1.10 Device [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:14.0-5/input0 [ 1.813872] input: Apple Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:05AC:0273.0004/input/input6 [ 1.872224] hid-generic 0003:05AC:8290.0001: input,hidraw1: USB HID v1.11 Keyboard [Broadcom Corp. Bluetooth USB Host Controller] on usb-0000:00:14.0-3/input0 [ 1.872322] input: Broadcom Corp. Bluetooth USB Host Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:05AC:8290.0002/input/input7 [ 1.932214] apple 0003:05AC:0273.0004: input,hiddev1,hidraw2: USB HID v1.10 Keyboard [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:14.0-5/input1 [ 1.932241] hid-generic 0003:05AC:8290.0002: input,hidraw3: USB HID v1.11 Mouse [Broadcom Corp. Bluetooth USB Host Controller] on usb-0000:00:14.0-3/input1 [ 1.932390] apple 0003:05AC:0273.0005: hiddev2,hidraw4: USB HID v1.10 Device [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:14.0-5/input3 [ 1.932500] apple 0003:05AC:0273.0006: hiddev3,hidraw5: USB HID v1.10 Device [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:14.0-5/input4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776266 Title: Touchpad and keyboard of MacBook unresponsive To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1776266/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs