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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1776266

Title:
  Touchpad and keyboard of MacBook unresponsive

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The touchpad and keyboard of my Macbook are unresponsive in Ubuntu
  18.04. External USB devices are fine. At first it happened
  sporadically at boot or kicking in during operation, now it's a
  somewhat permanent state. In grub I can still use the keyboard, on the
  login screen not anymore.

  dmesg snippet of the relevant lines:

  [    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.644120] usb 1-5: new full-speed USB device number 3 using xhci_hcd
  [    1.772223] usb 1-5: device descriptor read/64, error -71
  [    2.008240] usb 1-5: device descriptor read/64, error -71
  [    2.244154] usb 1-5: new full-speed USB device number 4 using xhci_hcd
  [    2.372240] usb 1-5: device descriptor read/64, error -71
  [    2.608239] usb 1-5: device descriptor read/64, error -71
  [    2.716180] usb usb1-port5: attempt power cycle
  [    3.368155] usb 1-5: new full-speed USB device number 5 using xhci_hcd
  [    3.368385] usb 1-5: Device not responding to setup address.
  [    3.576372] usb 1-5: Device not responding to setup address.
  [    3.784150] usb 1-5: device not accepting address 5, error -71
  [    3.912155] usb 1-5: new full-speed USB device number 6 using xhci_hcd
  [    3.912397] usb 1-5: Device not responding to setup address.
  [    4.120389] usb 1-5: Device not responding to setup address.
  [    4.328154] usb 1-5: device not accepting address 6, error -71
  [    4.328190] usb usb1-port5: unable to enumerate USB device

  Apparently touchpad and keyboard are connected internally via USB?

  This happens with the current Ubuntu generic kernel (4.15.0-22) as
  well as vanilla upstream kernel 4.17. In fact, it happened already
  with Ubuntu 16.04 and whatever the recent kernel there was.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-22-generic 4.15.0-22.24
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  ole        2200 F.... pulseaudio
   /dev/snd/controlC0:  ole        2200 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jun 11 19:25:07 2018
  InstallationDate: Installed on 2018-06-01 (10 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 05ac:8290 Apple, Inc. 
   Bus 001 Device 031: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
   Bus 001 Device 030: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Apple Inc. MacBookPro12,1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic 
root=UUID=28bf4396-f8c7-4936-9d45-d970c49ef1f3 ro 
resume=/dev/disk/by-uuid/28bf4396-f8c7-4936-9d45-d970c49ef1f3 
resume_offset=34816 quiet splash vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-22-generic N/A
   linux-backports-modules-4.15.0-22-generic  N/A
   linux-firmware                             1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/09/2018
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0176.B00.1804091715
  dmi.board.name: Mac-E43C1C25D4880AD6
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro12,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-E43C1C25D4880AD6
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP121.88Z.0176.B00.1804091715:bd04/09/2018:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  dmi.product.family: MacBook Pro
  dmi.product.name: MacBookPro12,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1776266/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to