Skip to content

[WIP][SM6115] Audio part 2 enable headphoens#2490

Draft
sunshineinabox wants to merge 3 commits intoROCKNIX:nextfrom
sunshineinabox:Headphones
Draft

[WIP][SM6115] Audio part 2 enable headphoens#2490
sunshineinabox wants to merge 3 commits intoROCKNIX:nextfrom
sunshineinabox:Headphones

Conversation

@sunshineinabox
Copy link
Copy Markdown
Contributor

Summary

  • What is the goal of this PR? Bring up headphones for Mangmi Air X

Testing

  • How was this tested? Tested with terrible airplane headphones on Mangmi Air X
  • Test results: Absolute horrid sound, I am currently investigating putting up what I have so others can also investigate

Additional Context

  • Add any other information that might be helpful for the reviewer DO NOT MERGE IN CURRENT STATE

AI Usage

While ROCKNIX doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? No

@loki666
Copy link
Copy Markdown
Contributor

loki666 commented Mar 31, 2026

made a quick test (very quick as I didn't want to destroy my headphones..)
but yes, I wouldn't even call that "sound"...

here is pipewire logs

Mar 31 12:32:57 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-51) graph xrun not-triggered (0 suppressed)
Mar 31 12:32:57 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-51) xrun state:0xffffa15de008 pending:1/1 s:77390401793 a:77391124501 f:77391186636 waiting:
722708 process:62135 status:triggered
Mar 31 12:33:26 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-51) graph xrun not-triggered (0 suppressed)
Mar 31 12:33:26 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-51) xrun state:0xffffa15de008 pending:1/1 s:106569662400 a:106570398766 f:106570497942 waiti
ng:736366 process:99176 status:triggered
Mar 31 12:33:57 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) graph xrun not-triggered (93 suppressed)
Mar 31 12:33:57 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) xrun state:0xffffa15de008 pending:0/2 s:137661244117 a:137661783523 f:137661847596 wa
iting:539406 process:64073 status:triggered
Mar 31 12:33:59 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) graph xrun not-triggered (91 suppressed)
Mar 31 12:33:59 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) xrun state:0xffffa15de008 pending:1/2 s:139694866063 a:139695467499 f:139695526569 wa
iting:601436 process:59070 status:triggered
Mar 31 12:33:59 SM6115 pipewire[510]: pw.node: (SDL Application-42) xrun state:0xffffa15da008 pending:0/1 s:139742030000 a:139695150216 f:139695415304 waiting:18446744073662671832 process:265088 status:triggered
Mar 31 12:34:03 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) graph xrun not-triggered (87 suppressed)
Mar 31 12:34:03 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) xrun state:0xffffa15de008 pending:1/2 s:143712900289 a:143713370964 f:143713441128 wa
iting:470675 process:70164 status:triggered
Mar 31 12:34:05 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) graph xrun not-triggered (85 suppressed)
Mar 31 12:34:05 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) xrun state:0xffffa15de008 pending:1/2 s:145755776354 a:145756774311 f:145756882707 wa
iting:997957 process:108396 status:triggered
Mar 31 12:34:05 SM6115 pipewire[510]: pw.node: (SDL Application-42) xrun state:0xffffa15da008 pending:0/1 s:145811656064 a:145811948174 f:145756339531 waiting:292110 process:18446744073653942973 status:awake
Mar 31 12:34:07 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) graph xrun not-triggered (88 suppressed)
Mar 31 12:34:07 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Headphones__sink-52) xrun state:0xffffa15de008 pending:1/2 s:147748569487 a:147749343196 f:147749414608 wa
iting:773709 process:71412 status:triggered
Mar 31 12:34:07 SM6115 pipewire[510]: pw.node: (SDL Application-42) xrun state:0xffffa15da008 pending:0/1 s:147812139613 a:147812457660 f:147749039995 waiting:318047 process:18446744073646133951 status:awake
Mar 31 12:34:08 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-53) graph xrun not-triggered (0 suppressed)
Mar 31 12:34:08 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-53) xrun state:0xffffa15e2008 pending:1/2 s:148386454193 a:148386808387 f:148386875527 waiti
ng:354194 process:67140 status:triggered
Mar 31 12:35:13 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-53) graph xrun not-triggered (0 suppressed)
Mar 31 12:35:13 SM6115 pipewire[510]: pw.node: (alsa_output._sys_devices_platform_sound_sound_card0.HiFi__Speaker__sink-53) xrun state:0xffffa15e2008 pending:1/1 s:213896120096 a:213897101518 f:213897201030 waiti
ng:981422 process:99512 status:triggered

@sunshineinabox
Copy link
Copy Markdown
Contributor Author

sunshineinabox commented Mar 31, 2026

Setting the BCLK back to the default seems to help with errors, but don’t think it improves audio at all. I’ll be able to pick it up again tomorrow.

Wondering if I have RX/TX inverted.

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