差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
3399英文版草稿 [2023/03/08 19:33]
wjj
3399英文版草稿 [2023/03/08 22:49] (当前版本)
wjj
行 56: 行 56:
  
  
-3. CuTecom tests the serial portThe COM2 loopback test is used as an example+3. CuTecom tests the serial portThe 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:
   {{:arm:rk3399:linux:cutecom_2.png?600|}}   {{:arm:rk3399:linux:cutecom_2.png?600|}}
    
-4. Test the serial port on the CLIThe COM2 loopback test is used as an example+4. Test the serial port on the CLIThe 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>:template:temp_linux_uart}} {{page>:template:temp_linux_uart}}
 == LAN == == LAN ==
-1. 查看网卡IP地址,系统默认都为动态获取IP地址+1. Check the IP address of the network adapter, The system dynamically obtains an IP address by default
   #ifconfig -a    #ifconfig -a 
 {{:arm:rk3399:linux:ifconfig.png?600|}} {{:arm:rk3399:linux:ifconfig.png?600|}}
  
-2. 设置网卡静态IP地址 +2. Set a static IP address for a network adapter 
-  * 方法1 -- 使用图形界面工具设置+  * Method 1 -- Use graphical tool Settings
  
-双击桌面图标Advanced Network Configuration+Double-click the desktop icon:Advanced Network Configuration
  
 {{:arm:rk3399:linux:network_ip1.png?600|}} {{:arm:rk3399:linux:network_ip1.png?600|}}
行 94: 行 94:
 {{:arm:rk3399:linux:network_ip2.png?600|}} {{:arm:rk3399:linux:network_ip2.png?600|}}
  
-  * 方法2 -- 修改配置文件的方式:+  * Method 2 -- How to modify the configuration file:
  
   vim /etc/network/interfaces   vim /etc/network/interfaces
行 100: 行 100:
 {{:arm:rk3399:linux:interfaces.png?600|}} {{:arm:rk3399:linux:interfaces.png?600|}}
  
-  * 修改完成后输入重启生效。+  * 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 routes:
  
 {{:arm:rk3399:linux:wifi1.png?600|}} {{:arm:rk3399:linux:wifi1.png?600|}}
  
-  * 输入WIFI密码,点击connect+  * Enter your WIFI password and tap connect 
 {{:arm:rk3399:linux:wifi2.png?600|}} {{:arm:rk3399:linux:wifi2.png?600|}}
  
-2. 方法2 -- 命令行连接wifi+2. Method 2 -- Connect to wifi from the command line
  
   nmcli d wifi connect "SSID" password "PASSWROD"   nmcli d wifi connect "SSID" password "PASSWROD"
 == 4G/5G == == 4G/5G ==
-1. 系统已带自动拨号,打开终端,输入命令4g 即可自动拨号:+1. The system has automatic dialing, Open the terminal and enter the command 4g to dial automatically:
  
   root@rk3399:~# 4g   root@rk3399:~# 4g
      
-2. 拨号完成后,查看IP地址:+2. After the dial-up is complete, view the IP address:
  
 {{:arm:rk3399:linux:4g.png?600|}} {{:arm:rk3399:linux:4g.png?600|}}
  
-3. 打开浏览器,浏览任意网站。+3.Open a browser and browse any website.
  
 {{:arm:rk3399:linux:baidu.png?600|}} {{:arm:rk3399:linux:baidu.png?600|}}
      
-4. 5G测试方法与4G类似,输入命令5g即可自动拨号:+4. The test method of 5G is similar to that of 4G, Input the command 5g to dial automatically:
  
   root@rk3399:~# 5g   root@rk3399:~# 5g
行 133: 行 134:
 {{page>:template:temp_linux_can}} {{page>:template:temp_linux_can}}
 == GPIO/DIO == == GPIO/DIO ==
-1.IO The control nodes are all present:/sys/class/io_control+1.IO The control nodes are all present:/sys/class/io_control
  
 {{:arm:rk3399:linux:io.png?600|}} {{:arm:rk3399:linux:io.png?600|}}
  
-2.IO corresponds to the following table:  +2.IO corresponds to the following table:  
 ^ function   ^ Screen printing of motherboard  ^ Node name    ^   ^ function   ^ Screen printing of motherboard  ^ Node name    ^  
 ^ input     | IO1       | gpio_ip0  |   ^ input     | IO1       | gpio_ip0  |  
行 170: 行 171:
   cat /sys/class/io_control/gpio_ip0   cat /sys/class/io_control/gpio_ip0
 == Audio == == Audio ==
-  * 将喇叭连接板子上的 SPK 端口+  * Connect the horn to the SPK port on the board
  
-1. 方法① -- 使用系统自带SMPayer播放器,以及音频测试文件,可以做简单音频功能测试+1. Method ① -- Use the SMPayer player delivered with the system and the audio test file to test the audio function
  
 {{:arm:rk3399:linux:smplayer.png?600|}} {{:arm:rk3399:linux:smplayer.png?600|}}
  
-2. 方法② -- 使用命令方式播放:+2. Method 2 -- Using commands to play:
  
   aplay  /nodka_test/LR_audio.wav  -D  hw:0,0   aplay  /nodka_test/LR_audio.wav  -D  hw:0,0
 == 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:~# df -h   root@rk3399:~# df -h
-  文件系统        容量  已用  可用 已用挂载点+  File system        capacity  used  available usedMount point
   /dev/root        15G  3.6G   10G   27% /   /dev/root        15G  3.6G   10G   27% /
   devtmpfs        980M      980M    0% /dev   devtmpfs        980M      980M    0% /dev
行 198: 行 199:
   /dev/sda1        57G  2.7G   54G    5% /media/disk   /dev/sda1        57G  2.7G   54G    5% /media/disk
 == SDCARD == == SDCARD ==
- * SDcard 自动挂载+ * SDcard Automatic mounting
  
   root@rk3399:~# df -h   root@rk3399:~# df -h
-  文件系统        容量  已用  可用 已用挂载点+  File system        capacity  used  available usedMount point
   /dev/root        15G  3.6G   10G   27% /   /dev/root        15G  3.6G   10G   27% /
   devtmpfs        980M      980M    0% /dev   devtmpfs        980M      980M    0% /dev
行 211: 行 212:
   /dev/mmcblk0p8   30G  3.8G   25G   14% /media/3699f79c-f05d-4948-89c9-04dc4b132a1f   /dev/mmcblk0p8   30G  3.8G   25G   14% /media/3699f79c-f05d-4948-89c9-04dc4b132a1f
      
-解除挂载+umount
  
   umount /dev/mmcblk0p8   umount /dev/mmcblk0p8
      
-挂载+mount
  
   mount /dev/mmcblk0p8 /sdcard   mount /dev/mmcblk0p8 /sdcard
 == Bluetooth == == Bluetooth ==
-1. 打开蓝牙管理器,搜索附近蓝牙设备:+1. Open the Bluetooth manager and search for nearby Bluetooth devices:
  
 {{:arm:rk3399:linux:bt1.png?600|}} {{:arm:rk3399:linux:bt1.png?600|}}
  
-2. 选中蓝牙设备,配对然后选择信任:+2. Select Bluetooth device, pair and then select Trust:
  
 {{:arm:rk3399:linux:bt2.png?600|}} {{:arm:rk3399:linux:bt2.png?600|}}
  
-3. 设置蓝牙连接类型:+3. To set the Bluetooth connection type:
  
 {{:arm:rk3399:linux:bt3.png?600|}} {{:arm:rk3399:linux:bt3.png?600|}}
行 233: 行 234:
 {{page>:template:temp_linux_watchdog}} {{page>:template:temp_linux_watchdog}}
 == Key == == Key ==
-1. 输入命令evtest 查看系统下所有按键、输入设备:+1. Run the evtest command to view all keys and input devices in the system:
  
   root@rk3399:~# evtest    root@rk3399:~# evtest 
行 245: 行 246:
   Select the device event number [0-4]:    Select the device event number [0-4]: 
  
-2. 按照上面提示选择测试按键,如RK3399 boot按键为  /dev/input/event3: rk29-keypad+2. Select a test key as prompted. For example, the RK3399 boot key is  /dev/input/event3: rk29-keypad
  
- event number 3:按下按键会打印value 1,松开按键则会打印value 0,如下图+ The event number is 3:Pressing the key prints a value of 1,Releasing the key prints a value of 0,As shown below
      
 {{:template:key.png?600|}} {{:template:key.png?600|}}
    
-3. 自定义按键功能,配置文件为+3. Customize the key function. The configuration file is
  
   /etc/triggerhappy/triggers.d/example.conf   /etc/triggerhappy/triggers.d/example.conf
-如下为定义按键为reboot功能,亦为系统默认配置,用户可以根据需要自定义+   
 +The key is the reboot function. It is also the default configuration of the system. You can customize the key as required
  
   KEY_VOLUMEUP    1   reboot   KEY_VOLUMEUP    1   reboot
 +  
 == LCD/Backlight == == LCD/Backlight ==
-1. 系统支持使用APP切换不同的LCD屏,输入dis命令打开APP如下图+1. The system supports switching between different LCD screens using APP. Run the dis command to open the APP as shown in the following figure
  
-  *  选择对应的eDP/LVDS 屏分辨率,然后点击保存,系统自动重启后即可切换到指定的LCD:+  *  Select the corresponding eDP/LVDS screen resolution and click Save. After the system restarts automatically, you can switch to the specified LCD:
  
 {{:arm:rk3399:linux:dis.png?600|}} {{:arm:rk3399:linux:dis.png?600|}}
  
-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 APP
  
  {{:template:backlight.png?600|}}  {{:template:backlight.png?600|}}
  
-  * 方法②:控制驱动应用层接口:+  * Method 2: Control driver application layer interface:
  
    echo 100 > /sys/class/backlight/backlight1/brightness      echo 100 > /sys/class/backlight/backlight1/brightness  
-(注:写入数值越大亮度越大,max_brightness 为250)+(Note: The larger the value written, the greater the brightness,max_brightness 为250)
  
 == PowerManager == == PowerManager ==
-1. 电源管理设置+1. Power management Settings
  
 {{:template:suspend.png?600|}} {{:template:suspend.png?600|}}
行 282: 行 285:
 {{:template:pm.png?600|}} {{:template:pm.png?600|}}
  
-休眠后按POWER键唤醒 +Press POWER to wake up after sleep 
-2.  电源管理功能非所有产品支持,需定制系统请联系业务窗口人员。+2.  The power management function is not supported by all products. To customize the system, contact the service window personnel.
  
 == RTC/Timezone == == RTC/Timezone ==
-1.查看当前系统时间:+1.View the current system time:
  
   [root@rk3399:~]# date   [root@rk3399:~]# date
   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:/]# date -s "2022-06-08 17:01:01"   [root@rk3399:/]# date -s "2022-06-08 17:01:01"
行 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 seconds, and then turn it on to check whether the system time is saved: 
   [root@rk3399:/]# date    [root@rk3399:/]# date 
    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. 时区设置+
  
-  * 方法① -- 修改link文件,如改为中国、上海:+  * Method 1 -- Modify the link filesuch as China, Shanghai:
  
   ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime   ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
行 312: 行 314:
      
  
-设置其他时区只需将上面命令中的Asia/Shanghai改为对应的时区城市即可。+To set other time zones, simply change Asia/Shanghai in the preceding command to the corresponding time zone city.
  
-  * 方法② -- 在图形界面依次打开首选项->时间和日期,选择时区如下图:+  * Method 2 -- Open preferences -&gt in sequence on the graphical interface; Time and dateselect the time zone as shown below:
  
 {{:arm:rk3399:linux:timezone.png?600|}} {{:arm:rk3399:linux:timezone.png?600|}}
  
-选择完成后关闭窗口,使用date命令查看时区变化:+Close the window and run the date command to view the time zone change:
      
  {{:arm:rk3399:linux:timezone1.png?600|}}  {{:arm:rk3399:linux:timezone1.png?600|}}
 == CPU == == CPU ==
-查看CPU信息:+To view CPU information:
  
   cat /proc/cpuinfo   cat /proc/cpuinfo
 == Memory == == Memory ==
-查看内存容量大小:+Check the memory capacity:
  
   free -h   free -h
      
 == EMMC == == EMMC ==
-查看EMMC可用容量大小+View the available capacity of the EMMC
  
   df -h   df -h
打印/导出