Comments (8)
理论上能用于任何发行版,但是有两个情况要注意。
ACPI补丁有两个版本一个是patch.archlinux.diff另一个是patch.diff. 这两个版本内容是一样的,只是有些发行版的ACPI反编译器会莫名多/少一个空格导致补丁失败。比如ubuntu就有空格,arch系的就少一个空格。
所以你修改下这个脚本,在两个版本间切换试试看。
modern_laptop/fixes/acpi/patch.sh
Line 23 in c964352
from modern_laptop.
from modern_laptop.
理论上能用于任何发行版,但是有两个情况要注意。
ACPI补丁有两个版本一个是patch.archlinux.diff另一个是patch.diff. 这两个版本内容是一样的,只是有些发行版的ACPI反编译器会莫名多/少一个空格导致补丁失败。比如ubuntu就有空格,arch系的就少一个空格。
所以你修改下这个脚本,在两个版本间切换试试看。
modern_laptop/fixes/acpi/patch.sh
Line 23 in c964352
刚刚重新拉了一遍代码,把系统环境检测的代码注释掉以后,patch.sh里面最后改成用arch的那个版本,就可以通过了,不过opensuse没有update-grub
命令,改成update-bootloader
就可以了,现在重启已经可以用键盘了。
from modern_laptop.
我的系统上,执行脚本会报test: 参数太多 这个是咋回事啊
…
---原始邮件--- 发件人: @.> 发送时间: 2022年8月23日(周二) 中午12:44 收件人: @.>; 抄送: @.@.>; 主题: Re: [vrolife/modern_laptop] 这个patch不能用于其他发行版吗 (Issue #12) 理论上能用于任何发行版,但是有两个情况要注意。 ACPI补丁有两个版本一个是patch.archlinux.diff另一个是patch.diff. 这两个版本内容是一样的,只是有些发行版的ACPI反编译器会莫名多/少一个空格导致补丁失败。比如ubuntu就有空格,arch系的就少一个空格。 所以你修改下这个脚本,在两个版本间切换试试看。— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>modern_laptop/fixes/acpi/patch.sh
Line 23 in c964352
这个可能是因为你的发行版/etc/os-release里的相关值含空格。方便提供这个文件的内容吗?
from modern_laptop.
以下为/etc/os-release
文件内容:
NAME="openSUSE Tumbleweed"
# VERSION="20220821"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20220821"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20220821"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"
from modern_laptop.
搞了个suse的分支https://github.com/vrolife/modern_laptop/tree/suse 你看能不能用,能用我再合并到主分支
from modern_laptop.
搞了个suse的分支https://github.com/vrolife/modern_laptop/tree/suse 你看能不能用,能用我再合并到主分支
试了下suse分支的test没有报错了,acpi跟wmi都成功了,就是背光和wifi,指纹报错,我另外开issue把log贴上来。
from modern_laptop.
ACPI的问题应该差不多了,辛苦啦
from modern_laptop.
Related Issues (20)
- Fingerprint build is not updated HOT 5
- ACPI Patch Error HOT 21
- 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 1
- 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.