Skip to main content

[Follow-up] Quest of enabling hotkeys on ASUS Laptops

Resuming for the previous topic, with the help of an Arch user and one of kernel maintainers, it turned out the failure of hotkeys functions [Fn] is due to a Linux ACPI bug. Further investigation revealed a bad practice from BIOS vendor and unexpectedly a new challenge in Linux kernel world as quoted:
However this report indicates us another gap (except the enumeration order gap):
If the namespace EC (DSDT EC in short) is not ready, EC access availability can be kept 
using the ECDT EC. In Linux, that requres _Qxx control methods to be registered for
the ECDT EC. I have never seen a Linux EC driver version doing this before,
_Qxx registration is only invoked in acpi_ec_add(). So this bug indicates a gap for Linux.
Essentially, what is initially a bug related for non-functional hotkeys for ASUS X550Z laptop revealed a much more deeper issue related Linux ACPI. It is the first time I reached that level of testing in kernel world with the help from upstream kernel.

A built kernel with an attempt patch to resolve ACPI EC problem is on COPR repository. It willl take longer to complete before testing the patch which will hopefully restore hotkeys functionality on some modern laptops especially ASUS. A suivre...

Comments

Popular posts from this blog

GNOME extension Screen Autorotate available

 While waiting for a bug fix affecting majority of 2-in-1 laptops running on GNOME Wayland session, gnome-shell-extension-screen-autorotate is now available in Fedora repository and EPEL 9 . Give a try on your device Possibly this extension will get added on the incoming Fedora Design Suite 39 as default for the owners of convertible laptops.

Testing Design Suite on Asus X550ZE

I recently bought an ASUS X550ZE to replace the venerable Sony VAIO N250E laptop. The reason of choosing an AMD powered laptop is for long term support i.e. the use of Vulkan API in future AMD GPU driver. In summary, here is the ASUS X550ZE specification taken from ASUS website : Processor AMD® APU A10-7400P /A8-7200P/FX-7600P Processor Chipset AMD A76M FCH Memory DDR3L 1600 MHz SDRAM, 8 GB Display 15.6" 16:9 /Full HD (1920x1080) Graphic AMD Radeon® R5 M230 + Radeon® R7 M265 DX Dual Graphics with 2GB DDR3 VRAM Built-in A10-7400P Storage 2.5" 9.5mm SATA 1TB 5400/7200 RPM Optical Drive Super-Multi DVD Card Reader 2 -in-1 card reader ( SD/ SDHC/ MMC) Camera VGA Web Camera Networking Integrated 802.11 b/g/n Built-in Bluetooth™ V4.0 (Optional) 10/100/1000/Gigabits Base T Interface 1 x COMBO audio jack 1 x VGA port/Mini D-sub 15-pin for external monitor 2 x USB 3.0 port(s) 1 x RJ45 LAN Jack for LAN insert 1 x HDMI Audio Built-in

Using AMD RX Vega driver OpenCL on Fedora 29

The Raven Ridge APU is very capable processor to handle OpenCL inside some applications like Blender, Darktable and Gimp. Unfortunately, the current implementation from Mesa, clover, stuck to 1.3, is not supported. AMD released their driver 18.40 with OpenCL2.0+ targeting only Red Hat Enterprise Linux/Cent OS 6.10 and 7.5 in addition of Ubuntu LTS. The good new is the former rpm format can be used on Fedora. The graphical part of Raven Ridge is Vega 8, basically a cut-down of Vega56 or Vega64 meaning choosing either driver for RX Vega . The instruction is provided for extracting the rpm files but here is  some requirements for OpenCL: kernel-devel (provided by Fedora repository) amdgpu-dkms dkms libopencl-amdgpu-pro opencl-amdgpu-pro-icd Once done, applications needing OpenCL will automatically detect the driver located on /opt/amdgpu/lib64 . Blender will list as unknown AMD GPU and Darktable will enable it. OpenCL from official AMD driver enabled on Darktable Ra