Bug 1875339 - No PAD and No Keyboard with kernel 5.8.4-200 on ASUS R55 series
Summary: No PAD and No Keyboard with kernel 5.8.4-200 on ASUS R55 series
Keywords:
Status: CLOSED DUPLICATE of bug 1876997
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-03 11:08 UTC by Felix
Modified: 2020-09-16 16:29 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-16 16:29:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ] (85.27 KB, text/plain)
2020-09-04 09:22 UTC, Felix
no flags Details
Dmesg to see default on 1190, 1184, 1171 etc... (85.24 KB, text/plain)
2020-09-06 07:29 UTC, Felix
no flags Details
acpidump and evemu-record with asus R558U. there is not SW_TABLET_MODE. He seeing WMI HOTKEYS (but nothing change, the pad and keyboard still not working (4.22 KB, text/plain)
2020-09-16 08:36 UTC, Felix
no flags Details

Description Felix 2020-09-03 11:08:06 UTC
1. Please describe the problem:on ASUS R55 serie No Pad, No Keyboard, we have to return to old kernel 5.7


2. What is the Version-Release number of the kernel:5.8.4-200


3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : Yes, i return to 5.7


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below: Install kernel 5.8 and start


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``: No


6. Are you running any modules that not shipped with directly Fedora's kernel?: no pad, no keyboard, i put an USB mouse and Usb Keyboard


7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 Hans de Goede 2020-09-03 13:07:31 UTC
The 5.8.x kernels accidentally have the XHCI driver built as a module rather then being built into the kernel.

This may be related to your issue. Here is a test kernel-build which fixes this:

https://koji.fedoraproject.org/koji/taskinfo?taskID=50680004

Can you please give this a try?

See here for some generic instructions for testing kernels directly from koji:
https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt

If that does not help, please attach dmesg info as requested in the template for kernel bugs.

Comment 2 Felix 2020-09-04 09:22:06 UTC
Created attachment 1713751 [details]
bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]

[   98.046896] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]

Comment 3 Felix 2020-09-06 07:29:15 UTC
Created attachment 1713853 [details]
Dmesg to see default on 1190, 1184, 1171 etc...

no pad, no keyboard on this device.

Comment 4 Martin Vala 2020-09-16 06:52:39 UTC
Still not working with 5.8.8-200.fc32.x86_64

Comment 5 Hans de Goede 2020-09-16 07:02:56 UTC
Ugh, I'm afraid that this is likely my fault.

I added support for SW_TABLET_MODE to the asus-wmi kernel driver and the patch for that has landed in the 5.8 kernel.

Can you please run:

sudo dnf install evemu acpica-tools
evemu-record

And in evemu-record select the "Asus WMI hotkeys" device?

I expect that with the 5.8 kernel, you will see that that input device has a SW_TABLET_MODE switch and that that switch reports 1.

This causes libinput to think that the device is a 2-in-1 with 360 degree (yoga style) hinges which has been folded into tablet-mode and then it suppresses kbds and touchpad events for the internal kbd and touchpad.

If there indeed is a SW_TABLET_MODE switch being reported and it always reports 1, please run:

sudo acpidump -o acpidump-asus-<your-model-number>

And then attach the acpidump-asus-<your-model-number> file here?

Comment 6 Felix 2020-09-16 08:36:07 UTC
Created attachment 1715032 [details]
acpidump and evemu-record with asus R558U. there is not SW_TABLET_MODE. He seeing WMI HOTKEYS (but nothing change, the pad and keyboard still not working

Comment 7 Felix 2020-09-16 09:48:53 UTC
excuse SW_TABLET_MODE state is 1, but nothing happen about keyboard and pad....

Comment 8 Hans de Goede 2020-09-16 13:09:17 UTC
The acpidump command generates the file named by the "-o <filename>" option, please attach that file here for all Asus models you have access to.

Note I'm working on a fix for this.

Comment 9 Hans de Goede 2020-09-16 13:15:22 UTC
Also please provide the output of the following command run as a regular user:

grep . /sys/class/dmi/id/* 2> /dev/null

Comment 10 Hans de Goede 2020-09-16 16:26:18 UTC
I've started a kernel test-build with a patch added which fix this:

https://koji.fedoraproject.org/koji/taskinfo?taskID=51598665

ATM this is still building (this takes a couple of hours). Once the build is finished please give this kernel a try. As soon as I've confirmation that the patch indeed fixes things I will submit it for inclusion into the Fedora kernels (as a downstream patch for now).

See here for some generic instructions on how to test a kernel directly from koji (our buildsystem):
https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt

Comment 11 Hans de Goede 2020-09-16 16:29:33 UTC
This bug is currently being tracked in more then one bugzilla. Most of the initial debugging has been done in bug 1876997, so I'm marking this one as a duplicate of that bug.

Please add any new comments / test findings there.

*** This bug has been marked as a duplicate of bug 1876997 ***


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