jueves, 14 de marzo de 2024

Tee - install vysor

 From the webpage to install vysor in Debian


https://www.vysor.io/download/linux


In the page, command provided...


(echo 'deb [arch=amd64, trusted=yes] https://nuts.vysor.io/apt ./' | sudo tee /etc/apt/sources.list.d/vysor.list) && sudo apt update && sudo apt install vysor


Will be tackled down

echo 'deb [arch=amd64, trusted=yes] https://nuts.vysor.io/apt ./' | sudo tee /etc/apt/sources.list.d/vysor.list

sudo apt update

sudo apt install vysor


Everything goes smoothly:


viernes, 8 de marzo de 2024

Debian 12 on my Asus AMD ROG Strix G713QM

 Showing machine information on it, purpose is to deal with touchpad the comes in the laptop that is not woking by default


command:

sudo lnxi -Fx

output:

System:
 Host: ASUS-AMD-ROG Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64
   compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.27.5 Distro: Debian
   GNU/Linux 12 (bookworm)
Machine:
 Type: Laptop System: ASUSTeK product: ROG Strix G713QM_G713QM v: 1.0
   serial: M6NRKD02550423D
 Mobo: ASUSTeK model: G713QM v: 1.0 serial: OQ16MC05WT UEFI: American
   Megatrends LLC. v: G713QM.331 date: 02/24/2023
Battery:
 ID-1: BAT0 charge: 54.4 Wh (79.0%) condition: 68.9/90.0 Wh (76.5%)
   volts: 14.9 min: 15.9 model: AS3GWAF3KC GA50358 status: discharging
 Device-1: hidpp_battery_0 model: Logitech MX Anywhere 3 charge: 30%
   status: N/A
CPU:
 Info: 8-core model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64
   type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
 Speed (MHz): avg: 1462 high: 3300 min/max: 1200/4889 boost: enabled cores:
   1: 1200 2: 3300 3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200
   10: 1200 11: 1200 12: 1200 13: 1200 14: 3300 15: 1200 16: 1200
   bogomips: 105407
 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
 Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
   driver: nvidia v: 525.147.05 arch: Ampere bus-ID: 01:00.0
 Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
   vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 bus-ID: 05:00.0
   temp: 34.0 C
 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
   loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
   gpu: amdgpu resolution: 1920x1080~144Hz
 API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
   15.0.6 DRM 3.49 6.1.0-18-amd64) direct-render: Yes
Audio:
 Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
   driver: snd_hda_intel v: kernel bus-ID: 01:00.1
 Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
   driver: snd_hda_intel v: kernel bus-ID: 05:00.1
 Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
   driver: N/A bus-ID: 05:00.5
 Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
   driver: snd_hda_intel v: kernel bus-ID: 05:00.6
 API: ALSA v: k6.1.0-18-amd64 status: kernel-api
 Server-1: PulseAudio v: 16.1 status: active (root, process)
Network:
 Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
   vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
 IF: enp2s0 state: down mac: 7c:10:c9:26:7b:ce
 Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
   vendor: AzureWave driver: mt7921e v: kernel bus-ID: 03:00.0
 IF: wlp3s0 state: up mac: 48:e7:da:10:12:09
Bluetooth:
 Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
   bus-ID: 3-4:3
 Report: hciconfig ID: hci0 rfk-id: 0 state: up address: 48:E7:DA:10:12:08
   bt-v: 3.0 lmp-v: 5.2
Drives:
 Local Storage: total: 953.87 GiB used: 15.91 GiB (1.7%)
 ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ1T0HBLB-00B00
   size: 953.87 GiB temp: 32.9 C
Partition:
 ID-1: / size: 45.53 GiB used: 13.95 GiB (30.6%) fs: ext4 dev: /dev/nvme0n1p7
 ID-2: /boot/efi size: 96 MiB used: 33.6 MiB (35.0%) fs: vfat
   dev: /dev/nvme0n1p1
 ID-3: /home size: 136.45 GiB used: 1.93 GiB (1.4%) fs: ext4
   dev: /dev/nvme0n1p8
Swap:
 ID-1: swap-1 type: partition size: 3.73 GiB used: 0 KiB (0.0%)
   dev: /dev/nvme0n1p9
Sensors:
 System Temperatures: cpu: 40.5 C mobo: N/A gpu: amdgpu temp: 34.0 C
 Fan Speeds (RPM): cpu: 0
Info:
 Processes: 374 Uptime: 13h 17m Memory: 15.04 GiB used: 7.45 GiB (49.5%)
 Init: systemd target: graphical (5) Compilers: gcc: 12.2.0 Packages: 2483
 Shell: Sudo v: 1.9.13p3 inxi: 3.3.26


miércoles, 31 de agosto de 2022

Spring JMS

 JMS Pooling


https://community.pivotal.io/s/article/Using-Connection-Pooling-with-JMSTemplate-in-Spring-Framework?language=en_US

set a bean preloaded org.apache.activemq.pool.PooledConnectionFactory

<bean id="connectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" destroy-method="stop">

This class PooledConnectionFactory has a field connectionFactory



which get broker url in class ActiveMQConnectionFactory




finally jmstemplate class is preloaded as bean and set its property to connectyfactory set above

< property name="connectionFactory" ref="connectionFactory"/>


Active MQ - setup windows 10

 https://stackoverflow.com/questions/72574570/activemq-startup-problem-on-windows-filenotfoundexception-for-jolokia-access-x/72575295#72575295


set ACTIVEMQ_HOME=C:\\my-programs\\apache-activemq-5.17.1-bin\\


set PATH=%ACTIVEMQ_HOME%\bin;%PATH%

c:\my-programs\apache-activemq-5.17.1-bin>activemq start


ACTIVEMQ_HOME: C:\my-programs\apache-activemq-5.17.1-bin

ACTIVEMQ_BASE: C:\my-programs\apache-activemq-5.17.1-bin

ACTIVEMQ_CONF: C:\my-programs\apache-activemq-5.17.1-bin\conf

ACTIVEMQ_DATA: C:\my-programs\apache-activemq-5.17.1-bin\data

Loading message broker from: xbean:activemq.xml

 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[C:\my-programs\apache-activemq-5.17.1-bin\data\kahadb]

 INFO | KahaDB is version 7

 INFO | PListStore:[C:\my-programs\apache-activemq-5.17.1-bin\data\localhost\tmp_storage] started

 INFO | Apache ActiveMQ 5.17.1 (localhost, ID:LAPTOP-M1F6RIGI-59638-1661946020665-0:1) is starting

 INFO | Listening for connections at: tcp://LAPTOP-M1F6RIGI:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600

 INFO | Connector openwire started

 INFO | Listening for connections at: amqp://LAPTOP-M1F6RIGI:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600

 INFO | Connector amqp started

 INFO | Listening for connections at: stomp://LAPTOP-M1F6RIGI:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600

 INFO | Connector stomp started

 INFO | Listening for connections at: mqtt://LAPTOP-M1F6RIGI:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600

 INFO | Connector mqtt started

 INFO | Starting Jetty server

 INFO | Creating Jetty connector

 WARN | ServletContext@o.e.j.s.ServletContextHandler@47ffe971{/,null,STARTING} has uncovered http methods for path: /

 INFO | Listening for connections at ws://LAPTOP-M1F6RIGI:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600

 INFO | Connector ws started

 INFO | Apache ActiveMQ 5.17.1 (localhost, ID:LAPTOP-M1F6RIGI-59638-1661946020665-0:1) started

 INFO | For help or more information please see: http://activemq.apache.org

 INFO | ActiveMQ WebConsole available at http://127.0.0.1:8161/

 INFO | ActiveMQ Jolokia REST API available at http://127.0.0.1:8161/api/jolokia/


Using Power Shell

$Env:ACTIVEMQ_HOME="C:\\programs\\apache-activemq-5.17.1-bin\\"

$Env:JAVA_HOME="C:\programs\jdk-11.0.16.1+1"

$Env:PATH = "$Env:ACTIVEMQ_HOME\bin;$Env:PATH "

$Env:PATH = "$Env:JAVA_HOME\bin;$Env:PATH "


PS C:\workout> activemq start

viernes, 10 de julio de 2020

Change Boot Order in Ubuntu 20 focal

Install with

sudo apt install grub-customizer

Put in first place option that you want to select in general settings default one is the first entry.



miércoles, 15 de abril de 2020

HUAWEY Y7 2018 root

During my research I find out that model are shared with other device, so decide to look by model.

LDN-N21

So first of all I want to ensure that I can backup all phone and then restore if I need.

Pending to complete this tutorial.

More
link 1
link 2
link 3 (driver)
link 4