the module-switch-on-port-available of pulseaudio 2.0 use hda jack sense to determine the availablity of the output path
as your front audio panel does not support jack sense so headphone port is always unavailable active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_05.0.analog-stereo/#0: Built-in Audio Analogue Stereo sources: alsa_output.pci-0000_00_05.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analogue Stereo alsa_input.pci-0000_00_05.0.analog-stereo/#1: Built-in Audio Analogue Stereo ports: analog-output: Analogue Output (priority 9900, available: unknown) properties: analog-output-headphones: Headphones (priority 9000, available: unknown) properties: analog-input-microphone-front: Front Microphone (priority 8500, available: unknown) properties: analog-input-microphone-rear: Rear Microphone (priority 8200, available: no) properties: analog-input-linein: Line In (priority 8100, available: no) properties: -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/976076 Title: Can't switch between speakers and headphones Status in “alsa-driver” package in Ubuntu: Confirmed Bug description: This is a freshly-installed Precise (from beta2 iso) on an AMD64 custom built computer; the motherboard is an ASRock N68-GE3 UCC, as you can see from the files the chipsets are all NVIDIA. The audio codec is VIA. Main problem: alsa and pulse's idea of switching between the speakers and headset is wrong. If I open alsamixer and toggle the (problematic, I heard) “Independent HP” switch, that works like a charm; turn it on and I get sound only on the speakers, turn it off and I get sound only on the headset. But nothing else (jack sense, clicking an output on Sound Settings, even muting “Front” by hand) works. Secondary problem: once that's working, it would be nice if jack sensing would do it automatically. I tried playing with the “model” flag and even “sense_mask”, but nothing works. I currently reset my alsa-base.conf to factory. I read many reports telling me to install the latest from ubuntu- audio-dev, but of course there aren't any for precise yet. Also installed some hda stuff from diwic; hda-jack-retask reports my front pin is a green headphones front pin as it's supposed to be, so I didn't override anything. And hda-jack-sense-test calls it “Green HP Out”; but only lists it with -a. lalo:~> sudo hda-jack-sense-test -a Pin 0x24 (Green Line Out): present = Yes Pin 0x25 (Black Line Out): present = No Pin 0x26 (Orange Line Out): present = No Pin 0x27 (Grey Line Out): present = No Pin 0x28 (Green HP Out): present = Yes Pin 0x29 (Pink Mic): present = No Pin 0x2a (Blue Line In): present = No Pin 0x2b (Pink Mic): present = No Pin 0x2c (Internal CD): present = No Pin 0x2d (Not connected): present = No Pin 0x2e (Not connected): present = No Pin 0x2f (Not connected): present = No ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: alsa-base 1.0.25+dfsg-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14 Uname: Linux 3.2.0-22-generic x86_64 NonfreeKernelModules: nvidia AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 2.0-0ubuntu4 Architecture: amd64 Date: Sat Apr 7 18:58:24 2012 PackageArchitecture: all SourcePackage: alsa-driver UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 03/07/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.30 dmi.board.name: N68-GE3 UCC dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd03/07/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-GE3UCC:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. modified.conffile..etc.modprobe.d.alsa.base.conf: [modified] mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-04-07T17:16:20.066290 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/976076/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp