Skip to content

[BUG][TGL]Terminal shows "cannot load mixer controls: Device or resource busy" when open alsamixer when pm runtime in suspended status. #2221

Closed

Description

@YvonneYang2

Describe the bug
Terminal shows "cannot load mixer controls: Device or resource busy" when open alsamixer when pm runtime in suspended status.

Note: Issue cannot be reproduced when aplay with speaker(aplay0,2)

To Reproduce

  1. Boot up system.
  2. Wait pm runtime in suspended status
$cat /sys/bus/pci/devices/0000\:00\:1f.3/power/runtime_status
  1. Run command "alsamixer" to open alsamixer.

Reproduction Rate
10/10

Expected behavior
Terminal shows "cannot load mixer controls: Device or resource busy" when open alsamixer when pm runtime in suspended status.

Environment
Kernel:
https://github.com/thesofproject/linux/commits/topic/sof-dev (commit: 1b2f260)
revert regression on USB-C 6a7c533
revert d4b41f8
revert regression on PINCTRL cd0a323
FW:
https://github.com/thesofproject/sof/tree/releases/tgl/v7.0-rc2 commit: b36dabe4
revert e35e91de652e06183c51ecc9814e7165f780c116
+PR 3069
TPLG: same as fw path sof-tgl-sdw-max98373-rt5682-4ch.tplg rename to sof-tgl-sdw-max98373-rt5682.tplg
platform: TGL chrome book with codec 98373 in SDW mode

dmesg.log
all-logger.log

Activity

  1. added
    bugSomething isn't working
    TGLApplies to Tiger Lake platform
    on Jun 22, 2020
  2. YvonneYang2 commented on Jun 22, 2020

    @YvonneYang2
    Author

    Error still seen with kernel + tgl-006-stable branch.

  3. RanderWang commented on Jun 23, 2020

    @RanderWang

    it is caused by inaccessible register in max98373. I am debugging driver

  4. self-assigned this
    on Jun 23, 2020
  5. YvonneYang2 commented on Jun 23, 2020

    @YvonneYang2
    Author

    Verified #2226 , issue can be fixed.

  6. bardliao commented on Jun 23, 2020

    @bardliao
    Collaborator

    @YvonneYang2 Could you list which mixer will you get "cannot load mixer controls: Device or resource busy" error? I think if should not be an issue if it is an volatile mixer.

  7. YvonneYang2 commented on Jun 28, 2020

    @YvonneYang2
    Author

    @bardliao
    Diff and verified the amixer info of error reproduced and error not reproduced. The value of name='Left/Right Spk Switch' will cause the issue. With value off, issue can be reproduced, while with on, error not seen.

    When error seen, cannot get these values of below numid:

    numid=83,iface=MIXER,name='Left ADC PVDD'
    numid=84,iface=MIXER,name='Left ADC TEMP'
    numid=95,iface=MIXER,name='Left BDE Active Level'
    numid=71,iface=MIXER,name='Left FS Max Volume'
    numid=72,iface=MIXER,name='Left Output Voltage'
    numid=70,iface=MIXER,name='Left Speaker Volume'
    numid=27,iface=MIXER,name='Right ADC PVDD'
    numid=28,iface=MIXER,name='Right ADC TEMP'
    numid=39,iface=MIXER,name='Right BDE Active Level'
    numid=15,iface=MIXER,name='Right FS Max Volume'
    numid=16,iface=MIXER,name='Right Output Voltage'
    numid=14,iface=MIXER,name='Right Speaker Volume'
    

    error_seen.txt
    error_not_seen.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresTGLApplies to Tiger Lake platformbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions