Comments (21)
The ACPI patch needs to be port to TM2119, please provide the ACPI tables generated by acpidump -b
.
from modern_laptop.
Maybe it's caused by my tentative to install the acpi path changing the TM2107-Redmi_Book_Pro_14_2022
to make it work (with no luck) on my laptop but right now the acpidump -b
command returns:
Table signature (0x4F324824) is invalid
Could not get ACPI table at index 34, AE_BAD_HEADER
I already launched the uninstall.sh acpi
script to revert my tentative.
In any case, right now everything seems to work ok with the exception of the fingerprint sensor (I tried with the docker driver that work only for the first scan and after that the service crashed) and the internal microphone.
from modern_laptop.
Same result on a fresh arch linux installation
Table signature (0x4F324824) is invalid
Could not get ACPI table at index 34, AE_BAD_HEADER
from modern_laptop.
Here is another way to dump ACPI table sudo cp /sys/firmware/acpi/tables/DSDT ./dsdt.dat
.
from modern_laptop.
Here's a link to the dsdt.dat
file https://drive.google.com/file/d/1nmx7xwiJRHZYG7OWSiXQQT0Z-Dusx7gE/view?usp=share_link
from modern_laptop.
Need to know the BIOS version. dmidecode -t bios |grep Version
from modern_laptop.
BIOS version: XMARB4B0P0B0B
from modern_laptop.
Try this branch. https://github.com/vrolife/modern_laptop/tree/TM2119
from modern_laptop.
Thank you so much, you're a hero!!
I tried (I have systemd-boot).
NO_GRUB=1 sudo ./install.sh acpi
and then I add to /boot/loader/entries/my_entry.conf
initrd /acpi_override
options ... acpi_osi=! acpi_osi=Linux
After a reboot, the internal microphone still doesn't work
from modern_laptop.
I notice that with the patch is not possible to set the screen brightness. Right now I removed the changes to the /boot/loader/entries/my_entry.conf
file and the brightness can be changed again.
from modern_laptop.
Could it be "initrd /boot/acpi_override"? I know nothing about systemd-boot.
from modern_laptop.
Secure Boot
will prevent Linux from loading ACPI patches, you may need to disable Secure Boot
.
from modern_laptop.
Secure boot Is already disabled.
Now I tried with /boot/acpi_override but the system doesn't start anymore (I've to fix It)
The error is: "Error preparing initrd: Not found"
from modern_laptop.
Anyway, misconfig is fixed.
I think that the correct configuration is /acpi_override
and something changes if I set that parameter (screen brightness cannot be changed anymore).
from modern_laptop.
Check whether ACPI table is correctly overwritten sudo dmesg|grep -i acpi|grep -i override
from modern_laptop.
Ok! I can confirm that the patch is applied and the internal microphone now works. The only downside is that the screen brightness cannot be changed, without the patch the screen brightness can be changed but the internal microphone doesn't work.
sudo dmesg|grep -i acpi|grep -i override
output
[ 0.000000] Command line: initrd=\acpi_override initrd=\amd-ucode.img initrd=\initramfs-linux.img cryptdevice=PARTUUID=dacc3f71-e359-49a3-935f-1d0053247332:luksdev root=/dev/mapper/luksdev zswap.enabled=0 rw rootfstype=btrfs loglevel=3 acpi_osi=! acpi_osi=Linux
[ 0.003712] ACPI: Table Upgrade: override [DSDT-XMCC -XMCC2119]
[ 0.003713] ACPI: DSDT 0x00000000BAFD7000 Physical table override, new table: 0x00000000AF881000
[ 0.026974] Kernel command line: initrd=\acpi_override initrd=\amd-ucode.img initrd=\initramfs-linux.img cryptdevice=PARTUUID=dacc3f71-e359-49a3-935f-1d0053247332:luksdev root=/dev/mapper/luksdev zswap.enabled=0 rw rootfstype=btrfs loglevel=3 acpi_osi=! acpi_osi=Linux
system-boot entries:
title Arch Linux acpi override (linux)
linux /vmlinuz-linux
initrd /acpi_override # it seems important to place the `/acpi_override` option before the other initrd
initrd /amd-ucode.img
initrd /initramfs-linux.img
options ... acpi_osi=! acpi_osi=Linux
from modern_laptop.
Without adding options ... acpi_osi=! acpi_osi=Linux
both internal microphone and screen brightness seems to work.
I'll test this setup to understand if cause other problems but for now it seems working well.
from modern_laptop.
acpi_osi=! acpi_osi=Linux
fix that TM2113 cannot wake up without AC power. If your laptop doesn't have this problem, you may not need this option.
from modern_laptop.
This problem seems not happen on this model.
Thank you so much. Now everything seems working correctly.
from modern_laptop.
This solution stops working. I don't know why (probably some arch linux update) but right now if I try to boot the system using the entry with initrd /acpi_override
I get a black screen and nothing more.
I'm currently booting the system without the acpi_override
and with the internal microphone issue.
Do you have some ideas about this new problem?
from modern_laptop.
Fixed with a bios rollback
from modern_laptop.
Related Issues (20)
- Fingerprint build is not updated HOT 5
- Usb C DP hotplugging broken on wayland HOT 6
- Error when installing fingerprint driver on Manjaro HOT 14
- Manjaro unsupported libraries opencv 4.7 HOT 3
- fan configuration via corectrl HOT 1
- 内核升级到6.3.0-060300-generic 一切硬件工作正常 HOT 7
- redmibook锐龙2023版 7840hs驱动问题 HOT 2
- Is it possible to enter into performance mode on linux? HOT 4
- Keyboard not working with kernel 6.4.8-arch1-1 (Arch Linux) HOT 3
- blackscreen after update (manjaro, fedora 38) HOT 1
- BIOS for 32GB model, 6800H HOT 4
- ThinkBook 14 + (R7 6800H)安装 acpi 失败 HOT 3
- OpenCV 4.8 fingerprint HOT 2
- Boot and ACPI fails after Ubuntu 22.04 update HOT 4
- Arch Linux boot crash without charger plugged HOT 2
- Sleep problem on Redmibook Pro 14 2022 Intel (12650h) HOT 3
- deepinlinux 提示 “Unknown environment” HOT 1
- Will it work on Redibook pro 15 2023 Ryzen 7 7840HS? HOT 2
- I broke the kernel in an attempt to install a fingerprint on my Redmibook. How can this be fixed? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modern_laptop.