Skip to content

Draft: 7.0.y spacewar audio - #29

Draft
f-izzo wants to merge 4 commits into
sc7280-mainline:sc7280-7.0.yfrom
f-izzo:sc7280-7.0.y-spacewar-audio
Draft

Draft: 7.0.y spacewar audio#29
f-izzo wants to merge 4 commits into
sc7280-mainline:sc7280-7.0.yfrom
f-izzo:sc7280-7.0.y-spacewar-audio

Conversation

@f-izzo

@f-izzo f-izzo commented May 18, 2026

Copy link
Copy Markdown
Collaborator

I worked on enabling audio on nothing-spacewar on and off for more than three months and I got tired of it. I will now move to something else

This PR contains my WIP code and my findings, hoping they will be useful for someone else.

Current status:

  • Speaker/Earpiece work with stereo sound
  • WCD codec enumerates but gives no sound (mic/headphones)

Key details

  • Commits a93107c and aa36d88 for FP5 audio break audio for spacewar, reverting them make the speakers work. These two commits won't be necessary in the future thanks to Val's driver fix
  • Speaker/Earpiece playing L/R channels works by specifying the sound-channel in the smart amps section of the DTS.
  • Microphone record stream never starts unless 102c363 gets applied, maybe the ADSP expects a stereo stream that never arrives.

@f-izzo f-izzo changed the title Sc7280 7.0.y spacewar audio Draft: 7.0.y spacewar audio May 18, 2026
@z3ntu
z3ntu marked this pull request as draft May 18, 2026 13:11
@Nonta72

Nonta72 commented Sep 3, 2026

Copy link
Copy Markdown

Hi!

I'm willing to pick up where you left of on this PR.

Would you please be kind and tell me which defconfig and or kernel config fragments you used during your tests? (if you have the full defconfig from a previous build, it would be even better).

Also, which environment did you test it on? I'm assuming pmos. If so, please let me know which DE and init system (openrc or systemd). I'm also assuming you installed the alsa-ucm-conf from pmos repos directly.

Thanks!

@f-izzo

f-izzo commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Hi!

I'm willing to pick up where you left of on this PR.

Would you please be kind and tell me which defconfig and or kernel config fragments you used during your tests? (if you have the full defconfig from a previous build, it would be even better).

Also, which environment did you test it on? I'm assuming pmos. If so, please let me know which DE and init system (openrc or systemd). I'm also assuming you installed the alsa-ucm-conf from pmos repos directly.

Thanks!

Hi, I'm glad you want to take this forward.

@NekoCWD has rebased the code on a more recent kernel.
I suggest you to get in touch with him as he might have a more recent starting point for you.

As for the build:

  • I tested this on pmOS edge with phosh and systemd.
  • I used envkernel.sh to build the kernel
  • Then I used pmbootstrap sideload to install the new kernel on the phone
  • As defconfig I used the sc7280 kernel config from pmaports as described in the envkernel.sh link above. No other kconfig options are needed from what's already there.
  • I used the alsa-ucm-conf for sc7280 from pmaports, as it already supports spacewar.

Good luck and let us know how it goes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants