Skip to content

[BUG] /proc/asound/sofprobes breaks "check-sof-logger" test #1243

@harajend

Description

@harajend

Describe the bug
"check-sof-logger" test failed with error message "[ERROR] SOF ALSA card not available, driver probe fail?"

Triage details
Test case passed upon modified line 74 in the "check-sof-logger.sh" file
Original code: "test -e /proc/asound/sof*/id"
Modified code: "test -e /proc/asound/sofs*/id"
Cause: Above command line is looking for "sofsoundwire" directory, but in this case 2 directories were located for "sof"* string match

To Reproduce

  1. Launch Terminal and Run "TPLG=/lib/firmware/intel/sof-ipc4-tplg/sof-ptl-rt722-4ch.tplg MODEL=PTLP_RVP_SDW SOF_TEST_INTERVAL=5 ~/sof-test/test-case/check-sof-logger.sh"

Expected behavior

  • Test should PASS

Detail Info

  1. Linux kernel and SOF Firmware details:

  2. Test report ID (if you find it from test report)

  3. Test DUT Model (or a brief discribtion about the device)

    • MODEL: {PTLP_RVP_SDW}
  4. Test TPLG

    • TPLG: {/lib/firmware/intel/sof-ipc4-tplg/sof-ptl-rt722-4ch.tplg}
  5. Test case (what test script and how you run it)

    • TESTCASE: check-sof-logger.sh

Screenshots or console output
image

Failed logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions