Skip to contentSkip to conversation

No sound for HP Pavilion DV4z

DISCUSSION Andrew Eleneski 2 participants 4 messages Feb 4, 2009 – Feb 6, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I am running Kubuntu 8.10 64-bit and have no sound. Using the distribution supplied Alsa version, I was at one point able to have sound through just the headphone jacks, but after using this script (
http://ubuntuforums.org/showthread.php?t=1046137&highlight=alsa+upgrade) and trying to upgrade to the latest version 1.0.19, I have no sound at all. Attached is my alsa-info.txt file to help in debugging what is wrong.

1. Name your Ubuntu revision: Kubuntu 8.10 64-bit
2. Kernel revision: 2.6.27-11-generic
3. Alsa revision: 1.0.19
4. A bit of background what you've done resp. done before:
I have tried multitudes of values in /etc/modprobe.d/alsa-base, nothing seems to work. Saw in changelog for Alsa 1.0.19 there were many changes geared toward HP dvX series laptops, seems to have no effect with mine.

Thanks.

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.53
!!################################

!!Script ran on: Wed Feb 4 22:37:26 UTC 2009

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

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

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

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

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

Driver version:     1.0.19
Library version:    1.0.19
Utilities version:  1.0.19

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

snd_hda_intel
snd_hda_intel

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

aRts:
Installed - Yes (/usr/bin/artsd)
Running - No

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

0 [SB ]: HDA-Intel - HDA ATI SB

                      HDA ATI SB at 0xd2500000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xd2410000 irq 2298

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

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller

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

00:14.2 0403: 1002:4383

	Subsystem: 103c:30fb
--
01:05.1 0403: 1002:960f
	Subsystem: 1002:960f

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

snd-hda-intel: model=laptop
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-hda-intel: model=laptop
snd-hda-intel: model=hp-m4 enable_msi=1

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 1
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> index : -1,-1,-1,-1,-1,-1,-1,-1
model : laptop,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
probe_only : N,N,N,N,N,N,N,N
single_cmd : N

!!Module: snd_hda_intel
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 1
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> index : -1,-1,-1,-1,-1,-1,-1,-1
model : laptop,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
probe_only : N,N,N,N,N,N,N,N
single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: IDT 92HD71B7X
Address: 0
Vendor Id: 0x111d76b2
Subsystem Id: 0x103c30fb
Revision Id: 0x100302
No Modem Function Group found
Default PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Power-Map: 0x00
Analog Loopback: 0xf0
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x02214010: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 3

     0x10* 0x11 0x17

Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19020: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=01, enabled=1
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x40f100f0: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x40f100f1: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x1
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Connection: 3

     0x10* 0x11 0x17

Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x40f100f2: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x2
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x40f100f3: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x3
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Connection: 3

     0x10 0x11 0x17*

Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
Amp-Out caps: N/A
Amp-Out vals: [0x7f 0x7f]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
Amp-Out caps: N/A
Amp-Out vals: [0xff 0xff]
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D3, actual=D3
Delay: 13 samples
Connection: 1

     0x1c

Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D3, actual=D3
Delay: 13 samples
Connection: 1

     0x1d

Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
Pincap 0x00000010: OUT
Pin Default 0x40f100f4: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x4
Pin-ctls: 0x00:
Connection: 1

     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10* 0x11 0x17
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15

Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x96 0x96] [0x94 0x94] [0x97 0x97] [0x96 0x96] [0x95 0x95]
Connection: 5

     0x10 0x11 0x27 0x1a 0x1b

Node 0x18 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x40f100f5: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x5
Pin-ctls: 0x20: IN
Node 0x19 [Pin Complex] wcaps 0x40000d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x40f100f6: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0x6
Pin-ctls: 0x20: IN
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x02 0x02]
Connection: 3

     0x0b* 0x0c 0x0e

Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x02 0x02]
Connection: 3

     0x0b* 0x0c 0x0e

Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x0d 0x0d]
Connection: 4

     0x1a 0x17 0x18* 0x19

Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 4

     0x1b* 0x17 0x18 0x19

Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x40f100f7: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown DefAssociation = 0xf, Sequence = 0x7
Pin-ctls: 0x00:
Connection: 1

     0x24

Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x00010010: OUT EAPD
EAPD 0x0:
Pin Default 0x40f100f8: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown DefAssociation = 0xf, Sequence = 0x8
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 2

     0x24* 0x25

Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x40f100f9: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown DefAssociation = 0xf, Sequence = 0x9
Pin-ctls: 0x00:
Connection: 1

     0x25

Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
Connection: 3

     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d

Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00]
Node 0x27 [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x40f100fa: [N/A] Other at Ext N/A
Conn = 1/8, Color = Unknown
DefAssociation = 0xf, Sequence = 0xa
Pin-ctls: 0x00:
Node 0x28 [Volume Knob Widget] wcaps 0x600000: Mono
Volume-Knob: delta=1, steps=127, direct=1, val=127
Connection: 2

     0x10* 0x11

Codec: LSI ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x103c137e
Revision Id: 0x100200
Modem Function Group: 0x1
Codec: ATI RS690/780 HDMI
Address: 0
Vendor Id: 0x1002791a
Subsystem Id: 0x791a00
Revision Id: 0x100000
No Modem Function Group found
Default PCM:

    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1

     0x02

--endcollapse--

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

crw-rw----+ 1 root audio 116,  0 Feb  4 17:35 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 32 Feb  4 17:35 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  4 Feb  4 17:35 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  5 Feb  4 17:35 /dev/snd/hwC0D1
crw-rw----+ 1 root audio 116, 36 Feb  4 17:35 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 24 Feb  4 17:35 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 16 Feb  4 17:37 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 51 Feb  4 17:35 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116,  1 Feb  4 17:35 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Feb  4 17:35 /dev/snd/timer

!!ALSA configuration files
!!------------------------

!!User specific config file (~/.asoundrc)

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1). # (To disable these settings, comment out this line.) </home/aeleneski/.asoundrc.asoundconf>

!!asoundconf-generated config file

# ALSA library configuration file managed by asoundconf(1). #
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented

# by editing the ~/.asoundrc file, not by editing this file.

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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1

!!Amixer output
!!-------------

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

