Hi Cengiz,

I've now installed Ubuntu 25.04 with kernel 6.17.0-8-generic and tested
the suggested fix. Unfortunately, the internal speakers still do not
produce any sound.

System Information:
  - OS: Ubuntu 25.04
  - Kernel: 6.17.0-8-generic
  - Device: Acer Aspire Switch 12 S (SW7-272)
  - Codec: Realtek ALC255, Subsystem ID 0x10251049

What was tested:

  1. Applied the suggested kernel parameter:
  snd_hda_intel.model=alc255-acer-headphone-and-mic
  1. The fixup was confirmed applied in dmesg:
  snd_hda_codec_alc269 hdaudioC0D0: ALC255: picked fixup 
alc255-acer-headphone-and-mic (model specified)
  snd_hda_codec_alc269 hdaudioC0D0: autoconfig for ALC255: line_outs=1 
(0x1b/0x0/0x0/0x0/0x0) type:speaker
  
  2. Forced legacy HDA driver instead of AVS:
  By default, kernel 6.17 uses the AVS (Audio Voice Speech) driver on this 
device. I added snd_intel_dspcfg.dsp_driver=1 to force the legacy HDA-Intel 
driver, which is required for the model parameter to take effect.
  
  3. Enabled codec GPIOs:
  All three codec GPIOs were enabled and set high using hda-verb:
  IO[0]: enable=1, dir=1, data=1
  IO[1]: enable=1, dir=1, data=1
  IO[2]: enable=1, dir=1, data=1
  4. Set COEF 0x0d speaker amp bits (0x6000)
  5. Verified mixer settings:
    - Master: 85%, unmuted
    - Speaker: 100%, unmuted
    - Speaker Phantom Jack: on

Results: None of the above resulted in audio output from the internal
speakers. Headphones continue to work correctly via the 3.5mm jack.

Additional investigation:

  - Examined DSDT and all 10 SSDTs - no speaker-related GPIO definitions found
  - Scanned I2C buses 0-2 for external amplifier chips - none detected
  - Examined EC (Embedded Controller) memory region - no obvious speaker enable 
field

Conclusion: The speaker amplifier on this device appears to require a
platform GPIO or EC command that is not exposed via standard ACPI
interfaces. The Windows driver likely uses a proprietary mechanism to
enable the amplifier that Linux does not currently implement.

This is not a configuration issue that can be solved with existing
kernel fixups. It may require reverse-engineering the Windows audio
driver to determine how it enables the speaker amplifier.

I'm happy to provide any additional diagnostic information (full
DSDT/SSDT dumps, alsa-info output, etc.) that would help investigate
this further.

Thank you

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138285

Title:
  [Acer Aspire SW7-272] Internal speakers not working - ALC255 codec

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2138285/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to