Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Very faint sound on Dell Latitude E6500
@ 2009-01-27 15:51 Laurent Pinchart
  2009-01-28 15:31 ` Takashi Iwai
  0 siblings, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-27 15:51 UTC (permalink / raw)
  To: alsa-devel

Hi everybody,

I've received a brand new Dell Latitude E6500 and found out that the sound 
card wasn't exactly well supported by ALSA.

Sound is barely audible (so faint that I'm not even sure if the proper sound 
is output or if I just get garbage), with some loud noise here and there that 
seem to correspond to the saturated audio data  parts.

The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware 
information can be found at 
http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e593b0d. A 
bug report including the Windows driver .ini file is available at 
https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_page.php?bug_id=4306.

When loading the snd_hda_intel driver compiled with verbose debug mode, the 
following messages are printed to the kernel log.

HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:1b.0: setting latency timer to 64
ALSA sound/pci/hda/hda_intel.c:2209: chipset global capabilities = 0x4401
ALSA sound/pci/hda/hda_intel.c:775: codec_mask = 0x5
ALSA sound/pci/hda/hda_codec.c:2367: hda_codec: model 'dell-m4-1' is selected 
for config 1028:24f (unknown Dell)
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0a pin config 
0421101f
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0b pin config 
04a11221
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0c pin config 
40f000f0
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0d pin config 
90170110
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0e pin config 
23a1902e
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 0f pin config 
23014250
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 14 pin config 
40f000f0
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 18 pin config 
90a000f0
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 19 pin config 
40f000f0
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 1e pin config 
4f0000f0
ALSA sound/pci/hda/patch_sigmatel.c:2247: hda_codec: pin nid 1f pin config 
4f0000f0
ALSA sound/pci/hda/hda_codec.c:3055: autoconfig: line_outs=1 
(0xf/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3059:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3063:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3064:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3072:    inputs: mic=0xb, fmic=0xe, line=0x0, 
fline=0x0, cd=0x0, aux=0x0
ALSA sound/pci/hda/patch_sigmatel.c:2693: stac92xx_add_dyn_out_pins: total dac 
count=2
ALSA sound/pci/hda/hda_generic.c:679: hda_generic: no proper input path found
ALSA sound/pci/hda/hda_generic.c:284: Skip Digital OUT node 2
ALSA sound/pci/hda/hda_generic.c:427: hda_generic: no proper output path found
ALSA sound/pci/hda/hda_generic.c:1022: hda_generic: no PCM found
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Surround Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Center Playback Volume, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave LFE Playback Volume, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Side Playback Volume, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave External Speaker 
Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker2 Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Surround Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Center Playback Switch, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave LFE Playback Switch, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Side Playback Switch, 
skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave External Speaker 
Playback Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave Speaker2 Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1127: Cannot find slave IEC958 Playback Switch, 
skipped

I tried forcing the model to dell-m4-1, dell-m4-2, dell-m4-3 and ref without 
any luck. I also tried upgrading to alsa-driver 1.0.19 and results were 
identical.

Could anyone help me ? I can patch and recompile the driver is required.

Best regards,

Laurent Pinchart

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-27 15:51 Very faint sound on Dell Latitude E6500 Laurent Pinchart
@ 2009-01-28 15:31 ` Takashi Iwai
  2009-01-29  1:47   ` Laurent Pinchart
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-01-28 15:31 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: alsa-devel

At Tue, 27 Jan 2009 16:51:56 +0100,
Laurent Pinchart wrote:
> 
> Hi everybody,
> 
> I've received a brand new Dell Latitude E6500 and found out that the sound 
> card wasn't exactly well supported by ALSA.
> 
> Sound is barely audible (so faint that I'm not even sure if the proper sound 
> is output or if I just get garbage), with some loud noise here and there that 
> seem to correspond to the saturated audio data  parts.
> 
> The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware 
> information can be found at 
> http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e593b0d. A 

Please run with --no-upload and included the result in the post.

Anyway, this problem might be related with the volume-knob.
Install hda-verb and try the following

	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff 
or
	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0

Takashi

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-28 15:31 ` Takashi Iwai
@ 2009-01-29  1:47   ` Laurent Pinchart
  2009-01-29  8:34     ` Takashi Iwai
  0 siblings, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-29  1:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

Hi Takashi,

On Wednesday 28 January 2009, Takashi Iwai wrote:
> At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > Hi everybody,
> >
> > I've received a brand new Dell Latitude E6500 and found out that the
> > sound card wasn't exactly well supported by ALSA.
> >
> > Sound is barely audible (so faint that I'm not even sure if the proper
> > sound is output or if I just get garbage), with some loud noise here and
> > there that seem to correspond to the saturated audio data  parts.
> >
> > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > information can be found at
> > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e593b0
> >d. A
>
> Please run with --no-upload and included the result in the post.

Done, output included in this e-mail.

> Anyway, this problem might be related with the volume-knob.
> Install hda-verb and try the following
>
> 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> or
> 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0

Unfortunately none of those make a difference.

Best regards,

Laurent Pinchart

--------------- alsa-info.txt -----------------

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

!!Script ran on: Thu Jan 29 02:46:40 CET 2009


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

Gentoo Base System release 1.12.11.1


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

Kernel release:    2.6.28
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
SMP Enabled:       Yes


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

Driver version:     1.0.19
Library version:    1.0.17a
Utilities version:  1.0.17


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

snd_hda_intel


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf6adc000 irq 21


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

00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 03)


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

00:1b.0 0403: 8086:293e (rev 03)
	Subsystem: 1028:024f


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

!!Module: snd_hda_intel
bdl_pos_adj : 1,-1,-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 : <NULL>,<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: 0x1028024f
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: 0x05
Analog Loopback: 0x00
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0421101f: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x00:
  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 0x04a11221: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x1
  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 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, 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 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 0x23a1902e: [Jack] Mic at Sep Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0xe
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x23014250: [Jack] Line Out at Sep Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  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 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 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 0x90a000f0: [Fixed] Mic at Int N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  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 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  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:  [0x00 0x00]
  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:  [0x80 0x80]
  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 0x4f0000f0: [N/A] Line Out at Ext UNKNOWN
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00010010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x4f0000f0: [N/A] Line Out at Ext UNKNOWN
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  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 0x40f000f7: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
  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 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  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: Intel G45 DEVCTG
Address: 2
Vendor Id: 0x80862802
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
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 0x6211: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
Node 0x03 [Pin Complex] wcaps 0x40739d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=08, enabled=1
  Connection: 1
     0x02
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 2009-01-29 02:39 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 2009-01-29 02:39 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  6 2009-01-29 02:39 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 24 2009-01-29 02:39 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 2009-01-29 02:45 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 19 2009-01-29 02:39 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116,  1 2009-01-29 02:39 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 2009-01-29 02:39 /dev/snd/timer


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL 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 0xf6adc000 irq 21'
  Mixer name	: 'Intel G45 DEVCTG'
  Components	: 'HDA:111d76b2,1028024f,00100302 HDA:80862802,80860101,00100000'
  Controls      : 30
  Simple ctrls  : 17
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',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 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
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 [off]
Simple mixer control 'Analog Loopback',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC0',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'DAC1',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import0 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Import1 Mux',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB] [off]
  Front Right: Capture 23 [74%] [0.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  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 '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] [on]


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

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		iface MIXER
		name 'Input Source'
		value Mic
	}
	control.2 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.3 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		value false
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Analog Loopback'
		index 1
		value false
	}
	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'
		value.0 0
		value.1 0
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.7 {
		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.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import0 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 'Import0 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Import1 Mux 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 'Import1 Mux Capture Volume'
		value.0 23
		value.1 23
	}
	control.13 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC0 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 'DAC0 Capture Volume'
		value.0 23
		value.1 23
	}
	control.15 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'DAC1 Capture Switch'
		value.0 false
		value.1 false
	}
	control.16 {
		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 23
		value.1 23
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 127'
		comment.dbmin -9525
		comment.dbmax 0
		iface MIXER
		name 'Front Playback Volume'
		value.0 127
		value.1 127
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.19 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PC Beep Playback Switch'
		value true
	}
	control.20 {
		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.21 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 127'
		comment.dbmin -9525
		comment.dbmax 0
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 127
		value.1 127
	}
	control.22 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.23 {
		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 0
		value.1 0
	}
	control.24 {
		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.25 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 127'
		comment.dbmin -9525
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 127
	}
	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
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.28 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.29 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.30 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
}
--endcollapse--


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

Module
snd_seq
snd_seq_device
snd_hda_codec_intelhdmi
snd_hda_codec_idt
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
snd_page_alloc

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29  1:47   ` Laurent Pinchart
@ 2009-01-29  8:34     ` Takashi Iwai
  2009-01-29 13:27       ` Laurent Pinchart
  2009-01-29 21:33       ` Laurent Pinchart
  0 siblings, 2 replies; 12+ messages in thread
From: Takashi Iwai @ 2009-01-29  8:34 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: alsa-devel

At Thu, 29 Jan 2009 02:47:45 +0100,
Laurent Pinchart wrote:
> 
> Hi Takashi,
> 
> On Wednesday 28 January 2009, Takashi Iwai wrote:
> > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > Hi everybody,
> > >
> > > I've received a brand new Dell Latitude E6500 and found out that the
> > > sound card wasn't exactly well supported by ALSA.
> > >
> > > Sound is barely audible (so faint that I'm not even sure if the proper
> > > sound is output or if I just get garbage), with some loud noise here and
> > > there that seem to correspond to the saturated audio data  parts.
> > >
> > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > > information can be found at
> > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e593b0
> > >d. A
> >
> > Please run with --no-upload and included the result in the post.
> 
> Done, output included in this e-mail.
> 
> > Anyway, this problem might be related with the volume-knob.
> > Install hda-verb and try the following
> >
> > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > or
> > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> 
> Unfortunately none of those make a difference.

