[imx8mp] The latest linux-imx(kernel) version

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8mp] The latest linux-imx(kernel) version

Jump to solution
2,540 Views
ESK
Contributor I

Dear NXP team,

 

I use imx8mp-evk with linux-imx lf-5.10.72-2.2.0

There is an usb uac2 error(Source/Sink driver does not working) with Windows10 PC.

So, I want to check using latest linux-imx.

Please let me know the latest linux-imx version and how to merge.

 

0 Kudos
Reply
1 Solution
2,536 Views
xiaocong_fu
NXP Employee
NXP Employee

It's not related to Linux version.

Please try this attached patch, and provide feedback.

View solution in original post

0 Kudos
Reply
5 Replies
2,537 Views
xiaocong_fu
NXP Employee
NXP Employee

It's not related to Linux version.

Please try this attached patch, and provide feedback.

0 Kudos
Reply
2,526 Views
ESK
Contributor I

Hi fu,

 

Thanks for the patch.

Windows sound driver working!!

 

Actually, I want to play 'wav' on Windows via uac2. (aplay on imax8mp > uac2 > Windows PC)

But There is "aplay: pcm_write:2058: write error: Input/output error"

Could you tell me the solution?

 

1. imx8mp g_audio setting

ESK_0-1647242759514.png

 

2. arecord wav file on imx8mp (using 2-channel PDM mic)

    arecord -f S16_LE -D plughw:1,0 -t wav -r 48000 -c 2 -d 10 -vvv ./sample.wav

 

3. aplay test error

ESK_1-1647243014955.png

ESK_2-1647243316503.png

 

0 Kudos
Reply
2,519 Views
xiaocong_fu
NXP Employee
NXP Employee

I can play on device side and record on windows without error, here are my steps:

1. On windows, set uac2 microphone as default device

xiaocong_fu_0-1647247760309.png

2. On windows, use Voice Recoder to record

3. On device side, use aplay to play:

aplay -Dhw:UAC2Gadget audio_l48k16b2c.wav -N

0 Kudos
Reply
2,522 Views
xiaocong_fu
NXP Employee
NXP Employee

1. Can you test the way round first: play in windows and record in device (8mp)

2. How did you record on windows side?

0 Kudos
Reply
2,505 Views
ESK
Contributor I

Hi Fu,

 

Thank you very much!!

I found "Mic (Source/Sink)" at input/output devices on PC.

And I tested well on Webex site mic test using "Mic (Source/Sink)"

 

BR,

Thanks.

 

0 Kudos
Reply