Magicbook Pro锐龙版AMD升级内核解决亮度无法调节
Tofloor
poster avatar
小明Hackintosh
deepin
2020-04-02 23:34
Author
本帖最后由 fly5625 于 2020-4-11 15:58 编辑

Magicbook Pro锐龙版AMD R5 3550H升级内核解决亮度无法调节
本贴参考https://bbs.deepin.org/post/175411https://bbs.deepin.org/post/184723



安装linux-firmware
安装linux-firmware-20200316.tar.gz下载最新那个就好了。解压进入目录,执行
  1. sudo make install
Copy the Code
之后再
  1. sudo update-initramfs -uk all
Copy the Code
就可以了。



安装内核
下载四个文件(统一使用generic版本或lowlatency版本,这里使用generic版本兼容性高些)

  1. linux-headers-5.6.0-050600rc7_5.6.0-050600rc7.202003230230_all.deb
  2. linux-headers-5.6.0-050600rc7-generic_5.6.0-050600rc7.202003230230_amd64.deb
  3. linux-image-unsigned-5.6.0-050600rc7-generic_5.6.0-050600rc7.202003230230_amd64.deb
  4. linux-modules-5.6.0-050600rc7-generic_5.6.0-050600rc7.202003230230_amd64.deb
Copy the Code
linux-modules-xxx-generic_xxx_amd64.deb(内核驱动包)
linux-image-unsigned-xxx-generic_xxx_amd64.deb(内核镜像包)
linux-headers-xxx_all.deb(内核头文件包1)
linux-headers-xxx-generic_xxx_amd64.deb(内核头文件包2)
放在同一目录下。

执行
  1. sudo dpkg -i *.deb
Copy the Code
安装完成后保险起见手动更新新内核的引导项(正常自动会更新,这里保险起见)
  1. sudo update-grub
Copy the Code
重启选择新内核启动。输入
  1. uname -a
Copy the Code
可以查看到内核信息
  1. $ uname -a
  2. Linux PC-aaaappppp  5.6.0-050600rc7-generic #202003230230 SMP Mon Mar 23 02:33:08 UTC 2020 x86_64 GNU/Linux
Copy the Code
安装内核失败(回退办法)
安装内核失败进不了系统,但是可以看到启动页面的选项,选择第二项,换其它的内核进入系统,进行回退操作。
参考Ubantu 16.04升级内核版本和还原到升级之前的内核版本的方法
查看安装的内核
  1. sudo dpkg --get-selections |grep linux
Copy the Code
如下
  1. libselinux1:amd64                                install
  2. libselinux1:i386                                install
  3. linux-base                                        install
  4. linux-firmware                                        install
  5. linux-headers-4.15.0-30deepin                        install
  6. linux-headers-4.15.0-30deepin-generic                install
  7. linux-headers-5.6.0-050600rc7                        install
  8. linux-headers-5.6.0-050600rc7-generic                install
  9. linux-headers-deepin-amd64                        install
  10. linux-image-deepin-amd64                        install
  11. linux-image-unsigned-4.15.0-30deepin-generic        install
  12. linux-image-unsigned-5.6.0-050600rc7-generic        install
  13. linux-libc-dev:amd64                                install
  14. linux-modules-4.15.0-30deepin-generic                install
  15. linux-modules-5.6.0-050600rc7-generic                install
  16. linux-modules-extra-4.15.0-30deepin-generic        install
  17. pptp-linux                                        install
  18. util-linux                                        install
Copy the Code
卸载内核
  1. sudo apt purge  linux-headers-5.6.0-050600rc7 linux-headers-5.6.0-050600rc7-generic linux-image-unsigned-5.6.0-050600rc7-generic linux-modules-5.6.0-050600rc7-generic
Copy the Code
其他问题WIFI无法使用
参考https://bbs.deepin.org/post/190500下载RTL8822CE_WiFi_linux_v5.7.3_34277_COEX20190531-0e0e.20190709.7z解压,进入目录
执行
  1. chmod +x install.sh
Copy the Code

然后双击install.sh运行就可以了。

Reply Favorite View the author
All Replies
avatar
pollora1979
deepin
2020-04-03 06:44
#1
这个是升级内核,调节亮度简单,修改参数就行,或者安装软件
Reply View the author
avatar
小明Hackintosh
deepin
2020-04-04 23:54
#2
https://bbs.deepin.org/post/190533
这个是升级内核,调节亮度简单,修改参数就行,或者安装软件

是的,升级了内核就可以调节亮度了。估计对AMD的CPU支持一般。另外一个intel的一点问题都没有。
Reply View the author
avatar
yohow
deepin
2020-04-05 01:13
#3
最好安装5.2.21的内核,不然太新的内核virtualbox启动不了
Reply View the author
avatar
yohow
deepin
2020-04-05 01:16
#4
我是锐龙R7的cpu更新内核和固件后可以调亮度也不卡了,无线的问题也解决了,唯一不能解决的是蓝牙问题
Reply View the author
avatar
ailingyue
deepin
2020-04-07 16:58
#5
按照此方法升级内核以后,屏幕亮度可以调节,出现其他问题: 1.蓝牙,连接以后会频断  2. 系统关机时间延长需要很多分钟
Reply View the author
avatar
pollora1979
deepin
2020-04-07 18:05
#6
https://bbs.deepin.org/post/190533
按照此方法升级内核以后,屏幕亮度可以调节,出现其他问题: 1.蓝牙,连接以后会频断  2. 系统关机时间延长 ...

蓝牙老问题安装bluetooth,吧鼠标设为trust
并把蓝牙地址写入配置文件 /etc/bluetooth/main.conf
例如
1 查询你的鼠标的蓝牙地址

1.1 如:E1E:02:05:5E:F5

2 将查询到的设备地址写入配置文件 /etc/bluetooth/main.conf

# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:1234:5678:abcd
DeviceID = bluetooth:E1E:02:05:5E:F5
Reply View the author
avatar
pollora1979
deepin
2020-04-07 18:08
#7
https://bbs.deepin.org/post/190533
按照此方法升级内核以后,屏幕亮度可以调节,出现其他问题: 1.蓝牙,连接以后会频断  2. 系统关机时间延长 ...

关机时间延长应该是user xxx 下有任务没有关闭,它就一直在等,默认等待的时长很长,所以等待时间很长,要让他自动处理,可以使用看门狗。
# 安装看门狗

# 然后设置开机启动服务
systemctl enable watchdog.service
#安装后到现在为止再也没有看到那个现象
systemctl start watchdog.service
Reply View the author
avatar
ailingyue
deepin
2020-04-08 00:45
#8
https://bbs.deepin.org/post/190533
蓝牙老问题安装bluetooth,吧鼠标设为trust
并把蓝牙地址写入配置文件 /etc/bluetooth/main.conf
例如

写入蓝牙地址以后依旧是提示连接失败
Reply View the author
avatar
ailingyue
deepin
2020-04-08 00:57
#9
https://bbs.deepin.org/post/190533
关机时间延长应该是user xxx 下有任务没有关闭,它就一直在等,默认等待的时长很长,所以等待时间很长, ...

安装开门狗启动之后还是存在这个问题
Reply View the author