Skip to content

M1 No Speaker device detected [J293] #620

Description

@riturajborpujari

The system detects the microphone but not the speaker.

$ wpctl status just shows the Dummy Device in the Sink section

Device: Macbook Pro M1 (2020)
Kernel: 7.1.13-402.asahi.fc44.aarch64+16k

# dmesg | grep -E 'macaudio|tas2770'
[    3.807306] tas2770 2-0031: supply SDZ not found, using dummy regulator
[    3.812090] tas2770 2-0032: supply SDZ not found, using dummy regulator
[    3.822193] tas2770 4-0034: supply SDZ not found, using dummy regulator
[    3.844378] tas2770 4-0035: supply SDZ not found, using dummy regulator
[    4.013974] tas2770 4-0035: ASoC error (-5): at soc_component_write_no_lock() on tas2770.4-0035 for register: [0x00000001]
[    4.015714] tas2770 4-0035: ASoC error (-5): at snd_soc_component_update_bits() on tas2770.4-0035 for register: [0x0000000f]
[    4.015717] tas2770 4-0035: ASoC error (-5): at snd_soc_component_probe() on tas2770.4-0035
[    4.015733] snd-soc-macaudio sound: ASoC: failed to instantiate card -5
[    4.036651] snd-soc-macaudio sound: probe with driver snd-soc-macaudio failed with error -5

speakersafetyd service is at errored state with error status 101
Trying to run the program manually like below, shows the following error

$ sudo speakersafetyd
INFO  [speakersafetyd] Starting up
INFO  [speakersafetyd] Config base: "/usr/local/share/speakersafetyd"
INFO  [speakersafetyd] Machine: apple,j293
INFO  [speakersafetyd] Config file: "/usr/local/share/speakersafetyd/apple/j293.conf"
INFO  [speakersafetyd] Device: hw:AppleJ293
INFO  [speakersafetyd::uclamp] Set task uclamp to 0:64
INFO  [speakersafetyd] Found 4 speakers
INFO  [speakersafetyd] Opening control device
ALSA lib confmisc.c:165:(snd_config_get_card) [error.core] Cannot get card index for AppleJ293

thread 'main' (3981) panicked at src/helpers.rs:11:13:
hw:AppleJ293: Could not open sound card! Error: ALSA function 'snd_ctl_open' failed with error 'No such device (19)'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
WARN  [speakersafetyd] Panic!

Activity

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

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