this post was submitted on 22 Aug 2023
35 points (97.3% liked)

Linux

45479 readers
1273 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago (1 children)

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.

[–] [email protected] 2 points 10 months ago* (last edited 10 months 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.