All of lore.kernel.org
 help / color / mirror / Atom feed
* No sound for HP Pavilion DV4z
@ 2009-02-04 22:42 Andrew Eleneski
  2009-02-05  7:15 ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: Andrew Eleneski @ 2009-02-04 22:42 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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.

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 25464 bytes --]

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



[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-04 22:42 Andrew Eleneski
@ 2009-02-05  7:15 ` Takashi Iwai
  2009-02-05 23:45   ` aeleneski
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-05  7:15 UTC (permalink / raw)
  To: Andrew Eleneski; +Cc: alsa-devel

At Wed, 4 Feb 2009 17:42:32 -0500,
Andrew Eleneski wrote:
> 
> 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.

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-05  7:15 ` Takashi Iwai
@ 2009-02-05 23:45   ` aeleneski
  2009-02-06  8:11     ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: aeleneski @ 2009-02-05 23:45 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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" <tiwai@suse.de> 
To: "Andrew Eleneski" <aeleneski@comcast.net> 
Cc: alsa-devel@alsa-project.org 
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, 
Andrew Eleneski wrote: 
> 
> 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. 

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 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-05 23:45   ` aeleneski
@ 2009-02-06  8:11     ` Takashi Iwai
  0 siblings, 0 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-02-06  8:11 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Thu, 5 Feb 2009 23:45:25 +0000 (UTC),
aeleneski@comcast.net 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
> instead.

This isn't too bad, but...

> 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.

> 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.

> 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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
       [not found] <188698462.3091871233960154280.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
@ 2009-02-09 17:18 ` aeleneski
  2009-02-09 17:24   ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: aeleneski @ 2009-02-09 17:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel



Thanks for your time and all these suggestions. Still no luck though. 


Seems like you might not be able to have two files ending in alsa-base in 
the /etc/modprobe.d/ folder. That was the reason for the orange speaker indicator. I had 
alsa-base and backup-alsa-base, for some reason it was grabbing the settings 
from the backup. 

Anyway, with probe only, orange sound indicator, when doing aplay -l I get 

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

Attached are the requested logs. 
I tried using the hda-verb command you supplied, the only difference is 
that upon restarting after setting the command, I noticed the speakers crack, but still no sound. 
Not really sure what I should be looking for here. 



----- Original Message ----- 
From: "Takashi Iwai" <tiwai@suse.de> 
To: aeleneski@comcast.net 
Cc: alsa-devel@alsa-project.org 
Sent: Friday, February 6, 2009 3:11:01 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z 

At Thu, 5 Feb 2009 23:45:25 +0000 (UTC), 
aeleneski@comcast.net 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 
> instead. 

This isn't too bad, but... 

> 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. 

> 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. 

> 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 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-09 17:18 ` No sound for HP Pavilion DV4z aeleneski
@ 2009-02-09 17:24   ` Takashi Iwai
  2009-02-10 11:34     ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-09 17:24 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Mon, 9 Feb 2009 17:18:59 +0000 (UTC),
aeleneski@comcast.net wrote:
> 
> Thanks for your time and all these suggestions. Still no luck though.
> 
> Seems like you might not be able to have two files ending in alsa-base in
> the /etc/modprobe.d/ folder. That was the reason for the orange speaker
> indicator. I had
> alsa-base and backup-alsa-base, for some reason it was grabbing the settings
> from the backup.

Ah, yes, module-init-tools doesn't check every backup file suffix.
Better to remove completely old files.

> Anyway, with probe only, orange sound indicator, when doing aplay -l I get
> 
> **** List of PLAYBACK Hardware Devices ****
> card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

With probe_only option, it doesn't make sense to run aplay.  This
option basically means "probe codecs but don't set up for use yet".
This is useful to check the raw setup by BIOS before overriding or
modifying by the driver.

One thing we can try is to add the pin config dynamically then
reconfigure.  For example, load the driver with probe_only=1, then
do the following as root:	

	echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs
	echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs
	echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs
	echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs
	echo 1 > /sys/class/sound/hwC0D0/reconfig

Then the driver will (re-)configure the PCM and mixers.


Takashi


> Attached are the requested logs.
> I tried using the hda-verb command you supplied, the only difference is
> that upon restarting after setting the command, I noticed the speakers crack,
> but still no sound.
> Not really sure what I should be looking for here.
> 
> ----- Original Message -----
> From: "Takashi Iwai" <tiwai@suse.de>
> To: aeleneski@comcast.net
> Cc: alsa-devel@alsa-project.org
> Sent: Friday, February 6, 2009 3:11:01 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z
> 
> At Thu, 5 Feb 2009 23:45:25 +0000 (UTC),
> aeleneski@comcast.net 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
> > instead.
> 
> This isn't too bad, but...
> 
> > 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.
> 
> > 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.
> 
> > 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
> 
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-09 17:24   ` Takashi Iwai
@ 2009-02-10 11:34     ` Takashi Iwai
  2009-02-10 23:58       ` aeleneski
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-10 11:34 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Mon, 09 Feb 2009 18:24:57 +0100,
I wrote:
> 
> At Mon, 9 Feb 2009 17:18:59 +0000 (UTC),
> aeleneski@comcast.net wrote:
> > 
> > Thanks for your time and all these suggestions. Still no luck though.
> > 
> > Seems like you might not be able to have two files ending in alsa-base in
> > the /etc/modprobe.d/ folder. That was the reason for the orange speaker
> > indicator. I had
> > alsa-base and backup-alsa-base, for some reason it was grabbing the settings
> > from the backup.
> 
> Ah, yes, module-init-tools doesn't check every backup file suffix.
> Better to remove completely old files.
> 
> > Anyway, with probe only, orange sound indicator, when doing aplay -l I get
> > 
> > **** List of PLAYBACK Hardware Devices ****
> > card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> 
> With probe_only option, it doesn't make sense to run aplay.  This
> option basically means "probe codecs but don't set up for use yet".
> This is useful to check the raw setup by BIOS before overriding or
> modifying by the driver.
> 
> One thing we can try is to add the pin config dynamically then
> reconfigure.  For example, load the driver with probe_only=1, then
> do the following as root:	
> 
> 	echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs
> 	echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs
> 	echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs
> 	echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs

The above might be not suffice to give the initialization before the
parser.  Try to call hda-verb like the following instead:

	hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10
	hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11
	hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17
	hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90

then

 	echo 1 > /sys/class/sound/hwC0D0/reconfig


Takashi

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-10 11:34     ` Takashi Iwai
@ 2009-02-10 23:58       ` aeleneski
  2009-02-11  6:34         ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: aeleneski @ 2009-02-10 23:58 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Ok, well I tried this: 

The above might be not suffice to give the initialization before the 
parser. Try to call hda-verb like the following instead: 

hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 
hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 
hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 
hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90 

then 

echo 1 > /sys/class/sound/hwC0D0/reconfig 

I started my system, changed to probe_only=1. Ran the commands above, and removed probe_only=1. 
Upon shutdown during restart, I again heard the speakers crackle. When the system came back up, no sound. 



----- Original Message ----- 
From: "Takashi Iwai" <tiwai@suse.de> 
To: aeleneski@comcast.net 
Cc: alsa-devel@alsa-project.org 
Sent: Tuesday, February 10, 2009 6:34:02 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z 

At Mon, 09 Feb 2009 18:24:57 +0100, 
I wrote: 
> 
> At Mon, 9 Feb 2009 17:18:59 +0000 (UTC), 
> aeleneski@comcast.net wrote: 
> > 
> > Thanks for your time and all these suggestions. Still no luck though. 
> > 
> > Seems like you might not be able to have two files ending in alsa-base in 
> > the /etc/modprobe.d/ folder. That was the reason for the orange speaker 
> > indicator. I had 
> > alsa-base and backup-alsa-base, for some reason it was grabbing the settings 
> > from the backup. 
> 
> Ah, yes, module-init-tools doesn't check every backup file suffix. 
> Better to remove completely old files. 
> 
> > Anyway, with probe only, orange sound indicator, when doing aplay -l I get 
> > 
> > **** List of PLAYBACK Hardware Devices **** 
> > card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] 
> > Subdevices: 1/1 
> > Subdevice #0: subdevice #0 
> 
> With probe_only option, it doesn't make sense to run aplay. This 
> option basically means "probe codecs but don't set up for use yet". 
> This is useful to check the raw setup by BIOS before overriding or 
> modifying by the driver. 
> 
> One thing we can try is to add the pin config dynamically then 
> reconfigure. For example, load the driver with probe_only=1, then 
> do the following as root: 
> 
> echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs 
> echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs 
> echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs 
> echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs 

The above might be not suffice to give the initialization before the 
parser. Try to call hda-verb like the following instead: 

hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 
hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 
hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 
hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90 

then 

echo 1 > /sys/class/sound/hwC0D0/reconfig 


Takashi 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-10 23:58       ` aeleneski
@ 2009-02-11  6:34         ` Takashi Iwai
  0 siblings, 0 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-02-11  6:34 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Tue, 10 Feb 2009 23:58:19 +0000 (UTC),
aeleneski@comcast.net wrote:
> 
> Ok, well I tried this:
> 
> The above might be not suffice to give the initialization before the
> parser.  Try to call hda-verb like the following instead:
> 
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90
> 
> then
> 
>          echo 1 > /sys/class/sound/hwC0D0/reconfig
> 
> I started my system, changed to probe_only=1. Ran the commands above, and
> removed probe_only=1.
> Upon shutdown during restart, I again heard the speakers crackle. When the
> system came back up, no sound.

Ah no, you don't have to restart the system at all.
Maybe I wasn't clear enough.

The sequence above itself will make your sound system already usable.
(and you don't have to probe_only=1 option.)
Just use your sound apps after the sequence above after checking the
mixer status.

If it still doesn't work, run alsa-info and attach the outupt again.
Also, show the kernel message, too.


Takashi


> 
> ----- Original Message -----
> From: "Takashi Iwai" <tiwai@suse.de>
> To: aeleneski@comcast.net
> Cc: alsa-devel@alsa-project.org
> Sent: Tuesday, February 10, 2009 6:34:02 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z
> 
> At Mon, 09 Feb 2009 18:24:57 +0100,
> I wrote:
> >
> > At Mon, 9 Feb 2009 17:18:59 +0000 (UTC),
> > aeleneski@comcast.net wrote:
> > >
> > > Thanks for your time and all these suggestions. Still no luck though.
> > >
> > > Seems like you might not be able to have two files ending in alsa-base in
> > > the /etc/modprobe.d/ folder. That was the reason for the orange speaker
> > > indicator. I had
> > > alsa-base and backup-alsa-base, for some reason it was grabbing the
> settings
> > > from the backup.
> >
> > Ah, yes, module-init-tools doesn't check every backup file suffix.
> > Better to remove completely old files.
> >
> > > Anyway, with probe only, orange sound indicator, when doing aplay -l I get
> > >
> > > **** List of PLAYBACK Hardware Devices ****
> > > card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> >
> > With probe_only option, it doesn't make sense to run aplay.  This
> > option basically means "probe codecs but don't set up for use yet".
> > This is useful to check the raw setup by BIOS before overriding or
> > modifying by the driver.
> >
> > One thing we can try is to add the pin config dynamically then
> > reconfigure.  For example, load the driver with probe_only=1, then
> > do the following as root:        
> >
> >         echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs
> >         echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs
> >         echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs
> >         echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs
> 
> The above might be not suffice to give the initialization before the
> parser.  Try to call hda-verb like the following instead:
> 
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17
>         hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90
> 
> then
> 
>          echo 1 > /sys/class/sound/hwC0D0/reconfig
> 
> Takashi
> 
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
       [not found] <1856646965.309841234390528103.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
@ 2009-02-11 22:15 ` aeleneski
  2009-02-11 22:58   ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: aeleneski @ 2009-02-11 22:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 4053 bytes --]

Alright. Well, it again seems like a no go. 
Ran all the commands, still no sound. Upon starting Amarok, I receive the error "xine was unable to initialize any audio drivers." 

Then also when I do aplay -l I get: 

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


Attached is the alsa-info text. 

Thanks again. 
Andrew 



----- Original Message ----- 
From: "Takashi Iwai" <tiwai@suse.de> 
To: aeleneski@comcast.net 
Cc: alsa-devel@alsa-project.org 
Sent: Wednesday, February 11, 2009 1:34:29 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z 

At Tue, 10 Feb 2009 23:58:19 +0000 (UTC), 
aeleneski@comcast.net wrote: 
> 
> Ok, well I tried this: 
> 
> The above might be not suffice to give the initialization before the 
> parser. Try to call hda-verb like the following instead: 
> 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90 
> 
> then 
> 
> echo 1 > /sys/class/sound/hwC0D0/reconfig 
> 
> I started my system, changed to probe_only=1. Ran the commands above, and 
> removed probe_only=1. 
> Upon shutdown during restart, I again heard the speakers crackle. When the 
> system came back up, no sound. 

Ah no, you don't have to restart the system at all. 
Maybe I wasn't clear enough. 

The sequence above itself will make your sound system already usable. 
(and you don't have to probe_only=1 option.) 
Just use your sound apps after the sequence above after checking the 
mixer status. 

If it still doesn't work, run alsa-info and attach the outupt again. 
Also, show the kernel message, too. 


Takashi 


> 
> ----- Original Message ----- 
> From: "Takashi Iwai" <tiwai@suse.de> 
> To: aeleneski@comcast.net 
> Cc: alsa-devel@alsa-project.org 
> Sent: Tuesday, February 10, 2009 6:34:02 AM GMT -05:00 US/Canada Eastern 
> Subject: Re: [alsa-devel] No sound for HP Pavilion DV4z 
> 
> At Mon, 09 Feb 2009 18:24:57 +0100, 
> I wrote: 
> > 
> > At Mon, 9 Feb 2009 17:18:59 +0000 (UTC), 
> > aeleneski@comcast.net wrote: 
> > > 
> > > Thanks for your time and all these suggestions. Still no luck though. 
> > > 
> > > Seems like you might not be able to have two files ending in alsa-base in 
> > > the /etc/modprobe.d/ folder. That was the reason for the orange speaker 
> > > indicator. I had 
> > > alsa-base and backup-alsa-base, for some reason it was grabbing the 
> settings 
> > > from the backup. 
> > 
> > Ah, yes, module-init-tools doesn't check every backup file suffix. 
> > Better to remove completely old files. 
> > 
> > > Anyway, with probe only, orange sound indicator, when doing aplay -l I get 
> > > 
> > > **** List of PLAYBACK Hardware Devices **** 
> > > card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] 
> > > Subdevices: 1/1 
> > > Subdevice #0: subdevice #0 
> > 
> > With probe_only option, it doesn't make sense to run aplay. This 
> > option basically means "probe codecs but don't set up for use yet". 
> > This is useful to check the raw setup by BIOS before overriding or 
> > modifying by the driver. 
> > 
> > One thing we can try is to add the pin config dynamically then 
> > reconfigure. For example, load the driver with probe_only=1, then 
> > do the following as root: 
> > 
> > echo 0x0d 0x71c 0x10 > /sys/class/sound/hwC0D0/init_verbs 
> > echo 0x0d 0x71d 0x11 > /sys/class/sound/hwC0D0/init_verbs 
> > echo 0x0d 0x71e 0x17 > /sys/class/sound/hwC0D0/init_verbs 
> > echo 0x0d 0x71f 0x90 > /sys/class/sound/hwC0D0/init_verbs 
> 
> The above might be not suffice to give the initialization before the 
> parser. Try to call hda-verb like the following instead: 
> 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71c 0x10 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71d 0x11 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71e 0x17 
> hda-verb /dev/snd/hwC0D0 0x0d 0x71f 0x90 
> 
> then 
> 
> echo 1 > /sys/class/sound/hwC0D0/reconfig 
> 
> Takashi 
> 
> 

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 24280 bytes --]

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

!!Script ran on: Wed Feb 11 22:13:17 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 19


!!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=hp-dv5
snd-hda-intel: model=laptop


!!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 : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : hp-dv5,<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 : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : hp-dv5,<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=1, dir=1, wake=0, sticky=0, data=1, 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: 0x01
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=01, enabled=1
  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=02, 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 0x90171110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  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:  [0x7f 0x7f]
  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: 0x00:
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: 0x00:
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:
  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 11 16:46 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 32 Feb 11 16:46 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  4 Feb 11 16:46 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  5 Feb 11 16:46 /dev/snd/hwC0D1
crw-rw----+ 1 root audio 116, 36 Feb 11 16:46 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 51 Feb 11 16:46 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116, 33 Feb 11 16:46 /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 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****

!!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  : 17
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 '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'
  Item0: 'Analog Inputs'
Simple mixer control 'Digital Input Source',1
  Capabilities: enum
  Items: 'Analog Inputs' 'Mixer'
  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]
Simple mixer control 'Speaker',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]

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

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd2410000 irq 19'
  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 [off]


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

--startcollapse--
state.SB {
	control.25 {
		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
	}
	control.26 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		value true
	}
	control.27 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		index 1
		value true
	}
	control.28 {
		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.29 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.30 {
		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.31 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.32 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.33 {
		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.34 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux Capture Switch'
		value.0 false
		value.1 false
	}
	control.35 {
		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.36 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 Capture Switch'
		value.0 false
		value.1 false
	}
	control.37 {
		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.38 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.39 {
		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.40 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
	}
	control.41 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.42 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value true
	}
	control.43 {
		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.44 {
		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.45 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.46 {
		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.47 {
		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.48 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		iface MIXER
		name 'Digital Input Source'
		value 'Analog Inputs'
	}
	control.49 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Analog Inputs'
		comment.item.1 Mixer
		iface MIXER
		name 'Digital Input Source'
		index 1
		value 'Analog Inputs'
	}
	control.50 {
		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.51 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
}
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 false
	}
}
--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
joydev
snd_hda_codec_atihdmi
uvcvideo
snd_hda_codec_idt
compat_ioctl32
serio_raw
snd_hda_intel
videodev
snd_hda_codec
psmouse
pcspkr
v4l1_compat
snd_hwdep
evdev
snd_pcm
i2c_piix4
sdhci_pci
snd_timer
sdhci
snd
soundcore
snd_page_alloc
mmc_core
i2c_core
fglrx
battery
video
output
wmi
ac
button
shpchp
pci_hotplug
ext3
jbd
mbcache
usbhid
hid
pata_acpi
sd_mod
sr_mod
crc_t10dif
cdrom
sg
pata_atiixp
ohci_hcd
ehci_hcd
ata_generic
ahci
usbcore
libata
scsi_mod
r8169
mii
dock
thermal
processor
fan
fbcon
tileblit
font
bitblit
softcursor
fuse



[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-11 22:15 ` aeleneski
@ 2009-02-11 22:58   ` Takashi Iwai
  2009-02-11 23:43     ` Bartłomiej Holdenmayer
  2009-02-25  0:17     ` Bartłomiej Holdenmayer
  0 siblings, 2 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-02-11 22:58 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
aeleneski@comcast.net wrote:
> 
> Alright. Well, it again seems like a no go.
> Ran all the commands, still no sound. Upon starting Amarok, I receive the
> error "xine was unable to initialize any audio drivers."

Could you try the patch below?

Or, first load without probe_mask=1 option, give the command sequence
and do echo to reconfig file.


thanks,

Takashi

---
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
index 300ab40..482fb03 100644
--- a/sound/pci/hda/hda_hwdep.c
+++ b/sound/pci/hda/hda_hwdep.c
@@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
 	err = snd_hda_codec_build_controls(codec);
 	if (err < 0)
 		return err;
-	return 0;
+	return snd_card_register(codec->bus->card);
 }
 
 /*

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-11 22:58   ` Takashi Iwai
@ 2009-02-11 23:43     ` Bartłomiej Holdenmayer
  2009-02-11 23:51       ` Takashi Iwai
  2009-02-25  0:17     ` Bartłomiej Holdenmayer
  1 sibling, 1 reply; 21+ messages in thread
From: Bartłomiej Holdenmayer @ 2009-02-11 23:43 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, aeleneski

Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> aeleneski@comcast.net wrote:
> > 
> > Alright. Well, it again seems like a no go.
> > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > error "xine was unable to initialize any audio drivers."
> 
> Could you try the patch below?
> 
> Or, first load without probe_mask=1 option, give the command sequence
> and do echo to reconfig file.
> 
> 
> thanks,
> 
> Takashi
> 
> ---
> diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> index 300ab40..482fb03 100644
> --- a/sound/pci/hda/hda_hwdep.c
> +++ b/sound/pci/hda/hda_hwdep.c
> @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
>  	err = snd_hda_codec_build_controls(codec);
>  	if (err < 0)
>  		return err;
> -	return 0;
> +	return snd_card_register(codec->bus->card);
>  }
>  
>  /*
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Can You explain what to do like for 6 years old kid?


-  
Pozdrawiam / Regards
Bartłomiej Holdenmayer

GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-11 23:43     ` Bartłomiej Holdenmayer
@ 2009-02-11 23:51       ` Takashi Iwai
  2009-02-12  0:29         ` Bartłomiej Holdenmayer
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-11 23:51 UTC (permalink / raw)
  To: Bartłomiej Holdenmayer; +Cc: alsa-devel, aeleneski

At Thu, 12 Feb 2009 00:43:52 +0100,
Bartłomiej Holdenmayer wrote:
> 
> Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > aeleneski@comcast.net wrote:
> > > 
> > > Alright. Well, it again seems like a no go.
> > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > error "xine was unable to initialize any audio drivers."
> > 
> > Could you try the patch below?
> > 
> > Or, first load without probe_mask=1 option, give the command sequence
> > and do echo to reconfig file.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> > ---
> > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > index 300ab40..482fb03 100644
> > --- a/sound/pci/hda/hda_hwdep.c
> > +++ b/sound/pci/hda/hda_hwdep.c
> > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> >  	err = snd_hda_codec_build_controls(codec);
> >  	if (err < 0)
> >  		return err;
> > -	return 0;
> > +	return snd_card_register(codec->bus->card);
> >  }
> >  
> >  /*
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> Can You explain what to do like for 6 years old kid?

Well, I already merged the patch to sound git tree, so you just need
to use the latest alsa-driver snapshot tree again from:
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-11 23:51       ` Takashi Iwai
@ 2009-02-12  0:29         ` Bartłomiej Holdenmayer
  2009-02-12  0:43           ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: Bartłomiej Holdenmayer @ 2009-02-12  0:29 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, aeleneski

Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
> At Thu, 12 Feb 2009 00:43:52 +0100,
> Bartłomiej Holdenmayer wrote:
> > 
> > Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > > aeleneski@comcast.net wrote:
> > > > 
> > > > Alright. Well, it again seems like a no go.
> > > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > > error "xine was unable to initialize any audio drivers."
> > > 
> > > Could you try the patch below?
> > > 
> > > Or, first load without probe_mask=1 option, give the command sequence
> > > and do echo to reconfig file.
> > > 
> > > 
> > > thanks,
> > > 
> > > Takashi
> > > 
> > > ---
> > > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > > index 300ab40..482fb03 100644
> > > --- a/sound/pci/hda/hda_hwdep.c
> > > +++ b/sound/pci/hda/hda_hwdep.c
> > > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> > >  	err = snd_hda_codec_build_controls(codec);
> > >  	if (err < 0)
> > >  		return err;
> > > -	return 0;
> > > +	return snd_card_register(codec->bus->card);
> > >  }
> > >  
> > >  /*
> > > _______________________________________________
> > > Alsa-devel mailing list
> > > Alsa-devel@alsa-project.org
> > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > 
> > Can You explain what to do like for 6 years old kid?
> 
> Well, I already merged the patch to sound git tree, so you just need
> to use the latest alsa-driver snapshot tree again from:
>     ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> 
> 
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

I did upgrade. No change. aplay -l still does not display hdmi.

Maybe this is something basic - afaik alsa knows about hardware from
hal. Maybe i have to force reading of devices by hal?

-  
Pozdrawiam / Regards
Bartłomiej Holdenmayer

GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer


_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-12  0:29         ` Bartłomiej Holdenmayer
@ 2009-02-12  0:43           ` Takashi Iwai
  2009-02-12  1:07             ` Bartłomiej Holdenmayer
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-12  0:43 UTC (permalink / raw)
  To: Bartłomiej Holdenmayer; +Cc: alsa-devel, aeleneski

At Thu, 12 Feb 2009 01:29:40 +0100,
Bartłomiej Holdenmayer wrote:
> 
> Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
> > At Thu, 12 Feb 2009 00:43:52 +0100,
> > Bartłomiej Holdenmayer wrote:
> > > 
> > > Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > > > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > > > aeleneski@comcast.net wrote:
> > > > > 
> > > > > Alright. Well, it again seems like a no go.
> > > > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > > > error "xine was unable to initialize any audio drivers."
> > > > 
> > > > Could you try the patch below?
> > > > 
> > > > Or, first load without probe_mask=1 option, give the command sequence
> > > > and do echo to reconfig file.
> > > > 
> > > > 
> > > > thanks,
> > > > 
> > > > Takashi
> > > > 
> > > > ---
> > > > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > > > index 300ab40..482fb03 100644
> > > > --- a/sound/pci/hda/hda_hwdep.c
> > > > +++ b/sound/pci/hda/hda_hwdep.c
> > > > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> > > >  	err = snd_hda_codec_build_controls(codec);
> > > >  	if (err < 0)
> > > >  		return err;
> > > > -	return 0;
> > > > +	return snd_card_register(codec->bus->card);
> > > >  }
> > > >  
> > > >  /*
> > > > _______________________________________________
> > > > Alsa-devel mailing list
> > > > Alsa-devel@alsa-project.org
> > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > 
> > > Can You explain what to do like for 6 years old kid?
> > 
> > Well, I already merged the patch to sound git tree, so you just need
> > to use the latest alsa-driver snapshot tree again from:
> >     ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > 
> > 
> > Takashi
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> I did upgrade. No change. aplay -l still does not display hdmi.

Then give alsa-info output again.
Also, load with probe_only=1 option first and get alsa-info, too.
Attach together with the relevant kernel messages.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-12  0:43           ` Takashi Iwai
@ 2009-02-12  1:07             ` Bartłomiej Holdenmayer
  2009-02-12  7:03               ` Takashi Iwai
  0 siblings, 1 reply; 21+ messages in thread
From: Bartłomiej Holdenmayer @ 2009-02-12  1:07 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, aeleneski

Dnia 2009-02-12, czw o godzinie 01:43 +0100, Takashi Iwai pisze:
> At Thu, 12 Feb 2009 01:29:40 +0100,
> Bartłomiej Holdenmayer wrote:
> > 
> > Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
> > > At Thu, 12 Feb 2009 00:43:52 +0100,
> > > Bartłomiej Holdenmayer wrote:
> > > > 
> > > > Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > > > > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > > > > aeleneski@comcast.net wrote:
> > > > > > 
> > > > > > Alright. Well, it again seems like a no go.
> > > > > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > > > > error "xine was unable to initialize any audio drivers."
> > > > > 
> > > > > Could you try the patch below?
> > > > > 
> > > > > Or, first load without probe_mask=1 option, give the command sequence
> > > > > and do echo to reconfig file.
> > > > > 
> > > > > 
> > > > > thanks,
> > > > > 
> > > > > Takashi
> > > > > 
> > > > > ---
> > > > > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > > > > index 300ab40..482fb03 100644
> > > > > --- a/sound/pci/hda/hda_hwdep.c
> > > > > +++ b/sound/pci/hda/hda_hwdep.c
> > > > > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> > > > >  	err = snd_hda_codec_build_controls(codec);
> > > > >  	if (err < 0)
> > > > >  		return err;
> > > > > -	return 0;
> > > > > +	return snd_card_register(codec->bus->card);
> > > > >  }
> > > > >  
> > > > >  /*
> > > > > _______________________________________________
> > > > > Alsa-devel mailing list
> > > > > Alsa-devel@alsa-project.org
> > > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > > 
> > > > Can You explain what to do like for 6 years old kid?
> > > 
> > > Well, I already merged the patch to sound git tree, so you just need
> > > to use the latest alsa-driver snapshot tree again from:
> > >     ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > 
> > > 
> > > Takashi
> > > _______________________________________________
> > > Alsa-devel mailing list
> > > Alsa-devel@alsa-project.org
> > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > 
> > I did upgrade. No change. aplay -l still does not display hdmi.
> 
> Then give alsa-info output again.
> Also, load with probe_only=1 option first and get alsa-info, too.
> Attach together with the relevant kernel messages.
> 
> 
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

I am sorry, i messed up threads. I was writing about pavilion dv5. I
have problem with hdmi. Should i do what You wrote: 
> Also, load with probe_only=1 option first and get alsa-info, too.
> Attach together with the relevant kernel messages.
?

-- 
Pozdrawiam / Regards
Bartłomiej Holdenmayer

GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-12  1:07             ` Bartłomiej Holdenmayer
@ 2009-02-12  7:03               ` Takashi Iwai
  0 siblings, 0 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-02-12  7:03 UTC (permalink / raw)
  To: Bartłomiej Holdenmayer; +Cc: alsa-devel, aeleneski

At Thu, 12 Feb 2009 02:07:29 +0100,
Bartłomiej Holdenmayer wrote:
> 
> Dnia 2009-02-12, czw o godzinie 01:43 +0100, Takashi Iwai pisze:
> > At Thu, 12 Feb 2009 01:29:40 +0100,
> > Bartłomiej Holdenmayer wrote:
> > > 
> > > Dnia 2009-02-12, czw o godzinie 00:51 +0100, Takashi Iwai pisze:
> > > > At Thu, 12 Feb 2009 00:43:52 +0100,
> > > > Bartłomiej Holdenmayer wrote:
> > > > > 
> > > > > Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > > > > > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > > > > > aeleneski@comcast.net wrote:
> > > > > > > 
> > > > > > > Alright. Well, it again seems like a no go.
> > > > > > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > > > > > error "xine was unable to initialize any audio drivers."
> > > > > > 
> > > > > > Could you try the patch below?
> > > > > > 
> > > > > > Or, first load without probe_mask=1 option, give the command sequence
> > > > > > and do echo to reconfig file.
> > > > > > 
> > > > > > 
> > > > > > thanks,
> > > > > > 
> > > > > > Takashi
> > > > > > 
> > > > > > ---
> > > > > > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > > > > > index 300ab40..482fb03 100644
> > > > > > --- a/sound/pci/hda/hda_hwdep.c
> > > > > > +++ b/sound/pci/hda/hda_hwdep.c
> > > > > > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> > > > > >  	err = snd_hda_codec_build_controls(codec);
> > > > > >  	if (err < 0)
> > > > > >  		return err;
> > > > > > -	return 0;
> > > > > > +	return snd_card_register(codec->bus->card);
> > > > > >  }
> > > > > >  
> > > > > >  /*
> > > > > > _______________________________________________
> > > > > > Alsa-devel mailing list
> > > > > > Alsa-devel@alsa-project.org
> > > > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > > > 
> > > > > Can You explain what to do like for 6 years old kid?
> > > > 
> > > > Well, I already merged the patch to sound git tree, so you just need
> > > > to use the latest alsa-driver snapshot tree again from:
> > > >     ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
> > > > 
> > > > 
> > > > Takashi
> > > > _______________________________________________
> > > > Alsa-devel mailing list
> > > > Alsa-devel@alsa-project.org
> > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > 
> > > I did upgrade. No change. aplay -l still does not display hdmi.
> > 
> > Then give alsa-info output again.
> > Also, load with probe_only=1 option first and get alsa-info, too.
> > Attach together with the relevant kernel messages.
> > 
> > 
> > Takashi
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> I am sorry, i messed up threads. I was writing about pavilion dv5. I
> have problem with hdmi. Should i do what You wrote: 
> > Also, load with probe_only=1 option first and get alsa-info, too.
> > Attach together with the relevant kernel messages.
> ?

Yes.  As already mentioned, I have an alsa-info from someone else
that has HDMI output.  The PCI SSID is very same, so it's likely
the same model as yours.  (HP dv5 has several PCI SSIDs for different
flavors.)

HDMI is implemented as an individual MCP codec chip on codec address
#2.  If this doesn't appear in your machine, there could something
different in BIOS setup, for example.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
       [not found] ` <1532118107.763801234826883901.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
@ 2009-02-17  6:24   ` Takashi Iwai
       [not found]     ` <1982506676.396601235609917471.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
  0 siblings, 1 reply; 21+ messages in thread
From: Takashi Iwai @ 2009-02-17  6:24 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel, Bartłomiej Holdenmayer

At Mon, 16 Feb 2009 23:28:03 +0000 (UTC),
aeleneski@comcast.net wrote:
> 
> --startcollapse--
> state.SB {
> 	control.1 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 1
> 		iface MIXER
> 		name 'Analog Loopback'
> 		value true

Turn off "Analog Loopback", and...

> 	control.16 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Speaker Playback Switch'
> 		value.0 false
> 		value.1 false

Unmute "Speaker" output.


Takashi

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-11 22:58   ` Takashi Iwai
  2009-02-11 23:43     ` Bartłomiej Holdenmayer
@ 2009-02-25  0:17     ` Bartłomiej Holdenmayer
  2009-02-25  6:31       ` Takashi Iwai
  1 sibling, 1 reply; 21+ messages in thread
From: Bartłomiej Holdenmayer @ 2009-02-25  0:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, aeleneski

Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> aeleneski@comcast.net wrote:
> > 
> > Alright. Well, it again seems like a no go.
> > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > error "xine was unable to initialize any audio drivers."
> 
> Could you try the patch below?
> 
> Or, first load without probe_mask=1 option, give the command sequence
> and do echo to reconfig file.
> 
> 
> thanks,
> 
> Takashi
> 
> ---
> diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> index 300ab40..482fb03 100644
> --- a/sound/pci/hda/hda_hwdep.c
> +++ b/sound/pci/hda/hda_hwdep.c
> @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
>  	err = snd_hda_codec_build_controls(codec);
>  	if (err < 0)
>  		return err;
> -	return 0;
> +	return snd_card_register(codec->bus->card);
>  }
>  
>  /*
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Any solution for me?
-- 
Pozdrawiam / Regards
Bartłomiej Holdenmayer

GG:541634; ICQ:33920811; skypename:bartlomiejholdenmayer

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
  2009-02-25  0:17     ` Bartłomiej Holdenmayer
@ 2009-02-25  6:31       ` Takashi Iwai
  0 siblings, 0 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-02-25  6:31 UTC (permalink / raw)
  To: Bartłomiej Holdenmayer; +Cc: alsa-devel, aeleneski

At Wed, 25 Feb 2009 01:17:25 +0100,
Bartłomiej Holdenmayer wrote:
> 
> Dnia 2009-02-11, śro o godzinie 23:58 +0100, Takashi Iwai pisze:
> > At Wed, 11 Feb 2009 22:15:30 +0000 (UTC),
> > aeleneski@comcast.net wrote:
> > > 
> > > Alright. Well, it again seems like a no go.
> > > Ran all the commands, still no sound. Upon starting Amarok, I receive the
> > > error "xine was unable to initialize any audio drivers."
> > 
> > Could you try the patch below?
> > 
> > Or, first load without probe_mask=1 option, give the command sequence
> > and do echo to reconfig file.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> > ---
> > diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
> > index 300ab40..482fb03 100644
> > --- a/sound/pci/hda/hda_hwdep.c
> > +++ b/sound/pci/hda/hda_hwdep.c
> > @@ -175,7 +175,7 @@ static int reconfig_codec(struct hda_codec *codec)
> >  	err = snd_hda_codec_build_controls(codec);
> >  	if (err < 0)
> >  		return err;
> > -	return 0;
> > +	return snd_card_register(codec->bus->card);
> >  }
> >  
> >  /*
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> Any solution for me?

No idea as now.  The problem is that no HDMI device even appears on
your machine.  My suspect is BIOS or the core PCI code.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: No sound for HP Pavilion DV4z
       [not found]     ` <1982506676.396601235609917471.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
@ 2009-03-04 10:56       ` Takashi Iwai
  0 siblings, 0 replies; 21+ messages in thread
From: Takashi Iwai @ 2009-03-04 10:56 UTC (permalink / raw)
  To: aeleneski; +Cc: alsa-devel

At Thu, 26 Feb 2009 00:58:37 +0000 (UTC),
aeleneski@comcast.net wrote:
> 
> Takashi, Thank you so much.
> 
> Ok, as stated before, this seemed to work. But since then, I have upgraded to
> KDE 4.2 and built the latest
> alsa snapshot as of yesterday. Things seem to be a little better.
> 
> Now initially just the headphones work, before I could not get them to work at
> all. But once I do the hda-verb commands,
> headphones do not work at all, but speakers do.

With the very latest version, you basically don't need any hda-verb
commands.  If still it doesn't work as is, give alsa-info.sh output
again.  (But double-check the mixer status beforehand.)


thanks,

Takashi

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-03-04 10:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <188698462.3091871233960154280.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
2009-02-09 17:18 ` No sound for HP Pavilion DV4z aeleneski
2009-02-09 17:24   ` Takashi Iwai
2009-02-10 11:34     ` Takashi Iwai
2009-02-10 23:58       ` aeleneski
2009-02-11  6:34         ` Takashi Iwai
     [not found] <23309100.763781234826876975.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
     [not found] ` <1532118107.763801234826883901.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
2009-02-17  6:24   ` Takashi Iwai
     [not found]     ` <1982506676.396601235609917471.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
2009-03-04 10:56       ` Takashi Iwai
     [not found] <1856646965.309841234390528103.JavaMail.root@sz0025a.westchester.pa.mail.comcast.net>
2009-02-11 22:15 ` aeleneski
2009-02-11 22:58   ` Takashi Iwai
2009-02-11 23:43     ` Bartłomiej Holdenmayer
2009-02-11 23:51       ` Takashi Iwai
2009-02-12  0:29         ` Bartłomiej Holdenmayer
2009-02-12  0:43           ` Takashi Iwai
2009-02-12  1:07             ` Bartłomiej Holdenmayer
2009-02-12  7:03               ` Takashi Iwai
2009-02-25  0:17     ` Bartłomiej Holdenmayer
2009-02-25  6:31       ` Takashi Iwai
2009-02-04 22:42 Andrew Eleneski
2009-02-05  7:15 ` Takashi Iwai
2009-02-05 23:45   ` aeleneski
2009-02-06  8:11     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.