Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1517524 - regression: i8042 touchpad disappears during a resume [Dell Latitude E5450]
Summary: regression: i8042 touchpad disappears during a resume [Dell Latitude E5450]
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 27
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-26 11:50 UTC by Alan Jenkins
Modified: 2018-02-20 20:44 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-20 20:44:17 UTC


Attachments (Terms of Use)
Kernel log including the failure (deleted)
2017-11-26 11:50 UTC, Alan Jenkins
no flags Details

Description Alan Jenkins 2017-11-26 11:50:07 UTC
Created attachment 1359138 [details]
Kernel log including the failure

Description of problem:

Twice now, after resume from sleep, I notice my touchpad, pointing stick and associated buttons have stopped working.

This has never happened before.  I've been using this hardware for a year.  I did not upgrade the firmware any time recently.  Therefore I'm suspecting a kernel regression.

System is a Dell Latitude E5450.


Version-Release number of selected component (if applicable):
kernel-core-4.13.13-300.fc27.x86_64

Last previous two kernels:
4.13.13-200.fc26.x86_64
4.13.12-200.fc26.x86_64


Logs actually suggest it happened 3 times.

$ journalctl --since=-1month |grep "Can't reactivate AUX"
Nov 22 22:24:43 alan-laptop kernel: i8042: Can't reactivate AUX port
Nov 22 22:24:47 alan-laptop kernel: i8042: Can't reactivate AUX port
Nov 23 08:40:19 alan-laptop kernel: i8042: Can't reactivate AUX port
Nov 23 08:40:20 alan-laptop kernel: i8042: Can't reactivate AUX port
Nov 26 11:16:59 alan-laptop kernel: i8042: Can't reactivate AUX port
Nov 26 11:17:01 alan-laptop kernel: i8042: Can't reactivate AUX port


$ dmesg | grep i8042
[    0.618298] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    0.623691] i8042: Warning: Keylock active
[    0.625987] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.625989] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.627889] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    1.705474] input: AlpsPS/2 ALPS DualPoint Stick as /devices/platform/i8042/serio1/input/input7
[    1.717367] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input6
[   13.000407] dell_laptop: Using i8042 filter function for receiving events
[99653.305319] i8042: Can't write CTR while closing AUX port
[99653.827546] i8042: Can't reactivate AUX port
[99654.782157] i8042: Can't write CTR while closing AUX port
[99655.308107] i8042: Can't reactivate AUX port
[99665.080618] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input27


After the failure, I can see that input4 and input7 are just gone.

$ ls /sys/devices/platform/i8042/serio1/input
ls: cannot access '/sys/devices/platform/i8042/serio1/input': No such file or directory
$ ls /sys/devices/platform/i8042/serio1/
bind_mode  description  drvctl  firmware_id  id  modalias  power  subsystem  uevent

Comment 1 Alan Jenkins 2017-11-26 12:44:10 UTC
I am not able to reproduce the issue on demand.  That would be too easy :(.

Rebooting clears the error.  Using `drvctl` to rebind the serio driver does not.  E.g.

echo -n psmouse | sudo tee /sys/devices/platform/i8042/serio1/drvctl

prints a "No such device" error, and logs the same messages

[102564.603515] i8042: Can't write CTR while closing AUX port
[102565.127004] i8042: Can't reactivate AUX port

I am able to get i8042 debugging info during the above command.  At least in this case, it seems there is some timeout.

echo 1 | sudo tee /sys/module/i8042/parameters/debug; sleep 2; echo -n psmouse | sudo tee /sys/devices/platform/i8042/serio1/drvctl; sleep 2; echo 0 | sudo tee /sys/module/i8042/parameters/debug

[103113.708077] i8042: [103119551] ** <- i8042 (interrupt, 0, 1)
[103115.679053] i8042: [103121522] d4 -> i8042 (command)
[103115.680260] i8042: [103121523] f2 -> i8042 (parameter)
[103115.682534] i8042: [103121525] fc <- i8042 (interrupt, 1, 12)
[103115.682569] i8042: [103121526] 60 -> i8042 (command)
[103116.205266] i8042: [103122048]      -- i8042 (wait write timeout)
[103116.205306] i8042: Can't write CTR while closing AUX port
[103116.731626] i8042: Can't reactivate AUX port


I'm not sure what else I can try.  In particular, if there's something else I should try for the next time the bug happens.

Comment 2 Laura Abbott 2018-02-20 19:54:19 UTC
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  As kernel maintainers, we try to keep up with bugzilla but due the rate at which the upstream kernel project moves, bugs may be fixed without any indication to us. Due to this, we are doing a mass bug update across all of the Fedora 27 kernel bugs.
 
Fedora 27 has now been rebased to 4.15.3-300.f27.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you experience different issues, please open a new bug report for those.

Comment 3 Alan Jenkins 2018-02-20 20:44:17 UTC
This hasn't happened again.  Hopefully because the kernel was fixed :).


Note You need to log in before you can comment on or make changes to this bug.