2021-12-05

m3400 - btop

 

btop

Resource monitor that shows usage and stats for processor, memory, disks, network and processes.




----

Features

  • Easy to use, with a game inspired menu system.

  • Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.

  • Fast and responsive UI with UP, DOWN keys process selection.

  • Function for showing detailed stats for selected process.

  • Ability to filter processes.

  • Easy switching between sorting options.

  • Tree view of processes.

  • Send any signal to selected process.

  • UI menu for changing all config file options.

  • Auto scaling graph for network usage.

  • Shows IO activity and speeds for disks

  • Battery meter

  • Selectable symbols for the graphs

  • Custom presets

  • And more... 

Screenshots

Main UI in TTY mode 


Main UI with custom options

https://github.com/aristocratos/btop



https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50370

2021-11-28

m3400 - MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel
Device-2: IMC Networks type: USB driver: uvcvideo
Display: server: X.Org 1.19.3 driver: loaded: amdgpu
unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz
OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 17.2.4

Quick System Info


System:    Host: <filter> Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: N/A
           parameters: BOOT_IMAGE=/antiX/vmlinuz bdev=nvme0n1p7 bdir=antiX from=hd
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
           Distro: MX-21_ahs_x64 Wildflower November 22  2021
           base: Debian GNU/Linux 11 (bullseye)
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M3400QA_M3400QA v: 1.0
           serial: <filter>
           Mobo: ASUSTeK model: M3400QA v: 1.0 serial: <filter> UEFI: American Megatrends LLC.
           v: M3400QA.301 date: 04/06/2021
Battery:   ID-1: BAT0 charge: 15.5 Wh condition: 44.4/50.0 Wh (89%) volts: 11.9/11.9
           model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> status: Discharging
           cycles: 102
CPU:       Topology: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
           arch: N/A family: 19 (25) model-id: 50 (80) stepping: N/A microcode: A50000C
           L1 cache: 512 KiB L2 cache: 4096 KiB L3 cache: 15.6 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
           bogomips: 102210
           Speed: 1135 MHz min/max: 1200/3200 MHz boost: enabled Core speeds (MHz): 1: 1852
           2: 1443 3: 1197 4: 1197 5: 1197 6: 1197 7: 1871 8: 1385 9: 1296 10: 1297 11: 1297
           12: 1297 13: 1297 14: 1297 15: 1135 16: 1134
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass
           mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP:
           always-on, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 03:00.0
           chip ID: 1002:1638
           Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
           unloaded: fbdev,modesetting,vesa resolution: 1920x1200~90Hz
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.0-4mx-amd64 LLVM 12.0.1)
           v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel
           bus ID: 03:00.1 chip ID: 1002:1637
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 03:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.14.0-4mx-amd64
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0
           chip ID: 8086:2723
           IF: wlan0 state: up mac: <filter>
Drives:    Local Storage: total: 505.83 GiB used: 31.06 GiB (6.1%)
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N size: 476.94 GiB
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
           rev: 41000C20 scheme: GPT
           ID-2: /dev/sda type: USB vendor: Transcend model: TS-RDF5 SD Transcend
           size: 28.89 GiB block size: physical: 512 B logical: 512 B serial: <filter> rev: TS33
           scheme: GPT
Partition: ID-1: / raw size: N/A size: 11.95 GiB used: 495.2 MiB (4.0%) fs: overlay
           source: ERR-102
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: amdgpu temp: 42 C
           Fan Speeds (RPM): cpu: 0
Repos:     No active apt repos in: /etc/apt/sources.list
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info:      Processes: 338 Uptime: 29m Memory: 15.05 GiB used: 1.79 GiB (11.9%) Init: SysVinit
           v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in
           running in: quick-system-in inxi: 3.0.36

Report copied to system clipboard
Report is already formatted for forum.
Paste directly into forum post. 
 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50363 

2021-09-13

m3400 - slitaz-x86_64-UEFI


slitaz-x86_64-UEFI

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0        VivoBook_ASUSLaptop M3400QA_M3400QA
BIOS           = M3400QA.301
Release        = "SliTaz GNU/Linux"
Kernel         = 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Init system    = sysvinit
Boot mode      = UEFI
Kernel command line: BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ ls /sys/firmware/efi
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab

tux@slitaz:~$ cat /sys/firmware/efi/fw_vendor
0xcd13cf18


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50275


 

m3400 - X11 Forwarding for Desktop over SSH

 

