[alsa-devel] [SOLVED] [pulseaudio-discuss] No sound Lubuntu 14.02

Raymond Yau superquad.vortex2 at gmail.com
Sat Aug 8 04:00:00 CEST 2015


>>>> >> >
>>>> >> > sl at max:~$ lspci -nnk | grep -iA2 audio
>>>> >> > 00:1b.0 Audio device [0403]: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
[8086:2668] (rev 04)
>>>> >> >     Subsystem: QUANTA Computer Inc Device [152d:0748]
>>>> >> >     Kernel driver in use: snd_hda_intel
>>>> >> >
>>>> >> > sl at max:~$ aplay -l
>>>> >> > **** Liste der Hardware-Geräte (PLAYBACK) ****
>>>> >> > Karte 0: Intel [HDA Intel], Gerät 6: Si3054 Modem [Si3054 Modem]
>>>> >> >   Sub-Geräte: 1/1
>>>> >> >   Sub-Gerät #0: subdevice #0
>>>> >> >

>>>> >>
>>>> >>
https://lists.fedoraproject.org/pipermail/test/2014-November/123662.html
>>>> >>
>>>> >> If bios did not setup pin default of alc880 codec, you need to find
out the pin of hp and mic jacks by hdajacksensetest , speaker and internal
mic need to find out by trial and err with hdajackretask
>>>> >>
>>>> >
>>>> > This is the output of hda-jack-sense-test. What do you recommend?
>>>> >
>>>> > root at max:~# hda-jack-sense-test
>>>> > Pin 0x14 (Unknown Line Out): present = No
>>>> > Pin 0x15 (Unknown Line Out): present = No
>>>> > Pin 0x16 (Unknown Line Out): present = No
>>>> > Pin 0x17 (Unknown Line Out): present = No
>>>> > Pin 0x18 (Unknown Line Out): present = No
>>>> > Pin 0x19 (Unknown Line Out): present = No
>>>> > Pin 0x1a (Unknown Line Out): present = No
>>>> > Pin 0x1b (Unknown Line Out): present = No
>>>> > Pin 0x1c (Unknown Line Out): present = No
>>>> > Pin 0x1d (Unknown Line Out): present = No
>>>> > Pin 0x1e (Unknown Line Out): present = No
>>>> > Pin 0x1f (Unknown Line Out): present = No
>>>> >
>>>>
>>>> Post the output of alsa-info.sh
>>>>
>>>> You have to use
>>>>
>>>> hdajacksensetest -a
>>>
>>> It gives the same output.
>>>>
>>>> Did you plug and unplug headphone or mic jack during test ?
>>>
>>> No.
>>
>> you have to post output of
>>
>> hdajacksensetest -a
>>
>> when you plug headphone , unplug headphone , plug mic and unplug mic
>>
>>
>>
>>>>
>>>> Since pin default of all pin complex are zero which is Line Out
>>>
>>> It is a laptop. I want to use its internal speakers, if that info helps.
>>
>> All pins have to be fixed by hdajackretask
>>
>> !!Sysfs Files
>> !!-----------
>>
>> /sys/class/sound/hwC0D0/init_pin_configs:
>> 0x14 0x00000000
>> 0x15 0x00000000
>> 0x16 0x00000000
>> 0x17 0x00000000
>> 0x18 0x00000000
>> 0x19 0x00000000
>> 0x1a 0x00000000
>> 0x1b 0x00000000
>> 0x1c 0x00000000
>> 0x1d 0x00000000
>> 0x1e 0x01000000
>> 0x1f 0x00000000
>>
>>
>>>>
>>>> Any redundant pins must set to [N/A]
>>>>
>>>> alc880 only have models for desktop
>>>>
>>>>
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio-Models.txt
>>>>
>>>>
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/hda?qt=grep&q=alc880
>>>
>>>
>>
>>
>>  In the past, there was a "test" model which setup all pins
>>
>>
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=67b6ec3196da235317ff1b9474f17379b78f3294
>>
>> you can try
>>
>> options snd-hda-intel model=6stack-dig
>>
>> to find out whether the speaker is node 0x14 and Headphone and 0x1b
>> you have to manually find front mic, rear mic and line in is your laptop
internal mic and mic jacks
>>
>>
>> Do windows driver contain info about the pins since it also need to
setup the pin complex too ?
>>
>>
>>
>> sl at max:~$ cat /tmp/alsa-info.txt.5lh8RkGutE
>> upload=true&script=true&cardinfo=
>> !!################################
>> !!ALSA Information Script v 0.4.64
>> !!################################
>>
>> !!Script ran on: Fri Aug  7 11:57:07 UTC 2015
>>
>>
>> !!Linux Distribution
>> !!------------------
>>
>> Ubuntu 14.04.3 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu
14.04.3 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu
14.04.3 LTS" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="
http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
>>
>>
>> !!DMI Information
>> !!---------------
>>
>> Manufacturer:      MAXDATA
>> Product Name:      PRO8100IS58
>> Product Version:   5123660003
>> Firmware Version:  M3B61
>>
>>
>> !!Kernel Information
>> !!------------------
>>
>> Kernel release:    3.16.0-45-generic
>> Operating System:  GNU/Linux
>> Architecture:      i686
>> Processor:         i686
>> SMP Enabled:       Yes
>>
>>
>> !!ALSA Version
>> !!------------
>>
>> Driver version:     k3.16.0-45-generic
>> Library version:    1.0.27.2
>> Utilities version:  1.0.27.2
>>
>>
>> !!Loaded ALSA modules
>> !!-------------------
>>
>> snd_hda_intel
>>
>>
>> !!Sound Servers on this system
>> !!----------------------------
>>
>> Pulseaudio:
>>       Installed - Yes (/usr/bin/pulseaudio)
>>       Running - Yes
>>
>>
>> !!Soundcards recognised by ALSA
>> !!-----------------------------
>>
>>  0 [Intel          ]: HDA-Intel - HDA Intel
>>                       HDA Intel at 0xc0000000 irq 46
>>
>>
>> !!PCI Soundcards installed in the system
>> !!--------------------------------------
>>
>> 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) High Definition Audio Controller (rev 04)
>>
>>
>> !!Advanced information - PCI Vendor/Device/Subsystem ID's
>> !!-------------------------------------------------------
>>
>> 00:1b.0 0403: 8086:2668 (rev 04)
>>     Subsystem: 152d:0748
>> --
>>     Prefetchable memory behind bridge: 0000000040000000-00000000401fffff
>>     Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- <SERR- <PERR-
>>
>>

>>
>>
>> !!HDA-Intel Codec information
>> !!---------------------------
>> --startcollapse--
>>
>> Codec: Realtek ALC880
>> Address: 0
>> AFG Function Id: 0x1 (unsol 0)
>> Vendor Id: 0x10ec0880
>> Subsystem Id: 0x08800000
>> Revision Id: 0x100800
>> No Modem Function Group found
>> Default PCM:
>>     rates [0x560]: 44100 48000 96000 192000
>>     bits [0xe]: 16 20 24
>>     formats [0x1]: PCM
>> Default Amp-In caps: N/A
>> Default Amp-Out caps: N/A
>> State of AFG node 0x01:
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>> GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
>>   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>>   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>> Node 0x02 [Audio Output] wcaps 0x411: Stereo
>>   Converter: stream=0, channel=0
>>   PCM:
>>     rates [0x560]: 44100 48000 96000 192000
>>     bits [0xe]: 16 20 24
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>> Node 0x03 [Audio Output] wcaps 0x411: Stereo
>>   Converter: stream=0, channel=0
>>   PCM:
>>     rates [0x560]: 44100 48000 96000 192000
>>     bits [0xe]: 16 20 24
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>> Node 0x04 [Audio Output] wcaps 0x411: Stereo
>>   Converter: stream=0, channel=0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0xe]: 16 20 24
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>> Node 0x05 [Audio Output] wcaps 0x411: Stereo
>>   Converter: stream=0, channel=0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0xe]: 16 20 24
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>> Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
>>   Converter: stream=0, channel=0
>>   Digital:
>>   Digital category: 0x0
>>   IEC Coding Type: 0x0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0x1e]: 16 20 24 32
>>     formats [0x1]: PCM
>> Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>>   Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
>>   Amp-In vals:  [0x00 0x00]
>>   Converter: stream=0, channel=0
>>   SDI-Select: 0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0x6]: 16 20
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>>   Connection: 7
>>      0x18* 0x19 0x1a 0x1b 0x1c 0x14 0x15
>> Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>>   Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
>>   Amp-In vals:  [0x00 0x00]
>>   Converter: stream=0, channel=0
>>   SDI-Select: 0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0x6]: 16 20
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>>   Connection: 7
>>      0x18 0x19 0x1a* 0x1b 0x1c 0x14 0x15
>> Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>>   Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
>>   Amp-In vals:  [0x00 0x00]
>>   Converter: stream=0, channel=0
>>   SDI-Select: 0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0x6]: 16 20
>>     formats [0x1]: PCM
>>   Power states:  D0 D1 D2 D3
>>   Power: setting=D0, actual=D0
>>   Connection: 10
>>      0x18 0x19 0x1a 0x1b 0x1c* 0x0b 0x14 0x15 0x16 0x17
>> Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
>>   Converter: stream=0, channel=0
>>   SDI-Select: 0
>>   Digital:
>>   Digital category: 0x0
>>   IEC Coding Type: 0x0
>>   PCM:
>>     rates [0x160]: 44100 48000 96000
>>     bits [0x1e]: 16 20 24 32
>>     formats [0x1]: PCM
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x1f
>> Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
>>   Control: name="Beep Playback Volume", index=0, device=0
>>     ControlAmp: chs=3, dir=In, idx=5, ofs=0
>>   Control: name="Beep Playback Switch", index=0, device=0
>>     ControlAmp: chs=3, dir=In, idx=5, ofs=0
>>   Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
>>   Amp-In vals:  [0xa3 0xa3] [0xa3 0xa3] [0xa3 0xa3] [0xa3 0xa3] [0xa3
0xa3] [0x80 0x80] [0xa3 0xa3] [0xa3 0xa3]
>>   Connection: 8
>>      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
>> Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-In vals:  [0x00 0x00] [0x80 0x80]
>>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>>   Amp-Out vals:  [0x40 0x40]
>>   Connection: 2
>>      0x02 0x0b
>> Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-In vals:  [0x00 0x00] [0x80 0x80]
>>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>>   Amp-Out vals:  [0x40 0x40]
>>   Connection: 2
>>      0x03 0x0b
>> Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-In vals:  [0x00 0x00] [0x80 0x80]
>>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>>   Amp-Out vals:  [0x40 0x40]
>>   Connection: 2
>>      0x04 0x0b
>> Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-In vals:  [0x00 0x00] [0x80 0x80]
>>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>>   Amp-Out vals:  [0x40 0x40]
>>   Connection: 2
>>      0x05 0x0b
>> Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
>>   Connection: 4
>>      0x0c* 0x0d 0x0e 0x0f
>> Node 0x11 [Audio Selector] wcaps 0x300101: Stereo
>>   Connection: 4
>>      0x0c* 0x0d 0x0e 0x0f
>> Node 0x12 [Audio Selector] wcaps 0x300101: Stereo
>>   Connection: 4
>>      0x0c* 0x0d 0x0e 0x0f
>> Node 0x13 [Audio Selector] wcaps 0x300101: Stereo
>>   Connection: 4
>>      0x0c* 0x0d 0x0e 0x0f
>> Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x0c
>> Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x0d
>> Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x0e
>> Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x0f
>> Node 0x18 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>>     Vref caps: HIZ 50 80
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x21: IN VREF_50
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x10
>> Node 0x19 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>>     Vref caps: HIZ 50 80
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN VREF_HIZ
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x11
>> Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>>     Vref caps: HIZ 50 80
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN VREF_HIZ
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x12
>> Node 0x1b [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>>   Amp-Out vals:  [0x80 0x80]
>>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>>     Vref caps: HIZ 50 80
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x20: IN VREF_HIZ
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 1
>>      0x13
>> Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
>>   Pincap 0x00000020: IN
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x00:
>> Node 0x1d [Pin Complex] wcaps 0x400000: Mono
>>   Pincap 0x00000020: IN
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x00:
>> Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
>>   Control: name="Line Out Phantom Jack", index=0, device=0
>>   Pincap 0x00000010: OUT
>>   Pin Default 0x01000000: [Jack] Line Out at Ext Rear
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x00:
>>   Connection: 1
>>      0x06
>> Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
>>   Pincap 0x00000020: IN
>>   Pin Default 0x00000000: [Jack] Line Out at Ext N/A
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x00:
>> Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
>>   Processing caps: benign=0, ncoeff=10
>> Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
>>   Volume-Knob: delta=0, steps=64, direct=0, val=25
>>   Unsolicited: tag=00, enabled=0
>>   Connection: 0
>> Codec: Motorola Si3054
>> Address: 1
>> MFG Function Id: 0x2 (unsol 1)
>> Vendor Id: 0x10573055
>> Subsystem Id: 0x10573055
>> Revision Id: 0x100700
>> Modem Function Group: 0x1
>> --endcollapse--
>>
>>
>> !!ALSA Device nodes
>> !!-----------------
>>
>> crw-rw----+ 1 root audio 116,  2 Aug  7 12:03 /dev/snd/controlC0
>> crw-rw----+ 1 root audio 116,  5 Aug  7 12:03 /dev/snd/hwC0D0
>> crw-rw----+ 1 root audio 116,  6 Aug  7 12:03 /dev/snd/hwC0D1
>> crw-rw----+ 1 root audio 116,  4 Aug  7 12:03 /dev/snd/pcmC0D6c
>> crw-rw----+ 1 root audio 116,  3 Aug  7 12:03 /dev/snd/pcmC0D6p
>> crw-rw----+ 1 root audio 116,  1 Aug  7 12:03 /dev/snd/seq
>> crw-rw----+ 1 root audio 116, 33 Aug  7 12:03 /dev/snd/timer
>>
>> /dev/snd/by-path:
>> total 0
>> drwxr-xr-x 2 root root  60 Aug  7 12:03 .
>> drwxr-xr-x 3 root root 200 Aug  7 12:03 ..
>> lrwxrwxrwx 1 root root  12 Aug  7 12:03 pci-0000:00:1b.0 -> ../controlC0
>>
>>
>> !!Aplay/Arecord output
>> !!--------------------
>>
>> APLAY
>>
>> **** List of PLAYBACK Hardware Devices ****
>> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>>
>> ARECORD
>>
>> **** List of CAPTURE Hardware Devices ****
>> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>>
>> !!Amixer output
>> !!-------------
>>
>> !!-------Mixer controls for card 0 [Intel]
>>
>> Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 46'
>>   Mixer name    : 'Realtek ALC880'
>>   Components    : 'HDA:10ec0880,08800000,00100800
HDA:10573055,10573055,00100700'
>>   Controls      : 8
>>   Simple ctrls  : 4
>> 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 'Beep',0
>>   Capabilities: pvolume pswitch
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 65
>>   Mono:
>>   Front Left: Playback 0 [0%] [-35.00dB] [off]
>>   Front Right: Playback 0 [0%] [-35.00dB] [off]
>> Simple mixer control 'Caller ID',0
>>   Capabilities: pswitch pswitch-joined
>>   Playback channels: Mono
>>   Mono: Playback [off]
>> Simple mixer control 'Off-hook',0
>>   Capabilities: pswitch pswitch-joined
>>   Playback channels: Mono
>>   Mono: Playback [off]
>>
>>
>> !!Alsactl output
>> !!--------------
>>
>> --startcollapse--
>> state.Intel {
>>     control.1 {
>>         iface CARD
>>         name 'Line Out Phantom Jack'
>>         value true
>>         comment {
>>             access read
>>             type BOOLEAN
>>             count 1
>>         }
>>     }
>>     control.2 {
>>         iface MIXER
>>         name 'Beep Playback Volume'
>>         value.0 0
>>         value.1 0
>>         comment {
>>             access 'read write'
>>             type INTEGER
>>             count 2
>>             range '0 - 65'
>>             dbmin -3500
>>             dbmax 3000
>>             dbvalue.0 -3500
>>             dbvalue.1 -3500
>>         }
>>     }
>>     control.3 {
>>         iface MIXER
>>         name 'Beep Playback Switch'
>>         value.0 false
>>         value.1 false
>>         comment {
>>             access 'read write'
>>             type BOOLEAN
>>             count 2
>>         }
>>     }
>>     control.4 {
>>         iface MIXER
>>         name 'Off-hook Switch'
>>         value false
>>         comment {
>>             access 'read write'
>>             type BOOLEAN
>>             count 1
>>         }
>>     }
>>     control.5 {
>>         iface MIXER
>>         name 'Caller ID Switch'
>>         value false
>>         comment {
>>             access 'read write'
>>             type BOOLEAN
>>             count 1
>>         }
>>     }
>>     control.6 {
>>         iface PCM
>>         device 6
>>         name 'Playback Channel Map'
>>         value 0
>>         comment {
>>             access read
>>             type INTEGER
>>             count 1
>>             range '0 - 36'
>>         }
>>     }
>>     control.7 {
>>         iface PCM
>>         device 6
>>         name 'Capture Channel Map'
>>         value 0
>>         comment {
>>             access read
>>             type INTEGER
>>             count 1
>>             range '0 - 36'
>>         }
>>     }
>>     control.8 {
>>         iface MIXER
>>         name 'PCM Playback Volume'
>>         value.0 255
>>         value.1 255
>>         comment {
>>             access 'read write user'
>>             type INTEGER
>>             count 2
>>             range '0 - 255'
>>             tlv '0000000100000008ffffec1400000014'
>>             dbmin -5100
>>             dbmax 0
>>             dbvalue.0 0
>>             dbvalue.1 0
>>         }
>>     }
>> }
>> --endcollapse--
>>
>>
>>
>>
>> !!Sysfs Files
>> !!-----------
>>
>> /sys/class/sound/hwC0D0/init_pin_configs:
>> 0x14 0x00000000
>> 0x15 0x00000000
>> 0x16 0x00000000
>> 0x17 0x00000000
>> 0x18 0x00000000
>> 0x19 0x00000000
>> 0x1a 0x00000000
>> 0x1b 0x00000000
>> 0x1c 0x00000000
>> 0x1d 0x00000000
>> 0x1e 0x01000000
>> 0x1f 0x00000000
>>
>> /sys/class/sound/hwC0D0/driver_pin_configs:
>>
>> /sys/class/sound/hwC0D0/user_pin_configs:
>>
>> /sys/class/sound/hwC0D0/init_verbs:
>>
>> /sys/class/sound/hwC0D0/hints:
>>
>> /sys/class/sound/hwC0D1/init_pin_configs:
>>
>> /sys/class/sound/hwC0D1/driver_pin_configs:
>>
>> /sys/class/sound/hwC0D1/user_pin_configs:
>>
>> /sys/class/sound/hwC0D1/init_verbs:
>>
>> /sys/class/sound/hwC0D1/hints:
>>
>>
>> !!ALSA/HDA dmesg
>> !!--------------
>>
>> [   29.335966] ipw2200: Detected geography ZZE (13 802.11bg channels, 19
802.11a channels)
>> [   29.378618] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X
>> [   29.673379] sound hdaudioC0D0: autoconfig: line_outs=0
(0x0/0x0/0x0/0x0/0x0) type:line
>> [   29.673387] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
>> [   29.673390] sound hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
>> [   29.673393] sound hdaudioC0D0:    mono: mono_out=0x1e
>> [   29.673396] sound hdaudioC0D0:    inputs:
>> [   30.010420] Bluetooth: RFCOMM TTY layer initialized
>>
>>
>>
>

>
> After figuring out what lines are used for which device, I was able
> to set config. Now it is working.
>

Can you post out the correct pin config for your laptop ?

Do auto mute and auto mic selection work as expected ?

Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
>>   Control: name="Line Out Phantom Jack", index=0, device=0
>>   Pincap 0x00000010: OUT
>>   Pin Default 0x01000000: [Jack] Line Out at Ext Rear
>>     Conn = Unknown, Color = Unknown
>>     DefAssociation = 0x0, Sequence = 0x0
>>   Pin-ctls: 0x00:
>>   Connection: 1
>>      0x06

There is a bug in hda_auto_parser which treat invalid digital out pin as
mono out(line out) and create Line Out Phantom Jack


More information about the Alsa-devel mailing list