MB:2N8MP

From LEXWiKi

Revision as of 11:44, 10 April 2024 by Lf2nettonyboy (Talk | contribs)
Jump to: navigation, search
O.S.CPURevLVDSHDMIDual outputM.2(B key)nano SIMUSB2.0USB3.0PCIELANCOM-422COM-485F75111NWDT/DIOTPM2.0CN059AU002Download 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

edit table


Contents

How to Test CIO/CPWM1

Image:READ_ME.png

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

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

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邊錄邊放測試

1.註冊聲卡使用pactl list sinks 和pactl list sources來查詢

2.指定聲卡來源pacmd set-default-source 1 (Microphone)

3.指定聲卡sink來源pacmd set-default-sink 0 (C-Media)

4.測試Line In時 : 需要先去修改source #1 Active Port為analog-input-linein,命令如下:

  1. pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-linein

測試Mic In時:要先修改source #1 Active Port為analog-input-mic(Default),命令如下:

  1. pacmd set-source-port alsa_input.usb-C-Media_Electronics_Inc._USB_Advanced_Audio_Device-00.analog-stereo analog-input-mic

5.邊錄邊播放指令

  1. arecord –Dhw:1,0 –d 5 –f cd –r 44100 | aplay –Dhw:1,0 –r44100
Personal tools