After doing this, check /proc/asound/card0/codec* whether this node
0x28 is really changed.

Then, try the latest alsa-driver snapshot from
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

This contains more fixes since 1.0.19.  It's generated from the GIT
tree below:
    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git

Also, check the headphone output at first.  The speaker output needs
more work than the headphone in general.

You can also try to change the power-map by
	hda-verb /dev/snd/hwC0D0 1 0x7ec 0
This is pretty specific to IDT codecs.


Takashi

> 
> Best regards,
> 
> Laurent Pinchart
> 
> --------------- alsa-info.txt -----------------
> 
> upload=true&script=true&cardinfo=
> !!################################
> !!ALSA Information Script v 0.4.52
> !!################################
> 
> !!Script ran on: Thu Jan 29 02:46:40 CET 2009
> 
> 
> !!Linux Distribution
> !!------------------
> 
> Gentoo Base System release 1.12.11.1
> 
> 
> !!Kernel Information
> !!------------------
> 
> Kernel release:    2.6.28
> Operating System:  GNU/Linux
> Architecture:      x86_64
> Processor:         Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
> SMP Enabled:       Yes
> 
> 
> !!ALSA Version
> !!------------
> 
> Driver version:     1.0.19
> Library version:    1.0.17a
> Utilities version:  1.0.17
> 
> 
> !!Loaded ALSA modules
> !!-------------------
> 
> snd_hda_intel
> 
> 
> !!Soundcards recognised by ALSA
> !!-----------------------------
> 
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xf6adc000 irq 21
> 
> 
> !!PCI Soundcards installed in the system
> !!--------------------------------------
> 
> 00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 03)
> 
> 
> !!Advanced information - PCI Vendor/Device/Susbsystem ID's
> !!--------------------------------------------------------
> 
> 00:1b.0 0403: 8086:293e (rev 03)
> 	Subsystem: 1028:024f
> 
> 
> !!Loaded sound module options
> !!--------------------------
> 
> !!Module: snd_hda_intel
> bdl_pos_adj : 1,-1,-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 : <NULL>,<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: 0x1028024f
> 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: 0x05
> Analog Loopback: 0x00
> Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x0000001c: OUT HP Detect
>   Pin Default 0x0421101f: [Jack] HP Out at Ext Right
>     Conn = 1/8, Color = Black
>     DefAssociation = 0x1, Sequence = 0xf
>   Pin-ctls: 0x00:
>   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 0x04a11221: [Jack] Mic at Ext Right
>     Conn = 1/8, Color = Black
>     DefAssociation = 0x2, Sequence = 0x1
>   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 0x40f000f0: [N/A] Other at Ext N/A
>     Conn = Unknown, 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 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 0x23a1902e: [Jack] Mic at Sep Left
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0x2, Sequence = 0xe
>   Pin-ctls: 0x24: IN VREF_80
>   Unsolicited: tag=03, enabled=1
> Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
>   Pincap 0x00000014: OUT Detect
>   Pin Default 0x23014250: [Jack] Line Out at Sep Left
>     Conn = 1/8, Color = Green
>     DefAssociation = 0x5, Sequence = 0x0
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=04, enabled=1
>   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 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 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 0x90a000f0: [Fixed] Mic at Int N/A
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   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 0x40f000f0: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   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:  [0x00 0x00]
>   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:  [0x80 0x80]
>   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 0x4f0000f0: [N/A] Line Out at Ext UNKNOWN
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   Pin-ctls: 0x00:
>   Connection: 1
>      0x24
> Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
>   Pincap 0x00010010: OUT EAPD
>   EAPD 0x0:
>   Pin Default 0x4f0000f0: [N/A] Line Out at Ext UNKNOWN
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   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 0x40f000f7: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x7
>   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 0x40f000f0: [N/A] Other at Ext N/A
>     Conn = Unknown, Color = Unknown
>     DefAssociation = 0xf, Sequence = 0x0
>   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: Intel G45 DEVCTG
> Address: 2
> Vendor Id: 0x80862802
> Subsystem Id: 0x80860101
> Revision Id: 0x100000
> No Modem Function Group found
> Default PCM:
>     rates [0x0]:
>     bits [0x0]:
>     formats [0x0]:
> 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 0x6211: 8-Channels Digital
>   Converter: stream=0, channel=0
>   Digital: Enabled
>   Digital category: 0x0
>   PCM:
>     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x5]: PCM AC3
> Node 0x03 [Pin Complex] wcaps 0x40739d: 8-Channels Digital Amp-Out CP
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x00 0x80]
>   Pincap 0x00000094: OUT Detect HDMI
>   Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
>     Conn = Digital, Color = Unknown
>     DefAssociation = 0x1, Sequence = 0x0
>   Pin-ctls: 0x00:
>   Unsolicited: tag=08, enabled=1
>   Connection: 1
>      0x02
> --endcollapse--
> 
> 
> !!ALSA Device nodes
> !!-----------------
> 
> crw-rw---- 1 root audio 116,  0 2009-01-29 02:39 /dev/snd/controlC0
> crw-rw---- 1 root audio 116,  4 2009-01-29 02:39 /dev/snd/hwC0D0
> crw-rw---- 1 root audio 116,  6 2009-01-29 02:39 /dev/snd/hwC0D2
> crw-rw---- 1 root audio 116, 24 2009-01-29 02:39 /dev/snd/pcmC0D0c
> crw-rw---- 1 root audio 116, 16 2009-01-29 02:45 /dev/snd/pcmC0D0p
> crw-rw---- 1 root audio 116, 19 2009-01-29 02:39 /dev/snd/pcmC0D3p
> crw-rw---- 1 root audio 116,  1 2009-01-29 02:39 /dev/snd/seq
> crw-rw---- 1 root audio 116, 33 2009-01-29 02:39 /dev/snd/timer
> 
> 
> !!Aplay/Arecord output
> !!------------
> 
> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL 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 0xf6adc000 irq 21'
>   Mixer name	: 'Intel G45 DEVCTG'
>   Components	: 'HDA:111d76b2,1028024f,00100302 HDA:80862802,80860101,00100000'
>   Controls      : 30
>   Simple ctrls  : 17
> Simple mixer control 'Master',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 127
>   Mono: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'Front',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> Simple mixer control 'IEC958',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 0 [0%] [0.00dB] [off]
>   Front Right: Capture 0 [0%] [0.00dB] [off]
> 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 [off]
> Simple mixer control 'Analog Loopback',1
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'DAC0',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 23 [74%] [0.00dB] [off]
>   Front Right: Capture 23 [74%] [0.00dB] [off]
> Simple mixer control 'DAC1',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 23 [74%] [0.00dB] [off]
>   Front Right: Capture 23 [74%] [0.00dB] [off]
> Simple mixer control 'Import0 Mux',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 23 [74%] [0.00dB] [off]
>   Front Right: Capture 23 [74%] [0.00dB] [off]
> Simple mixer control 'Import1 Mux',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 23 [74%] [0.00dB] [off]
>   Front Right: Capture 23 [74%] [0.00dB] [off]
> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Mic' 'Front Mic'
>   Item0: 'Mic'
> Simple mixer control 'Input Source',1
>   Capabilities: cenum
>   Items: 'Mic' 'Front Mic'
>   Item0: 'Mic'
> Simple mixer control 'Mux',0
>   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 '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] [on]
> 
> 
> !!Alsactl output
> !!-------------
> 
> --startcollapse--
> state.Intel {
> 	control.1 {
> 		comment.access 'read write'
> 		comment.type ENUMERATED
> 		comment.count 1
> 		comment.item.0 Mic
> 		comment.item.1 'Front Mic'
> 		iface MIXER
> 		name 'Input Source'
> 		value Mic
> 	}
> 	control.2 {
> 		comment.access 'read write'
> 		comment.type ENUMERATED
> 		comment.count 1
> 		comment.item.0 Mic
> 		comment.item.1 'Front Mic'
> 		iface MIXER
> 		name 'Input Source'
> 		index 1
> 		value Mic
> 	}
> 	control.3 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 1
> 		iface MIXER
> 		name 'Analog Loopback'
> 		value false
> 	}
> 	control.4 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 1
> 		iface MIXER
> 		name 'Analog Loopback'
> 		index 1
> 		value false
> 	}
> 	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'
> 		value.0 0
> 		value.1 0
> 	}
> 	control.6 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Capture Switch'
> 		value.0 false
> 		value.1 false
> 	}
> 	control.7 {
> 		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.8 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Capture Switch'
> 		index 1
> 		value.0 false
> 		value.1 false
> 	}
> 	control.9 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Import0 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 'Import0 Mux Capture Volume'
> 		value.0 23
> 		value.1 23
> 	}
> 	control.11 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Import1 Mux 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 'Import1 Mux Capture Volume'
> 		value.0 23
> 		value.1 23
> 	}
> 	control.13 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'DAC0 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 'DAC0 Capture Volume'
> 		value.0 23
> 		value.1 23
> 	}
> 	control.15 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'DAC1 Capture Switch'
> 		value.0 false
> 		value.1 false
> 	}
> 	control.16 {
> 		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 23
> 		value.1 23
> 	}
> 	control.17 {
> 		comment.access 'read write'
> 		comment.type INTEGER
> 		comment.count 2
> 		comment.range '0 - 127'
> 		comment.dbmin -9525
> 		comment.dbmax 0
> 		iface MIXER
> 		name 'Front Playback Volume'
> 		value.0 127
> 		value.1 127
> 	}
> 	control.18 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Front Playback Switch'
> 		value.0 true
> 		value.1 true
> 	}
> 	control.19 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 1
> 		iface MIXER
> 		name 'PC Beep Playback Switch'
> 		value true
> 	}
> 	control.20 {
> 		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.21 {
> 		comment.access 'read write'
> 		comment.type INTEGER
> 		comment.count 2
> 		comment.range '0 - 127'
> 		comment.dbmin -9525
> 		comment.dbmax 0
> 		iface MIXER
> 		name 'Headphone Playback Volume'
> 		value.0 127
> 		value.1 127
> 	}
> 	control.22 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 2
> 		iface MIXER
> 		name 'Headphone Playback Switch'
> 		value.0 true
> 		value.1 true
> 	}
> 	control.23 {
> 		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 0
> 		value.1 0
> 	}
> 	control.24 {
> 		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.25 {
> 		comment.access 'read write'
> 		comment.type INTEGER
> 		comment.count 1
> 		comment.range '0 - 127'
> 		comment.dbmin -9525
> 		comment.dbmax 0
> 		iface MIXER
> 		name 'Master Playback Volume'
> 		value 127
> 	}
> 	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
> 		comment.type IEC958
> 		comment.count 1
> 		iface MIXER
> 		name 'IEC958 Playback Con Mask'
> 		
> value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 	}
> 	control.28 {
> 		comment.access read
> 		comment.type IEC958
> 		comment.count 1
> 		iface MIXER
> 		name 'IEC958 Playback Pro Mask'
> 		
> value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 	}
> 	control.29 {
> 		comment.access 'read write'
> 		comment.type IEC958
> 		comment.count 1
> 		iface MIXER
> 		name 'IEC958 Playback Default'
> 		
> value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 	}
> 	control.30 {
> 		comment.access 'read write'
> 		comment.type BOOLEAN
> 		comment.count 1
> 		iface MIXER
> 		name 'IEC958 Playback Switch'
> 		value true
> 	}
> }
> --endcollapse--
> 
> 
> !!All Loaded Modules
> !!------------------
> 
> Module
> snd_seq
> snd_seq_device
> snd_hda_codec_intelhdmi
> snd_hda_codec_idt
> snd_hda_intel
> snd_hda_codec
> snd_hwdep
> snd_pcm
> snd_timer
> snd
> snd_page_alloc
> 

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29  8:34     ` Takashi Iwai
@ 2009-01-29 13:27       ` Laurent Pinchart
  2009-01-29 13:29         ` Takashi Iwai
  2009-01-29 21:33       ` Laurent Pinchart
  1 sibling, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-29 13:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

