請先看『使用說明』
MB:2N8MP
From LEXWiKi
(→How to Test CN059/AU002) |
|||
Line 163: | Line 163: | ||
C-Media Electronics Inc. USB Advanced Audio Device at usb-xhci-hcd.1.auto-1.4.4 | C-Media Electronics Inc. USB Advanced Audio Device at usb-xhci-hcd.1.auto-1.4.4 | ||
- | CN059/AU002 | + | #CN059/AU002 Recored Test |
root@imx8mpevk:~# arecord -Dhw:1,0 -d 5 -f cd -r 44100 test.wav | root@imx8mpevk:~# arecord -Dhw:1,0 -d 5 -f cd -r 44100 test.wav | ||
Line 169: | Line 169: | ||
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo | Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo | ||
- | CN059/AU002 play | + | #CN059/AU002 play Test |
root@imx8mpevk:~# aplay -Dhw:1,0 -f cd -r 44100 test.wav | root@imx8mpevk:~# aplay -Dhw:1,0 -f cd -r 44100 test.wav | ||
Line 175: | Line 175: | ||
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo | Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo | ||
- | CN059/ | + | #CN059/AU002 Record+Play Test |
- | 1. | + | 1.check sound card |
- | + | #pactl list sinks | |
- | 3. | + | #pactl list sources |
+ | |||
+ | 2.assignation Sound Card source: | ||
+ | |||
+ | #pacmd set-default-source 1 (Microphone) | ||
+ | |||
+ | 3.assignation Sound Card sink | ||
+ | pacmd set-default-sink 0 (C-Media) | ||
+ | |||
+ | 4.Line In Test : First Modify source Active Port is analog-input-linein: | ||
- | 4.測試Line In時 : 需要先去修改source #1 Active Port為analog-input-linein,命令如下: | ||
#pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-linein | #pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-linein | ||
- | + | ||
+ | Mic In Test:First Modify source Active Port = analog-input-mic(Default): | ||
+ | |||
#pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-mic | #pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-mic | ||
- | 5. | + | 5.Arecord + Play Command |
#arecord –Dhw:1,0 –d 5 –f cd –r 44100 | aplay –Dhw:1,0 –r44100 | #arecord –Dhw:1,0 –d 5 –f cd –r 44100 | aplay –Dhw:1,0 –r44100 | ||
Revision as of 15:37, 9 May 2024
O.S. | CPU | Rev | LVDS | HDMI | Dual output | M.2(B key) | nano SIM | USB2.0 | USB3.0 | PCIE | LAN | COM-422 | COM-485 | F75111N | WDT/DIO | TPM2.0 | CN059 | AU002 | Download | Patch |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
zeus_yocto |
A53 |
0.3 |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
- |
Yes |
Yes |
kernel5.4.70 | |
kirkstone_yocto |
A53 |
0.3 |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
- |
Yes |
Yes |
kernel5.15.71 | |
kirkstone_desktop |
A53 |
0.3 |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
- |
- |
kernel5.15.71 |
Contents |
How to Test CIO/CPWM1
Download Sample code
DIO.ZIP https://drive.google.com/file/d/1ozNkJM7kMCuZY4z5h6gxbEk6VwjMniiT/view?usp=drive_link
Note
TPM2.0 only kirkstone_desktop Test, because other kernel not support clevis tool
How to Test CN059/AU002
root@imx8mpevk:~# cat /proc/asound/cards
0 [audiohdmi ]: audio-hdmi - audio-hdmi audio-hdmi 1 [Device ]: USB-Audio - USB Advanced Audio Device C-Media Electronics Inc. USB Advanced Audio Device at usb-xhci-hcd.1.auto-1.4.4
- CN059/AU002 Recored Test
root@imx8mpevk:~# arecord -Dhw:1,0 -d 5 -f cd -r 44100 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
- CN059/AU002 play Test
root@imx8mpevk:~# aplay -Dhw:1,0 -f cd -r 44100 test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
- CN059/AU002 Record+Play Test
1.check sound card
- pactl list sinks
- pactl list sources
2.assignation Sound Card source:
- pacmd set-default-source 1 (Microphone)
3.assignation Sound Card sink pacmd set-default-sink 0 (C-Media)
4.Line In Test : First Modify source Active Port is analog-input-linein:
- pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-linein
Mic In Test:First Modify source Active Port = analog-input-mic(Default):
- pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-mic
5.Arecord + Play Command
- arecord –Dhw:1,0 –d 5 –f cd –r 44100 | aplay –Dhw:1,0 –r44100
Support 4G/5G LTE Module
SIMCOM SIM7906G-M2,LTE CAT6 M.2 Type Module
SIMCOM SIM8200EA-M2
Support WIFI/BT Module
AzureWave AW-CM276MA SDIO-UART