Can't switch between speakers and headphones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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+
ProcVersionSign
Uname: Linux 3.2.0-22-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Sat Apr 7 18:58:24 2012
PackageArchitec
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.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To Be Filled By O.E.M.
dmi.product.
dmi.sys.vendor: To Be Filled By O.E.M.
modified.
mtime.conffile.
Lalo, there is a precise alsa-hda-dkms package, and it will probably solve the issue since ALSA 1.0.25 fixes lots of problems with VIA codecs:
sudo apt-add-repository ppa:ubuntu- audio-dev/ alsa-daily
sudo apt-get update
sudo apt-get install alsa-hda-dkms