When the jack is inserted the internal speakers stop making sound and the only analog out is the jack, as it’s common on laptops. But I want to address the two analog output individually so that I can:

  • Still select the speakers when headphones are plugged
  • Have different sounds come from headphones and speaker
  • Mix them with carla or other audio software

My alsa/pipewire settings are all default, I’m on a thinkpad t480s with fedora 38. My sound card is an intel hd audio card, with a realtek ALC257 analog chip.

I tried disabling auto_mute and rising the volume from alsamixer but nothing happens. Then I switching pipewire to “pro audio” but it doesn’t separate the analog outputs. I also tried setting the indep_hp hint from hdarackretask but it doesn’t change anything.

The hint enables a new “independent hp” option in alsamixer, but it can only be enabled by the cli and it doesn’t work either.

I can provide configuration files or other info if needed but since they are all pretty long I didn’t include them in the post. Also because I didn’t edit them so they are just fedora’s default.

Thanks

  • qjkxbmwvz@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I could be wrong but I thought that there are only two channels (left, right), and that the output device (speakers, headphones) are a separate concept, meaning you can’t have different audio. Similar to most cars — left right are different, but front and back always mirror each other.

    Surround sound/multichannel audio sounds like it might be what you want?

    I could be wrong about this of course.

    • edinbruhOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      The common audio chips have lots of input/output pins (for complex surround systems), most of the pins are disabled but you can see them on stuff like hdajackretask. I can see that in my case they are on two separate outputs.

      On a sidenote, on some systems the manufacturer doesn’t enable some unused pins on the OS side, but leaves them enabled on firmware, which can cause problems. So you can use this kind of software to disable them yourself.