Jump to content

Recommended Posts

Posted (edited)

Hello again,
 

We're already aware of the existing issues with kernel 6 and the audio on the RK3308B. In this case, it fails again in the latest versions... Alsamixer detects the audio card and even shows it in arecord -L or arecord -l, but when trying to record, the error appears:
 

"arecord: set_params:1416: unable to install hw params"
 

The command applied is:

arecord -c 2 -r 192000 -f S32_LE test.wav
 

Although if I leave it without parameters to see what it does, it throws the same error, even if I specify the hardware... In the previous kernel (I think it was 6.12.11 (with the u-boot issue in the previous post), the audio worked perfectly).

Thanks for all.

Edited by Truenox
Posted

I was able to duplicate this problem. 

Audio output appears to be working in both edge and current branches. 

But,

The "arecord: set_params:1416: unable to install hw params" error occurs in the current branch as well.  This is running kernel 6.12.28

 

the example arecord command you gave appears to work in kernel 6.12.12.  So, the breakage occurred between 6.12.12 and 6.12.28

Posted

I just verified that the arecord command fails also with kernel

6.12.15

 

So, we now know the breakage occurred between 6.12.12 and 6.12.15

 

Posted

Dear @brentr,

It seems to be a common bug that keeps reappearing.
 

And as far as I understand, it's a fix that needs to be applied to the kernel because otherwise, it won't work.
 

Isn't there a way to make an external fix, which the user can install if needed and which can be applied to any kernel?
 

If this bug is hardcoded, I imagine it's impossible and must be modified every time the kernel is compiled...

I'm sorry I can't help much except by reporting the bug.

Thank you for your contribution and the work you do, both to you and the community.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines