【BIGTREETECH PI开发板】 板卡音频设备输出测试
[复制链接]
本帖最后由 TL-LED 于 2023-7-5 23:43 编辑
这篇来测试下【BIGTREETECH PI开发板】板卡上的音频设备输出测试。
一、硬件连接
1.1、硬件连接
连接了耳机和网线。
1.2、查看板卡的IP地址
系统烧写完成后,使用串口进入系统,查看下板卡的网络
执行命令:biqu@BTT-CB1:~$ ifconfig
我设置了WIFI和连接网线,这里有两个IP地址
1.3、使用SSH软件连接设备
二、系统软件更新
2.1、执行命令:biqu@BTT-CB1:~$ sudo apt update
biqu@BTT-CB1:/$ sudo apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:4 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:5 http://deb.debian.org/debian bullseye/main armhf Packages [10.8 MB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 Packages [10.9 MB]
Get:7 http://deb.debian.org/debian bullseye/main armhf Contents (deb) [9,307 kB]
Get:8 http://deb.debian.org/debian bullseye/main arm64 Contents (deb) [9,831 kB]
Get:9 http://deb.debian.org/debian bullseye/main all Contents (deb) [31.1 MB]
Get:10 http://deb.debian.org/debian bullseye/contrib arm64 Packages [49.0 kB]
Get:11 http://deb.debian.org/debian bullseye/contrib armhf Packages [47.8 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib arm64 Contents (deb) [29.6 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib armhf Contents (deb) [29.2 kB]
Get:14 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:15 http://deb.debian.org/debian bullseye/non-free armhf Packages [67.2 kB]
Get:16 http://deb.debian.org/debian bullseye/non-free arm64 Packages [88.2 kB]
Get:17 http://deb.debian.org/debian bullseye/non-free armhf Contents (deb) [13.5 kB]
Get:18 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [888 kB]
Get:19 http://deb.debian.org/debian bullseye/non-free arm64 Contents (deb) [37.4 kB]
Get:20 http://deb.debian.org/debian bullseye-updates/main armhf Packages [12.1 kB]
Get:21 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [12.1 kB]
Get:22 http://deb.debian.org/debian bullseye-updates/main armhf Contents (deb) [45.0 kB]
Get:23 http://deb.debian.org/debian bullseye-updates/main all Contents (deb) [25.4 kB]
Get:24 http://deb.debian.org/debian bullseye-updates/main arm64 Contents (deb) [42.8 kB]
Get:25 http://deb.debian.org/debian bullseye-backports/main arm64 Packages [417 kB]
Get:26 http://deb.debian.org/debian bullseye-backports/main armhf Packages [413 kB]
Get:27 http://deb.debian.org/debian bullseye-backports/main armhf Contents (deb) [2,797 kB]
Get:28 http://deb.debian.org/debian bullseye-backports/main all Contents (deb) [5,576 kB]
Get:29 http://deb.debian.org/debian bullseye-backports/main arm64 Contents (deb) [2,451 kB]
Get:30 http://deb.debian.org/debian bullseye-backports/contrib arm64 Packages [5,180 B]
Get:31 http://deb.debian.org/debian bullseye-backports/contrib armhf Packages [4,680 B]
Get:32 http://deb.debian.org/debian bullseye-backports/contrib all Contents (deb) [22.2 kB]
Get:33 http://deb.debian.org/debian bullseye-backports/contrib arm64 Contents (deb) [16.4 kB]
Get:34 http://deb.debian.org/debian bullseye-backports/contrib armhf Contents (deb) [16.3 kB]
Get:35 http://deb.debian.org/debian bullseye-backports/non-free armhf Packages [9,072 B]
Get:36 http://deb.debian.org/debian bullseye-backports/non-free arm64 Packages [9,884 B]
Get:37 http://deb.debian.org/debian bullseye-backports/non-free arm64 Contents (deb) [5,710 B]
Get:38 http://deb.debian.org/debian bullseye-backports/non-free all Contents (deb) [58.7 kB]
Get:39 http://deb.debian.org/debian bullseye-backports/non-free armhf Contents (deb) [3,663 B]
Get:40 http://deb.debian.org/debian-security bullseye-security/main armhf Packages [315 kB]
Get:41 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [314 kB]
Fetched 86.1 MB in 1min 23s (1,043 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
80 packages can be upgraded. Run 'apt list --upgradable' to see them.
2.2、执行命令:biqu@BTT-CB1:~$ sudo apt upgrade
biqu@BTT-CB1:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
三、音频测试
3.1、查看音频设备
执行命令:biqu@BTT-CB1:~$ aplay -l
检测到H616板卡的音频设备
3.2、播放音乐
播放板卡系统内的音频文件
执行命令:biqu@BTT-CB1:/usr/share/sounds/alsa$ aplay -D hw:2,0 audio.wav
3.3、音频音量大小的控制
使用alsamixer工具来控制音频设备
使用命令:biqu@BTT-CB1:/usr/share/sounds/alsa$ alsamixer
选择H616音频设备
H616音频设备控制界面
左右按键选择音频参数选项,上下按键参数大小。
以上就是板卡的音频输出测试。
|