Hi Takashi,

On Thursday 29 January 2009, Takashi Iwai wrote:
> At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > Hi everybody,
> > > >
> > > > I've received a brand new Dell Latitude E6500 and found out that the
> > > > sound card wasn't exactly well supported by ALSA.
> > > >
> > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > proper sound is output or if I just get garbage), with some loud
> > > > noise here and there that seem to correspond to the saturated audio
> > > > data  parts.
> > > >
> > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > > > information can be found at
> > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e5
> > > >93b0 d. A
> > >
> > > Please run with --no-upload and included the result in the post.
> >
> > Done, output included in this e-mail.
> >
> > > Anyway, this problem might be related with the volume-knob.
> > > Install hda-verb and try the following
> > >
> > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > or
> > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> >
> > Unfortunately none of those make a difference.
>
> After doing this, check /proc/asound/card0/codec* whether this node
> 0x28 is really changed.
>
> Then, try the latest alsa-driver snapshot from
>    
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-sna
>pshot.tar.gz
>
> This contains more fixes since 1.0.19.  It's generated from the GIT
> tree below:
>     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>    
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git

I will test the snapshot this evening.

> Also, check the headphone output at first.  The speaker output needs
> more work than the headphone in general.

The headphone output works properly with the stock 2.6.28 kernel without 
having to mess with volume-knob. I haven't tested it with alsa-driver 1.0.19 
yet.

> You can also try to change the power-map by
> 	hda-verb /dev/snd/hwC0D0 1 0x7ec 0
> This is pretty specific to IDT codecs.

Thanks for your help.

Best regards,

Laurent Pinchart

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29 13:27       ` Laurent Pinchart
@ 2009-01-29 13:29         ` Takashi Iwai
  2009-01-29 13:32           ` Laurent Pinchart
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-01-29 13:29 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: alsa-devel

At Thu, 29 Jan 2009 14:27:49 +0100,
Laurent Pinchart wrote:
> 
> Hi Takashi,
> 
> On Thursday 29 January 2009, Takashi Iwai wrote:
> > At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > Hi everybody,
> > > > >
> > > > > I've received a brand new Dell Latitude E6500 and found out that the
> > > > > sound card wasn't exactly well supported by ALSA.
> > > > >
> > > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > > proper sound is output or if I just get garbage), with some loud
> > > > > noise here and there that seem to correspond to the saturated audio
> > > > > data  parts.
> > > > >
> > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > > > > information can be found at
> > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e5
> > > > >93b0 d. A
> > > >
> > > > Please run with --no-upload and included the result in the post.
> > >
> > > Done, output included in this e-mail.
> > >
> > > > Anyway, this problem might be related with the volume-knob.
> > > > Install hda-verb and try the following
> > > >
> > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > or
> > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > >
> > > Unfortunately none of those make a difference.
> >
> > After doing this, check /proc/asound/card0/codec* whether this node
> > 0x28 is really changed.
> >
> > Then, try the latest alsa-driver snapshot from
> >    
> > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-sna
> >pshot.tar.gz
> >
> > This contains more fixes since 1.0.19.  It's generated from the GIT
> > tree below:
> >     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> >    
> > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git
> 
> I will test the snapshot this evening.
> 
> > Also, check the headphone output at first.  The speaker output needs
> > more work than the headphone in general.
> 
> The headphone output works properly with the stock 2.6.28 kernel without 
> having to mess with volume-knob. I haven't tested it with alsa-driver 1.0.19 
> yet.

Ah, so only the speaker output is the problem?


Takashi

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29 13:29         ` Takashi Iwai
@ 2009-01-29 13:32           ` Laurent Pinchart
  0 siblings, 0 replies; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-29 13:32 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

On Thursday 29 January 2009, Takashi Iwai wrote:
> At Thu, 29 Jan 2009 14:27:49 +0100,
>
> Laurent Pinchart wrote:
> > Hi Takashi,
> >
> > On Thursday 29 January 2009, Takashi Iwai wrote:
> > > At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > > Hi everybody,
> > > > > >
> > > > > > I've received a brand new Dell Latitude E6500 and found out that
> > > > > > the sound card wasn't exactly well supported by ALSA.
> > > > > >
> > > > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > > > proper sound is output or if I just get garbage), with some loud
> > > > > > noise here and there that seem to correspond to the saturated
> > > > > > audio data  parts.
> > > > > >
> > > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec.
> > > > > > Hardware information can be found at
> > > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250c
> > > > > >c3e5 93b0 d. A
> > > > >
> > > > > Please run with --no-upload and included the result in the post.
> > > >
> > > > Done, output included in this e-mail.
> > > >
> > > > > Anyway, this problem might be related with the volume-knob.
> > > > > Install hda-verb and try the following
> > > > >
> > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > > or
> > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > > >
> > > > Unfortunately none of those make a difference.
> > >
> > > After doing this, check /proc/asound/card0/codec* whether this node
> > > 0x28 is really changed.
> > >
> > > Then, try the latest alsa-driver snapshot from
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver
> > >-sna pshot.tar.gz
> > >
> > > This contains more fixes since 1.0.19.  It's generated from the GIT
> > > tree below:
> > >     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > >
> > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.g
> > >it
> >
> > I will test the snapshot this evening.
> >
> > > Also, check the headphone output at first.  The speaker output needs
> > > more work than the headphone in general.
> >
> > The headphone output works properly with the stock 2.6.28 kernel without
> > having to mess with volume-knob. I haven't tested it with alsa-driver
> > 1.0.19 yet.
>
> Ah, so only the speaker output is the problem?

Yes that's right, at least as long as analog output is concerned. I haven't 
tested the HDMI output (there is no HDMI connector on the laptop itself, and 
I don't have a docking station) and the analog inputs (internal microphone 
and external input) yet.

Best regards,

Laurent Pinchart

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29  8:34     ` Takashi Iwai
  2009-01-29 13:27       ` Laurent Pinchart
@ 2009-01-29 21:33       ` Laurent Pinchart
  2009-01-30  6:39         ` Takashi Iwai
  1 sibling, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-29 21:33 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

On Thursday 29 January 2009, Takashi Iwai wrote:
> At Thu, 29 Jan 2009 02:47:45 +0100,
>
> Laurent Pinchart wrote:
> > Hi Takashi,
> >
> > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > Hi everybody,
> > > >
> > > > I've received a brand new Dell Latitude E6500 and found out that the
> > > > sound card wasn't exactly well supported by ALSA.
> > > >
> > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > proper sound is output or if I just get garbage), with some loud
> > > > noise here and there that seem to correspond to the saturated audio
> > > > data  parts.
> > > >
> > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > > > information can be found at
> > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e5
> > > >93b0 d. A
> > >
> > > Please run with --no-upload and included the result in the post.
> >
> > Done, output included in this e-mail.
> >
> > > Anyway, this problem might be related with the volume-knob.
> > > Install hda-verb and try the following
> > >
> > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > or
> > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> >
> > Unfortunately none of those make a difference.
>
> After doing this, check /proc/asound/card0/codec* whether this node
> 0x28 is really changed.

Yes it does (the range is 0x00-0x7f and not 0x00-0xff).

> Then, try the latest alsa-driver snapshot from
>    
> ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-sna
>pshot.tar.gz
>
> This contains more fixes since 1.0.19.  It's generated from the GIT
> tree below:
>     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>    
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git

I've downloaded, installed and tested the latest alsa-driver snapshot. No 
change was visible (or rather audible) in the internal speakers behaviour.

> Also, check the headphone output at first.  The speaker output needs
> more work than the headphone in general.

As stated in my previous e-mail, headphones work properly. Only the internal 
speakers cause trouble.

> You can also try to change the power-map by
> 	hda-verb /dev/snd/hwC0D0 1 0x7ec 0
> This is pretty specific to IDT codecs.

Changing power-map with the above command doesn't seem to have any effect 
either.

Best regards,

Laurent Pinchart

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-29 21:33       ` Laurent Pinchart
@ 2009-01-30  6:39         ` Takashi Iwai
  2009-01-30 11:38           ` Laurent Pinchart
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-01-30  6:39 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: alsa-devel