Card hw:0 'SB'/'HDA ATI SB at 0xd2500000 irq 16'
Mixer name : 'IDT 92HD71B7X'
Components : 'HDA:111d76b2,103c30fb,00100302 HDA:11c11040,103c137e,00100200'
Controls : 27
Simple ctrls : 18
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
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]
Simple mixer control 'PCM',0
Capabilities: pvolume
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 'IEC958 Playback Source',0
Capabilities: enum
Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
Item0: 'Digital Playback'
Simple mixer control 'IEC958 Playback Source',1
Capabilities: enum
Items: 'Digital Playback' 'Analog Mux 1' 'Analog Mux 2'
Item0: 'Digital Playback'
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 13 [87%] [19.50dB] [on]
Front Right: Capture 13 [87%] [19.50dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Analog Loopback',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'DAC0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 22 [71%] [-1.50dB] [off]
Front Right: Capture 22 [71%] [-1.50dB] [off]
Simple mixer control 'DAC1',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 21 [68%] [-3.00dB] [off]
Front Right: Capture 21 [68%] [-3.00dB] [off]
Simple mixer control 'Digital Input Source',0
Capabilities: enum
Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1' 'Digital Mic 2'
Item0: 'Digital Mic 1'
Simple mixer control 'Digital Input Source',1
Capabilities: enum
Items: 'Analog Inputs' 'Mixer' 'Digital Mic 1' 'Digital Mic 2'
Item0: 'Analog Inputs'
Simple mixer control 'Import0 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 22 [71%] [-1.50dB] [off]
Front Right: Capture 22 [71%] [-1.50dB] [off]
Simple mixer control 'Import1 Mux',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 20 [65%] [-4.50dB] [off]
Front Right: Capture 20 [65%] [-4.50dB] [off]
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 2 [67%] [20.00dB]
Front Right: Capture 2 [67%] [20.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 3
Front Left: Capture 2 [67%] [20.00dB]
Front Right: Capture 2 [67%] [20.00dB]
Simple mixer control 'PC Beep',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 3
Mono: Playback 3 [100%] [0.00dB] [on]

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

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd2410000 irq 2298'
Mixer name : 'ATI RS690/780 HDMI'
Components : 'HDA:1002791a,00791a00,00100000'
Controls : 4
Simple ctrls : 1
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]

!!Alsactl output
!!-------------

--startcollapse--

state.SB {
	control.1 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		value true
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		index 1
		value true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		value.0 13
		value.1 13
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 15'
		comment.dbmin 0
		comment.dbmax 2250
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.8 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import0 Mux Capture Volume'
		value.0 22
		value.1 22
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.10 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Import1 Mux Capture Volume'
		value.0 20
		value.1 20
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 Capture Switch'
		value.0 false
		value.1 false
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC0 Capture Volume'
		value.0 22
		value.1 22
	}
	control.13 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.14 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'DAC1 Capture Volume'
		value.0 21
		value.1 21
	}
	control.15 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
	}
	control.16 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.17 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value true
	}
	control.18 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 3'
		comment.dbmin -1800
		comment.dbmax 0
		iface MIXER
		name 'PC Beep Playback Volume'
		value 3
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		value.0 2
		value.1 2
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mux Capture Volume'
		index 1
		value.0 2
		value.1 2
	}
	control.21 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		comment.item.3 'Digital Mic 2'
		iface MIXER
		name 'Digital Input Source'
		value 'Digital Mic 1'
	}
	control.22 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		comment.item.2 'Digital Mic 1'
		comment.item.3 'Digital Mic 2'
		iface MIXER
		name 'Digital Input Source'
		index 1
		value 'Analog Inputs'
	}
	control.23 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		value 'Digital Playback'
	}
	control.24 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Digital Playback'
		comment.item.1 'Analog Mux 1'
		comment.item.2 'Analog Mux 2'
		iface MIXER
		name 'IEC958 Playback Source'
		index 1
		value 'Digital Playback'
	}
	control.25 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 64
	}
	control.26 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.27 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
	}
}
state.HDMI {
	control.1 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.2 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.3 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
}

--endcollapse--

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

Module
af_packet
binfmt_misc
rfcomm
sco
bridge
stp
bnep
l2cap
bluetooth
ppdev
vmnet
vmblock
vmci
vmmon
ipv6
powernow_k8
cpufreq_powersave
cpufreq_ondemand
cpufreq_userspace
cpufreq_stats
freq_table
cpufreq_conservative
pci_slot
sbs
sbshc
container
iptable_filter
ip_tables
x_tables
ieee80211_crypt_tkip
ieee80211_crypt
parport_pc
lp
parport
snd_hda_codec_atihdmi
joydev
snd_hda_codec_idt
snd_seq_dummy
snd_hda_intel
snd_seq_oss
snd_hda_codec
snd_seq_midi
snd_rawmidi
snd_hwdep
snd_pcm_oss
snd_seq_midi_event
snd_mixer_oss
snd_seq
snd_seq_device
snd_pcm
uvcvideo
snd_timer
i2c_piix4
compat_ioctl32
snd
serio_raw
evdev
videodev
psmouse
soundcore
pcspkr
v4l1_compat
snd_page_alloc
i2c_core
fglrx
battery
video
output
wmi
button
ac
shpchp
pci_hotplug
ext3
jbd
mbcache
usbhid
hid
pata_acpi
sd_mod
crc_t10dif
sr_mod
cdrom
sg
pata_atiixp
ohci_hcd
ata_generic
ehci_hcd
ahci
usbcore
r8169
mii
libata
scsi_mod
dock
thermal
processor
fan
fbcon
tileblit
font
bitblit
softcursor
fuse

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Wed, 4 Feb 2009 17:42:32 -0500,

Quoted 10 lines · Andrew Eleneski

Hi,

