vrolife / modern_laptop Goto Github PK
View Code? Open in Web Editor NEWRedmi Book Pro 14/15 2022 锐龙版/Ryzen Linux 键盘驱动/keyboard driver
License: GNU Affero General Public License v3.0
Redmi Book Pro 14/15 2022 锐龙版/Ryzen Linux 键盘驱动/keyboard driver
License: GNU Affero General Public License v3.0
pro 15 2022 锐龙版
Hello!
Thank you for your work. I ran from fingerprint install.sh. The script worked without errors, but the system did not have the ability to configure the fingerprint. Executed the command systemctl status fprintd.service
show below. What could be the problem?
○ fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/lib/systemd/system/fprintd.service; static)
Drop-In: /etc/systemd/system/fprintd.service.d
└─override.conf
Active: inactive (dead)
Docs: man:fprintd(1)
Aug 11 12:15:28 RedmiBook fingerpp[105177]: Version 21.26.2.27
Aug 11 12:15:28 RedmiBook fingerpp[105177]: /home/pom/Projects/fpc9201/src/drv_fpc/fpc9201.cpp:1561: parse_state(...) error: firmware version mismatch
Aug 11 12:15:28 RedmiBook systemd[1]: fprintd.service: Deactivated successfully.
Aug 11 12:18:05 RedmiBook systemd[1]: Starting Fingerprint Authentication Daemon...
Aug 11 12:18:05 RedmiBook /opt/fingerpp/bin/fingerpp[108486]: fingerpp starting
Aug 11 12:18:05 RedmiBook systemd[1]: Started Fingerprint Authentication Daemon.
Aug 11 12:18:05 RedmiBook /opt/fingerpp/bin/fingerpp[108486]: usb hotplug: arrived: 10a5 9201
Aug 11 12:18:05 RedmiBook fingerpp[108486]: Version 21.26.2.27
Aug 11 12:18:05 RedmiBook fingerpp[108486]: /home/pom/Projects/fpc9201/src/drv_fpc/fpc9201.cpp:1561: parse_state(...) error: firmware version mismatch
Aug 11 12:18:05 RedmiBook systemd[1]: fprintd.service: Deactivated successfully.
Hi!
Many thanks for the work done!
Are there any plans for an instruction\assembled fingerprint scanner package for Fedora?
I resolved the dependencies for as long as I had enough knowledge, built a package, but I get the LIBUSB_ERROR_IO error when trying to launch.
Redmi Book Pro 14 2022 Ryzen BIOS version RMARB4B0P0C0C
keyboard dos not work
Hello,
I try to install drivers in Manjaro (Gnome) 21.3.6.
After command: sudo /bin/sh install.sh acpi
I get a message:
: invalid option 2: set -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
I get the same message when I try to install any other driver.
Tell me, distributions based on arch are not supported? Or is it somehow possible to fix it?
PS: Redmibook 15 Pro 2022
After updating to the latest version of the repo (with the RMARB5B0P0E0E
BIOS version which matches my laptop's), when running:
sudo /bin/sh install.sh acpi,
I get
[snip...]
Parsing completed
Disassembly completed
ASL Output: /home/user/modern_laptop/fixes/acpi/dsdt.dsl - 410204 bytes
patching file dsdt.dsl
Reversed (or previously applied) patch detected! Assume -R? [n]
Desktop
Ubuntu 22.04.1 LTS
Linux 5.17.0-1025-oem #26-Ubuntu SMP PREEMPT
Yesterday, I installed Win11 on the free space on the laptop. Now, no matter what I do, I can't get the keyboard to work again.
I've even done the acpi_override
fix as described on Reddit: https://www.reddit.com/r/linuxhardware/comments/vdc6tz/comment/ijjjwah/
Not even the fix from this repo works:
sh install.sh acpi
My /etc/default/grub
looks like this:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
#GRUB_ENABLE_BLSCFG=true
GRUB_EARLY_INITRD_LINUX_CUSTOM=acpi_override
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX acpi_osi=! acpi_osi=Linux"
I also run the following:
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Is there anything I can check in dmesg
?
I have RedmiBook pro 14 2022 amd 6600h and use like Windows there and Linux.
Do you know utilities or packages? which can change temperature turn on cooler.I want to my fan turned on not at 40 degrees, but at 45>?
I didnt find any info on the internet about this task
sudo /bin/sh install.sh redmibook_kbd_backlight
执行编译报错,以下为make.log的内容:
DKMS make.log for redmibook_kbd_backlight-1.0.2 for kernel 5.19.2-1-default (x86_64)
2022年 08月 23日 星期二 13:53:57 CST
make -C /lib/modules/5.19.2-1-default/build M=`pwd` modules
make[1]: 警告: jobserver 不可用: 正使用 -j1。添加 “+” 到父 make 的规则。
make[1]: 进入目录“/usr/src/linux-5.19.2-1-obj/x86_64/default”
CC [M] /var/lib/dkms/redmibook_kbd_backlight/1.0.2/build/redmibook_kbd_backlight.o
/var/lib/dkms/redmibook_kbd_backlight/1.0.2/build/redmibook_kbd_backlight.c: 在函数‘ec_init’中:
/var/lib/dkms/redmibook_kbd_backlight/1.0.2/build/redmibook_kbd_backlight.c:188:5: 错误:implicit declaration of function ‘acpi_bus_get_device’; did you mean ‘acpi_is_pnp_device’? [-Werror=implicit-function-declaration]
188 | acpi_bus_get_device(handle_EC0, &device);
| ^~~~~~~~~~~~~~~~~~~
| acpi_is_pnp_device
cc1:有些警告被当作是错误
make[2]: *** [/usr/src/linux-5.19.2-1/scripts/Makefile.build:250:/var/lib/dkms/redmibook_kbd_backlight/1.0.2/build/redmibook_kbd_backlight.o] 错误 1
make[1]: *** [../../../linux-5.19.2-1/Makefile:1863:/var/lib/dkms/redmibook_kbd_backlight/1.0.2/build] 错误 2
make[1]: 离开目录“/usr/src/linux-5.19.2-1-obj/x86_64/default”
make: *** [Makefile:5:all] 错误 2
When pressing the backlight (F10) key the keyboard backlight cycles bright->low->medium->off (3->1->2->0).
This is unexpected but seems intended looking at the resp. code in the driver.
Would you accept a PR that makes this go bright->medium->low->off (3->2->1->0). I.e. what someone would expect)?
Hi @vrolife , i know this project focus is on the 2022 edition, but i've being looking to improve redmibook 2021 (TM2019-RedmiBook_Pro_15S) compatibility on linux for some time. The majority of the hardware already works out the box. The bluetooth support just landed on 6.1rc1 kernel, but there's still some things that need some work. I'm using the latest system bios Bios - RMACZ5B0P0909.
The laptop doesn't turn the screen off and suspend when you close the lid, i just got this ACPI error messages on dmesg:
[ 1839.455179] audit: type=1104 audit(1666193804.579:111): pid=3928 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1844.664737] ACPI Error: Needed [Buffer/String/Package], found [Integer] 00000000cd1faf7b (20220331/exresop-557)
[ 1844.664752] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Index] (20220331/dswexec-431)
[ 1844.664762] ACPI Error: Aborting method \_SB.ALIB due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529)
[ 1844.664772] ACPI Error: Aborting method \_SB.PCI0.LPC0.EC0._Q80 due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529)
[ 1845.057277] ACPI Error: Needed [Buffer/String/Package], found [Integer] 00000000c4507ab7 (20220331/exresop-557)
[ 1845.057283] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Index] (20220331/dswexec-431)
[ 1845.057286] ACPI Error: Aborting method \_SB.ALIB due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529)
[ 1845.057289] ACPI Error: Aborting method \_SB.PCI0.LPC0.EC0._Q80 due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529)
[ 1846.394878] ACPI: button: The lid device is not compliant to SW_LID.
[ 1850.118337] audit: type=1101 audit(1666193815.242:112): pid=3939 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="benjamim" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1850.118879] audit: type=1110 audit(1666193815.242:113): pid=3939 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 1850.118958] audit: type=1105 audit(1666193815.242:114): pid=3939 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
The fingerprint sensor also doesn't work:
lsusb
Bus 003 Device 002: ID 27c6:581a Shenzhen Goodix Technology Co.,Ltd. FingerPrint
I know the hardware of the 2021 and 2022 editions aren't the same, but i believe they might be close. I would be glad to help with any other info needed.
Desktop (please complete the following information):
lspci
https://pastebin.com/Mrqq9iuq
lsusb
https://pastebin.com/d3W4DnSG
dmesg
https://pastebin.com/LLLwjC7C
Thanks for your hardwork !
Thanks for putting this on GitHub; most helpful!
OS: Fedora Workstation 36
Laptop: Redmibook Pro 15 2022
uname -a: Linux fedora 5.18.19-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Aug 21 15:52:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
When attempting to compile and install the Wifi drivers (using your script), this is the output:
...
Dependencies resolved.
Nothing to do.
Complete!
Sign command: /lib/modules/5.18.19-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Certificate or key are missing, generating self signed certificate for MOK...
Building module:
Cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=5.18.19-200.fc36.x86_64 ENTRY=yes all.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.19-200.fc36.x86_64 (x86_64)
Consult /var/lib/dkms/8852be/1.0.1/build/make.log for more information.
Where the errors start in the /var/lib/dkms/8852be/1.0.1/build/make.log
file are with the /var/lib/dkms/8852be/1.0.1/build/platform/platform_linux_pc_pci.c
compile (attached because it's big).
Any ideas?
make.log
Device: Redmibook pro 14' 6600h
bios: RMARB4B0P0B0B
OS: Arch Linux
Steps to reproduce: sudo /bin/sh install.sh acpi
It also writes update-grub.sh command not found
and make error with code 127 on first install or uninstall.
Caveat: going out on a limb here with this one.
I installed the 6.0 Kernel from the linux vanilla kernel
repos because the acpi_override
fix stopped working for me completely in all prior kernel verisons.
Keyboard works now but attempting to use install.sh rtl8852be
errors out. I'm guessing they changed the cfg80211_roam_info
structure to omit the bssid
attribute and now the whole thing blows up.
The fix is beyond me but you seem very capable. Would appreciate it if you have a look!
I installed acpi and other patches and laptop works perfectly after that, but about week ago the problem appears: laptop can not boot (secure boot disabled). Boot stops on "init ramdisk". I uninstall acpi patch (force) after boot with enabled secure boot. Then reboot and turn OFF secure boot. Now laptop is able to boot, but keybord is not working.
Trying of re-install of acpi patch do not help.
I'm attempting to fix the keyboard on Arch Linux 5.19.5. The source code seems to update GRUB. However, due to the recent GRUB issues, I've switched to systemd-boot.
Is there any way to apply this patch for systemd-boot?
On my Redmibook 15 I have only s2idle sleep mode. Is there some information regarding other sleep types, e.g. deep, since the battery drain during sleep is quite high. Is this BIOS related?
请求添加 redmibookpro 14 2022 bios RMARB4B0P0E0E_RMARB4B1P0E0E 的支持
Describe the bug
After going into sleep, I cannot wake the computer at all. Have to force reboot it.
To Reproduce
Let computer idle. After sleep cannot enter.
Expected behavior
After pressing a key, or power button, I resume at lock screen.
Desktop (please complete the following information):
Linux laptop 6.0.10-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:24 +0000 x86_64 GNU/Linux
NAME=EndeavourOS PRETTY_NAME=EndeavourOS ID=endeavouros ID_LIKE=arch BUILD_ID=2022.09.10 ANSI_COLOR="38;2;23;147;209" HOME_URL='https://endeavouros.com' DOCUMENTATION_URL='https://discovery.endeavouros.com' SUPPORT_URL='https://forum.endeavouros.com' BUG_REPORT_URL='https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports' PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=endeavouros
** Log **
dec 04 09:51:15 albert-laptop systemd-logind[902]: The system will suspend and later hibernate now!
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.4899] manager: sleep: sleep requested (sleeping: no enabled: yes)
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.4900] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-sta>
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.4903] manager: NetworkManager state is now ASLEEP
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.4904] device (wlan0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'man>
dec 04 09:51:15 albert-laptop dbus-daemon[899]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service>
dec 04 09:51:15 albert-laptop systemd[1]: Starting Network Manager Script Dispatcher Service...
dec 04 09:51:15 albert-laptop kded5[1498]: org.kde.plasma.nm.kded: Unhandled active connection state change: 3
dec 04 09:51:15 albert-laptop dbus-daemon[899]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
dec 04 09:51:15 albert-laptop systemd[1]: Started Network Manager Script Dispatcher Service.
dec 04 09:51:15 albert-laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/syst>
dec 04 09:51:15 albert-laptop kernel: audit: type=1130 audit(1670143875.591:339): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd>
dec 04 09:51:15 albert-laptop kernel: wlan0: deauthenticating from 3c:7c:3f:e5:fa:cc by local choice (Reason: 3=DEAUTH_LEAVING)
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3c:7c:3f:e5:fa:cc reason=3 locally_generated=1
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.6760] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: '>
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Withdrawing address record for fe80::4988:9e01:10f:4a1 on wlan0.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::4988:9e01:10f:4a1.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Interface wlan0.IPv6 no longer relevant for mDNS.
dec 04 09:51:15 albert-laptop audit[906]: NETFILTER_CFG table=firewalld:133 family=1 entries=6 op=nft_unregister_rule pid=906 comm="firewalld"
dec 04 09:51:15 albert-laptop kernel: audit: type=1325 audit(1670143875.690:340): table=firewalld:133 family=1 entries=6 op=nft_unregister_rule pid=906 comm="firewalld"
dec 04 09:51:15 albert-laptop kernel: audit: type=1300 audit(1670143875.690:340): arch=c000003e syscall=46 success=yes exit=492 a0=6 a1=7fff37cdb550 a2=0 a3=7fff37cca3fc item>
dec 04 09:51:15 albert-laptop kernel: audit: type=1327 audit(1670143875.690:340): proctitle=2F7573722F62696E2F707974686F6E002F7573722F62696E2F6669726577616C6C64002D2D6E6F666F>
dec 04 09:51:15 albert-laptop audit[906]: SYSCALL arch=c000003e syscall=46 success=yes exit=492 a0=6 a1=7fff37cdb550 a2=0 a3=7fff37cca3fc items=0 ppid=1 pid=906 auid=42949672>
dec 04 09:51:15 albert-laptop audit: PROCTITLE proctitle=2F7573722F62696E2F707974686F6E002F7573722F62696E2F6669726577616C6C64002D2D6E6F666F726B002D2D6E6F706964
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.6930] dhcp4 (wlan0): canceled DHCP transaction
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.6930] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.6930] dhcp4 (wlan0): state changed no lease
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Interface wlan0.IPv4 no longer relevant for mDNS.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.50.48.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Withdrawing address record for 192.168.50.48 on wlan0.
dec 04 09:51:15 albert-laptop NetworkManager[948]: <info> [1670143875.7094] device (wlan0): set-hw-addr: set MAC address to 1E:4B:56:67:E8:BA (scanning)
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.50.48.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: New relevant interface wlan0.IPv4 for mDNS.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Registering new address record for 192.168.50.48 on wlan0.IPv4.
dec 04 09:51:15 albert-laptop avahi-daemon[896]: Withdrawing address record for 192.168.50.48 on wlan0
dec 04 09:51:15 albert-laptop systemd[1]: Reached target Sleep.
dec 04 09:51:15 albert-laptop systemd[1]: Starting Suspend; Hibernate if not used for a period of time...
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
dec 04 09:51:15 albert-laptop systemd-sleep[18792]: Entering sleep state 'suspend'...
dec 04 09:51:15 albert-laptop kernel: PM: suspend entry (s2idle)
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
dec 04 09:51:15 albert-laptop wpa_supplicant[1144]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
dec 04 09:51:15 albert-laptop kernel: Filesystems sync: 0.048 seconds
I received a notebook with bios version RMARB4B0P0A0A which is currently not supported.
What needs to be done to support it?
When installing the fingerprint sensor, the following error appears
$sudo /bin/sh install.sh fingerprint
...apt output...
No fingerprint sensor detected
Desktop:
Linux werix 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release
mint
strings with debian
to normally install the driversNAME="Linux Mint"
VERSION="21 (Vanessa)"
ID=debian
ID_LIKE="debian"
PRETTY_NAME="Linux Mint 21"
VERSION_ID="21"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
** Log **
The complete dmesg
output can be found on Hastebin
Good day,
is fingerapp bulkhead possible for fedora 37?
ldd /opt/fingerpp/bin/fingerpp [1:14:11]
linux-vdso.so.1 (0x00007ffec1db6000)
libssl.so.3 => /lib64/libssl.so.3 (0x00007f6fba16f000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f6fb9c00000)
libopencv_imgcodecs.so.4.5 => not found
libopencv_calib3d.so.4.5 => not found
libopencv_features2d.so.4.5 => not found
libopencv_imgproc.so.4.5 => not found
libopencv_flann.so.4.5 => not found
libopencv_core.so.4.5 => not found
libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f6fba14e000)
libevent_core-2.1.so.7 => /lib64/libevent_core-2.1.so.7 (0x00007f6fba115000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f6fba0c0000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f6fb9800000)
libm.so.6 => /lib64/libm.so.6 (0x00007f6fb9b20000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6fba09e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f6fb9623000)
libz.so.1 => /lib64/libz.so.1 (0x00007f6fba084000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007f6fba056000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6fba231000)
libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f6fb9a43000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f6fba04a000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f6fb95f8000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f6fb9545000)
liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f6fb9521000)
/usr/lib :
find . libopencv_ | grep libopencv_ [1:17:10]
./java/libopencv_java.so
./java/libopencv_java460.so
find: ‘libopencv_’./libopencv_calib3d.so.4.6.0
./libopencv_calib3d.so.406
./libopencv_core.so.4.6.0
./libopencv_core.so.406
./libopencv_dnn.so.4.6.0
./libopencv_dnn.so.406
: No such file or directory
./libopencv_features2d.so.4.6.0
./libopencv_features2d.so.406
./libopencv_flann.so.4.6.0
./libopencv_flann.so.406
./libopencv_gapi.so.4.6.0
./libopencv_gapi.so.406
./libopencv_highgui.so.4.6.0
./libopencv_highgui.so.406
./libopencv_imgcodecs.so.4.6.0
./libopencv_imgcodecs.so.406
./libopencv_imgproc.so.4.6.0
./libopencv_imgproc.so.406
./libopencv_ml.so.4.6.0
./libopencv_ml.so.406
./libopencv_objdetect.so.4.6.0
./libopencv_objdetect.so.406
./libopencv_photo.so.4.6.0
./libopencv_photo.so.406
./libopencv_stitching.so.4.6.0
./libopencv_stitching.so.406
./libopencv_video.so.4.6.0
./libopencv_video.so.406
./libopencv_videoio.so.4.6.0
./libopencv_videoio.so.406
patch < .bios/patch.diff patching file dsdt.dsl Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #3 FAILED at 5471. 1 out of 4 hunks FAILED -- saving rejects to file dsdt.dsl.rej make: *** [Makefile:11: dsdt.aml] Error 1
On a Redmibook 15 Pro 2022, latest version of BIOS as of 18th July 2022.
The speakers start beeping strongly.
To reproduce this bug, then you need to turn on some video on YouTube for example, then you need to enter sleep mode (close the lid) and connect the wire type C for charging.
您好!首先感谢您的项目,让我圆了在这电脑上装linux的心愿 😄😄
但我尝试按照说明安装指纹传感器后,安装过程顺利,可是在系统设置中没有指纹设置入口。
用命令行运行系统设置,提示:
$ gnome-control-center -v
12:48:07.0642 user-accounts-cc-panel: DEBUG: Fprintd manager connected
12:48:07.0734 user-accounts-cc-panel: WARNING: Impossible to update fingerprint manager state: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
12:48:07.0734 user-accounts-cc-panel: DEBUG: Fingerprint manager state changed to 0
服务状态
$ systemctl status fprintd.service
○ fprintd.service - Fingerprint Authentication Daemon
Loaded: loaded (/lib/systemd/system/fprintd.service; static)
Drop-In: /etc/systemd/system/fprintd.service.d
└─override.conf
Active: inactive (dead)
Docs: man:fprintd(1)
9月 05 12:47:00 delta-laptop systemd[1]: Started Fingerprint Authentication Daemon.
9月 05 12:47:00 delta-laptop systemd[1]: fprintd.service: Deactivated successfully.
9月 05 12:48:07 delta-laptop systemd[1]: Starting Fingerprint Authentication Daemon...
9月 05 12:48:07 delta-laptop /opt/fingerpp/bin/fingerpp[3487]: fingerpp starting
9月 05 12:48:07 delta-laptop systemd[1]: Started Fingerprint Authentication Daemon.
9月 05 12:48:07 delta-laptop systemd[1]: fprintd.service: Deactivated successfully.
9月 05 12:48:07 delta-laptop systemd[1]: Starting Fingerprint Authentication Daemon...
9月 05 12:48:07 delta-laptop /opt/fingerpp/bin/fingerpp[3501]: fingerpp starting
9月 05 12:48:07 delta-laptop systemd[1]: Started Fingerprint Authentication Daemon.
9月 05 12:48:07 delta-laptop systemd[1]: fprintd.service: Deactivated successfully.
设备信息
为此,我尝试过:
但都没用。
我不清楚这是否是驱动的问题,可如果您能提供解决方案,感激不尽。
Describe the bug
So I wanted to install drivers on Nobara 36 (which is basically a Fedora distro). All dependencies from readme are installed, but when I run i.e. sudo /bin/sh install.sh acpi
, I get "Unknown enviroment" error. Any ideas what can be wrong with the system? I didn't find any hints on the web :'(
To Reproduce
Steps to reproduce the behavior:
sudo /bin/sh install.sh ...
Expected behavior
Driver installation goes properly
Desktop (please complete the following information):
Laptop is Pro Book 15 2022 with AMD Ryzen 5 6600H
redmiboook pro15 2022
此问题仅在 linux kernel 6.0.0 与 5.19.11 以上出现,而在 6.0.0-rc 与 5.19.5 及以下安装正常。
$ sudo sh install.sh rtl8852be
...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Deleting module 8852be-1.0.5 completely from the DKMS tree.
Creating symlink /var/lib/dkms/8852be/1.0.5/source -> /usr/src/8852be-1.0.5
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.0.0-060000-generic ENTRY=yes all...(bad exit status: 2)
ERROR (dkms apport): binary package for 8852be: 1.0.5 not found
Error! Bad return status for module build on kernel: 6.0.0-060000-generic (x86_64)
Consult /var/lib/dkms/8852be/1.0.5/build/make.log for more information.
/var/lib/dkms/8852be/1.0.5/build/make.log
内容:
DKMS make.log for 8852be-1.0.5 for kernel 6.0.0-060000-generic (x86_64)
2022年 10月 03日 星期一 22:31:15 CST
make -j7 -C /lib/modules/6.0.0-060000-generic/build M=/var/lib/dkms/8852be/1.0.5/build KERNELRELEASE=6.0.0-060000-generic ENTRY= modules
make[1]: warning: -j7 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-060000-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
You are using: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
CC [M] /var/lib/dkms/8852be/1.0.5/build/platform/platform_linux_pc_pci.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/osdep_service_linux.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/rtw_cfg.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/xmit_linux.o
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/platform/platform_linux_pc_pci.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/osdep_service.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/osdep_service_linux.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/rtw_cfg.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/os_intfs.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/ioctl_linux.o] Error 1
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8852be/1.0.5/build/os_dep/linux/xmit_linux.o] Error 1
make[1]: *** [Makefile:1858: /var/lib/dkms/8852be/1.0.5/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-060000-generic'
make: *** [Makefile:637: all] Error 2
谢谢。
In current daily build of Ubuntu 22.10 the opencv lib got updated to 4.6.0, and fingerpp3
fails to start, because cannot open shared libraries with version 4.5d.
Could you, please, provide source for fingerpp, so it could be compiled with new libraries, or update binary?
安装 rtl8852be 时出现modprobe: ERROR: could not insert '8852be': Invalid argument
在终端执行 sudo /bin/sh install.sh rtl8852be 出现以上问题
-操作系统:
linux ray-Redmi-Book-Pro-14-2022 5.17.0-1021-oem #22-Ubuntu SMP PREEMPT Wed Nov 2 17:28:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
-环境
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubunt
Uploading dmesg.log…
u.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
log
/var/log/dmesg:
My usb C over PD was not working. I had to enable iommu=soft to get it working. This is current arch kernel (5.19.6 I think). What is the cause of this issue, as iommu=soft can cause performance issues?
Hi and thank you for this repo, I made my mic and fingerprint work on Manjaro Linux with Secure Boot enabled.
WMI however is another story. It builds OK and I am able to probe it, but nothing happens when I press XiaoAI or F6-F9 keys.
What do you need me to provide you with?
The install method I used was as follows:
dkms install redmibook_wmi/1.0.3
Do I need to patch ACPI then? Or maybe I'm missing something obvious and don't quite understand what to do next?
Hi, trying to install rtl8852be but it freezes the entire computer, spawning 1000s of cc processes. How to fix the build? As via dkms this breaks the upgrade of the kernel
Fedora doesn't have the update-intramfs
tool. Instead, I believe it uses dracut
but I'm not sure of the syntax.
/usr/bin/xev
KeyPress event, serial 45, synthetic NO, window 0x3600001,
root 0x845, subw 0x0, time 703078, (106,99), root:(156,209),
state 0x10, keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyPress event, serial 47, synthetic NO, window 0x3600001,
root 0x845, subw 0x0, time 746296, (596,1023), root:(646,1133),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyPress event, serial 47, synthetic NO, window 0x3600001,
root 0x845, subw 0x0, time 769660, (408,407), root:(458,517),
state 0x10, keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
fcitx
在中文并且候选框有字的时候 按回车会触发搜索我的redmibook pro 15 2022锐龙,BIOS为0B0B版本,安装的是openSUSE风滚草,内核5.19带有PSR,但是没有键盘驱动。
我手动安装依赖包以后,注释掉系统判断,到了patch acpi的时候,报hunk错误,显示rejected,这个有办法手动修复吗?
还是只能改用Arch?
1)first problem about keyboard'script
"unsupported bios" is that version ".(picture 1)
Though I havethe latest RMARB5B0P0B0B
version of bios, there is still issue.
There is a misspelling bug.
'cause the same mistake in ' supported by the models' bios version is written "RMARB5B0P0808" is instead of "RMARB5B0P0B0B" when it says about 14 inch model . (picture 2)
I forked your repo and changed the name and it has started working
Maybe also misspelled "redmibook_*". It's better to write in the code 'redmibook_kdb_backlight 1.0.4'
installing wifi driver gives this error:
kernel 5.19.6-arch1-1
log:
make.log
Hey, it's possible to get drivers to the book pro 16 model?
机子是双11才买的,最新的BIOS,RMARB5B1P0C0C
在BIOS里面关闭了安全启动项
尝试直接将RMARB5B0P0B0B复制一份到RMARB5B1P0C0C,同时修改install.sh脚本中的BIOS_VERSION环境变量。再一次运行sudo /bin/sh install.sh acpi还是报错,看起来是dsdt变化,如下图所示
DSDT信息如下所示
dsdt.txt
Hi this is the output i get when trying to install the wifi driver on arch linux, it keep on ending out in error.
Package (8) Old Version New Version Net Change
community/acpica 20220331-1 20220331-1 0.00 MiB
core/bash 5.1.016-1 5.1.016-1 0.00 MiB
core/diffutils 3.8-1 3.8-1 0.00 MiB
extra/dkms 3.0.6-1 3.0.6-1 0.00 MiB
extra/dmidecode 3.4-1 3.4-1 0.00 MiB
core/make 4.3-3 4.3-3 0.00 MiB
extra/mokutil 0.6.0-1 0.6.0-1 0.00 MiB
core/patch 2.7.6-8 2.7.6-8 0.00 MiB
Total Installed Size: 14.04 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(8/8) checking keys in keyring [---------------------------------------] 100%
(8/8) checking package integrity [---------------------------------------] 100%
(8/8) loading package files [---------------------------------------] 100%
(8/8) checking for file conflicts [---------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
:: Processing package changes...
(1/8) reinstalling bash [---------------------------------------] 100%
(2/8) reinstalling make [---------------------------------------] 100%
(3/8) reinstalling patch [---------------------------------------] 100%
(4/8) reinstalling dkms [---------------------------------------] 100%
(5/8) reinstalling acpica [---------------------------------------] 100%
(6/8) reinstalling dmidecode [---------------------------------------] 100%
(7/8) reinstalling mokutil [---------------------------------------] 100%
(8/8) reinstalling diffutils [---------------------------------------] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Checking which packages need to be rebuilt
(3/4) Updating the info directory file...
(4/4) Performing snapper post snapshots for the following configurations...
Sign command: /usr/lib/modules/5.19.3-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=5.19.3-arch1-1 ENTRY=yes all......(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.19.3-arch1-1 (x86_64)
Consult /var/lib/dkms/8852be/1.0.1/build/make.log for more information.
also here is the make.log
when me switch Ubuntu of win11 by today, my keyboard and WLAN is not work :(
and I try install this repos, but is not work. (used 6PM to 10PM) I'm feeling so bad.
but now all is right !!! the issues is my BIOS have open UEFI Secure Boot , i don't know about that.
so i want to help others, so share some tips!
1.when you install some dependency before, like make,acpica-tools. you maybe need run apt update. update your cache.
2.if you lost WLAN, you can connect you ANDROID phone, select share network get internet.
3.if you install this repos right but not work, you can check BIOS UEFI Secure Boot option.
4.when I install WLAN driver, get error for dkms: command not found
so your need install dkms before.
sorry for my English, my Chinese input is not install. thank you vrolife
Running a Java 18 session via gradle, running Minecraft, and it kernel panics constantly. Fairly certain BIOS version RMARB5B0P0B0B. It always happens eventually, and panics after at most a few minutes. Is this a known Rembrandt issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.