-
Notifications
You must be signed in to change notification settings - Fork 318
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
Topology2: sof-tgl-rt712: remove SDWx from stream name #9008
Conversation
The widget name size will exceed the character limit and lead to below error failed to find module info for widget alh-copier.SDW0-Playback-SimpleJack.0 with UUID 00000000-0000-0000-0000-000000000000 Shorten the stream name to fix it. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately I can not easily find from where this limitation comes from, but in any case this a necessary fix.
@bardliao "alh-copier.SDW0-Playback-SimpleJack.0" is 38 characters and AFAIK the character limit is 44. What am I missing? And you're fixing the stream name but mention that the widget name is too long. very confusing. |
So limiting factor is SNDRV_CTL_ELEM_ID_NAME_MAXLEN so and its defined 44, right? Bit confusing that CTL ELEM limit applies to other widgets too, or is it all widgets? But in any case, a check somewhere in alsatplg pre-process code should be relatively easy to add. My first instinct would be putting it in the end of tplg_construct_object_name(), but I am not sure about it yet. However, its still a mystery why a widget with 38 char name gets 00000000-0000-0000-0000-000000000000 UUID. |
I don't know what happened exactly. But the PR does fix the "failed to find module info for widget alh-copier.SDW0-Playback-SimpleJack.0 with UUID 00000000-0000-0000-0000-000000000000" issue. |
I can confirm that |
Filed enhancement to track this #9011 |
The widget name size will exceed the character limit and lead to below error
failed to find module info for widget
alh-copier.SDW0-Playback-SimpleJack.0 with UUID
00000000-0000-0000-0000-000000000000
Shorten the stream name to fix it.