X11 Forwarding for Desktop over SSH

Type the command below, which will activate xinit in virtual terminal 8. Note that you will be automatically switched to virtual terminal 8. You can switch back to the original virtual terminal 7 by pressing Ctrl+Alt+F7.

# xinit -- :1 &

After switching to virtual terminal 8, execute the following command to launch the RPi desktop remotely. Type pi user password when asked (see picture below).

# DISPLAY=:1 ssh -X pi@192.168.2.5 lxsession

You will bring to your new virtual terminal 8 the remote RPi desktop, as well as a small terminal launched from your active virtual terminal 7 (see picture below).

Remember, do not close that terminal. Otherwise, your RPi desktop will close immediately.

You can move between first and second virtual terminals by pressing Ctrl+Alt+F7 or Ctrl+Alt+F8.

https://www.xmodulo.com/remote-control-raspberry-pi.html

virtual terminal 7 - vt7

root@slitaz:~# xinit -- :1 &
root@slitaz:~#

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
Kernel command line: BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Build Date: 15 March 2018 04:57:16PM

Current version of pixman: 0.34.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat Sep 4 11:54:59 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"


root@slitaz:~# ps ax | grep -B 1 -A 5 Xorg

 2636 ?        Ss     0:00 /usr/bin/slim -d
 2642 tty7     Ssl+   1:09 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
 2657 ?        Sl     0:04 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
 2695 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session openbox-session
 2696 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --session
 2709 ?        Sl     0:00 /usr/libexec/gvfsd
 2714 ?        Sl     0:00 /usr/libexec/gvfsd-fuse /home/tux/.gvfs -f -o big_writes
--
 4364 pts/0    S      0:00 xinit -- :1
 4366 tty8     S<sl+   0:00 /usr/libexec/Xorg :1
 4380 pts/0    S      0:00 xterm -geometry +1+1 -n login
 4381 pts/1    Ss     0:00 sh
 4383 ?        I      0:00 [kworker/3:2-events]
 4384 pts/1    S+     0:01 ssh -Y tux@192.168.0.192 openbox-session
 4389 ?        I      0:00 [kworker/4:0-events]
 4396 pts/0    R+     0:00 ps ax
 4398 pts/0    S+     0:00 grep -B 1 -A 5 Xorg
root@slitaz:~# 




virtual terminal 8 - vt8

login - xterm
root@slitaz:~# DISPLAY=:1 ssh -Y tux@192.168.0.192 openbox-session

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
tux@192.168.0.192's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Obt-Message: Failed to open an Input Method
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-AbPhdIjHlc,guid=b322887fba9877e40478d99861333d77';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=6567;
DBUS_SESSION_BUS_WINDOWID=8388609;

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

SliTaz x86_64 - sakura
~ $ lxpanel -p slitaz &

~ $
(lxpanel:6669): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(lxpanel:6669): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

~ $ echo $DISPLAY
localhost:10.0

~ $ env | egrep 'SSH|DIS'
SSH_CLIENT=192.168.0.191 59020 22
DISPLAY=localhost:10.0
SSH_CONNECTION=192.168.0.191 59020 192.168.0.192 22
~ $




https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50274


2021-09-11

slitaz -adb


slitaz -adb

slitaz-4.0.iso 34.7M

http://research.cs.wisc.edu/wings/projects/wisense/downloads/adb_tools_linux.tar.gz

check-list:
1.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux

2.
tux@slitaz:~$ tar -xzf adb_tools_linux.tar.gz

tux@slitaz:~$ ls -l platform-tools/adb
-rwxrwxr-x 1 tux users 1226659 Jun 14 2013

tux@slitaz:~$ platform-tools/adb version
Android Debug Bridge version 1.0.31

3.
tux@slitaz:~$ ldd platform-tools/adb

platform-tools/adb:
linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb7734000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7701000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76e9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb761d000)
libm.so.6 => /lib/libm.so.6 (0xb75f6000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb75df000)
libc.so.6 => /lib/libc.so.6 (0xb749b000)
libdl.so.2 => /lib/libdl.so.2 (0xb7497000)
/lib/ld-linux.so.2 => /lib/ld-2.13.so (0xb773d000)

4.
tux@slitaz:~$ sudo tazpkg get-install file

tux@slitaz:~$ file platform-tools/adb

platform-tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped 


https://forum.slitaz.org/topic/android-adb-tool-does-not-want-to-work-on-slitaz-40#post-50272

m3400 - X11 Forwarding over sshx

 

X11 Forwarding over sshx

Dropbear and the X server

Dropbear supports X11 tunneling on the server side only. The client dbclient has no support for X11 tunneling. SliTaz provides a tiny shell script named /usr/bin/sshx to do the work. It opens a terminal with remote X11 protocol support if the environment variable DISPLAY is set. You can launch any remote X windows application on this terminal.

https://doc.slitaz.org/en:handbook:ssh#dropbear-and-the-x-server

tux@slitaz:~$ sshx tux@192.168.0.192

dbclient:
Host '192.168.0.192' key accepted unconditionally.
(ecdsa-sha2-nistp256 fingerprint md5 fc:6e:2b:c2:d7:68:46:d8:92:62:ef:e0:37:8d:8c:55)

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.

tux@192.168.0.192's password:

switch to xterm
tux@slitaz:~$ echo $DISPLAY
localhost:77.0

tux@slitaz:~$ env | egrep 'SSH|DIS'
SSH_CLIENT=192.168.0.191 46322 22
DISPLAY=localhost:77.0
SSH_CONNECTION=192.168.0.191 46322 192.168.0.192 22

tux@slitaz:~$ leafpad /usr/bin/sshx






https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50271

m3400 - X11 Forwarding over SSH

 

X11 Forwarding over SSH

Dropbear server implements X11 forwarding, and
authentication-agent forwarding for OpenSSH clients

https://matt.ucc.asn.au/dropbear/dropbear.html

tux@slitaz:~$ ssh -V
OpenSSH_7.6p1, OpenSSL 1.1.0g 2 Nov 2017

tux@slitaz:~$ grep -B 1 XAuth /etc/ssh_config
Host *
XAuthLocation /usr/bin/xauth

tux@slitaz:~$ ssh -Y root@192.168.0.192

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
root@192.168.0.192's password:

Welcome to the Open Source World!

SliTaz GNU/Linux is distributed in the hope that it will be useful,
but with ABSOLUTELY NO WARRANTY.

root@slitaz:~# echo $DISPLAY
localhost:10.0

root@slitaz:~# leafpad test.txt




https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50270


2021-09-08

m3400 - make xconfig - QT/X-windows interface

 

make xconfig - QT/X-windows interface



Kernel : Linux 5.4.41-slitaz (x86_64)

Current Operating System: Linux slitaz 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64


Asus Notebook WMI Driver (ASUS_NB_WMI)

ASUS WMI Driver (ASUS_WMI)

CONFIG_ASUS_WMI:

Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
Asus Notebooks).

To compile this driver as a module, choose M here: the module will
be called asus-wmi.

Symbol: ASUS_WMI [=m]
Type : tristate
Prompt: ASUS WMI Driver
Location:
-> Device Drivers
-> X86 Platform Specific Device Drivers (X86_PLATFORM_DEVICES [=y])
Defined at drivers/platform/x86/Kconfig:674
Depends on: X86 [=y] && X86_PLATFORM_DEVICES [=y] && ACPI_WMI [=m] && ACPI_BATTERY [=y] && INPUT [=y] && HWMON [=y] && BACKLIGHT_CLASS_DEVICE [=y] && (RFKILL [=y] || RFKILL [=y]=n) && HOTPLUG_PCI [=y] && (ACPI_VIDEO [=y] || ACPI_VIDEO [=y]=n)
Selects: INPUT_SPARSEKMAP [=m] && LEDS_CLASS [=y] && NEW_LEDS [=y]


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=19#post-50267

m3400 - Battery - lxpanel - lxqt-panel

 

Battery - lxpanel - lxqt-panel

lxpanel



lxqt-powermanagement



*** estimated value ***

Discharging Energy rate: 12.12 W
tux@slitaz:~$ calc 50/12.12
4.12541 (hr)

tux@slitaz:~$ calc 12.12/11.88
1.0202 (A)

Charging Energy rate: 48.42 W
tux@slitaz:~$ calc 50/48.42
1.03263 (hr)

tux@slitaz:~$ calc 48.42/11.88
4.07576 (A)


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=19#post-50266


2021-09-06

m3400 - Battery - batstat

 

Battery - batstat


Discharging

tux@slitaz:~$ batstat

Status:                       Discharging
Max energy:                   49.74 Wh
Energy left:                  32.35 Wh
Power Consumption:            9.77 W
Percentage left:              65.03%
Average power Consumption:    10.42 Wh
Time elapsed:                  0: 9:18 since 68.28%
= Time   ======== Percent ============================================
 0: 0: 0          68.28%
 0: 1: 0          67.92%
 0: 2: 0          67.57%
 0: 3: 0          67.23%
 0: 4: 0          66.87%
 0: 5: 0          66.51%
 0: 6: 0          66.16%
 0: 7: 0          65.82%
 0: 8: 0          65.47%
 0: 9: 0          65.13%

Charging
tux@slitaz:~$ batstat

Status:                       Charging
Max energy:                   49.74 Wh
Energy left:                  39.40 Wh
Power Consumption:            23.91 W
Percentage left:              79.22%
Average power Consumption:    -25.38 Wh
Time elapsed:                  0: 3:39 since 76.12%
= Time   ======== Percent ============================================
 0: 0: 0          76.12%
 0: 1: 0          77.00%
 0: 2: 0          77.86%
 0: 3: 0          78.70%

https://github.com/Juve45/batstat


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50264

2021-09-05

m3400 - Battery - tlp

 

Battery - tlp



Discharging
tux@slitaz:~$ sudo tlp-stat -b

Password:
--- TLP 1.1 --------------------------------------------

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = ASUS Battery
/sys/class/power_supply/BAT0/cycle_count                    =     57
/sys/class/power_supply/BAT0/energy_full_design             =  50014 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49741 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  31636 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   9860 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

Charge                                                      =   63.6 [%]
Capacity                                                    =   99.5 [%]

Charging
tux@slitaz:~$ sudo tlp-stat -b
Password:
--- TLP 1.1 --------------------------------------------

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = ASUS Battery
/sys/class/power_supply/BAT0/cycle_count                    =     57
/sys/class/power_supply/BAT0/energy_full_design             =  50014 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  49741 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  31779 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  47032 [mW]
/sys/class/power_supply/BAT0/status                         = Charging

Charge                                                      =   63.9 [%]
Capacity                                                    =   99.5 [%]

tux@slitaz:~$ sudo tlp-stat -s
Password:
--- TLP 1.1 --------------------------------------------

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0        VivoBook_ASUSLaptop M3400QA_M3400QA
BIOS           = M3400QA.301
Release        = "SliTaz GNU/Linux"
Kernel         = 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Init system    = sysvinit
Boot mode      = UEFI

+++ TLP Status
State          = enabled
Last run       = 13:37:23,    243 sec(s) ago
Mode           = battery
Power source   = battery

tux@slitaz:~$ 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=16#post-50263

m3400 - Battery - upower

Battery - upower



