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

  • RagingToad@feddit.nl
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    I have good experiences with managing inputs and outputs with pavucontrol, which has a nice GUI. You can choose output per application (I have multiple outputs, headset-microphone on jackplug for meetings, a USB device for HiFi headphones, and a USB device that goes into speakers for when I’m home alone and my noise doesn’t bother anyone - pavucontrol covers that).

    If you really want to go into the deep end you might try https://jackaudio.org/ but that’s a very deep end and I hope you won’t need it, but it’s very powerful.

  • 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.

  • nottheengineer@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’d try to install qpwgraph and see if anything changes when you plug in/unplug the headphones. If not, that means the switching is done by the firmware or the driver itself and not exposed to the OS, so you won’t be able to change it.

    If you do see change, it’ll help you find a solution.