in theory ,you just need pulseaudio to mute line out playback switch when headphone is plugged
and pulseaudio use line out playback volume when line out profile is selected index b6ee70b..a7a2140 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf @@ -68,6 +68,10 @@ override-map.2 = all-left,all-right switch = off volume = off +[Element Line Out] +switch = off + [Element Speaker+LO] switch = off volume = off diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf index 68f444a..8e7a655 100644 --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf @@ -83,6 +83,12 @@ volume = merge override-map.1 = all override-map.2 = all-left,all-right +[Element Line Out] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1436269 Title: When you select Analog Output or Speakers as port in Output Devices tab of pavucontrol, headphone levels are raised Status in pulseaudio package in Ubuntu: Incomplete Bug description: I expect that headphone levels are not raised, when Analog Output or Speakers is selected as port. Please note, that Line out = analog output port is controlled by ALSA mixer track called PCM, whereas there should be a separate mixer track for it; see bug Bug #1433568 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu11.1 ProcVersionSignature: Ubuntu 3.13.0-48.80-lowlatency 3.13.11-ckt16 Uname: Linux 3.13.0-48-lowlatency x86_64 ApportVersion: 2.14.1-0ubuntu3.7 Architecture: amd64 CurrentDesktop: XFCE Date: Wed Mar 25 12:34:23 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2014-09-21 (185 days ago) InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/26/2011 dmi.bios.vendor: Dell Inc. dmi.bios.version: 2.6.6 dmi.board.name: 0RF703 dmi.board.vendor: Dell Inc. dmi.chassis.type: 6 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr2.6.6:bd06/26/2011:svnDellInc.:pnOptiPlex745:pvr:rvnDellInc.:rn0RF703:rvr:cvnDellInc.:ct6:cvr: dmi.product.name: OptiPlex 745 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1436269/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp