查询温度

cat /sys/class/thermal/thermal_zone0/temp # 43816

笔者发现 ubuntu 系统登入页面时,自动会显示温度信息:

Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-1045-raspi aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Wed Nov 24 10:39:02 UTC 2021
System load: 0.42
Usage of /: 36.9% of 28.96GB
Memory usage: 14%
Swap usage: 0%
Temperature: 43.8 C <----------------- Here
Processes: 178
Users logged in: 0
IPv4 address for br-b23c54f46da5: 172.18.0.1
IPv4 address for docker0: 172.17.0.1
IPv4 address for eth0: 192.168.1.3

树莓派连接显示器不亮屏的解决方案

笔者参考 树莓派连接显示器不亮屏的解决方案,最后屏幕得以在 7 寸(1024*600) 屏幕显示成功。

方法是需要在烧录的镜像系统中的 config.txt 补充以下内容:

hdmi_force_hotplug=1
config_hdmi_boost=4
hdmi_group=2
hdmi_mode=9
hdmi_drive=2
hdmi_ignore_edid=0xa5000080
disable_overscan=1

暂未成功的方案

树莓派连接手机热点

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=""
psk=""
priority=99
}

ssid 写热点名称,psk 写热点密码。

  • 步骤三: 手机下载远程服务软件 Termius

树莓派无线连接 wifi