All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with Intel HDA driver
@ 2009-09-14 11:33 Andrius Štikonas
  2009-09-14 12:25 ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Andrius Štikonas @ 2009-09-14 11:33 UTC (permalink / raw)
  To: alsa-devel

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

On my new laptop there were no sound with snd-hda-intel driver, so I tried
to change model parameter. It seems that with model=hp-m4 my soundcard
mostly works (except that main speakers still play when I plug headphones).

I've attached my alsa-info.txt script.

-- 
Andrius Štikonas

[-- Attachment #2: alsa-info.txt.j8Oa9kRWvU --]
[-- Type: application/octet-stream, Size: 28383 bytes --]

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

!!Script ran on: Mon Sep 14 11:19:34 UTC 2009


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

Ubuntu karmic (development branch) \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"


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

Manufacturer:      Hewlett-Packard
Product Name:      HP Pavilion dv6 Notebook PC


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

Kernel release:    2.6.31
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


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

Driver version:     1.0.21
Library version:    1.0.21a
Utilities version:  1.0.20


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

snd_hda_intel
snd_hda_intel


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

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

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


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xda100000 irq 22
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xda010000 irq 17


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

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series]


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

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 103c:3628
--
01:00.1 0403: 1002:aa38
	Subsystem: 103c:3628


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

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: 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: power_save=10 model=hp-m4


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

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

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


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

Codec: IDT 92HD75B3X5
Address: 0
Function Id: 0x1
Vendor Id: 0x111d7603
Subsystem Id: 0x103c3628
Revision Id: 0x100202
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: 0x00
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x40f100f0: [N/A] Other at Ext N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  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 0x02a11020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
    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 0x40f000f1: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x1
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    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 0x01813040: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=02, enabled=1
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x02014040: [Jack] Line Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  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:  [0x4f 0x4f]
  Converter: stream=5, 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:  [0x4f 0x4f]
  Converter: stream=5, 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 0x00000030: IN OUT
  Pin Default 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  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:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x14 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60350: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x19 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f000f4: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  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:  [0x00 0x00]
  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:  [0x0f 0x0f]
  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 0x024511a0: [Jack] SPDIF Out at Ext Front
    Conn = Optical, Color = Black
    DefAssociation = 0xa, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f000f5: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  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 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=5, 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=5, 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 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=0, val=127
  Connection: 2
     0x10 0x11
Codec: ATI R6xx HDMI
Address: 0
Function Id: 0x1
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x70]: 32000 44100 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,  8 Sep 14 14:15 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 11 Sep 14 14:15 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  7 Sep 14 14:15 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 10 Sep 14 14:15 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116,  6 Sep 14 14:19 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  5 Sep 14 14:19 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  4 Sep 14 14:19 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  9 Sep 14 14:16 /dev/snd/pcmC1D3p
crw-rw----+ 1 root audio 116,  3 Sep 14 14:15 /dev/snd/seq
crw-rw----+ 1 root audio 116,  2 Sep 14 14:15 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Sep 14 14:15 .
drwxr-xr-x 3 root root 260 Sep 14 14:15 ..
lrwxrwxrwx 1 root root  12 Sep 14 14:15 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root  12 Sep 14 14:15 pci-0000:01:00.1 -> ../controlC1


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

!!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.
!defaults.pcm.card PulseAudio
defaults.ctl.card PulseAudio
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off
pcm.!default { type pulse }
ctl.!default { type pulse }


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  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: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

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

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

Card hw:0 'Intel'/'HDA Intel at 0xda100000 irq 22'
  Mixer name	: 'IDT 92HD75B3X5'
  Components	: 'HDA:111d7603,103c3628,00100202'
  Controls      : 24
  Simple ctrls  : 15
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 16 [25%] [-36.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]
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 'Front',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 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Line In'
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 15 [100%] [22.50dB] [on]
  Front Right: Capture 15 [100%] [22.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 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
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 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'PC Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]

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

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xda010000 irq 17'
  Mixer name	: 'ATI R6xx HDMI'
  Components	: 'HDA:1002aa01,00aa0100,00100100'
  Controls      : 4
  Simple ctrls  : 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -4800
		comment.dbmax 0
		iface MIXER
		name 'Front Playback Volume'
		value.0 64
		value.1 64
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Mic Jack Mode'
		value 'Mic In'
	}
	control.4 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic In'
		comment.item.1 'Line In'
		iface MIXER
		name 'Line Jack Mode'
		value 2
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value false
	}
	control.6 {
		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 0
	}
	control.7 {
		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.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
	}
	control.9 {
		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 15
		value.1 15
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.11 {
		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.12 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.13 {
		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.14 {
		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 0
		value.1 0
	}
	control.15 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 Line
		iface MIXER
		name 'Input Source'
		value Mic
	}
	control.16 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 Line
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.17 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.18 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.19 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.20 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.21 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.22 {
		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 16
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.24 {
		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
ppdev
bridge
stp
bnep
dm_crypt
coretemp
lp
parport
mxl5005s
af9013
snd_hda_codec_atihdmi
snd_hda_codec_idt
arc4
snd_hda_intel
ecb
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
iwlagn
snd_seq_dummy
iwlcore
snd_seq_oss
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
dvb_usb_af9015
radeon
snd_seq_device
sdhci_pci
mac80211
psmouse
uvcvideo
ttm
hp_accel
snd
lis3lv02d
dvb_usb
soundcore
snd_page_alloc
drm_kms_helper
cfg80211
input_polldev
sdhci
serio_raw
videodev
dvb_core
joydev
video
drm
cfbcopyarea
v4l1_compat
cfbimgblt
cfbfillrect
output
led_class
btusb
hid_microsoft
ohci1394
ieee1394
r8169
mii
usbhid


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0a 0x40f100f0
0x0b 0x02a11020
0x0c 0x40f000f1
0x0d 0x90170110
0x0e 0x40f100f2
0x0f 0x02014040
0x14 0x40f000f0
0x18 0x90a60350
0x19 0x40f000f4
0x1e 0x024511a0
0x1f 0x40f000f5
0x20 0x40f000f0

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0e 0x01813040

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

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

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:


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




[-- 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] 19+ messages in thread

* Re: Problems with Intel HDA driver
  2009-09-14 11:33 Problems with Intel HDA driver Andrius Štikonas
@ 2009-09-14 12:25 ` Takashi Iwai
  2009-09-14 12:36   ` Ozan Çağlayan
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2009-09-14 12:25 UTC (permalink / raw)
  To: Andrius Štikonas; +Cc: alsa-devel

At Mon, 14 Sep 2009 14:33:34 +0300,
Andrius Štikonas wrote:
> 
> On my new laptop there were no sound with snd-hda-intel driver, so I tried
> to change model parameter. It seems that with model=hp-m4 my soundcard
> mostly works (except that main speakers still play when I plug headphones).

Try rather model=hp-dv5.  The speaker mute issue could be fixed via
enable_msi=1 option.


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

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

* Re: Problems with Intel HDA driver
  2009-09-14 12:36   ` Ozan Çağlayan
@ 2009-09-14 12:36     ` Takashi Iwai
  2009-09-14 13:15       ` Ozan Çağlayan
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2009-09-14 12:36 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: alsa-devel, Andrius Štikonas

At Mon, 14 Sep 2009 15:36:54 +0300,
Ozan Çağlayan wrote:
> 
> Takashi Iwai wrote On 14-09-2009 15:25:
> > At Mon, 14 Sep 2009 14:33:34 +0300,
> > Andrius Štikonas wrote:
> >   
> >> On my new laptop there were no sound with snd-hda-intel driver, so I tried
> >> to change model parameter. It seems that with model=hp-m4 my soundcard
> >> mostly works (except that main speakers still play when I plug headphones).
> >>     
> >
> > Try rather model=hp-dv5.  The speaker mute issue could be fixed via
> > enable_msi=1 option.
> >
> >   
> grr another dv6. Yes hp-dv5 works on some dv6's but apparently not on
> everyone of them. Also I managed to get sound without passing dv5 but
> enabling EAPD through hda-analyzer.

Yeah, I think we can add EAPD handling as default for IDT92HD71xx
codecs.  I've never seen machines that can't live with GPIO0 bit up.


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

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

* Re: Problems with Intel HDA driver
  2009-09-14 12:25 ` Takashi Iwai
@ 2009-09-14 12:36   ` Ozan Çağlayan
  2009-09-14 12:36     ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Ozan Çağlayan @ 2009-09-14 12:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Andrius Štikonas

Takashi Iwai wrote On 14-09-2009 15:25:
> At Mon, 14 Sep 2009 14:33:34 +0300,
> Andrius Štikonas wrote:
>   
>> On my new laptop there were no sound with snd-hda-intel driver, so I tried
>> to change model parameter. It seems that with model=hp-m4 my soundcard
>> mostly works (except that main speakers still play when I plug headphones).
>>     
>
> Try rather model=hp-dv5.  The speaker mute issue could be fixed via
> enable_msi=1 option.
>
>   
grr another dv6. Yes hp-dv5 works on some dv6's but apparently not on
everyone of them. Also I managed to get sound without passing dv5 but
enabling EAPD through hda-analyzer.

I'll try enable_msi=1 to see what happens.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-14 12:36     ` Takashi Iwai
@ 2009-09-14 13:15       ` Ozan Çağlayan
  2009-09-14 13:15         ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Ozan Çağlayan @ 2009-09-14 13:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Andrius Štikonas

Takashi Iwai wrote On 14-09-2009 15:36:
>
> Yeah, I think we can add EAPD handling as default for IDT92HD71xx
> codecs.  I've never seen machines that can't live with GPIO0 bit up.
>   

enable_msi doesn't seem to affect the auto-muting problem. I played with
every single node in hda-analyzer but can't get auto-mute work. I can
manually mute the HP output and the internal speakers by
checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn
matrix for GPIO settings, I played with them as well to set unsol but nope.

I want to remember that dell-m4-1 makes automute work but breaks the
mixer channels:

http://www.spinics.net/lists/alsa-devel/msg26714.html

Err, I know that I didn't answer the last question in the thread as I'm
a little bit lost in the NID pool and didn't have time to investigate
further.

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:15       ` Ozan Çağlayan
@ 2009-09-14 13:15         ` Takashi Iwai
  2009-09-14 13:23           ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2009-09-14 13:15 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: alsa-devel, Andrius Štikonas

At Mon, 14 Sep 2009 16:15:02 +0300,
Ozan Çağlayan wrote:
> 
> Takashi Iwai wrote On 14-09-2009 15:36:
> >
> > Yeah, I think we can add EAPD handling as default for IDT92HD71xx
> > codecs.  I've never seen machines that can't live with GPIO0 bit up.
> >   
> 
> enable_msi doesn't seem to affect the auto-muting problem. I played with
> every single node in hda-analyzer but can't get auto-mute work. I can
> manually mute the HP output and the internal speakers by
> checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn
> matrix for GPIO settings, I played with them as well to set unsol but nope.
> 
> I want to remember that dell-m4-1 makes automute work but breaks the
> mixer channels:
> 
> http://www.spinics.net/lists/alsa-devel/msg26714.html
> 
> Err, I know that I didn't answer the last question in the thread as I'm
> a little bit lost in the NID pool and didn't have time to investigate
> further.

Could you check whether this still valid?

Basically the model option doesn't change the auto-mute behavior.
It just changes which pin to be detected and which pin to mute.
So, if model=dell-m4-1 makes the auto-muting working, it means
that the BIOS setup is broken.


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

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:15         ` Takashi Iwai
@ 2009-09-14 13:23           ` Takashi Iwai
  2009-09-14 13:41             ` Ozan Çağlayan
  2009-09-27 20:23             ` Munzir Taha (منذر طه)
  0 siblings, 2 replies; 19+ messages in thread
From: Takashi Iwai @ 2009-09-14 13:23 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: alsa-devel, Andrius Štikonas

At Mon, 14 Sep 2009 15:15:53 +0200,
I wrote:
> 
> At Mon, 14 Sep 2009 16:15:02 +0300,
> Ozan Çağlayan wrote:
> > 
> > Takashi Iwai wrote On 14-09-2009 15:36:
> > >
> > > Yeah, I think we can add EAPD handling as default for IDT92HD71xx
> > > codecs.  I've never seen machines that can't live with GPIO0 bit up.
> > >   
> > 
> > enable_msi doesn't seem to affect the auto-muting problem. I played with
> > every single node in hda-analyzer but can't get auto-mute work. I can
> > manually mute the HP output and the internal speakers by
> > checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn
> > matrix for GPIO settings, I played with them as well to set unsol but nope.
> > 
> > I want to remember that dell-m4-1 makes automute work but breaks the
> > mixer channels:
> > 
> > http://www.spinics.net/lists/alsa-devel/msg26714.html
> > 
> > Err, I know that I didn't answer the last question in the thread as I'm
> > a little bit lost in the NID pool and didn't have time to investigate
> > further.
> 
> Could you check whether this still valid?
> 
> Basically the model option doesn't change the auto-mute behavior.
> It just changes which pin to be detected and which pin to mute.
> So, if model=dell-m4-1 makes the auto-muting working, it means
> that the BIOS setup is broken.

I looked through alsa-info output now, and found the culprit.
NID 0x0f is set as a line-out, and currently the driver doesn't
don't do auto-muting for line-out unless a headphone is present.
Changing it to a headphone should fix.  Or you can give hp_detect=1
hint via sysfs and reconfigure.


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

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:23           ` Takashi Iwai
@ 2009-09-14 13:41             ` Ozan Çağlayan
  2009-09-14 13:46               ` Takashi Iwai
  2009-09-27 20:23             ` Munzir Taha (منذر طه)
  1 sibling, 1 reply; 19+ messages in thread
From: Ozan Çağlayan @ 2009-09-14 13:41 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Andrius Štikonas

Takashi Iwai wrote On 14-09-2009 16:23:
> I looked through alsa-info output now, and found the culprit.
> NID 0x0f is set as a line-out, and currently the driver doesn't
> don't do auto-muting for line-out unless a headphone is present.
> Changing it to a headphone should fix.  Or you can give hp_detect=1
> hint via sysfs and reconfigure.
>
>   

Yes! hp_detect=1 worked altogether with passing hp-dv5 model. I'm ready
to test any patch you suggest.

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:41             ` Ozan Çağlayan
@ 2009-09-14 13:46               ` Takashi Iwai
  2009-09-15  9:04                 ` Ozan Çağlayan
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2009-09-14 13:46 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: alsa-devel, Andrius Štikonas

At Mon, 14 Sep 2009 16:41:10 +0300,
Ozan Çağlayan wrote:
> 
> Takashi Iwai wrote On 14-09-2009 16:23:
> > I looked through alsa-info output now, and found the culprit.
> > NID 0x0f is set as a line-out, and currently the driver doesn't
> > don't do auto-muting for line-out unless a headphone is present.
> > Changing it to a headphone should fix.  Or you can give hp_detect=1
> > hint via sysfs and reconfigure.
> >
> >   
> 
> Yes! hp_detect=1 worked altogether with passing hp-dv5 model. I'm ready
> to test any patch you suggest.

Good to hear.  The final patch is already merged to sound git tree,
and a new snapshot tarball is being created and updated now.  FWIW,
the essential change is below.


thanks,

Takashi

---
From 6e34c033210bb86b3f5f45fd6497f74150bdf620 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 14 Sep 2009 15:42:18 +0200
Subject: [PATCH] ALSA: hda - Add support for HP dv6

Add the quirk entry for HP dv6.  Also add a workaround for the headphone
detection by setting hp_detect=1 beforehand.  Without this, the driver
won't do auto-muting because BIOS doesn't give any HP pin but only a
line-out pin.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_sigmatel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index fe2ba76..cc0e26c 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1690,6 +1690,8 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
 		      "HP mini 1000", STAC_HP_M4),
 	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x361b,
 		      "HP HDX", STAC_HP_HDX),  /* HDX16 */
+	SND_PCI_QUIRK_MASK(PCI_VENDOR_ID_HP, 0xfff0, 0x3620,
+		      "HP dv6", STAC_HP_DV5),
 	SND_PCI_QUIRK_MASK(PCI_VENDOR_ID_HP, 0xfff0, 0x7010,
 		      "HP", STAC_HP_DV5),
 	SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0233,
@@ -5383,6 +5385,11 @@ again:
 	case STAC_HP_DV5:
 		snd_hda_codec_set_pincfg(codec, 0x0d, 0x90170010);
 		stac92xx_auto_set_pinctl(codec, 0x0d, AC_PINCTL_OUT_EN);
+		/* HP dv6 gives the headphone pin as a line-out.  Thus we
+		 * need to set hp_detect flag here to force to enable HP
+		 * detection.
+		 */
+		spec->hp_detect = 1;
 		break;
 	case STAC_HP_HDX:
 		spec->num_dmics = 1;
-- 
1.6.4.2

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

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:46               ` Takashi Iwai
@ 2009-09-15  9:04                 ` Ozan Çağlayan
  2009-09-15 12:58                   ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Ozan Çağlayan @ 2009-09-15  9:04 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Andrius Štikonas

Takashi Iwai wrote On 14-09-2009 16:46:
> At Mon, 14 Sep 2009 16:41:10 +0300,
> Ozan Çağlayan wrote:
>   
>> Takashi Iwai wrote On 14-09-2009 16:23:
>>     
>>> I looked through alsa-info output now, and found the culprit.
>>> NID 0x0f is set as a line-out, and currently the driver doesn't
>>> don't do auto-muting for line-out unless a headphone is present.
>>> Changing it to a headphone should fix.  Or you can give hp_detect=1
>>> hint via sysfs and reconfigure.
>>>
>>>   
>>>       
>> Yes! hp_detect=1 worked altogether with passing hp-dv5 model. I'm ready
>> to test any patch you suggest.
>>     
>
> Good to hear.  The final patch is already merged to sound git tree,
> and a new snapshot tarball is being created and updated now.  FWIW,
> the essential change is below.
>
>   

Ok tested today's snapshot, it works like a charm, thanks again.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-15  9:04                 ` Ozan Çağlayan
@ 2009-09-15 12:58                   ` Takashi Iwai
  0 siblings, 0 replies; 19+ messages in thread
From: Takashi Iwai @ 2009-09-15 12:58 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: alsa-devel, Andrius Štikonas

At Tue, 15 Sep 2009 12:04:38 +0300,
Ozan Çağlayan wrote:
> 
> Takashi Iwai wrote On 14-09-2009 16:46:
> > At Mon, 14 Sep 2009 16:41:10 +0300,
> > Ozan Çağlayan wrote:
> >   
> >> Takashi Iwai wrote On 14-09-2009 16:23:
> >>     
> >>> I looked through alsa-info output now, and found the culprit.
> >>> NID 0x0f is set as a line-out, and currently the driver doesn't
> >>> don't do auto-muting for line-out unless a headphone is present.
> >>> Changing it to a headphone should fix.  Or you can give hp_detect=1
> >>> hint via sysfs and reconfigure.
> >>>
> >>>   
> >>>       
> >> Yes! hp_detect=1 worked altogether with passing hp-dv5 model. I'm ready
> >> to test any patch you suggest.
> >>     
> >
> > Good to hear.  The final patch is already merged to sound git tree,
> > and a new snapshot tarball is being created and updated now.  FWIW,
> > the essential change is below.
> >
> >   
> 
> Ok tested today's snapshot, it works like a charm, thanks again.

Great.  Thank you guys for testing!


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

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

* Re: Problems with Intel HDA driver
  2009-09-14 13:23           ` Takashi Iwai
  2009-09-14 13:41             ` Ozan Çağlayan
@ 2009-09-27 20:23             ` Munzir Taha (منذر طه)
  1 sibling, 0 replies; 19+ messages in thread
From: Munzir Taha (منذر طه) @ 2009-09-27 20:23 UTC (permalink / raw)
  To: alsa-devel

Hi Takashi,
I just updated my driver and libs to 1.0.21 to see whether this is fixed. 
Unfortunately, when I plug my headphones, the laptop speakers are still 
playing.

http://www.alsa-project.org/db/?f=c0082231c70ef69de999506f3d59dec0c0cdb633

On Yaum al-Ithnain 24 Ramadan 1430 4:23:05 pm Takashi Iwai wrote:
> At Mon, 14 Sep 2009 15:15:53 +0200,
> 
> I wrote:
> > At Mon, 14 Sep 2009 16:15:02 +0300,
> >
> > Ozan Çağlayan wrote:
> > > Takashi Iwai wrote On 14-09-2009 15:36:
> > > > Yeah, I think we can add EAPD handling as default for IDT92HD71xx
> > > > codecs.  I've never seen machines that can't live with GPIO0 bit up.
> > >
> > > enable_msi doesn't seem to affect the auto-muting problem. I played
> > > with every single node in hda-analyzer but can't get auto-mute work. I
> > > can manually mute the HP output and the internal speakers by
> > > checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn
> > > matrix for GPIO settings, I played with them as well to set unsol but
> > > nope.
> > >
> > > I want to remember that dell-m4-1 makes automute work but breaks the
> > > mixer channels:
> > >
> > > http://www.spinics.net/lists/alsa-devel/msg26714.html
> > >
> > > Err, I know that I didn't answer the last question in the thread as I'm
> > > a little bit lost in the NID pool and didn't have time to investigate
> > > further.
> >
> > Could you check whether this still valid?
> >
> > Basically the model option doesn't change the auto-mute behavior.
> > It just changes which pin to be detected and which pin to mute.
> > So, if model=dell-m4-1 makes the auto-muting working, it means
> > that the BIOS setup is broken.
> 
> I looked through alsa-info output now, and found the culprit.
> NID 0x0f is set as a line-out, and currently the driver doesn't
> don't do auto-muting for line-out unless a headphone is present.
> Changing it to a headphone should fix.  Or you can give hp_detect=1
> hint via sysfs and reconfigure.
> 
> 
> Takashi



-- 
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-27 21:53         ` Daniel Chen
@ 2009-09-27 21:58           ` Munzir Taha (منذر طه)
  0 siblings, 0 replies; 19+ messages in thread
From: Munzir Taha (منذر طه) @ 2009-09-27 21:58 UTC (permalink / raw)
  To: Daniel Chen; +Cc: Takashi Iwai, alsa-devel

On Yaum al-Ithnain 08 Shawwal 1430 12:53:18 am Daniel Chen wrote:
> (Sorry for top-posting)
> 
> Is the enable_msi=1 line in your options snd-hda-intel line in
> /etc/modprobe.d/alsa-base.conf?

Yes, the line in the file looks like this:
options snd-hda-intel enable_msi=1 model=hp-dv5
and I can manually mute the speakers by moving its slider all the way down to 
level 0 (but not muting it). However, auto hp jack sensing doesn't work.


-- 
Munzir Taha

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

* Re: Problems with Intel HDA driver
  2009-09-27 21:31       ` Munzir Taha (منذر طه)
@ 2009-09-27 21:53         ` Daniel Chen
  2009-09-27 21:58           ` Munzir Taha (منذر طه)
  0 siblings, 1 reply; 19+ messages in thread
From: Daniel Chen @ 2009-09-27 21:53 UTC (permalink / raw)
  To: Munzir Taha (منذر طه)
  Cc: Takashi Iwai, alsa-devel

(Sorry for top-posting)

Is the enable_msi=1 line in your options snd-hda-intel line in
/etc/modprobe.d/alsa-base.conf?

On Sep 27, 2009 5:31 PM, "Munzir Taha (منذر طه)" <munzirtaha@gmail.com>
wrote:

On Yaum al-Ithnain 08 Shawwal 1430 12:03:37 am Daniel Chen wrote: > On Sun,
Sep 27, 2009 at 5:01 PM,...
Hi Daniel,
After a fresh reboot, the sound is now working but there is not autosensing
and still both the speaker and the headphone play together

The current report is at
http://www.alsa-project.org/db/?f=8f8518c634bc6880a1633e025fe7a7f975f3ed28

-- Munzir Taha Telecommunications and Electronics Engineer Master CIW
Designer, ICDL, MOUS, Linux+...
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-27 21:03     ` Daniel Chen
@ 2009-09-27 21:31       ` Munzir Taha (منذر طه)
  2009-09-27 21:53         ` Daniel Chen
  0 siblings, 1 reply; 19+ messages in thread
From: Munzir Taha (منذر طه) @ 2009-09-27 21:31 UTC (permalink / raw)
  To: Daniel Chen; +Cc: Takashi Iwai, alsa-devel

On Yaum al-Ithnain 08 Shawwal 1430 12:03:37 am Daniel Chen wrote:
> On Sun, Sep 27, 2009 at 5:01 PM, Munzir Taha (منذر  طه)
> 
> <munzirtaha@gmail.com> wrote:
> > I tried adding enable_msi=1 with and without model=hp-dv5 and now there
> > is no sound at all even from the speakers.
> 
> Is this reproducible from a fresh reboot? Also, make sure your
> playback mixer levels are not set to zero or muted.

Hi Daniel,
After a fresh reboot, the sound is now working but there is not autosensing 
and still both the speaker and the headphone play together

The current report is at
http://www.alsa-project.org/db/?f=8f8518c634bc6880a1633e025fe7a7f975f3ed28

-- 
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-27 21:01   ` Munzir Taha (منذر طه)
@ 2009-09-27 21:03     ` Daniel Chen
  2009-09-27 21:31       ` Munzir Taha (منذر طه)
  0 siblings, 1 reply; 19+ messages in thread
From: Daniel Chen @ 2009-09-27 21:03 UTC (permalink / raw)
  To: Munzir Taha (منذر طه)
  Cc: Takashi Iwai, alsa-devel

On Sun, Sep 27, 2009 at 5:01 PM, Munzir Taha (منذر  طه)
<munzirtaha@gmail.com> wrote:
> I tried adding enable_msi=1 with and without model=hp-dv5 and now there is no
> sound at all even from the speakers.

Is this reproducible from a fresh reboot? Also, make sure your
playback mixer levels are not set to zero or muted.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-27 20:44 ` Daniel Chen
@ 2009-09-27 21:01   ` Munzir Taha (منذر طه)
  2009-09-27 21:03     ` Daniel Chen
  0 siblings, 1 reply; 19+ messages in thread
From: Munzir Taha (منذر طه) @ 2009-09-27 21:01 UTC (permalink / raw)
  To: Daniel Chen; +Cc: Takashi Iwai, alsa-devel

On Yaum al-Ahad 07 Shawwal 1430 11:44:36 pm Daniel Chen wrote:
> On Sun, Sep 27, 2009 at 4:27 PM, Munzir Taha (منذر  طه)
> 
> <munzirtaha@gmail.com> wrote:
> > http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81af
> >a
> 
> Please try with enable_msi=1:
> 
> sudo alsa force-unload && sudo modprobe snd-hda-intel enable_msi=1
>  model=hp-dv5

Hi Daniel,
I tried adding enable_msi=1 with and without model=hp-dv5 and now there is no 
sound at all even from the speakers.


-- 
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
  2009-09-27 20:27 Munzir Taha (منذر طه)
@ 2009-09-27 20:44 ` Daniel Chen
  2009-09-27 21:01   ` Munzir Taha (منذر طه)
  0 siblings, 1 reply; 19+ messages in thread
From: Daniel Chen @ 2009-09-27 20:44 UTC (permalink / raw)
  To: Munzir Taha (منذر طه)
  Cc: Takashi Iwai, alsa-devel

On Sun, Sep 27, 2009 at 4:27 PM, Munzir Taha (منذر  طه)
<munzirtaha@gmail.com> wrote:
> http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81afa

Please try with enable_msi=1:

sudo alsa force-unload && sudo modprobe snd-hda-intel enable_msi=1 model=hp-dv5

Please note that my git branch on kernel.ubuntu.com
(http://kernel.ubuntu.com/git?p=dtchen/ubuntu-karmic.git;a=shortlog;h=refs/heads/lp400682)
backports the necessary fixes.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Problems with Intel HDA driver
@ 2009-09-27 20:27 Munzir Taha (منذر طه)
  2009-09-27 20:44 ` Daniel Chen
  0 siblings, 1 reply; 19+ messages in thread
From: Munzir Taha (منذر طه) @ 2009-09-27 20:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

Hi Takashi,
Sorry, the correct link to alsa-info report is

http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81afa

On Yaum al-Ithnain 24 Ramadan 1430 4:23:05 pm Takashi Iwai wrote:
> At Mon, 14 Sep 2009 15:15:53 +0200,
> 
> I wrote:
> > At Mon, 14 Sep 2009 16:15:02 +0300,
> >
> > Ozan Çağlayan wrote:
> > > Takashi Iwai wrote On 14-09-2009 15:36:
> > > > Yeah, I think we can add EAPD handling as default for IDT92HD71xx
> > > > codecs.  I've never seen machines that can't live with GPIO0 bit up.
> > >
> > > enable_msi doesn't seem to affect the auto-muting problem. I played
> > > with every single node in hda-analyzer but can't get auto-mute work. I
> > > can manually mute the HP output and the internal speakers by
> > > checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn
> > > matrix for GPIO settings, I played with them as well to set unsol but
> > > nope.
> > >
> > > I want to remember that dell-m4-1 makes automute work but breaks the
> > > mixer channels:
> > >
> > > http://www.spinics.net/lists/alsa-devel/msg26714.html
> > >
> > > Err, I know that I didn't answer the last question in the thread as I'm
> > > a little bit lost in the NID pool and didn't have time to investigate
> > > further.
> >
> > Could you check whether this still valid?
> >
> > Basically the model option doesn't change the auto-mute behavior.
> > It just changes which pin to be detected and which pin to mute.
> > So, if model=dell-m4-1 makes the auto-muting working, it means
> > that the BIOS setup is broken.
> 
> I looked through alsa-info output now, and found the culprit.
> NID 0x0f is set as a line-out, and currently the driver doesn't
> don't do auto-muting for line-out unless a headphone is present.
> Changing it to a headphone should fix.  Or you can give hp_detect=1
> hint via sysfs and reconfigure.
> 
> 
> Takashi



-- 
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

end of thread, other threads:[~2009-09-27 21:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-14 11:33 Problems with Intel HDA driver Andrius Štikonas
2009-09-14 12:25 ` Takashi Iwai
2009-09-14 12:36   ` Ozan Çağlayan
2009-09-14 12:36     ` Takashi Iwai
2009-09-14 13:15       ` Ozan Çağlayan
2009-09-14 13:15         ` Takashi Iwai
2009-09-14 13:23           ` Takashi Iwai
2009-09-14 13:41             ` Ozan Çağlayan
2009-09-14 13:46               ` Takashi Iwai
2009-09-15  9:04                 ` Ozan Çağlayan
2009-09-15 12:58                   ` Takashi Iwai
2009-09-27 20:23             ` Munzir Taha (منذر طه)
2009-09-27 20:27 Munzir Taha (منذر طه)
2009-09-27 20:44 ` Daniel Chen
2009-09-27 21:01   ` Munzir Taha (منذر طه)
2009-09-27 21:03     ` Daniel Chen
2009-09-27 21:31       ` Munzir Taha (منذر طه)
2009-09-27 21:53         ` Daniel Chen
2009-09-27 21:58           ` Munzir Taha (منذر طه)

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.