At Thu, 29 Jan 2009 22:33:19 +0100,
Laurent Pinchart wrote:
> 
> On Thursday 29 January 2009, Takashi Iwai wrote:
> > At Thu, 29 Jan 2009 02:47:45 +0100,
> >
> > Laurent Pinchart wrote:
> > > Hi Takashi,
> > >
> > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > Hi everybody,
> > > > >
> > > > > I've received a brand new Dell Latitude E6500 and found out that the
> > > > > sound card wasn't exactly well supported by ALSA.
> > > > >
> > > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > > proper sound is output or if I just get garbage), with some loud
> > > > > noise here and there that seem to correspond to the saturated audio
> > > > > data  parts.
> > > > >
> > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec. Hardware
> > > > > information can be found at
> > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250cc3e5
> > > > >93b0 d. A
> > > >
> > > > Please run with --no-upload and included the result in the post.
> > >
> > > Done, output included in this e-mail.
> > >
> > > > Anyway, this problem might be related with the volume-knob.
> > > > Install hda-verb and try the following
> > > >
> > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > or
> > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > >
> > > Unfortunately none of those make a difference.
> >
> > After doing this, check /proc/asound/card0/codec* whether this node
> > 0x28 is really changed.
> 
> Yes it does (the range is 0x00-0x7f and not 0x00-0xff).

The bit 7 is to specify the direct mode.
Maybe we need to select the input of the widget beforehand:

	% hda-verb /dev/snd/hwC0D0 0x28 SET_CONN 1
	% hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff


Takashi

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-30  6:39         ` Takashi Iwai
@ 2009-01-30 11:38           ` Laurent Pinchart
  2009-01-30 11:55             ` Takashi Iwai
  0 siblings, 1 reply; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-30 11:38 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

On Friday 30 January 2009, Takashi Iwai wrote:
> At Thu, 29 Jan 2009 22:33:19 +0100, Laurent Pinchart wrote:
> > On Thursday 29 January 2009, Takashi Iwai wrote:
> > > At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > > Hi everybody,
> > > > > >
> > > > > > I've received a brand new Dell Latitude E6500 and found out that
> > > > > > the sound card wasn't exactly well supported by ALSA.
> > > > > >
> > > > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > > > proper sound is output or if I just get garbage), with some loud
> > > > > > noise here and there that seem to correspond to the saturated
> > > > > > audio data  parts.
> > > > > >
> > > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec.
> > > > > > Hardware information can be found at
> > > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250c
> > > > > >c3e5 93b0 d. A
> > > > >
> > > > > Please run with --no-upload and included the result in the post.
> > > >
> > > > Done, output included in this e-mail.
> > > >
> > > > > Anyway, this problem might be related with the volume-knob.
> > > > > Install hda-verb and try the following
> > > > >
> > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > > or
> > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > > >
> > > > Unfortunately none of those make a difference.
> > >
> > > After doing this, check /proc/asound/card0/codec* whether this node
> > > 0x28 is really changed.
> >
> > Yes it does (the range is 0x00-0x7f and not 0x00-0xff).
>
> The bit 7 is to specify the direct mode.
> Maybe we need to select the input of the widget beforehand:
>
> 	% hda-verb /dev/snd/hwC0D0 0x28 SET_CONN 1
> 	% hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff

I'm afraid it doesn't make any difference either.

What sounds really odd to me is that I get extremely faint sound on both 
speakers, with some loud noise on the right speaker that seems to correspond 
to the T in "fronT righT" (played by speaker-test).

Best regards,

Laurent Pinchart

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-30 11:38           ` Laurent Pinchart
@ 2009-01-30 11:55             ` Takashi Iwai
  2009-01-30 12:12               ` Laurent Pinchart
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-01-30 11:55 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: alsa-devel

