Alsa error after kernel compilation

Dear support,
Hello, and thank you for your assistance.

I am using Colibri IMX6 and successfully compiled the Linux kernel using the linux-6.1.y package in Toradex, based on the 6.4 upstream image. Furthermore, I added the i2c touch ili21 to my custom kernel and nothing more.

However, after these modifications, Linux boots up successfully, but I encounter an issue when attempting to use the “alsamixer” command. It displays an error message stating “no such file or directory.”

I would greatly appreciate your opinion on this matter. Could you please advise me on what steps I might have done incorrectly?

Thank you for your attention and assistance.

Best regards, Mehdi

Hi Mehdi ,

Thanks for your message.

Can you share a full log of the error you see? So that we have some more context around it?

Have a good day!

Best Regards
Kevin

Hello again, dear friend.
What kind of log are you looking for?
All I knew was something that I had mentioned.
I would appreciate it if you could let me know anything you need or anything that could be helpful for both of us.

Best regard
Mehdi

Hello @me_ahani98,

It would be helpful for us to see the Linux kernel boot log (you could also get the output of dmesg command for this). Also, you said when you attempt the alsamixer command you get an error. It would be good if you could post the command and the whole error log here.

hello dear @rudhi.tx
this is the alsa output and some another information that i think it could be valuable:
root@colibri-imx6-14972041:~# alsamixer
cannot open mixer: No such file or directory

root@colibri-imx6-14972041:~# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: UU – UU – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – UU – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

and there is nothing special in dmesg:
root@colibri-imx6-14972041:~# dmesg | grep sgtl
[ 3.700221] sgtl5000 0-000a: sgtl5000 revision 0x11

root@colibri-imx6-14972041:~# dmesg | grep sound
[ 4.507189] No soundcards found.
[ 14.644136] platform sound: deferred probe pending

root@colibri-imx6-14972041:~# dmesg | grep alsa
root@colibri-imx6-14972041:~#

and when connecting through the serial console, the following message is displayed but i do not know if is it related or not: “cfg80211: failed to load regulatory.db.”

root@colibri-imx6-14972041:~# cat /proc/asound/cards
— no soundcards —

Please let me know if there is any further information or preparation needed on your end.
thank you

I have found my own solution
I don’t know how correct it is, but it can solve my issue.