Sound only comes out of headphone jack, Ubuntu 10.10, HP Pavilion 510t

Asked by Christian Shaffer

Hi,

I just bought an HP Pavilion HPE-510t and after installing Ubuntu 10.10, I cannot get sound out of any of the speaker jacks. However, I do get sound out of the headphone jack.

Here are the audio devices from lspci -v:

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
 Subsystem: Hewlett-Packard Company Device 2ab6
 Flags: bus master, fast devsel, latency 0, IRQ 51
 Memory at fb100000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
 Subsystem: Device 1b0a:906d
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at fb080000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

When I run alsamixer, I can see the four nVidia outputs (I'm assuming these are the four audio output jacks in the back of the machine), labeled S/PDIF, S/PDIF 1, S/PDIF 2, and S/PDIF 3, but I cannot turn up their volume (even after un-muting them).

Thanks for any help you can give!

Other info:

!!Linux Distribution
!!------------------

Ubuntu 10.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.10"

!!DMI Information
!!---------------

Manufacturer: Hewlett-Packard
Product Name: HPE-510t
Product Version: 1.04

!!Kernel Information
!!------------------

Kernel release: 2.6.35-25-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: 1.0.23
Library version: 1.0.23
Utilities version: 1.0.23

!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfb100000 irq 51
 1 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb080000 irq 16

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)

!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:1c20 (rev 04)
 Subsystem: 103c:2ab6
--
01:00.1 0403: 10de:0be2 (rev a1)
 Subsystem: 1b0a:906d

!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2

!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116, 7 Feb 21 21:31 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 16 Feb 21 21:31 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 6 Feb 21 21:31 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 15 Feb 21 21:31 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 14 Feb 21 21:31 /dev/snd/hwC1D1
crw-rw----+ 1 root audio 116, 13 Feb 21 21:31 /dev/snd/hwC1D2
crw-rw----+ 1 root audio 116, 12 Feb 21 21:31 /dev/snd/hwC1D3
crw-rw----+ 1 root audio 116, 5 Feb 21 21:32 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 4 Feb 21 21:32 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 11 Feb 21 21:32 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Feb 21 21:31 /dev/snd/pcmC1D7p
crw-rw----+ 1 root audio 116, 9 Feb 21 21:31 /dev/snd/pcmC1D8p
crw-rw----+ 1 root audio 116, 8 Feb 21 21:31 /dev/snd/pcmC1D9p
crw-rw----+ 1 root audio 116, 3 Feb 21 21:31 /dev/snd/seq
crw-rw----+ 1 root audio 116, 2 Feb 21 21:31 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Feb 21 21:31 .
drwxr-xr-x 3 root root 360 Feb 21 21:31 ..
lrwxrwxrwx 1 root root 12 Feb 21 21:31 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root 12 Feb 21 21:31 pci-0000:01:00.1 -> ../controlC1

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [PCH]

Card hw:0 'PCH'/'HDA Intel PCH at 0xfb100000 irq 51'
  Mixer name : 'IDT ID 76c7'
  Components : 'HDA:111d76c7,103c3ab6,00100102'
  Controls : 9
  Simple ctrls : 5
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 105 [83%] [-16.50dB] [on]
  Front Right: Playback 105 [83%] [-16.50dB] [on]
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 Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 8 [26%] [-22.50dB] [on]
  Front Right: Playback 8 [26%] [-22.50dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [0.00dB] [off]
  Front Right: Playback 23 [74%] [0.00dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]

!!-------Mixer controls for card 1 [NVidia]

Card hw:1 'NVidia'/'HDA NVidia at 0xfb080000 irq 16'
  Mixer name : 'Nvidia GPU 0a HDMI/DP'
  Components : 'HDA:10de000a,10de0101,00100100'
  Controls : 16
  Simple ctrls : 4
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

!!All Loaded Modules
!!------------------

Module
parport_pc
ppdev
binfmt_misc
snd_hda_codec_nvhdmi
nvidia
usbhid
usb_storage
hid
snd_hda_codec_idt
snd_hda_intel
snd_seq_midi
snd_hda_codec
snd_rawmidi
snd_hwdep
snd_pcm
snd_seq_midi_event
snd_seq
snd_seq_device
snd_timer
snd
psmouse
lp
soundcore
snd_page_alloc
intel_agp
parport
serio_raw
ahci
libahci
r8169
mii

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x0221401f
0x0b 0x02a19041
0x0c 0x40f000f1
0x0d 0x01114010
0x0e 0x01a1904e
0x0f 0x01111012
0x10 0x01116011
0x11 0x01112014
0x12 0x90870050
0x22 0x014510a0
0x24 0x40f000f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:

!!ALSA/HDA dmesg
!!------------------

[ 10.048752] alloc kstat_irqs on node -1
[ 10.048758] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 10.048835] alloc irq_desc for 51 on node -1
[ 10.048836] alloc kstat_irqs on node -1
[ 10.048846] HDA Intel 0000:00:1b.0: irq 51 for MSI/MSI-X
[ 10.048871] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 10.152893] HDA Intel 0000:01:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 10.152896] hda_intel: Disable MSI for Nvidia chipset
[ 10.152946] HDA Intel 0000:01:00.1: setting latency timer to 64
[ 10.531401] Initializing USB Mass Storage driver...
--
[ 19.348107] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro,commit=0
[ 19.682529] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[ 21.662044] eth0: no IPv6 routers present

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try adding:

options snd-hda-intel model=hp-dv5 enable_msi=1

to /etc/modprobe.d/alsa-base.conf

Revision history for this message
Christian Shaffer (christian-ecpowergroup) said :
#2

Thanks for the help, action, but that didn't work.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Did you reboot before testing?

If you also run:

alsamixer

make sure all levels are cranked and unmuted. Use ESC or Q (I forget which) to exit the app.

Revision history for this message
Christian Shaffer (christian-ecpowergroup) said :
#4

Hi action,

I did reboot with no luck.

Also,when I run alsamixer, I can see the four nVidia outputs (I'm assuming these are the four audio output jacks in the back of the machine), labeled S/PDIF, S/PDIF 1, S/PDIF 2, and S/PDIF 3, but I cannot turn up their volume (even after un-muting them). I can turn up all of the volume for the "HDA Intel PCH/IDT ID 76c7" Master and PCM (which is what I am assuming controls the headphones jack in the front of the machine).

Thanks again for the help.

Christian

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You use cursors to change values.

ok instead of:
options snd-hda-intel model=hp-dv5 enable_msi=1

Try:
options snd-hda-intel model=hp
or
options snd-hda-intel model=laptop
or
options snd-hda-intel model=auto

May help (reboot in between each change)

Revision history for this message
Christian Shaffer (christian-ecpowergroup) said :
#6

Hi action,

Still no luck.

Thanks,
Christian

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.