Battery: ID-1: BAT0 charge: 17.9 Wh (36.0%) condition: 49.7/50.0 Wh (99.5%) volts: 11.9 min: 11.9
Battery 50WHrs, 3S1P, 3-cell lithium ion battery power supply ø4.5, 90W AC adapter, output: 19V DC, 4.74A, 90W, input: 100~240V AC 50/60Hz universal
discharging tux@slitaz:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: ASUSTeK model: ASUS Battery power supply: yes updated: Sun Sep 5 13:14:49 2021 (107 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 39.94 Wh energy-empty: 0 Wh energy-full: 49.741 Wh energy-full-design: 50.014 Wh energy-rate: 9.919 W voltage: 11.88 V time to empty: 4.0 hours percentage: 80% capacity: 99.4542% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1630847689 9.919 discharging charging tux@slitaz:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: ASUSTeK model: ASUS Battery power supply: yes updated: Sun Sep 5 14:07:52 2021 (14 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 34.392 Wh energy-empty: 0 Wh energy-full: 49.741 Wh energy-full-design: 50.014 Wh energy-rate: 38.788 W voltage: 11.88 V time to full: 23.7 minutes percentage: 69% capacity: 99.4542% technology: lithium-ion icon-name: 'battery-full-charging-symbolic' History (charge): 1630850872 69.000 charging History (rate): 1630850872 38.788 charging

tux@slitaz:~$ upower -v
UPower client version 0.99.7

UPower daemon version 0.99.7 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50262 

2021-09-03

m3400 - xrandr - lxrandr

xrandr - lxrandr




Display: server: X.Org 1.19.3 driver: loaded: amdgpu
unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz

tux@slitaz:~$ xrandr

Screen 0: minimum 320 x 200, current 2880 x 1800, maximum 16384 x 16384
eDP-1 connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 302mm x 189mm

   2880x1800     90.00*+  60.00
   2048x1536     85.00    75.00    60.00
   1920x1440     85.00    75.00    60.00
   1856x1392     75.00    60.01
   1792x1344     75.00    60.01
   1920x1200     90.00
   1920x1080     90.00
   1600x1200     90.00    85.00    75.00    70.00    65.00    60.00
   1680x1050     90.00
   1400x1050     74.76    59.98
   1280x1024     90.00    85.02    75.02    60.02
   1440x900      90.00
   1280x960      85.00    60.00
   1280x800      90.00
   1152x864      75.00
   1280x720      90.00
   1024x768      90.00    85.00    75.05    60.04    85.00    75.03    70.07    60.00
   1024x768i     86.96
   960x720       85.00    75.00    60.00
   928x696       75.00    60.05
   896x672       75.05    60.01
   832x624       74.55
   800x600       90.00    85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25
   700x525       74.76    59.98
   640x512       85.02    75.02    60.02
   640x480       90.00    85.09    60.00    85.01    72.81    75.00    59.94
   720x400       85.04
   640x400       85.08
   576x432       75.00
   640x350       85.08
   512x384       85.00    75.03    70.07    60.00
   512x384i      87.06
   416x312       74.66
   400x300       85.27    72.19    75.12    60.32    56.34
   320x240       85.18    72.81    75.00    60.05
   360x200       85.04
   320x200       85.27
   320x175       85.27 

HDMI-1 disconnected (normal left inverted right x axis y axis) 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50259

2021-08-30

m3400 - ASUS Vivobook Pro 14 M3400QA


ASUS Vivobook Pro 14 M3400QA

Processor	AMD Ryzen™ 7 5800H processor 3.2GHz 8 cores
Graphics	AMD Radeon™ Graphics
Display		14.0 inches, OLED, WQXGA+ (2880 x 1800) 16:10, 400nits,
		DCI-P3: 100%, Pantone Validated
Memory		8GB DDR4 SO-DIMM x 2, Memory Max 16GB
Storage		512GB M.2 NVMe™ PCIe® 3.0 SSD
Network		Wi-Fi 6(802.11ax)+Bluetooth 5.0 (Dual band) 2*2

华硕无畏 Pro14 锐龙版 (chinese)
https://www.asus.com.cn/Laptops/For-Home/VivoBook/Vivobook-Pro-14-M3400/techspec/

AMD Ryzen™ 7 5800H

Launch Date: 1/12/2021

https://www.amd.com/en/products/apu/amd-ryzen-7-5800h 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50252

2021-08-26

m3400 - inxi

inxi

tux@slitaz:~$ inxi -Fz

System:
  Kernel: 5.13.7-xanmod1 x86_64 bits: 64 Desktop: Openbox 3.6.1
  Distro: slitaz64
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M3400QA_M3400QA
  v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: M3400QA v: 1.0 serial: <filter>
  UEFI: American Megatrends LLC. v: M3400QA.301 date: 04/06/2021
Battery:
  ID-1: BAT0 charge: 17.9 Wh (36.0%) condition: 49.7/50.0 Wh (99.5%)
  volts: 11.9 min: 11.9
CPU:
  Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
  type: MT MCP cache: L2: 4 MiB
  Speed: 1583 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 1583 2: 3552
  3: 2536 4: 4440 5: 3553 6: 2519 7: 1397 8: 1397 9: 1396 10: 1397 11: 1396
  12: 1397 13: 1397 14: 1396 15: 1396 16: 1397
Graphics:
  Device-1: AMD Cezanne driver: amdgpu v: kernel
  Device-2: IMC Networks type: USB driver: uvcvideo
  Display: server: X.Org 1.19.3 driver: loaded: amdgpu
  unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz
  OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 17.2.4
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
  Device-3: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.13.7-xanmod1 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: not found
  rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 505.83 GiB used: 10.06 GiB (2.0%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N
  size: 476.94 GiB
  ID-2: /dev/sda type: USB vendor: Transcend model: TS-RDF5 SD Transcend
  size: 28.89 GiB
Swap:
  Alert: No swap data was found.
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 296 Uptime: 1h 21m Memory: 15.04 GiB used: 1.17 GiB (7.8%)
  Shell: sh inxi: 3.3.06 

tux@slitaz:~$ inxi --recommends | grep Missing
bt-adapter: -E bluetooth data (if no hciconfig).................. Missing
dig: -i wlan IP.................................................. Missing
doas: -Dx hddtemp-user; -o file-user (alt for sudo).............. Missing
hciconfig: -E bluetooth data (deprecated, good report)........... Missing
hddtemp: -Dx show hdd temp, if no drivetemp module............... Missing
ipmi-sensors: -s IPMI sensors (servers).......................... Missing
lvs: -L LVM data................................................. Missing
runlevel: -I fallback to Perl.................................... Missing
dig: -i wlan IP.................................................. Missing
Cpanel::JSON::XS: --output json - required for export............ Missing
JSON::XS: --output json - required for export (legacy)........... Missing
XML::Dumper: --output xml - Crude and raw........................ Missing

tux@slitaz:~$ sensors
amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:       +1.45 V
vddnb:        +0.67 V
edge:         +44.0 C
power1:        3.00 mW 

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

tux@slitaz:~$ cat /sys/class/thermal/thermal_zone*/type
acpitz
iwlwifi_1

tux@slitaz:~$ cat /sys/class/thermal/thermal_zone*/temp
50000

37000 


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50245

2021-08-22

m3400 - lshw - hwinfo - lspci


lshw - hwinfo - lspci

tux@slitaz:~$ sudo lshw -c display

Password:
  *-display
       description: VGA compatible controller
       product: ATI Technologies Inc
       vendor: ATI Technologies Inc
       physical id: 0
       bus info: pci@0000:03:00.0
       version: c5
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       resources: irq:48 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fcc00000-fcc7ffff

tux@slitaz:~$ hwinfo --gfxcard
06: PCI 300.0: 0300 VGA compatible controller (VGA)
  [Created at pci.378]
  Unique ID: svHJ.IOQy4ZSs+I8
  Parent ID: JZZT.e+TNXSUNut3
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: graphics card
  Model: "ATI VGA compatible controller"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x1638
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x19c2
  Revision: 0xc5
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xe0000000-0xe01fffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfcc00000-0xfcc7ffff (rw,non-prefetchable)
  IRQ: 48 (no events)
  Module Alias: "pci:v00001002d00001638sv00001043sd000019C2bc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #21 (PCI bridge)

Primary display adapter: #6

tux@slitaz:~$ sudo lspci -v | grep -A 22 VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 19c2
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at e0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at f000 [size=256]
	Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] #19
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [400] #25
	Capabilities: [410] #26
	Capabilities: [440] #27
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

tux@slitaz:~$ 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50232

2021-08-17

m3400 - neofetch


neofetch

tux@slitaz:~$ neofetch

        @    @(               @           tux@slitaz
      @@   @@                  @    @/    ----------
     @@   @@                   @@   @@    OS: SliTaz GNU/Linux x86_64
    @@  %@@                     @@   @@   Host: VivoBook_ASUSLaptop M3400QA_M3400QA 1.0
   @@  %@@@       @@@@@.       @@@@  @@   Kernel: 5.13.7-xanmod1
  @@@    @@@@    @@@@@@@    &@@@    @@@   Uptime: 6 hours, 36 mins
   @@@@@@@ %@@@@@@@@@@@@ &@@@% @@@@@@@/   Packages: 386 (tazpkg)
       ,@@@@@@@@@@@@@@@@@@@@@@@@@         Shell: sh
  .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/     Resolution: 2880x1800
@@@@@@.  @@@@@@@@@@@@@@@@@@@@@  /@@@@@@   WM: Openbox
@@    @@@@@  @@@@@@@@@@@@,  @@@@@   @@@   WM Theme: SliTaz
@@ @@@@.    @@@@@@@@@@@@@%    #@@@@ @@.   Theme: SliTaz [GTK2], Adwaita [GTK3]
@@ ,@@      @@@@@@@@@@@@@      @@@  @@    Icons: SliTaz [GTK2], Adwaita [GTK3]
@   @@.     @@@@@@@@@@@@@     @@@  *@     Terminal: sakura
@    @@     @@@@@@@@@@@@      @@   @      Terminal Font: monospace 12
      @      @@@@@@@@@.     #@            CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
       @      ,@@@@@       @              GPU: AMD ATI Cezanne
                                          Memory: 2791MiB / 15404MiB






https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa#post-50226

m3400 - cpu-g

 

cpu-g-0.9-beta