There are two sound playback devices shown: 1. HDMI Audio stub Digital Stereo (HDMI) 2. Built-in Audio Analog Stereo. Sound works fine until I plug headphones into the connector. Then sound from the built-in speakers are disabled (as expected), but the headphones are not enabled. The volume control (using the Ubuntu System setting "Multimedia") goes down to muted for the "Built-in Audio Analog Stereo"), and it can't be raised (unless headphones are unplugged). Testing with 3.0.0.16-generic-pae works fine. 3.2.0-25-generic-pae does not work (with respect to sound in headphones). 3.5.0-030500rc4-generic does not work (with respect to sound in headphones). See further below for output from amixer with headphone connected. The problem was originally reported as an Ubuntu bug (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1018555), but I was asked to move it here. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.2.0-25-generic-pae 3.2.0-25.40 ProcVersionSignature: Ubuntu 3.2.0-25.40-generic-pae 3.2.18 Uname: Linux 3.2.0-25-generic-pae i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 2.0.1-0ubuntu8 Architecture: i386 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: lars 1982 F.... pulseaudio /dev/snd/controlC0: lars 1982 F.... pulseaudio /dev/snd/pcmC0D0p: lars 1982 F...m pulseaudio CRDA: country GB: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: Card hw:0 'PCH'/'HDA Intel PCH at 0xe6e60000 irq 45' Mixer name : 'IDT 92HD90BXX' Components : 'HDA:111d76e7,10280494,00100102' Controls : 20 Simple ctrls : 11 Card1.Amixer.info: Card hw:1 'NVidia'/'HDA NVidia at 0xe5080000 irq 17' Mixer name : 'Nvidia GPU 1c HDMI/DP' Components : 'HDA:10de001c,10281494,00100100' Controls : 18 Simple ctrls : 3 Date: Wed Jun 27 21:48:44 2012 EcryptfsInUse: Yes GvfsMonitorLog: Monitoring events. Press Ctrl+C to quit. HotplugNewDevices: HotplugNewMounts: MachineType: Dell Inc. Latitude E6520 ProcEnviron: LANGUAGE= TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic-pae root=UUID=936f39fa-dc39-4306-b6b7-909e067745cf ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.0-25-generic-pae N/A linux-backports-modules-3.2.0-25-generic-pae N/A linux-firmware 1.79 SourcePackage: linux StagingDrivers: mei Symptom: storage UdevMonitorLog: monitor will print the received events for: UDEV - the event which udev sends out after rule processing UdisksMonitorLog: Monitoring activity from the disks daemon. Press Ctrl+C to cancel. UpgradeStatus: Upgraded to precise on 2012-06-15 (12 days ago) dmi.bios.date: 09/15/2011 dmi.bios.vendor: Dell Inc. dmi.bios.version: A07 dmi.board.name: 0J4TFW dmi.board.vendor: Dell Inc. dmi.board.version: A01 dmi.chassis.type: 9 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA07:bd09/15/2011:svnDellInc.:pnLatitudeE6520:pvr01:rvnDellInc.:rn0J4TFW:rvrA01:cvnDellInc.:ct9:cvr: dmi.product.name: Latitude E6520 dmi.product.version: 01 dmi.sys.vendor: Dell Inc. amixer: Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 1 [2%] [-47.25dB] [off] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 47 [73%] [-12.75dB] [off] Front Right: Playback 47 [73%] [-12.75dB] [off] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [off] Front Right: Playback 64 [100%] [0.00dB] [off] Simple mixer control 'Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'Mic Jack Mode',0 Capabilities: enum Items: 'Mic In' 'Line In' Item0: 'Mic In' Simple mixer control 'Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 1 [33%] [-12.00dB] [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 45 [98%] [29.00dB] [on] Front Right: Capture 45 [98%] [29.00dB] [on] Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'Dock Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] Simple mixer control 'Internal Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 3 [100%] [30.00dB] Front Right: Capture 3 [100%] [30.00dB]
Your mixer setup looks quite strange. Did you adjust properly? Try the following: % amixer -c0 -- set Master unmute -12dB % amixer -c0 -- set Headphone unmute 0dB % amixer -c0 -- set Front unmute 0dB
After running these commands, there is still no sound anywhere when connecting the headphones. The output from amixer is: Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 8 [12%] [-42.00dB] [off] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [off] Front Right: Playback 64 [100%] [0.00dB] [off] If I run your commands with the headphone already connected, I get: Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 48 [75%] [-12.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on] However, no sound anywhere. If I disconnect the headphones at reconnect, I get the same lines as first shown (100%, but off).
The weird volume values must be due to PulseAudio. It's no kernel bug. The silence even after adjusting the volume could be a kernel issue. Then give alsa-info.sh output (run with --no-upload option) after correcting the volume. Also try the very latest Linus git tree. A bug regarding the power-map of IDT codecs has been fixed recently after 3.5.0-rc4 release.
Ok, I connected the earphones, adjusted volume using amixer according to the three lines shown earlier, and this time there is sound in the ear phones (using 3.2.0-25-generic-pae). Funny, I can't explain why it works this time but not last time. If I disconnect the earphones and connect them again, it still works as expected.
After rebooting into 3.2.0-25-generic-pae, everything still works as it should. Something went wrong when upgrading from 3.0.0.16-generic-pae to 3.2.0-25-generic-pae, as I had to do the volume adjustments as specified above. Before doing the volume adjustments shown above, I did go back and forth between 3.0.0.16-generic-pae and 3.2.0-25-generic-pae, with the earphones sounds working and not working every time. As far as I am concerned, this is no longer a bug or problem for me.