Hi,

Janna Martl <[email protected]> writes:
>> > On 2016-04-04 9:06:28, Olliver Schinagl wrote:
>> >> It spews some messages in dmesg (taking some 15 seconds) and only then, 
>> >> the
>> >> keyboard starts to work again.
>> 
>> which messages ? We need these dmesg messages
>
> Olliver posted his dmesg here [0] (I excerpted his message when replying
> to it). I tried with 4.6.0-rc3 and the relevant messages are:

okay, thanks :)

> Apr 11 01:51:54 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:51:54 kernel: usb 1-3: hub failed to enable device, error -62
> Apr 11 01:51:59 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:00 kernel: usb 1-3: new full-speed USB device number 3 using 
> xhci_hcd
> Apr 11 01:52:00 kernel: usb 2-3: device not accepting address 2, error -62
> Apr 11 01:52:00 kernel: hub 1-3:1.0: USB hub found
> Apr 11 01:52:00 kernel: hub 1-3:1.0: 3 ports detected
> Apr 11 01:52:00 kernel: usb 1-5: new full-speed USB device number 4 using 
> xhci_hcd
> Apr 11 01:52:00 kernel: usb 1-3.1: new full-speed USB device number 5 using 
> xhci_hcd
> Apr 11 01:52:00 kernel: usb 1-3.2: new full-speed USB device number 6 using 
> xhci_hcd
> Apr 11 01:52:00 kernel: usb 1-3.3: new full-speed USB device number 7 using 
> xhci_hcd
> Apr 11 01:52:05 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:11 kernel: xhci_hcd 0000:00:14.0: Command completion event does 
> not match command
> Apr 11 01:52:11 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:11 kernel: usb 2-3: device not accepting address 3, error -62
> Apr 11 01:52:13 kernel: random: nonblocking pool is initialized
> Apr 11 01:52:22 kernel: xhci_hcd 0000:00:14.0: Command completion event does 
> not match command
> Apr 11 01:52:22 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:27 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:27 kernel: usb 2-3: device not accepting address 4, error -62
> Apr 11 01:52:33 kernel: xhci_hcd 0000:00:14.0: Command completion event does 
> not match command
> Apr 11 01:52:33 kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for 
> setup device command
> Apr 11 01:52:38 kernel: usb 2-3: device not accepting address 5, error -62
> Apr 11 01:52:38 kernel: usb usb2-port3: unable to enumerate USB device
> Apr 11 01:52:38 kernel: input: bcm5974 as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input12
> Apr 11 01:52:38 kernel: hidraw: raw HID events driver (C) Jiri Kosina
> Apr 11 01:52:38 kernel: usbcore: registered new interface driver bcm5974
> Apr 11 01:52:38 kernel: usbcore: registered new interface driver usbhid
> Apr 11 01:52:38 kernel: usbhid: USB HID core driver
> Apr 11 01:52:38 kernel: mousedev: PS/2 mouse device common for all mice
> Apr 11 01:52:38 kernel: input: Apple Inc. Apple Internal Keyboard / Trackpad 
> as 
> /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:05AC:0259.0001/input/input13
> Apr 11 01:52:38 kernel: usbcore: registered new interface driver btusb
> Apr 11 01:52:38 kernel: apple 0003:05AC:0259.0001: input,hidraw0: USB HID 
> v1.11 Keyboard [Apple Inc. Apple Internal Keyboard / Trackpad] on 
> usb-0000:00:14.0-5/input0
> Apr 11 01:52:38 kernel: apple 0003:05AC:0259.0002: hidraw1: USB HID v1.11 
> Device [Apple Inc. Apple Internal Keyboard / Trackpad] on 
> usb-0000:00:14.0-5/input1
> Apr 11 01:52:38 kernel: usb 1-3.1: USB disconnect, device number 5
>
> I can post a full log if you want.

not needed, this is good enough. I was chatting with Mathias about this
and it really seems like LPM is what's causing problems here.

> Also, once in a while it never finds my keyboard, and I get messages:
>
> Jan 07 03:03:46 kernel: xhci_hcd 0000:00:14.0: Secondary root hub is not 
> suspended
> Jan 07 03:03:46 kernel: pci_pm_runtime_suspend(): 
> hcd_pci_runtime_suspend+0x0/0x60 [usbcore] returns -16

hmm, this is just telling you that the host controller can't be
suspended right now. Shouldn't be harmful :-s

-- 
balbi

Attachment: signature.asc
Description: PGP signature

Reply via email to