At Fri, 30 Jan 2009 12:38:57 +0100,
Laurent Pinchart wrote:
> 
> On Friday 30 January 2009, Takashi Iwai wrote:
> > At Thu, 29 Jan 2009 22:33:19 +0100, Laurent Pinchart wrote:
> > > On Thursday 29 January 2009, Takashi Iwai wrote:
> > > > At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > > > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > > > Hi everybody,
> > > > > > >
> > > > > > > I've received a brand new Dell Latitude E6500 and found out that
> > > > > > > the sound card wasn't exactly well supported by ALSA.
> > > > > > >
> > > > > > > Sound is barely audible (so faint that I'm not even sure if the
> > > > > > > proper sound is output or if I just get garbage), with some loud
> > > > > > > noise here and there that seem to correspond to the saturated
> > > > > > > audio data  parts.
> > > > > > >
> > > > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec.
> > > > > > > Hardware information can be found at
> > > > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c250c
> > > > > > >c3e5 93b0 d. A
> > > > > >
> > > > > > Please run with --no-upload and included the result in the post.
> > > > >
> > > > > Done, output included in this e-mail.
> > > > >
> > > > > > Anyway, this problem might be related with the volume-knob.
> > > > > > Install hda-verb and try the following
> > > > > >
> > > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > > > or
> > > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > > > >
> > > > > Unfortunately none of those make a difference.
> > > >
> > > > After doing this, check /proc/asound/card0/codec* whether this node
> > > > 0x28 is really changed.
> > >
> > > Yes it does (the range is 0x00-0x7f and not 0x00-0xff).
> >
> > The bit 7 is to specify the direct mode.
> > Maybe we need to select the input of the widget beforehand:
> >
> > 	% hda-verb /dev/snd/hwC0D0 0x28 SET_CONN 1
> > 	% hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> 
> I'm afraid it doesn't make any difference either.

Did you check proc output and see any difference at all?


Takashi

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

* Re: Very faint sound on Dell Latitude E6500
  2009-01-30 11:55             ` Takashi Iwai
@ 2009-01-30 12:12               ` Laurent Pinchart
  0 siblings, 0 replies; 12+ messages in thread
From: Laurent Pinchart @ 2009-01-30 12:12 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

On Friday 30 January 2009, Takashi Iwai wrote:
> At Fri, 30 Jan 2009 12:38:57 +0100,
>
> Laurent Pinchart wrote:
> > On Friday 30 January 2009, Takashi Iwai wrote:
> > > At Thu, 29 Jan 2009 22:33:19 +0100, Laurent Pinchart wrote:
> > > > On Thursday 29 January 2009, Takashi Iwai wrote:
> > > > > At Thu, 29 Jan 2009 02:47:45 +0100, Laurent Pinchart wrote:
> > > > > > On Wednesday 28 January 2009, Takashi Iwai wrote:
> > > > > > > At Tue, 27 Jan 2009 16:51:56 +0100, Laurent Pinchart wrote:
> > > > > > > > Hi everybody,
> > > > > > > >
> > > > > > > > I've received a brand new Dell Latitude E6500 and found out
> > > > > > > > that the sound card wasn't exactly well supported by ALSA.
> > > > > > > >
> > > > > > > > Sound is barely audible (so faint that I'm not even sure if
> > > > > > > > the proper sound is output or if I just get garbage), with
> > > > > > > > some loud noise here and there that seem to correspond to the
> > > > > > > > saturated audio data  parts.
> > > > > > > >
> > > > > > > > The sound card is an HDA-Intel with an IDT 92HD71B7X codec.
> > > > > > > > Hardware information can be found at
> > > > > > > > http://www.alsa-project.org/db/?f=30cac30e5b1ddd9c842481a830c
> > > > > > > >250c c3e5 93b0 d. A
> > > > > > >
> > > > > > > Please run with --no-upload and included the result in the
> > > > > > > post.
> > > > > >
> > > > > > Done, output included in this e-mail.
> > > > > >
> > > > > > > Anyway, this problem might be related with the volume-knob.
> > > > > > > Install hda-verb and try the following
> > > > > > >
> > > > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> > > > > > > or
> > > > > > > 	hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0
> > > > > >
> > > > > > Unfortunately none of those make a difference.
> > > > >
> > > > > After doing this, check /proc/asound/card0/codec* whether this node
> > > > > 0x28 is really changed.
> > > >
> > > > Yes it does (the range is 0x00-0x7f and not 0x00-0xff).
> > >
> > > The bit 7 is to specify the direct mode.
> > > Maybe we need to select the input of the widget beforehand:
> > >
> > > 	% hda-verb /dev/snd/hwC0D0 0x28 SET_CONN 1
> > > 	% hda-verb /dev/snd/hwC0D0 0x28 SET_VOLUME_KNOB 0xff
> >
> > I'm afraid it doesn't make any difference either.
>
> Did you check proc output and see any difference at all?

SET_VOLUME_KNOB changes the Volume Knob Widget's 'direct' and 'value' fields, 
but SET_CONN doesn't seem to have any effect.

Best regards,

Laurent Pinchart

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

end of thread, other threads:[~2009-01-30 12:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 15:51 Very faint sound on Dell Latitude E6500 Laurent Pinchart
2009-01-28 15:31 ` Takashi Iwai
2009-01-29  1:47   ` Laurent Pinchart
2009-01-29  8:34     ` Takashi Iwai
2009-01-29 13:27       ` Laurent Pinchart
2009-01-29 13:29         ` Takashi Iwai
2009-01-29 13:32           ` Laurent Pinchart
2009-01-29 21:33       ` Laurent Pinchart
2009-01-30  6:39         ` Takashi Iwai
2009-01-30 11:38           ` Laurent Pinchart
2009-01-30 11:55             ` Takashi Iwai
2009-01-30 12:12               ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox