-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UX410UA: Missing dom0 kernel modules for asus wmi #5453
Comments
Looks like asus-wmi module depends on PCI hotplug, which we intentionally disable for security reasons (make it harder to perform DMA attack by plugging in ExpressCard/Thunderbolt device). Ideally we'd block it at Xen level, but it isn't possible yet. |
Yes, I was beginning to wonder why the modules aren't there. I recompiled the dom0 kernel using qubes-builder setup and the modules did not appear in the directory, which was odd since they were enabled by default in config-base:
The only way I can currently disable the touchpad is by doing "rmmod i2c-hid" (not that the touchpad works properly, I'm investigating that part too). |
Hi, |
I can confirm that if we remove the security put into |
Thanks for the input you have provided on clarifying this issue. I'm evaluating whether disabling this security measure is worth the risk given my situation. Please see my two questions below
@fepitre , would you be so kind as to providing steps on how this could be achieved? namely, what config-qubes is and where to find it. what to modify, and how to implement the modification into a working qubes system. I know your time is valuable so I really appreciate any elaborations you could provide. Regards, |
From what I remember you just need to remove this line https://github.com/QubesOS/qubes-linux-kernel/blob/master/config-qubes#L77 and then do build the kernel by yourself. You can bump the If you don't know how to build a Qubes component, you can have a look here: https://www.qubes-os.org/doc/qubes-builder/ else you can also ask here. I'm pretty sure to have written one or two times somewhere on the lists on how to build the kernel. |
@fepitre, Thank you for your explanations. I can also confirm that removing that line is all what is needed to get the modules to load. |
Sorry to be a pain. Can anyone @someuser7882 @fepitre explain how to do this in a little more detail please ? I am pretty new to all this I only installed qubes yestderday and I came from windows :-| Do I have to build the whole OS from scratch and then do a fresh install ? If it is just a "component" of the OS do I "make a customized build" ? do I use "pre built qubes packages" ? The "rel" thing @fepitre mentioned and linked, seems to be completely blank ? Again sorry for being stupid and thanks in advance to anyone who can help me. Also @qwrd you mention the touchpad not working "properly", mine works for touch clicks and two finger scrolling BUT the 3 finger swipe for "back" and "forward" in firefox etc does not work. BTW my laptop is a Asus N56JR. |
This comment has been minimized.
This comment has been minimized.
Still an issue, though arguably a duplicate of #6620. |
This issue has been closed as a "duplicate." This means that another issue exists that is very similar to or subsumes this one. If any useful information on this issue is not already present on the other issue, please add it in a comment on the other issue. Here are some common cases of duplicate issues:
By default, the newer issue will be closed in favor of the older issue. However, we make exceptions when we determine that it would be significantly more useful to keep the newer issue open instead of the older one. We respect the time and effort you have taken to file this issue, and we understand that this outcome may be unsatisfying. Please accept our sincere apologies and know that we greatly value your participation and membership in the Qubes community. If anyone reading this believes that this issue was closed in error or that the resolution of "duplicate" is not accurate, please leave a comment below saying so, and we will review this issue again. For more information, see How issues get closed. |
Qubes OS version
R4.0 (4.0.2-rc2)
Affected component(s) or functionality
Laptop keyboard
Brief summary
Some Fn+X keyboard buttons are not working
To Reproduce
Expected behavior
All Fn+X keys should work.
Actual behavior
Some Fn+X keys like keyboard backlight brightness (Fn+F3, Fn+F4) and touchpad toggle (Fn+F9) are not working. Others like Fn+F5/F6/F7 (display brightness) and Fn+F10/F11/F12 (sound volume) work fine. Arch linux wiki has a page for Zenbook UX31A that has a list of function keys that are similar to UX410UA (see links below).
Screenshots
https://www.asus.com/Laptops/ASUS-ZenBook-UX410UA/
Additional context
The relevant WMI kernel modules for asus zenbook laptops appear to be missing in dom0 (they are present in Fedora 30 AppVM though).
In dom0: (kernel 5.3.7.1)
In Ubuntu Mate 19.10 Live: (kernel 5.3.0-18)
Full list of running kernel modules for Ubuntu Mate 19.10 on UX410UA:
https://pastebin.com/9i9JpPrA
I've done some tests using ubuntu live 19.10 and the Fn+X keys appear to be working just fine. Removing the "asus-nb-wmi" kernel module by using the rmmod command caused the mentioned Fn+X (X = F3, F4, F9) keys to stop working while the others (X = F5, F6, F7, F10, F11, F12) worked fine. When adding the module back using modprobe, the keys started working again.
The Qubes dom0 kernel should include the missing WMI kernel modules for asus laptops.
Looks like the missing modules are: asus-wmi, asus-nb-wmi
Solutions you've tried
Upgraded kernel from LTS (4.19.80-1) to latest (5.3.7.1) - not working
Relevant documentation you've consulted
https://www.qubes-os.org/doc/reporting-bugs/
https://www.qubes-os.org/doc/software-update-dom0/
https://wiki.archlinux.org/index.php/ASUS_Zenbook_Prime_UX31A#Function_keys
https://www.qubes-os.org/hcl/#asus_zenbook-ux31a_i7-3517u_ivy-bridge_hd4000 (similar device)
Related, non-duplicate issues
none
The text was updated successfully, but these errors were encountered: