差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 | |||
3399英文版草稿 [2023/03/08 19:35] wjj |
3399英文版草稿 [2023/03/08 22:49] (当前版本) wjj |
||
---|---|---|---|
行 56: | 行 56: | ||
- | 3. CuTecom tests the serial port. The COM2 loopback test is used as an example | + | 3. CuTecom tests the serial port, The COM2 loopback test is used as an example |
* Refer to Steps 1 to 2 to short the TX & RX (2 to 3 pin) of COM2. | * Refer to Steps 1 to 2 to short the TX & RX (2 to 3 pin) of COM2. | ||
* Double-click the CuteCom icon on the desktop, open APP, Device select the device node corresponding to the test port (see Step 2). | * Double-click the CuteCom icon on the desktop, open APP, Device select the device node corresponding to the test port (see Step 2). | ||
行 66: | 行 66: | ||
{{: | {{: | ||
- | 4. Test the serial port on the CLI. The COM2 loopback test is used as an example | + | 4. Test the serial port on the CLI, The COM2 loopback test is used as an example |
Open the terminal and enter the following command to receive data: | Open the terminal and enter the following command to receive data: | ||
行 81: | 行 81: | ||
{{page>: | {{page>: | ||
== LAN == | == LAN == | ||
- | 1. Check the IP address of the network adapter. The system dynamically obtains an IP address by default | + | 1. Check the IP address of the network adapter, The system dynamically obtains an IP address by default |
#ifconfig -a | #ifconfig -a | ||
{{: | {{: | ||
行 94: | 行 94: | ||
{{: | {{: | ||
- | * 方法2 -- 修改配置文件的方式: | + | * Method |
vim / | vim / | ||
行 100: | 行 100: | ||
{{: | {{: | ||
- | * 修改完成后输入重启生效。 | + | * After the modification is complete, enter restart to take effect. |
== WIFI == | == WIFI == | ||
- | 1. 点击右下角网络图标,浏览可用WIFI路由: | + | 1. Click the network icon in the lower right corner to browse the available |
{{: | {{: | ||
- | * 输入WIFI密码,点击connect | + | * Enter your WIFI password and tap connect |
{{: | {{: | ||
- | 2. 方法2 -- 命令行连接wifi | + | 2. Method |
nmcli d wifi connect " | nmcli d wifi connect " | ||
== 4G/5G == | == 4G/5G == | ||
- | 1. 系统已带自动拨号,打开终端,输入命令4g 即可自动拨号: | + | 1. The system has automatic dialing, Open the terminal and enter the command |
root@rk3399: | root@rk3399: | ||
| | ||
- | 2. 拨号完成后,查看IP地址: | + | 2. After the dial-up is complete, view the IP address: |
{{: | {{: | ||
- | 3. 打开浏览器,浏览任意网站。 | + | 3.Open a browser and browse any website. |
{{: | {{: | ||
| | ||
- | 4. 5G测试方法与4G类似,输入命令5g即可自动拨号: | + | 4. The test method of 5G is similar to that of 4G, Input the command |
root@rk3399: | root@rk3399: | ||
行 133: | 行 134: | ||
{{page>: | {{page>: | ||
== GPIO/DIO == | == GPIO/DIO == | ||
- | 1.IO The control nodes are all present:/ | + | 1.IO - The control nodes are all present:/ |
{{: | {{: | ||
- | 2.IO corresponds to the following table: | + | 2.IO - corresponds to the following table: |
^ function | ^ function | ||
^ input | IO1 | gpio_ip0 | ^ input | IO1 | gpio_ip0 | ||
行 170: | 行 171: | ||
cat / | cat / | ||
== Audio == | == Audio == | ||
- | * 将喇叭连接板子上的 | + | * Connect the horn to the SPK port on the board |
- | 1. 方法① -- 使用系统自带SMPayer播放器,以及音频测试文件,可以做简单音频功能测试 | + | 1. Method |
{{: | {{: | ||
- | 2. 方法② | + | 2. Method 2 -- Using commands to play: |
aplay / | aplay / | ||
== Mic == | == Mic == | ||
- | * 录音测试 | + | * Recording test |
arecord -d 5 -f cd -r 44100 -c 2 -t wav test.wav | arecord -d 5 -f cd -r 44100 -c 2 -t wav test.wav | ||
aplay test.wav | aplay test.wav | ||
== USB == | == USB == | ||
- | 1. U盘自动挂载/media/disk | + | 1. The USB flash drive is automatically mounted to /media/disk |
root@rk3399: | root@rk3399: | ||
- | | + | |
/ | / | ||
devtmpfs | devtmpfs | ||
行 198: | 行 199: | ||
/ | / | ||
== SDCARD == | == SDCARD == | ||
- | * SDcard | + | * SDcard |
root@rk3399: | root@rk3399: | ||
- | | + | |
/ | / | ||
devtmpfs | devtmpfs | ||
行 211: | 行 212: | ||
/ | / | ||
| | ||
- | 解除挂载: | + | umount: |
umount / | umount / | ||
| | ||
- | 挂载: | + | mount: |
mount / | mount / | ||
== Bluetooth == | == Bluetooth == | ||
- | 1. 打开蓝牙管理器,搜索附近蓝牙设备: | + | 1. Open the Bluetooth manager and search for nearby Bluetooth devices: |
{{: | {{: | ||
- | 2. 选中蓝牙设备,配对然后选择信任: | + | 2. Select Bluetooth device, pair and then select Trust: |
{{: | {{: | ||
- | 3. 设置蓝牙连接类型: | + | 3. To set the Bluetooth connection type: |
{{: | {{: | ||
行 233: | 行 234: | ||
{{page>: | {{page>: | ||
== Key == | == Key == | ||
- | 1. 输入命令evtest | + | 1. Run the evtest |
root@rk3399: | root@rk3399: | ||
行 245: | 行 246: | ||
Select the device event number [0-4]: | Select the device event number [0-4]: | ||
- | 2. 按照上面提示选择测试按键,如RK3399 boot按键为 | + | 2. Select a test key as prompted. For example, the RK3399 boot key is / |
- | 则event number | + | The event number |
| | ||
{{: | {{: | ||
- | 3. 自定义按键功能,配置文件为 | + | 3. Customize the key function. The configuration file is |
/ | / | ||
- | 如下为定义按键为reboot功能,亦为系统默认配置,用户可以根据需要自定义。 | + | |
+ | The key is the reboot | ||
KEY_VOLUMEUP | KEY_VOLUMEUP | ||
+ | | ||
== LCD/ | == LCD/ | ||
- | 1. 系统支持使用APP切换不同的LCD屏,输入dis命令打开APP如下图: | + | 1. The system supports switching between different |
- | * | + | * |
{{: | {{: | ||
- | 2. 背光亮度调节: | + | 2. Backlight brightness adjustment: |
- | * 方法①:点击右下角系统托盘如下图标,打开背光调节APP | + | * Method 1: Click the following icon in the system tray at the lower right corner to open the backlight adjustment |
| | ||
- | * 方法②:控制驱动应用层接口: | + | * Method 2: Control driver application layer interface: |
echo 100 > / | echo 100 > / | ||
- | (注:写入数值越大亮度越大,max_brightness 为250) | + | (Note: The larger the value written, the greater the brightness,max_brightness 为250) |
== PowerManager == | == PowerManager == | ||
- | 1. 电源管理设置: | + | 1. Power management Settings: |
{{: | {{: | ||
行 282: | 行 285: | ||
{{: | {{: | ||
- | 休眠后按POWER键唤醒 | + | Press POWER to wake up after sleep |
- | 2. | + | 2. |
== RTC/ | == RTC/ | ||
- | 1.查看当前系统时间: | + | 1.View the current system time: |
[root@rk3399: | [root@rk3399: | ||
Wed Jun 8 15:54:09 CST 2022 | Wed Jun 8 15:54:09 CST 2022 | ||
| | ||
- | 2. 设置同步硬件时钟: | + | 2. To set the synchronization hardware clock: |
[root@rk3399:/ | [root@rk3399:/ | ||
行 299: | 行 302: | ||
Wed Jun 8 17:01:09 2022 0.000000 seconds | Wed Jun 8 17:01:09 2022 0.000000 seconds | ||
| | ||
- | 3. 关机断电5秒以上,再开机查看系统时间是否保存: | + | 3. Power off for more than 5 seconds, and then turn it on to check whether the system time is saved: |
[root@rk3399:/ | [root@rk3399:/ | ||
Wed Jun 8 17:02:30 CST 2022 | Wed Jun 8 17:02:30 CST 2022 | ||
- | 注:系统默认为网络时间同步,以上RTC测试需要在断外网情况下测试。 | + | Note: The system uses network time synchronization by default. The above RTC test needs to be conducted when the external network is disconnected. |
- | + | 4. Time zone setting | |
- | 4. 时区设置 | + | |
- | * 方法① | + | * Method 1 -- Modify the link file, such as China, Shanghai: |
ln -sf / | ln -sf / | ||
行 312: | 行 314: | ||
| | ||
- | 设置其他时区只需将上面命令中的Asia/ | + | To set other time zones, simply change |
- | * 方法② | + | * Method 2 -- Open preferences |
{{: | {{: | ||
- | 选择完成后关闭窗口,使用date命令查看时区变化: | + | Close the window and run the date command to view the time zone change: |
| | ||
| | ||
== CPU == | == CPU == | ||
- | 查看CPU信息: | + | To view CPU information: |
cat / | cat / | ||
== Memory == | == Memory == | ||
- | 查看内存容量大小: | + | Check the memory capacity: |
free -h | free -h | ||
| | ||
== EMMC == | == EMMC == | ||
- | 查看EMMC可用容量大小 | + | View the available capacity of the EMMC |
df -h | df -h |