You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@aiChaoSONG Could you help to have a quick fix for this? @ranj063 Why there is a new card for the probe? I do not see any new PCM. Will the name be changed? Can we just ignore the card by probe keyword.
sof-probes card can be any number by probing order. We need to ignore it.
2501 is final solution but not going to merge to topic/sof-dev now. Acillary bus should be upstream first and then this will be merged to our github project. We should be ready with the change.
Im sorry I dont understand what you mean by ignore. We want to test probes as well. If the problem is that we assume that the pcm devices in topology will always be in Card 0, we need to fix that logic.
We was discussiong the basic playback and capture test failures. Current sof-test chose sof-probes card, so we need to ignore sof-probes card for current device test cases. For new Probe test case, this will not be ignored.
@ranj063 Thanks for the confirmation, I can add a grep to ignore the sof-probes now.
This is how we get the card nunber : SOFCARD=$(grep 'sof-[a-z]' /proc/asound/cards|awk '{print $1;}'), if there is no PCM in sof-probes, a grep -v should help
Activity
xiulipan commentedon Oct 23, 2020
@aiChaoSONG Could you help to have a quick fix for this?
@ranj063 Why there is a new card for the probe? I do not see any new PCM. Will the name be changed? Can we just ignore the card by probe keyword.
aiChaoSONG commentedon Oct 23, 2020
@xiulipan I just want to exclude sof-probes with another grep, but we need @ranj063 to confirm on the name.
xiulipan commentedon Oct 23, 2020
@aiChaoSONG Let's wait for @ranj063 confirmation. I see thesofproject/linux#2501 is closed now, maybe it is not the final solution.
fredoh9 commentedon Oct 23, 2020
sof-probes card can be any number by probing order. We need to ignore it.
2501 is final solution but not going to merge to topic/sof-dev now. Acillary bus should be upstream first and then this will be merged to our github project. We should be ready with the change.
plbossart commentedon Oct 23, 2020
Agree with @fredoh9 we need to have sof-test ready (and sof-ci is relevant) for the addition of probes.
Let's not repeat the fiasco I started with the ACPI transition...
ranj063 commentedon Oct 23, 2020
We was discussiong the basic playback and capture test failures. Current sof-test chose sof-probes card, so we need to ignore sof-probes card for current device test cases. For new Probe test case, this will not be ignored.
ranj063 commentedon Oct 23, 2020
the aux bus stuff is being reviewed upstream and will land sof-dev after it is accepted upstream
aiChaoSONG commentedon Oct 26, 2020
@ranj063 Thanks for the confirmation, I can add a grep to ignore the sof-probes now.
This is how we get the card nunber :
SOFCARD=$(grep 'sof-[a-z]' /proc/asound/cards|awk '{print $1;}'), if there is no PCM in sof-probes, a grep -v should helpaiChaoSONG commentedon Jan 26, 2021
confirmed fixed by @xiulipan ,close