I am running Kubuntu 8.10 64-bit and have no sound. Using the distribution supplied Alsa version, I was at one point able to have sound through just the headphone jacks, but after using this script (
http://ubuntuforums.org/showthread.php?t=1046137&highlight=alsa+upgrade) and trying to upgrade to the latest version 1.0.19, I have no sound at all. Attached is my alsa-info.txt file to help in debugging what is wrong.

Quoted 7 lines

1. Name your Ubuntu revision: Kubuntu 8.10 64-bit
2. Kernel revision: 2.6.27-11-generic
3. Alsa revision: 1.0.19
4. A bit of background what you've done resp. done before:
I have tried multitudes of values in /etc/modprobe.d/alsa-base, nothing seems to work. Saw in changelog for Alsa 1.0.19 there were many changes geared toward HP dvX series laptops, seems to have no effect with mine.

Try model=hp-dv5 with the very latest alsa-driver snapshot below
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

If you have a luck, it may work. Some HP dv4 model seems to have a broken BIOS while some has a correct one.

Takashi

#2 lore raw

Ok, seems like I have no luck. Here were some general tests that I did and the dmesg results:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dv5

[ 94.194443] hda-intel: Invalid position buffer, using LPIB read method instead. 
[ 265.860938] HDA Intel 0000:01:05.1: PCI INT B disabled 
[ 265.968343] HDA Intel 0000:00:14.2: PCI INT A disabled 
[ 266.908393] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 
[ 266.944615] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input14 
[ 267.037347] input: HDA ATI SB at 0xd2500000 irq 16 Mic at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/input/input15 
[ 267.064233] input: HDA ATI SB at 0xd2500000 irq 16 HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/input/input16 
[ 267.080415] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 
[ 267.080445] HDA Intel 0000:01:05.1: setting latency timer to 64 
[ 315.093428] hda-intel: Invalid position buffer, using LPIB read method instead. 

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

[ 514.468839] APIC error on CPU1: 00(08) 
[ 514.468851] APIC error on CPU0: 00(08) 
[ 515.472557] ALSA /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/pci/hda/hda_intel.c:621: hda_intel: No response from codec, disabling MSI: last cmd=0x000f0000 
[ 516.476554] ALSA /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/pci/hda/hda_intel.c:634: hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x000f0000 

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

[ 512.740875] HDA Intel 0000:01:05.1: PCI INT B disabled 
[ 512.853833] HDA Intel 0000:00:14.2: PCI INT A disabled 
[ 514.077692] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 
[ 514.150312] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input17 
[ 514.412696] input: HDA ATI SB at 0xd2500000 irq 16 Mic at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/input/input18 
[ 514.433025] input: HDA ATI SB at 0xd2500000 irq 16 HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:14.2/input/input19 
[ 514.454995] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 
[ 514.455153] HDA Intel 0000:01:05.1: setting latency timer to 64 

Now something weird is that when I initially changed to just model=hp-dv5, the mute light on my laptop
went from orange to white. But no sound played. Then after the above tests failed, I started to try different models again (such as auto, laptop) and now that light is orange. So I changed back to just model=hp-dv5, and the light is still orange.

Any other suggestions?

----- Original Message -----
From: "Takashi Iwai" <[email protected]>
To: "Andrew Eleneski" <[email protected]>
Cc: [email protected]
Sent: Thursday, February 5, 2009 2:15:08 AM GMT -05:00 US/Canada Eastern
Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z

At Wed, 4 Feb 2009 17:42:32 -0500,

Quoted 10 lines · Andrew Eleneski

Hi,

I am running Kubuntu 8.10 64-bit and have no sound. Using the distribution supplied Alsa version, I was at one point able to have sound through just the headphone jacks, but after using this script (
http://ubuntuforums.org/showthread.php?t=1046137&highlight=alsa+upgrade) and trying to upgrade to the latest version 1.0.19, I have no sound at all. Attached is my alsa-info.txt file to help in debugging what is wrong.

Quoted 7 lines

1. Name your Ubuntu revision: Kubuntu 8.10 64-bit
2. Kernel revision: 2.6.27-11-generic
3. Alsa revision: 1.0.19
4. A bit of background what you've done resp. done before:
I have tried multitudes of values in /etc/modprobe.d/alsa-base, nothing seems to work. Saw in changelog for Alsa 1.0.19 there were many changes geared toward HP dvX series laptops, seems to have no effect with mine.

Try model=hp-dv5 with the very latest alsa-driver snapshot below ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

If you have a luck, it may work. Some HP dv4 model seems to have a broken BIOS while some has a correct one.

Takashi

#3 lore raw

At Thu, 5 Feb 2009 23:45:25 +0000 (UTC),

Quoted 23 lines · [email protected] wrote:

Ok, seems like I have no luck. Here were some general tests that I did and the dmesg results:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dv5

[   94.194443] hda-intel: Invalid position buffer, using LPIB read method
[  265.860938] HDA Intel 0000:01:05.1: PCI INT B disabled
[  265.968343] HDA Intel 0000:00:14.2: PCI INT A disabled
[  266.908393] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[  266.944615] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/
input/input14
[  267.037347] input: HDA ATI SB at 0xd2500000 irq 16 Mic at Ext Front Jack as
/devices/pci0000:00/0000:00:14.2/input/input15
[  267.064233] input: HDA ATI SB at 0xd2500000 irq 16 HP Out at Ext Front Jack
as /devices/pci0000:00/0000:00:14.2/input/input16
[  267.080415] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ
19
[  267.080445] HDA Intel 0000:01:05.1: setting latency timer to 64
[  315.093428] hda-intel: Invalid position buffer, using LPIB read method
Quoted 1 line

instead.

This isn't too bad, but...

Quoted 10 lines

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

[  514.468839] APIC error on CPU1: 00(08)
[  514.468851] APIC error on CPU0: 00(08)
[  515.472557] ALSA /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/pci/hda/
hda_intel.c:621: hda_intel: No response from codec, disabling MSI: last cmd=
0x000f0000
[  516.476554] ALSA /usr/src/Alsa-1.0.19/alsa-driver-1.0.19/pci/hda/

hda_intel.c:634: hda_intel: azx_get_response timeout, switching to polling
mode: last cmd=0x000f0000

This seems more serious.

Quoted 15 lines

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

[  512.740875] HDA Intel 0000:01:05.1: PCI INT B disabled
[  512.853833] HDA Intel 0000:00:14.2: PCI INT A disabled
[  514.077692] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[  514.150312] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/
input/input17
[  514.412696] input: HDA ATI SB at 0xd2500000 irq 16 Mic at Ext Front Jack as
/devices/pci0000:00/0000:00:14.2/input/input18
[  514.433025] input: HDA ATI SB at 0xd2500000 irq 16 HP Out at Ext Front Jack
as /devices/pci0000:00/0000:00:14.2/input/input19
[  514.454995] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ
19
[  514.455153] HDA Intel 0000:01:05.1: setting latency timer to 64

And this is better.
So, obviously the problem looks like the communication with the secondary codec.

Quoted 8 lines

Now something weird is that when I initially changed to just model=hp-dv5, the mute light on my laptop
went from orange to white. But no sound played. Then after the above tests failed, I started to try different models again (such as auto, laptop) and now that light is orange. So I changed back to just model=hp-dv5, and the light is still orange.

Any other suggestions?

OK, first try to load the module with probe_only=1 option. Reboot once after setting this model to restore the original BIOS setup. Then run alsa-info.sh --no-upload, and attach the generated file. If you get errors, try to get /proc/asound/card0/codec#* files, at least.

Then set model=hp-dv5, reboot and get alsa-info output, too.

Also, make sure to use the very latest alsa-driver snapshot,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Check the changelogs in alsa-driver*/HEAD and alsa-driver*/alsa-kernel/HEAD files.

The problem could be the invalid BIOS pin setup.
In that case, you can try to change the pin control manually via hda-verb program, such as,

	hda-verb /dev/snd/hwC0D0 0x0d SET_PIN_WID 0x40

See Documentation/sound/alsa/HD-Audio.txt in the recent kernel (found in alsa-driver snapshot, too).

thanks,

Takashi