Linux honor magicbook pro

Linux Mint Forums

SOLVED] Honor Magicbook Pro — AMD Ryzen 4000 Radeon Graphics

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

SOLVED] Honor Magicbook Pro — AMD Ryzen 4000 Radeon Graphics

Post by magicbook_pro » Fri Oct 09, 2020 1:27 pm

i just bought the Honor Magicbook. Pre-Installed Windows was running okay so far, but i do not want a home-calling os. So i installed mint.

But i have two problems. The system is not able so use standby mode (suspend) neither return out of this mode.. anyone help?

second issue: the graphics driver is not working correctly.. following the output of :

System: Host: xxxxxxxxx Kernel: 5.4.0-48-generic x86_64 bits: 64 Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana Machine: Type: Laptop System: HUAWEI product: HLYL-WXX9 v: M1050 serial: Mobo: HUAWEI model: HLYL-WXX9-PCB v: M1050 serial: UEFI: HUAWEI v: 1.03 date: 07/03/2020 Battery: ID-1: BAT1 charge: 28.0 Wh condition: 54.9/54.9 Wh (100%) CPU: Topology: 6-Core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP L2 cache: 3072 KiB Speed: 1496 MHz min/max: 1400/3000 MHz Core speeds (MHz): 1: 1397 2: 1397 3: 1396 4: 1395 5: 1398 6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1396 12: 1396 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: N/A Display: x11 server: X.Org 1.20.8 driver: ati,fbdev unloaded: modesetting,radeon,vesa resolution: 1920x1080~77Hz OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) v: 3.3 Mesa 20.0.8 Audio: Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-48-generic Network: Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter driver: rtw_pci IF: wlp1s0 state: up mac: 80:30:49:32:9a:f9 Drives: Local Storage: total: 238.47 GiB used: 25.33 GiB (10.6%) ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-00000 size: 238.47 GiB Partition: ID-1: / size: 180.87 GiB used: 12.64 GiB (7.0%) fs: ext4 dev: /dev/nvme0n1p7 Sensors: System Temperatures: cpu: 39.6 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 263 Uptime: 33m Memory: 7.22 GiB used: 1.75 GiB (24.2%) Shell: bash inxi: 3.0.38 

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Читайте также:  Mount read only ntfs linux

Installing Arch Linux on Honor Magicbook

Last week I bought a Honor MagicBook 14 laptop. This blog post documents setting up an Arch Linux system on this machine.

Hardware information

Tech specs for the Honor MagicBook 14 with 16GB RAM and a 512GB SDD:

  • CPU: AMD Ryzen ™ 5 3500U Prozessor
  • Graphic card: Radeon™ Vega 8 Graphics
  • Display: 14”, 1920 x 1080, 157 DPI

BIOS screenshot

Base system installation

$ sha1sum archlinux-2020.12.01-x86_64.iso aea95a15c9f034d10e665247cfe782bccb5b306e archlinux-2020.12.01-x86_64.iso

Copy image on a USB drive. This is surprisingly simple on a Linux system (be careful to specify the right device).

# cat archlinux-2020.12.01-x86_64.iso > /dev/sdg

After we are done, the USB drive can be restored with

wipefs --all /dev/sdX fdisk /dev/sdX # create a primary partition with code 'b' mkfs.vfat /dev/sdX1 

Enter the BIOS by pressing F1 , F2 , or Del (I pressed all these keys, don’t know which one worked). Change settings to booting from USB device. Disable secure boot. Restart.

No idea why verifying the boot mode is important. I apparently booted in the UEFI mode. https://wiki.archlinux.org/index.php/Arch_boot_process

Wifi connection setup

Saying goodbye to Windows

Original partition table

Get rid of every partition except the EFI one.

Repartition and create new file systems.

Device Start End Sectors Size Type /dev/nvme0n1p1 2048 206847 204800 100M EFI System /dev/nvme0n1p2 206848 33761279 33554432 16G Linux swap /dev/nvme0n1p3 33761280 1000215182 966453903 460.8G Linux root (x86-64)

Keyboard map and locale

Set and generate locale. Save config to /etc/locale.conf

Set keyboard layout in /ect/vconsole.conf

Other layouts are listed here:

ls /usr/share/kbd/keymaps/**/*.map.gz

Boot loader installation

Install grub and efibootmgr packages. Follow https://wiki.archlinux.org/index.php/GRUB for UEFI systems.

Configuration

useradd -m -G rfkill,wheel julian

Networking

Enable iwd.service . Connect to a wireless network using iwctl . Enable DHCP feature of iwd in the config file /etc/iwd/main.conf :

[General] EnableNetworkConfiguration=true [Network] NameResolvingService=systemd
systemctl enable --now systemd-resolved.service

Xorg

Display manager: None – just use .xinitrc and startx

Window manager package: i3-wm

Setting the right DPI

According to the tech spec, the DPI of the display is 157. Xorg doesn’t detect this automatically as can be seen from the xpdyinfo output

screen #0: dimensions: 1920x1080 pixels (508x285 millimeters) resolution: 96x96 dots per inch

There are many ways to set a DPI value. For example, using .xinitrc , we can do

i3 window manager

Volume and mute keys work out-of-the-box. This is not the case for screen backlight hotkeys. See the “Power management” section.

Terminal emulator

Decided to try kitty , after having some trouble with fonts in urxtv.

Kitty terminal emulator

Color themes can be cloned right into the config directory

git clone --depth 1 git@github.com:dexpota/kitty-themes.git ~/.config/kitty/kitty-themes

Also, to convince i3-sensible-terminal to use kitty per default we need

Читайте также:  Linux wifi теряет сеть

Vim configuration

Zenburn colors are not shipped as a part on any standard package. Do git clone https://github.com/jnurmine/Zenburn.git and copy the colors directory to ~/.vim/colors to get the scheme definition.

ssh agents

Generate ssh keys (for Github, Gitlab etc.) using

ssh-keygen -t ed25519 -C 'julian@wergieluk.com'

Power management

Is there a way to measure whether these settings bring anything?

  • Add the line options snd_hda_intel power_save=1 to /etc/modprobe.d/audio-powersave.conf to susspend sound card if not used.

Another recommended way to save power, is to blacklist modprobe modules of unused devices. For that I created a file /etc/modprobe.d/blacklist.conf with a list of modules, and included that file in the FILES array of /etc/mkinitcpio.conf :

FILES=(/etc/modprobe.d/blacklist.conf)

Screen brightness

xev events when pressing the brightness-up and brightness-down keys:

KeyRelease event, serial 35, synthetic NO, window 0x2200001, root 0x6ab, subw 0x0, time 49258531, (-1,720), root:(963,742), state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 35, synthetic NO, window 0x2200001, root 0x6ab, subw 0x0, time 49263961, (-1,720), root:(963,742), state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

Set user permissions to modify screen brightness:

With these permissions in place, the backlight intensity can be set using

$ echo 100 > /sys/class/backlight/amdgpu_bl0/brightness

I ended up using brightnessctl which is written in C and has no dependencies. Wiring the brightnessctl invocations to keysyms listed above can be done in the i3 config file (note the 5%- notation).

bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%

Webcam

Hardware accelerated video decoding

Misc

Sound works out-of-the-box after installing pulseaudio and pulseaudio-alsa .

Conclusion

Setting Arch Linux with a non-standard window manager like i3 clearly requires some effort and knowledge. I didn’t hit any major roadblocks like missing hardware drivers. Most of necessary steps are clearly described on the Arch wiki. I learned some interesting details about Xorg while working on this installation.

Источник

Linux honor magicbook pro

HONOR 50

HONOR 50

HONOR 50 Lite

HONOR 50 Lite

HONOR X8

HONOR X8

HONOR 50

HONOR 50

HONOR 50 Lite

HONOR 50 Lite

HONOR X8

HONOR X8

HONOR MagicBook 16

HONOR MagicBook View 14

HONOR MagicBook 15 AMD

HONOR MagicBook X 15

HONOR MagicBook 14 AMD

HONOR MagicBook View 14

HONOR MagicBook 16

HONOR MagicBook 14 AMD

HONOR MagicBook 15 AMD

HONOR MagicBook 14 2021

HONOR MagicBook 15 2021

HONOR MagicBook X 14

HONOR MagicBook X 15

HONOR MagicWatch 2

HONOR Watch ES

HONOR MagicWatch 2 42mm

HONOR Band 6

HONOR Band 5

HONOR Earbuds 2 Lite

HONOR AM115

HONOR CHOICE Earbuds X

О бренде
События HONOR
Узнайте больше

Программа Test & buy

HONOR 50

HONOR 50

HONOR 50 Lite

HONOR 50 Lite

HONOR X8

HONOR X8

HONOR 50

HONOR 50

HONOR 50 Lite

HONOR 50 Lite

HONOR X8

HONOR X8

HONOR MagicBook 16

HONOR MagicBook View 14

HONOR MagicBook 15 AMD

HONOR MagicBook X 15

HONOR MagicBook View 14

HONOR MagicBook 16

HONOR MagicBook 14 AMD

HONOR MagicBook 15 AMD

HONOR MagicBook 14 2021

HONOR MagicBook X 14

HONOR MagicBook X 15

HONOR MagicWatch 2

HONOR Watch ES

HONOR MagicWatch 2 42mm

HONOR Band 6

HONOR Earbuds 2 Lite

HONOR AM115

HONOR CHOICE Earbuds X

Добро пожаловать на платформу HONOR. Чтобы предоставить вам более качественные услуги, нам необходимо получить информацию об устройстве, сети, идентификаторе учетной записи и использовании. Мы обещаем принять соответствующие меры безопасности для защиты вашей личной информации. Нажимая СОГЛАСЕН, вы подтверждаете, что согласны с этими условиями, а также Заявление о платформе HONOR и конфиденциальности и Пользовательское соглашение платформы HONOR.

Я хотел(а) бы получить последнюю информацию о компании и продуктах HONOR. * Вы можете отказаться от подписки в любое время. Пожалуйста, ознакомьтесь с нашей «Политикой конфиденциальности» для получения более подробной информации.

Источник

Honor MagicBook 15 Linux?

Report

Читайте также:  Virtual links in linux

Are you sure you want to accept this answer?

  • Details
  • Pictures shared by others ()
  • Featured posts / Un-Featured posts
  • Pin in this section
  • Un-pin in this section
  • Pin all sections
  • Un-pin all sections
  • Favorite
  • Unfavorite
  • Favorited Successfully
  • Unfavorited Successfully
  • Quote
  • Reply
  • Top
  • Un-top
  • Delete
  • Report
  • Why are you reporting this?
  • 1.Sexual content / Violence / Insults
  • 2.Racial discrimination / Terrorism
  • 3.Infringement / Privacy
  • 4.Unauthorized transaction or advertisement
  • 5.Others
  • picture evidence
  • Cancel
  • Submit
  • Choose an option
  • Accepted
  • View more
  • Voting time:
  • reply to
  • The following content will be displayed after you reply
  • A total of people voted
  • View more
  • Energy
  • You don’t have permission
  • honor.operation.report.self.tip
  • You have reported this post
  • empty
  • You can only choose options
  • The comment has been deleted.
  • Report successful
  • Yes
  • No
  • The vote is not open yet
  • Voting ended!
  • Please vote..
  • Confirm to jump to the link?
  • Home
  • Confirm to delete
  • The link Copied

Why are you reporting this?

1.Sexual content / Violence / Insults

  • 1.Sexual content / Violence / Insults
  • 2.Racial discrimination / Terrorism
  • 3.Infringement / Privacy
  • 4.Unauthorized transaction or advertisement
  • 5.Others

user-headImg

View the check-in calendar

  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December
  • SUN
  • MON
  • TUE
  • WED
  • THU
  • FRI
  • SAT
  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • HONOR fans checked today
  • xx days in a row
  • xx day in a row
  • xx days in a row

Hot Sections —>

  • HONOR Band 6
  • HONOR Watch ES
  • HONOR 10X Lite
  • HONOR Watch GS Pro
  • Tips and Tricks
  • Magic UI
  • Photography
  • Themes and Wallpapers

—>

Fan Contribution List

Copyright © Honor Device Co., Ltd. 2020-2023. All rights reserved. 粤公网安备 44030702003447号 粤ICP备20047157号

This site uses cookies. By clicking on ACCEPT or continuing to browse the site, you authorize their use. Click here.

We use cookies and similar technologies to make our website work efficiently, as well as to analyze our website traffic and for advertising purposes.

By clicking on «Accept all cookies» you allow the storage of cookies on your device. For more information, take a look at our Cookie Policy.

Strictly necessary cookies are necessary for the proper functioning of this site and for the provision of services expressly requested by the user. Please note that disabling them may affect the use of the website. These cookies can only be disabled through browser settings.

Functional cookies are used to improve functionality and personalization, such as when playing videos or during live chats.

Analytical cookies provide information on how this site is used. This improves the user experience. The data collected is aggregated and made anonymous.

Advertising cookies provide information about user interactions with HONOR content. This helps us better understand the effectiveness of the content of our emails and our website.

Источник

Оцените статью
Adblock
detector