Category Archives: Computer/Technical

Raspberry Pi Pico W + PicoOLED 2.23 + Arduino 顯示天氣預報降雨機率和空污指數

有時候人生就是不能亂買東西,一步錯步步錯,然後就弄了這個出來,當然不是圖中大螢幕的屋內屋外溫濕度狀況,而是左上角小小的溫度預測

至於怎麼來的,一切都要從邪惡的阿媽爽60元免運說起,因為60元免運,有時候就會將有些小東西放到購物車內,因為有時候即使加了稅金,從美亞(美國亞馬遜Amazon)網站買東西還比淘寶買便宜,更不要說很多東西只有美亞有,這時候小東西湊60元免運頗方便的

原來是我有二張 Arduino 的板子,本來也只是接來做溫度偵測,也沒有什麼用,想說接個小螢幕顯示一下天氣預報,但是這東西又不是很必要,就想想而已,就隨便找了一個看起來順眼的 SPI LCD 和 OLED (想說比較省電)就放到購物車了,上個月美國很多東西都特價,兩雙鞋子才 30 元美金,這塊 OLED 好像也才 15 上下,就被拿來湊運費了,沒想到我手上並沒有東西可以接

Read more »

Build CentOS 8 Kernel from Source on ARM64 Platform

Due to CentOS website document cannot provide a simple instruction to build CentOS 8 stream with some easy steps. So, I make a note to record these procedures about how to build it.

Detail description and instruction, please refer to CentOS document, but if you have read the document and still don’t know how to do that, it can follow my instruction to build the kernel from CentOS 8 kernel source.

Read more »

Kubuntu Left Mouse Button Suddenly Stopped Working

It’s a strange problem, after login kubuntu/ubuntu system, after a while, the mouse click won’t work anymore suddenly. but it still can move. original post is for ubuntu 18.04, but it’s also work on my ubuntu 22.04

How to solve it temporary ? reload the psmouse driver

sudo modprobe -r psmouse

Suppose the ACPI driver or UEFI cause this issue, but not easy to find it out.

ref.
[SOLUTION] Left mouse button suddenly stopped working on Ubuntu 18.04

FF14 中華電信 LAG 問題

看到有人說改 MTU 可以解決 FF14 FFXIV 的延遲問題,【心得】中華電信FF14晚間卡頓解決方式
這個之前有看到過,但是忘了下去試

猜測原理應該藉由中華電信內部設定會讓小封包先通行的設定,達到穩定 ping 值的目地

Read more »

Facebook 擋廣告

只有 Desktop 加上 Chrome/Edge 可以用
ublock origin 擋,還可以順便擋 Youtube 的廣告

加上自定的設定

www.facebook.com##div[id^=hyperfeed_story_id_]:has(span[data-ft="{\"tn\":\"j\"}"])
www.facebook.com##.pagelet-group .pagelet:has(a:has-text(Sponsored))
www.facebook.com##.pagelet-group .pagelet:has(a:has-text(Create ad))

banana.plurk.com

另一個是臉書推薦廣告
先裝 Tampermonkey
再利用 Tampermonkey 安裝這個腳本(script) FB 贊助之殺手 (FB Sponsored Killer)

ref.
回來用 uBlock Origin 擋 Facebook 廣告

multichase on Centos 8 Compile Issue

muttichase is a google open source tool which can run latency, bandwidth and loader-latency tool,
it can support both x86 and ARM64 platforms.
but it will have compile error on CentOS 8

root cause is this package needs static lib support, but regular CentOS doesn’t have it.

# make                                                                             cc -g -O3 -static -pthread  multichase.o permutation.o arena.o util.o  -lrt -lm -o multichase
/usr/bin/ld: cannot find -lrt                                                                                 /usr/bin/ld: cannot find -lm                                                                                  /usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lc                                                                                  collect2: error: ld returned 1 exit status                                                                    make: *** [<builtin>: multichase] Error 1
Read more »

幫 NVME SSD 穿衣服

最近自已用的電腦一直莫名其妙的重開機,檢查了半天也沒看到什麼特別的狀況,猜測有可能是因為最近電腦搬地方,天氣又涼一點我就沒開冷氣,電腦通風不良

Read more »

BMC Watchdog

這個時間有點久了,我也忘了很多細節,畢竟用到的次數太少,不過就將記得的寫一篇,以後可以自己回來查資料
如果是有 BMC 的機器,BMC 內部有一個 watchdog 可以監視 host 系統運行的狀況,這個拿來放在遠端重啟 host 非常好用

Read more »

Linux Kernel Install Fail Because Broadcom NetXtreme 100G DKMS Driver Build Failed.

Environment is CentOS 8, broadcom 100G NetXtreme-E series driver .
Host : Ampere Altra Platform

if rebuild the CentOS kernel and there was previous Broadcom nic driver alredy installed, it will trigger dkms to rebuild the driver on current kernel.

make install error as following

Read more »

CentOS 其他

筆記集中文

Read more »