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

alsatplg compile error undefined source widget/stream and undefined sink widget/stream #142

Closed
LazyGeniusMan opened this issue Feb 3, 2022 · 4 comments

Comments

@LazyGeniusMan
Copy link

LazyGeniusMan commented Feb 3, 2022

Hi, I'm trying to do enable HDA+DMIC in my Kabylake R laptop using a guide1. It's said to compile hda-dsp in alsa-topology-conf, but I got this error:

[lazygeniusman@archlinux hda-dsp]$ alsatplg -c skl_hda_dsp_generic-tplg.conf -o skl_hda_dsp_generic-tplg.bin
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'hda-dsp-analog-playback'
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'hda-dsp-digital-playback'
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'hda-dsp-alt-analog-playback'
ALSA lib dapm.c:225:(tplg_build_routes) undefined sink widget/stream 'hda-dsp-audio-analog-capture'
ALSA lib dapm.c:225:(tplg_build_routes) undefined sink widget/stream 'hda-dsp-audio-digital-capture'
ALSA lib dapm.c:225:(tplg_build_routes) undefined sink widget/stream 'hda-dsp-audio-alt-analog-capture'
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'HDMI1 Playback'
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'HDMI2 Playback'
ALSA lib dapm.c:247:(tplg_build_routes) undefined source widget/stream 'HDMI3 Playback'
ALSA lib dapm.c:225:(tplg_build_routes) undefined sink widget/stream 'DMIC-Capture'

it's also have same error when I run make firmware in the repo root dir

Could someone help me solve it?

EDIT1: error -13 solved but the undefined source and sink error still there

Footnotes

  1. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb#topology

@amadeuszslawinski-intel
Copy link

Hi,
$ errno 13
EACCES 13 Permission denied
Sounds like you don't have right to write in directory? Try moving the file somewhere else or use sudo.

@LazyGeniusMan
Copy link
Author

LazyGeniusMan commented Feb 4, 2022

Oh I forgot to update it, that error is no longer there after I delete the old bin (this is my second run because I clear the output). The undefined source and sunk error still there, any idea why ? any package I miss to install ?

@amadeuszslawinski-intel
Copy link

Messages "undefined source widget/stream" are expected, they are for information purposes only. Remaining widgets are created by kernel.

@LazyGeniusMan
Copy link
Author

Ah ok I thought it's failed, the guide also working as intended. Thanks.

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