Visitar URL original
PianoDACPlus sound card register fails on 5.4.y kernel · Issue #3932 · raspberrypi/linux · GitHub
The Wayback Machine - https://web.archive.org/web/20241007185956/https://github.com/raspberrypi/linux/issues/3932
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PianoDACPlus sound card register fails on 5.4.y kernel #3932

Open
allocom opened this issue Oct 27, 2020 · 7 comments
Open

PianoDACPlus sound card register fails on 5.4.y kernel #3932

allocom opened this issue Oct 27, 2020 · 7 comments

Comments

@allocom
Copy link

allocom commented Oct 27, 2020

Describe the bug
on dmesg gets below failure report.
[ 6.820321] snd-allo-piano-dac-plus soc:sound: ASoC: failed to init link PianoDACPlus: -517
[ 6.820393] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -517

This card was working 4.19.y kernel without any issue.

@pelwell Please suggest to resolve the issue.

@pelwell
Copy link
Contributor

pelwell commented Oct 27, 2020 •

Those errors are actually more like unavoidable warnings, so they should be take with a pinch of salt. Are you saying that the card doesn't work on 5.4?

@allocom
Copy link
Author

allocom commented Oct 27, 2020

card not working with 5.4.y , card registrations failing.

@pelwell
Copy link
Contributor

pelwell commented Oct 27, 2020

Comment out the dtoverlay line in config.txt and reboot, then run the following:

$ sudo udevadm monitor -p > udev.txt &
$ sudo dtoverlay allo-piano-dac-plus-pcm512x-audio

You can then halt the udevadm using fg and Ctrl-C and post the content of udev.txt.

Also post the output of lsmod.

@allocom
Copy link
Author

allocom commented Oct 27, 2020

udev.txt
lsmod_info.txt

@pelwell
Copy link
Contributor

pelwell commented Oct 27, 2020

With the codec drivers modified to probe without hardware, I see different errors:

[    6.940927] snd-allo-piano-dac-plus soc:sound: ASoC: Neither/both codec name/of_node are set for PianoDACPlus
[    6.940945] snd-allo-piano-dac-plus soc:sound: ASoC: failed to init link PianoDACPlus: -22
[    6.940962] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -22
[    6.941009] snd-allo-piano-dac-plus: probe of soc:sound failed with error -22

@pelwell
Copy link
Contributor

pelwell commented Oct 27, 2020

With that fixed, I get:

[    7.936008] snd-allo-piano-dac-plus soc:sound: control 2:0:0:Digital Playback Volume:0 is already present
[    7.936028] pcm512x 1-004d: ASoC: Failed to add Digital Playback Volume: -16
[    7.936117] snd-allo-piano-dac-plus soc:sound: ASoC: failed to instantiate card -16
[    7.936364] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -16

I think you've got some work to do to fix what looks like a name clash (-16 is -EBUSY).

@pelwell
Copy link
Contributor

pelwell commented Nov 12, 2020

This should now be resolved by 95d7686.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants