[Kernel-packages] [Bug 1776266] Re: Touchpad and keyboard of MacBook unresponsive

2018-08-22 Thread raffraffraff
Apologies, I see that yours is now in this state permanently too, and
your also GRUB works fine (which is super annoying and proves that the
hardware is capable of operating to some degree)

-- 
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.00] 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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  ole2200 F pulseaudio
   /dev/snd/controlC0:  ole2200 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


[Kernel-packages] [Bug 1776266] Re: Touchpad and keyboard of MacBook unresponsive

2018-08-22 Thread raffraffraff
Did this issue return? Is it still happening sporadically?

I have exactly the same issue (I'm even getting the same usb bus/device
numbers). Sometimes it works fine first time. sometimes it fails until I
power cycles a few times until it eventually detects the hardware.
Unfortunately today I've restarted about a dozen times and it doesn't
work so I'm using an external keyboard/mouse (which uses a different
internal hub presumably). Unfortunately this doesn't appear to be a
kernel/ubuntu bug but a hardware issue on the Macbook. What's really
annoying is that the keyboard works in GRUB but fails to get initialized
by the kernel.

Time to find that Apple hardware geek on YouTube...

-- 
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.00] 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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  ole2200 F pulseaudio
   /dev/snd/controlC0:  ole2200 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
  

[Kernel-packages] [Bug 1668105] Re: xhci_hcd module turns off usb host controller on boot

2018-01-04 Thread raffraffraff
Update: I've compiled the 4.13.19 kernel without USB 3 support (in the
hope that it would fall back to the USB 2 module - it doesn't - you end
up with no keyboard or trackpad). If you're running a system that has a
BIOS, and it allows you to turn off USB 3.0 support, that seems to be
the only option. Otherwise it appears that you're stuck with
intermittent USB. It sucks that MacBooks don't have ethernet... I'm
using a shared wifi AP even though I have a gigabit cable on my desk :(

There's a ton of USB 3.0 kernel bug tickets on launchpad, and in most
cases they end up expiring due to lack of updates. This one will likely
go the same way.

If ANYONE with a MacBook has managed to get it to work without USB 3.0
in the kernel, post here or PM me.

-- 
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/1668105

Title:
  xhci_hcd module turns off usb host controller on boot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  So we know this xhci_kcd was always shit in that it turns off the
  console usb keyboard for long running computers and that it on abrupt
  termination of Linux puts usb in a 12x slower mode. It is buggy, it
  was always buggy, and its getting worse.

  With Linux 4.8.0-37, this crappy software decides to halt the host
  controller on boot, ie. turn off the console keyboard preventing any
  boot. I cannot think of any situation where anyone would want their
  host controller halted.

  This is MacBook Pro 2015. So, it's already broken in UEFI-grub as it
  always was, ie. every key press takes 8 seconds, but you only need
  two, so you can boot in 16 s.

  I tried to disable the xhci_kcd crap by using kernel parameter
  noxhci_port_switch or modprobe.blacklist=xhci_hcd neither which works.

  Because it has crap in UEFI, the computer will not boot any external
  hard drive or usb fob. The only thing that works is Apple rescue that
  gets rid of the xhci garbage, and the boot os x immediately after
  that.

  So the log output
  xhci_hcd :00:14.0: Timeout while waiting for setup device command
  xhci_hcd :00:14.0: xHCI host not responding to stop endpoint command.
  - and a bit later:
  xhci_hcd :00:14.0: Assuming host is dying, halting host.
  xhci_hcd :00:14.0: HC died; cleaning up

  This clown programming of Linux has to stop. Why would anyone ever want their 
host controller halted?
  --- 
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  foxyboy5662 F pulseaudio
   /dev/snd/controlC0:  foxyboy5662 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.10
  HibernationDevice: RESUME=/dev/mapper/C89-SWAP
  MachineType: Apple Inc. MacBookPro12,1
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.8.0-39-generic 
root=/dev/mapper/C89-RFS ro i915.enable_rc6=0
  ProcVersionSignature: Ubuntu 4.8.0-39.42-generic 4.8.17
  RelatedPackageVersions:
   linux-restricted-modules-4.8.0-39-generic N/A
   linux-backports-modules-4.8.0-39-generic  N/A
   linux-firmware1.161.1
  Tags:  yakkety
  Uname: Linux 4.8.0-39-generic x86_64
  UpgradeStatus: Upgraded to yakkety on 2016-11-16 (108 days ago)
  UserGroups: adm docker libvirt libvirtd sudo
  _MarkForUpload: True
  dmi.bios.date: 10/26/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0167.B15.1510261437
  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.0167.B15.1510261437:bd10/26/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  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/linux/+bug/1668105/+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


[Kernel-packages] [Bug 1668105] Re: xhci_hcd module turns off usb host controller on boot

2017-12-15 Thread raffraffraff
I'm also using a MacBook Pro 2015, but with Ubuntu 17.10. I'm not seeing
exactly the same symptoms. Specifically, I do not get 'Assuming host is
dying, halting host.'

I do get these symptoms:
1. On boot, each key press takes about 8 seconds (affects Mac restore and Grub, 
making it almost impossible to use them). By the time the Linux kernel starts, 
everything speeds up, and I have no problem entering a luks passphrase.
2. Very occasionally my keyboard and mouse completely stop working and I have 
to reboot
3. Resuming from sleep, there is a 3-4 minutes period where USB devices won't 
work and I get a ton of "xhci_hcd :00:14.0: Timeout while waiting for setup 
device command" messages.

I've had these issues since 16.04 I think.

I'm also going to compile a kernel with xhci_hcd as a module and then
blacklist (just to test).

-- 
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/1668105

Title:
  xhci_hcd module turns off usb host controller on boot

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  So we know this xhci_kcd was always shit in that it turns off the
  console usb keyboard for long running computers and that it on abrupt
  termination of Linux puts usb in a 12x slower mode. It is buggy, it
  was always buggy, and its getting worse.

  With Linux 4.8.0-37, this crappy software decides to halt the host
  controller on boot, ie. turn off the console keyboard preventing any
  boot. I cannot think of any situation where anyone would want their
  host controller halted.

  This is MacBook Pro 2015. So, it's already broken in UEFI-grub as it
  always was, ie. every key press takes 8 seconds, but you only need
  two, so you can boot in 16 s.

  I tried to disable the xhci_kcd crap by using kernel parameter
  noxhci_port_switch or modprobe.blacklist=xhci_hcd neither which works.

  Because it has crap in UEFI, the computer will not boot any external
  hard drive or usb fob. The only thing that works is Apple rescue that
  gets rid of the xhci garbage, and the boot os x immediately after
  that.

  So the log output
  xhci_hcd :00:14.0: Timeout while waiting for setup device command
  xhci_hcd :00:14.0: xHCI host not responding to stop endpoint command.
  - and a bit later:
  xhci_hcd :00:14.0: Assuming host is dying, halting host.
  xhci_hcd :00:14.0: HC died; cleaning up

  This clown programming of Linux has to stop. Why would anyone ever want their 
host controller halted?
  --- 
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  foxyboy5662 F pulseaudio
   /dev/snd/controlC0:  foxyboy5662 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.10
  HibernationDevice: RESUME=/dev/mapper/C89-SWAP
  MachineType: Apple Inc. MacBookPro12,1
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.8.0-39-generic 
root=/dev/mapper/C89-RFS ro i915.enable_rc6=0
  ProcVersionSignature: Ubuntu 4.8.0-39.42-generic 4.8.17
  RelatedPackageVersions:
   linux-restricted-modules-4.8.0-39-generic N/A
   linux-backports-modules-4.8.0-39-generic  N/A
   linux-firmware1.161.1
  Tags:  yakkety
  Uname: Linux 4.8.0-39-generic x86_64
  UpgradeStatus: Upgraded to yakkety on 2016-11-16 (108 days ago)
  UserGroups: adm docker libvirt libvirtd sudo
  _MarkForUpload: True
  dmi.bios.date: 10/26/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0167.B15.1510261437
  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.0167.B15.1510261437:bd10/26/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  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/linux/+bug/1668105/+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