Install gpiod
sudo apt update sudo apt install gpiodSix command-line tools are available:
* gpiodetect - list all gpiochips present on the system, their names, labels and number of GPIO lines * gpioinfo - list all lines of specified gpiochips, their names, consumers, direction, active state and additional flags * gpioget - read values of specified GPIO lines * gpioset - set values of specified GPIO lines, potentially keep the lines exported and wait until timeout, user input or signal * gpiofind - find the gpiochip name and line offset given the line name * gpiomon - wait for events on GPIO lines, specify which events to watch, how many events to process before exiting or if the events should be reported to the console
sudo apt-get update sudo apt-get install nvidia-jetpack
CUDA:
終端命令行執(zhí)行:nvcc -V,
如果提示:bash: nvcc: command not found
則先導入環(huán)境變量:
$ export PATH=/usr/local/cuda-11/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11/lib64:$LD_LIBRARY_PATH
再執(zhí)行nvcc -V即可。
cudnn:
終端命令行執(zhí)行:
$ dpkg --list | grep cudnn
opencv:
終端命令行執(zhí)行:
$ dpkg --list | grep libopencv
tensorRT:
終端命令行執(zhí)行:
$ pip list | grep tensorrt
network: version: 2 renderer: NetworkManager ethernets: eth0: # 有線網卡的名字 mtu: 9000 #設置的mtu值,如果加上此項過后,需重啟系統才會生效。 addresses: [11.22.33.44/24] # 填IP地址,后面有一個/24 dhcp4: no # IPv4關閉自動獲取IP dhcp6: no # IPv6關閉自動獲取IP gateway4: 11.22.33.2 # 設置網關,注意網關前3位跟IP地址前3位肯定是一致的。 nameservers: addresses: [22.33.44.1,22.33.44.2] # 設置DNS解析主、備的服務器IP地址,如果有多個中間用逗號隔開,但不要有空格
echo 255 > /sys/kernel/debug/tegra_fan/target_pwm (L4T老版本)
或者
echo 255 >/sys/devices/pwm-fan/target_pwm
或者
sudo systemctl stop nvfancontrol.service
echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1 (Jetpack5.*)
運行如下命令:
head -n1 /etc/nv_tegra_release