[alsa-devel] No sound with Sony VAIO VPCZ1 (ALC889)
Hi,
alsa-driver: 1.0.25.3453.g60df0 (the latest I guess -- I used alsa-compile.sh) Kernel: 3.9.6-1~bpo70+1 (debian 7.1 backport)
Problem: Sound works fine, except that no speaker gets detected. The internal speakers in my Sony VAIO VPCZ1 notebook did get detected in the past though.
If I am not mistaken, this is the problem: [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
alsa-info.sh:
!!################################ !!ALSA Information Script v 0.4.62 !!################################
!!Script ran on: Wed Jul 3 17:38:37 UTC 2013
!!Linux Distribution !!------------------
Debian GNU/Linux 7 \n \l PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"
!!DMI Information !!---------------
Manufacturer: Sony Corporation Product Name: VPCZ1290S Product Version: J0049ZZ5 Firmware Version: R3030C3
!!Kernel Information !!------------------
Kernel release: 3.9-0.bpo.1-amd64 Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes
!!ALSA Version !!------------
Driver version: 1.0.25.3453.g60df0 Library version: 1.0.25 Utilities version: 1.0.25
!!Loaded ALSA modules !!-------------------
snd_hda_intel
!!Sound Servers on this system !!----------------------------
Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes
!!Soundcards recognised by ALSA !!-----------------------------
0 [MID ]: HDA-Intel - HDA Intel MID HDA Intel MID at 0xb6420000 irq 45
!!PCI Soundcards installed in the system !!--------------------------------------
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------
00:1b.0 0403: 8086:3b56 (rev 05) Subsystem: 104d:905a
!!Modprobe options (Sound related) !!--------------------------------
snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_hda_intel: model=no-primary-hp
!!Loaded sound module options !!---------------------------
!!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1 beep_mode : Y,Y,Y,Y,Y,Y,Y,Y enable : Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0 model : no-primary-hp,(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null) position_fix : -1,-1,-1,-1,-1,-1,-1,-1 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0 single_cmd : N snoop : Y
!!HDA-Intel Codec information !!--------------------------- --startcollapse--
Codec: Realtek ALC889 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x10ec0889 Subsystem Id: 0x104d4400 Revision Id: 0x100005 No Modem Function Group found Default PCM: rates [0x5f0]: 32000 44100 48000 88200 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 CLKSTOP EPSS Power: setting=D0, actual=D0 GPIO: io=2, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x11: Stereo Device: name="ALC889 Analog", type="Audio", device=0 Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x03 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x04 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x05 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Device: name="ALC889 Analog", type="Audio", device=0 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x28 0x28] Converter: stream=4, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x24 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x22 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 [0x570]: 32000 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Unsolicited: tag=00, enabled=0 Connection: 1 0x1f Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Mic Playback Switch", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 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=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x8f 0x8f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 10 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x02 0x0b Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Surround Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x03 0x0b Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Center Playback Volume", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Volume", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x04 0x0b Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40] Connection: 2 0x05 0x0b Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x10 Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Control: name="Internal Mic Phantom Jack", index=0, device=0 Pincap 0x00000020: IN Pin Default 0x90a60120: [Fixed] Mic at Int N/A Conn = Digital, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD 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: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0421101f: [Jack] HP Out at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 5 0x0c* 0x0d 0x0e 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e* 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Surround Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a1102e: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Center Playback Switch", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Switch", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=1, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a11030: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=03, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1c [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00000024: IN Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x1d [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x06 Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=28 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x24 [Audio Selector] wcaps 0x300101: Stereo Connection: 12 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12* Node 0x25 [Audio Output] wcaps 0x11: Stereo Converter: stream=0, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x26 [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=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x25 0x0b --endcollapse--
!!ALSA Device nodes !!-----------------
crw-rw---T+ 1 root audio 116, 0 Jul 3 19:35 /dev/snd/controlC0 crw-rw---T+ 1 root audio 116, 4 Jul 3 19:35 /dev/snd/hwC0D0 crw-rw---T+ 1 root audio 116, 24 Jul 3 19:36 /dev/snd/pcmC0D0c crw-rw---T+ 1 root audio 116, 16 Jul 3 19:36 /dev/snd/pcmC0D0p crw-rw---T+ 1 root audio 116, 1 Jul 3 19:35 /dev/snd/seq crw-rw---T+ 1 root audio 116, 33 Jul 3 19:35 /dev/snd/timer
/dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Jul 3 19:35 . drwxr-xr-x 3 root root 180 Jul 3 19:35 .. lrwxrwxrwx 1 root root 12 Jul 3 19:35 pci-0000:00:1b.0 -> ../controlC0
!!ALSA configuration files !!------------------------
!!System wide config file (/etc/asound.conf)
pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }
!!Aplay/Arecord output !!--------------------
APLAY
**** List of PLAYBACK Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [MID]
Card hw:0 'MID'/'HDA Intel MID at 0xb6420000 irq 45' Mixer name : 'Realtek ALC889' Components : 'HDA:10ec0889,104d4400,00100005' Controls : 34 Simple ctrls : 18 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [2.00dB] [on] Front Right: Playback 64 [100%] [2.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum 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 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Mono Limits: Playback 0 - 31 Mono: Capture [off] Front Left: Playback 15 [48%] [-12.00dB] [off] Front Right: Playback 15 [48%] [-12.00dB] [off] Simple mixer control 'Mic 1',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [off] Simple mixer control 'Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Mic',1 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',1 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 40 [87%] [24.00dB] [on] Front Right: Capture 40 [87%] [24.00dB] [on] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Enabled' Simple mixer control 'Channel Mode',0 Capabilities: enum Items: '2ch' '4ch' '6ch' Item0: '2ch' Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 0 [0%] [-30.00dB] Front Right: Capture 0 [0%] [-30.00dB] Simple mixer control 'Internal Mic',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [on]
!!Alsactl output !!--------------
--startcollapse-- state.MID { control.1 { iface MIXER name 'Channel Mode' value '2ch' comment { access 'read write' type ENUMERATED count 1 item.0 '2ch' item.1 '4ch' item.2 '6ch' } } control.2 { iface MIXER name 'Headphone Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.3 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.4 { iface MIXER name 'Surround Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.5 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.6 { iface MIXER name 'Center Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.7 { iface MIXER name 'LFE Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.8 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.9 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.10 { iface MIXER name 'Speaker Playback Volume' value.0 64 value.1 64 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 200 dbvalue.1 200 } } control.11 { iface MIXER name 'Speaker Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.12 { iface MIXER name 'Mic Playback Volume' value.0 15 value.1 15 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -1200 dbvalue.1 -1200 } } control.13 { iface MIXER name 'Mic Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'Mic Playback Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.15 { iface MIXER name 'Mic Playback Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Auto-Mute Mode' value Enabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.17 { iface MIXER name 'Capture Source' value 'Internal Mic' comment { access 'read write' type ENUMERATED count 1 item.0 Mic item.1 'Mic 1' item.2 'Internal Mic' } } control.18 { iface MIXER name 'Capture Volume' value.0 40 value.1 40 comment { access 'read write' type INTEGER count 2 range '0 - 46' dbmin -1600 dbmax 3000 dbvalue.0 2400 dbvalue.1 2400 } } control.19 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Mic Boost Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.21 { iface MIXER name 'Mic Boost Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.22 { iface MIXER name 'Master Playback Volume' value 64 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6400 dbmax 0 dbvalue.0 0 } } control.23 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.24 { iface CARD name 'Mic Jack' value false comment { access read type BOOLEAN count 1 } } control.25 { iface CARD name 'Mic Jack' index 1 value false comment { access read type BOOLEAN count 1 } } control.26 { iface CARD name 'Internal Mic Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.27 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } } control.28 { iface CARD name 'Speaker Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.29 { iface MIXER name 'Beep Playback Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.30 { iface MIXER name 'Beep Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.31 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.32 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.33 { 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 } } control.34 { iface MIXER name 'Digital Capture Volume' value.0 0 value.1 0 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 -3000 dbvalue.1 -3000 } } } --endcollapse--
!!All Loaded Modules !!------------------
Module parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device kvm snd_timer crc32c_intel ghash_clmulni_intel snd iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod
!!Sysfs Files !!-----------
/sys/class/sound/hwC0D0/init_pin_configs: 0x11 0x411111f0 0x12 0x90a60120 0x14 0x90170110 0x15 0x0421101f 0x16 0x411111f0 0x17 0x411111f0 0x18 0x04a1102e 0x19 0x04a11030 0x1a 0x411111f0 0x1b 0x411111f0 0x1c 0x411111f0 0x1d 0x411111f0 0x1e 0x411111f0 0x1f 0x411111f0
/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:
!!ALSA/HDA dmesg !!--------------
[ 5.121872] pipe_off wait timed out [ 5.121921] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O+) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915(+) aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 5.121941] Pid: 635, comm: modprobe Tainted: G O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1 -- [ 5.835404] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 5.835752] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 5.864320] hda_codec: ALC889: SKU not ready 0x411111f0 [ 5.864675] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 5.864686] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 5.864689] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 5.864693] ALSA hda_auto_parser.c:406 inputs: [ 5.864697] ALSA hda_auto_parser.c:410 Mic=0x18 [ 5.864701] ALSA hda_auto_parser.c:410 Mic=0x19 [ 5.864704] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 5.864709] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 5.864713] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 5.868644] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9 [ 5.874177] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 5.874232] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 5.874284] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 [ 6.760494] btrfs: use ssd allocation scheme -- [ 26.166424] pipe_off wait timed out [ 26.166426] Modules linked in: parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 26.166527] Pid: 4157, comm: Xorg Tainted: G W O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1
Hi,
I guess, no one had time yet, to look at the below issue I posted.
To be more clear: The speakers do not get detected [anymore]. So the sound in mplayer plays fine, but you hear nothing ;) And on the line-out (with headphones) the sound is audible and works fine.
And also of course: What could I provide to assist with this ?
Thanks a lot,
Tormen.
---
On 03/07/13 19:51, Tormen wrote:
Hi,
alsa-driver: 1.0.25.3453.g60df0 (the latest I guess -- I used alsa-compile.sh) Kernel: 3.9.6-1~bpo70+1 (debian 7.1 backport)
Problem: Sound works fine, except that no speaker gets detected. The internal speakers in my Sony VAIO VPCZ1 notebook did get detected in the past though.
If I am not mistaken, this is the problem: [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
alsa-info.sh:
!!################################ !!ALSA Information Script v 0.4.62 !!################################
!!Script ran on: Wed Jul 3 17:38:37 UTC 2013
!!Linux Distribution !!------------------
Debian GNU/Linux 7 \n \l PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"
!!DMI Information !!---------------
Manufacturer: Sony Corporation Product Name: VPCZ1290S Product Version: J0049ZZ5 Firmware Version: R3030C3
!!Kernel Information !!------------------
Kernel release: 3.9-0.bpo.1-amd64 Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes
!!ALSA Version !!------------
Driver version: 1.0.25.3453.g60df0 Library version: 1.0.25 Utilities version: 1.0.25
!!Loaded ALSA modules !!-------------------
snd_hda_intel
!!Sound Servers on this system !!----------------------------
Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes
!!Soundcards recognised by ALSA !!-----------------------------
0 [MID ]: HDA-Intel - HDA Intel MID HDA Intel MID at 0xb6420000 irq 45
!!PCI Soundcards installed in the system !!--------------------------------------
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------
00:1b.0 0403: 8086:3b56 (rev 05) Subsystem: 104d:905a
!!Modprobe options (Sound related) !!--------------------------------
snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_hda_intel: model=no-primary-hp
!!Loaded sound module options !!---------------------------
!!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1 beep_mode : Y,Y,Y,Y,Y,Y,Y,Y enable : Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0 model : no-primary-hp,(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null) position_fix : -1,-1,-1,-1,-1,-1,-1,-1 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0 single_cmd : N snoop : Y
!!HDA-Intel Codec information !!--------------------------- --startcollapse--
Codec: Realtek ALC889 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x10ec0889 Subsystem Id: 0x104d4400 Revision Id: 0x100005 No Modem Function Group found Default PCM: rates [0x5f0]: 32000 44100 48000 88200 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 CLKSTOP EPSS Power: setting=D0, actual=D0 GPIO: io=2, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x11: Stereo Device: name="ALC889 Analog", type="Audio", device=0 Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x03 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x04 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x05 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Device: name="ALC889 Analog", type="Audio", device=0 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x28 0x28] Converter: stream=4, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x24 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x22 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 [0x570]: 32000 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Unsolicited: tag=00, enabled=0 Connection: 1 0x1f Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Mic Playback Switch", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 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=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x8f 0x8f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 10 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x02 0x0b Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Surround Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x03 0x0b Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Center Playback Volume", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Volume", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x04 0x0b Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40] Connection: 2 0x05 0x0b Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x10 Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Control: name="Internal Mic Phantom Jack", index=0, device=0 Pincap 0x00000020: IN Pin Default 0x90a60120: [Fixed] Mic at Int N/A Conn = Digital, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD 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: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0421101f: [Jack] HP Out at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 5 0x0c* 0x0d 0x0e 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e* 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Surround Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a1102e: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Center Playback Switch", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Switch", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=1, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a11030: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=03, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1c [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00000024: IN Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x1d [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x06 Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=28 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x24 [Audio Selector] wcaps 0x300101: Stereo Connection: 12 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12* Node 0x25 [Audio Output] wcaps 0x11: Stereo Converter: stream=0, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x26 [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=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x25 0x0b --endcollapse--
!!ALSA Device nodes !!-----------------
crw-rw---T+ 1 root audio 116, 0 Jul 3 19:35 /dev/snd/controlC0 crw-rw---T+ 1 root audio 116, 4 Jul 3 19:35 /dev/snd/hwC0D0 crw-rw---T+ 1 root audio 116, 24 Jul 3 19:36 /dev/snd/pcmC0D0c crw-rw---T+ 1 root audio 116, 16 Jul 3 19:36 /dev/snd/pcmC0D0p crw-rw---T+ 1 root audio 116, 1 Jul 3 19:35 /dev/snd/seq crw-rw---T+ 1 root audio 116, 33 Jul 3 19:35 /dev/snd/timer
/dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Jul 3 19:35 . drwxr-xr-x 3 root root 180 Jul 3 19:35 .. lrwxrwxrwx 1 root root 12 Jul 3 19:35 pci-0000:00:1b.0 -> ../controlC0
!!ALSA configuration files !!------------------------
!!System wide config file (/etc/asound.conf)
pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }
!!Aplay/Arecord output !!--------------------
APLAY
**** List of PLAYBACK Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [MID]
Card hw:0 'MID'/'HDA Intel MID at 0xb6420000 irq 45' Mixer name : 'Realtek ALC889' Components : 'HDA:10ec0889,104d4400,00100005' Controls : 34 Simple ctrls : 18 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [2.00dB] [on] Front Right: Playback 64 [100%] [2.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum 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 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Mono Limits: Playback 0 - 31 Mono: Capture [off] Front Left: Playback 15 [48%] [-12.00dB] [off] Front Right: Playback 15 [48%] [-12.00dB] [off] Simple mixer control 'Mic 1',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [off] Simple mixer control 'Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Mic',1 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',1 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 40 [87%] [24.00dB] [on] Front Right: Capture 40 [87%] [24.00dB] [on] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Enabled' Simple mixer control 'Channel Mode',0 Capabilities: enum Items: '2ch' '4ch' '6ch' Item0: '2ch' Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 0 [0%] [-30.00dB] Front Right: Capture 0 [0%] [-30.00dB] Simple mixer control 'Internal Mic',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [on]
!!Alsactl output !!--------------
--startcollapse-- state.MID { control.1 { iface MIXER name 'Channel Mode' value '2ch' comment { access 'read write' type ENUMERATED count 1 item.0 '2ch' item.1 '4ch' item.2 '6ch' } } control.2 { iface MIXER name 'Headphone Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.3 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.4 { iface MIXER name 'Surround Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.5 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.6 { iface MIXER name 'Center Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.7 { iface MIXER name 'LFE Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.8 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.9 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.10 { iface MIXER name 'Speaker Playback Volume' value.0 64 value.1 64 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 200 dbvalue.1 200 } } control.11 { iface MIXER name 'Speaker Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.12 { iface MIXER name 'Mic Playback Volume' value.0 15 value.1 15 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -1200 dbvalue.1 -1200 } } control.13 { iface MIXER name 'Mic Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'Mic Playback Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.15 { iface MIXER name 'Mic Playback Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Auto-Mute Mode' value Enabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.17 { iface MIXER name 'Capture Source' value 'Internal Mic' comment { access 'read write' type ENUMERATED count 1 item.0 Mic item.1 'Mic 1' item.2 'Internal Mic' } } control.18 { iface MIXER name 'Capture Volume' value.0 40 value.1 40 comment { access 'read write' type INTEGER count 2 range '0 - 46' dbmin -1600 dbmax 3000 dbvalue.0 2400 dbvalue.1 2400 } } control.19 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Mic Boost Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.21 { iface MIXER name 'Mic Boost Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.22 { iface MIXER name 'Master Playback Volume' value 64 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6400 dbmax 0 dbvalue.0 0 } } control.23 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.24 { iface CARD name 'Mic Jack' value false comment { access read type BOOLEAN count 1 } } control.25 { iface CARD name 'Mic Jack' index 1 value false comment { access read type BOOLEAN count 1 } } control.26 { iface CARD name 'Internal Mic Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.27 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } } control.28 { iface CARD name 'Speaker Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.29 { iface MIXER name 'Beep Playback Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.30 { iface MIXER name 'Beep Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.31 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.32 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.33 { 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 } } control.34 { iface MIXER name 'Digital Capture Volume' value.0 0 value.1 0 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 -3000 dbvalue.1 -3000 } } } --endcollapse--
!!All Loaded Modules !!------------------
Module parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device kvm snd_timer crc32c_intel ghash_clmulni_intel snd iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod
!!Sysfs Files !!-----------
/sys/class/sound/hwC0D0/init_pin_configs: 0x11 0x411111f0 0x12 0x90a60120 0x14 0x90170110 0x15 0x0421101f 0x16 0x411111f0 0x17 0x411111f0 0x18 0x04a1102e 0x19 0x04a11030 0x1a 0x411111f0 0x1b 0x411111f0 0x1c 0x411111f0 0x1d 0x411111f0 0x1e 0x411111f0 0x1f 0x411111f0
/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:
!!ALSA/HDA dmesg !!--------------
[ 5.121872] pipe_off wait timed out [ 5.121921] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O+) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915(+) aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 5.121941] Pid: 635, comm: modprobe Tainted: G O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1 -- [ 5.835404] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 5.835752] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 5.864320] hda_codec: ALC889: SKU not ready 0x411111f0 [ 5.864675] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 5.864686] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 5.864689] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 5.864693] ALSA hda_auto_parser.c:406 inputs: [ 5.864697] ALSA hda_auto_parser.c:410 Mic=0x18 [ 5.864701] ALSA hda_auto_parser.c:410 Mic=0x19 [ 5.864704] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 5.864709] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 5.864713] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 5.868644] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9 [ 5.874177] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 5.874232] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 5.874284] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 [ 6.760494] btrfs: use ssd allocation scheme -- [ 26.166424] pipe_off wait timed out [ 26.166426] Modules linked in: parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 26.166527] Pid: 4157, comm: Xorg Tainted: G W O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Thu, 04 Jul 2013 18:05:52 +0200, Tormen wrote:
Hi,
I guess, no one had time yet, to look at the below issue I posted.
To be more clear: The speakers do not get detected [anymore]. So the sound in mplayer plays fine, but you hear nothing ;) And on the line-out (with headphones) the sound is audible and works fine.
And also of course: What could I provide to assist with this ?
Please give alsa-info.sh in attachment. Or, fix your MUA not to fold lines and break spaces. Due to these problems, the alsa-info content can't be parsed properly by the emulator for further analysis.
Also, if the machine worked in earlier kernels, give alsa-info.sh output on the working kernel, too.
thanks,
Takashi
Dear Takashi, As you were involved in both threads below, I dared to cc you on this. I hope you don't mind. Tormen.
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
I also had found this thread (before posting): http://mailman.alsa-project.org/pipermail/alsa-devel/2013-February/059462.ht...
Which seems to be related ("caused Vaio Z laptops to become silent"). And I tried passing "model=no-primary-hp" to snd-hda-intel.ko (see my alsa-info.sh) .... but without effect
Thanks a lot for any hint on this. I would be very glad to assist in getting this fixed for good :)
Tormen
--
On 04/07/13 18:05, Tormen wrote:
Hi,
I guess, no one had time yet, to look at the below issue I posted.
To be more clear: The speakers do not get detected [anymore]. So the sound in mplayer plays fine, but you hear nothing ;) And on the line-out (with headphones) the sound is audible and works fine.
And also of course: What could I provide to assist with this ?
Thanks a lot,
Tormen.
On 03/07/13 19:51, Tormen wrote:
Hi,
alsa-driver: 1.0.25.3453.g60df0 (the latest I guess -- I used alsa-compile.sh) Kernel: 3.9.6-1~bpo70+1 (debian 7.1 backport)
Problem: Sound works fine, except that no speaker gets detected. The internal speakers in my Sony VAIO VPCZ1 notebook did get detected in the past though.
If I am not mistaken, this is the problem: [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
alsa-info.sh:
!!################################ !!ALSA Information Script v 0.4.62 !!################################
!!Script ran on: Wed Jul 3 17:38:37 UTC 2013
!!Linux Distribution !!------------------
Debian GNU/Linux 7 \n \l PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/"
!!DMI Information !!---------------
Manufacturer: Sony Corporation Product Name: VPCZ1290S Product Version: J0049ZZ5 Firmware Version: R3030C3
!!Kernel Information !!------------------
Kernel release: 3.9-0.bpo.1-amd64 Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes
!!ALSA Version !!------------
Driver version: 1.0.25.3453.g60df0 Library version: 1.0.25 Utilities version: 1.0.25
!!Loaded ALSA modules !!-------------------
snd_hda_intel
!!Sound Servers on this system !!----------------------------
Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes
!!Soundcards recognised by ALSA !!-----------------------------
0 [MID ]: HDA-Intel - HDA Intel MID HDA Intel MID at 0xb6420000 irq 45
!!PCI Soundcards installed in the system !!--------------------------------------
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------
00:1b.0 0403: 8086:3b56 (rev 05) Subsystem: 104d:905a
!!Modprobe options (Sound related) !!--------------------------------
snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_hda_intel: model=no-primary-hp
!!Loaded sound module options !!---------------------------
!!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1 beep_mode : Y,Y,Y,Y,Y,Y,Y,Y enable : Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0 model : no-primary-hp,(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null) position_fix : -1,-1,-1,-1,-1,-1,-1,-1 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0 single_cmd : N snoop : Y
!!HDA-Intel Codec information !!--------------------------- --startcollapse--
Codec: Realtek ALC889 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x10ec0889 Subsystem Id: 0x104d4400 Revision Id: 0x100005 No Modem Function Group found Default PCM: rates [0x5f0]: 32000 44100 48000 88200 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 CLKSTOP EPSS Power: setting=D0, actual=D0 GPIO: io=2, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x11: Stereo Device: name="ALC889 Analog", type="Audio", device=0 Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x03 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x04 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x05 [Audio Output] wcaps 0x11: Stereo Converter: stream=8, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Device: name="ALC889 Analog", type="Audio", device=0 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x28 0x28] Converter: stream=4, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x24 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1 Amp-In vals: [0x90 0x90] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Connection: 1 0x22 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 [0x570]: 32000 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Unsolicited: tag=00, enabled=0 Connection: 1 0x1f Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Playback Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Mic Playback Switch", index=1, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 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=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x8f 0x8f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 10 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x02 0x0b Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Surround Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x03 0x0b Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Center Playback Volume", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Volume", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x04 0x0b Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x40 0x40] Connection: 2 0x05 0x0b Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5f0]: 32000 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x10 Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Control: name="Internal Mic Phantom Jack", index=0, device=0 Pincap 0x00000020: IN Pin Default 0x90a60120: [Fixed] Mic at Int N/A Conn = Digital, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD 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: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0421101f: [Jack] HP Out at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 5 0x0c* 0x0d 0x0e 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e* 0x0f 0x26 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 0x00000034: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f* 0x26 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Surround Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a1102e: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Center Playback Switch", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="LFE Playback Switch", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Control: name="Mic Boost Volume", index=1, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Mic Jack", index=1, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x04a11030: [Jack] Mic at Ext Right Conn = 1/8, Color = Black DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=03, enabled=1 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x1c [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00000024: IN Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x1d [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x06 Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=28 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 11 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b Node 0x24 [Audio Selector] wcaps 0x300101: Stereo Connection: 12 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12* Node 0x25 [Audio Output] wcaps 0x11: Stereo Converter: stream=0, channel=0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Node 0x26 [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=0x3e, nsteps=0x40, stepsize=0x03, mute=0 Amp-Out vals: [0x3e 0x3e] Connection: 2 0x25 0x0b --endcollapse--
!!ALSA Device nodes !!-----------------
crw-rw---T+ 1 root audio 116, 0 Jul 3 19:35 /dev/snd/controlC0 crw-rw---T+ 1 root audio 116, 4 Jul 3 19:35 /dev/snd/hwC0D0 crw-rw---T+ 1 root audio 116, 24 Jul 3 19:36 /dev/snd/pcmC0D0c crw-rw---T+ 1 root audio 116, 16 Jul 3 19:36 /dev/snd/pcmC0D0p crw-rw---T+ 1 root audio 116, 1 Jul 3 19:35 /dev/snd/seq crw-rw---T+ 1 root audio 116, 33 Jul 3 19:35 /dev/snd/timer
/dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Jul 3 19:35 . drwxr-xr-x 3 root root 180 Jul 3 19:35 .. lrwxrwxrwx 1 root root 12 Jul 3 19:35 pci-0000:00:1b.0 -> ../controlC0
!!ALSA configuration files !!------------------------
!!System wide config file (/etc/asound.conf)
pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }
!!Aplay/Arecord output !!--------------------
APLAY
**** List of PLAYBACK Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [MID]
Card hw:0 'MID'/'HDA Intel MID at 0xb6420000 irq 45' Mixer name : 'Realtek ALC889' Components : 'HDA:10ec0889,104d4400,00100005' Controls : 34 Simple ctrls : 18 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [2.00dB] [on] Front Right: Playback 64 [100%] [2.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum 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 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 62 [97%] [0.00dB] [on] Front Right: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 62 [97%] [0.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Mono Limits: Playback 0 - 31 Mono: Capture [off] Front Left: Playback 15 [48%] [-12.00dB] [off] Front Right: Playback 15 [48%] [-12.00dB] [off] Simple mixer control 'Mic 1',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [off] Simple mixer control 'Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Mic',1 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',1 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 40 [87%] [24.00dB] [on] Front Right: Capture 40 [87%] [24.00dB] [on] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Enabled' Simple mixer control 'Channel Mode',0 Capabilities: enum Items: '2ch' '4ch' '6ch' Item0: '2ch' Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 0 [0%] [-30.00dB] Front Right: Capture 0 [0%] [-30.00dB] Simple mixer control 'Internal Mic',0 Capabilities: cswitch cswitch-joined cswitch-exclusive penum Capture exclusive group: 0 Capture channels: Mono Mono: Capture [on]
!!Alsactl output !!--------------
--startcollapse-- state.MID { control.1 { iface MIXER name 'Channel Mode' value '2ch' comment { access 'read write' type ENUMERATED count 1 item.0 '2ch' item.1 '4ch' item.2 '6ch' } } control.2 { iface MIXER name 'Headphone Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.3 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.4 { iface MIXER name 'Surround Playback Volume' value.0 62 value.1 62 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 dbvalue.1 0 } } control.5 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.6 { iface MIXER name 'Center Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.7 { iface MIXER name 'LFE Playback Volume' value 62 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 0 } } control.8 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.9 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.10 { iface MIXER name 'Speaker Playback Volume' value.0 64 value.1 64 comment { access 'read write' type INTEGER count 2 range '0 - 64' dbmin -6200 dbmax 200 dbvalue.0 200 dbvalue.1 200 } } control.11 { iface MIXER name 'Speaker Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.12 { iface MIXER name 'Mic Playback Volume' value.0 15 value.1 15 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -1200 dbvalue.1 -1200 } } control.13 { iface MIXER name 'Mic Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'Mic Playback Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.15 { iface MIXER name 'Mic Playback Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Auto-Mute Mode' value Enabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.17 { iface MIXER name 'Capture Source' value 'Internal Mic' comment { access 'read write' type ENUMERATED count 1 item.0 Mic item.1 'Mic 1' item.2 'Internal Mic' } } control.18 { iface MIXER name 'Capture Volume' value.0 40 value.1 40 comment { access 'read write' type INTEGER count 2 range '0 - 46' dbmin -1600 dbmax 3000 dbvalue.0 2400 dbvalue.1 2400 } } control.19 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Mic Boost Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.21 { iface MIXER name 'Mic Boost Volume' index 1 value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } control.22 { iface MIXER name 'Master Playback Volume' value 64 comment { access 'read write' type INTEGER count 1 range '0 - 64' dbmin -6400 dbmax 0 dbvalue.0 0 } } control.23 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.24 { iface CARD name 'Mic Jack' value false comment { access read type BOOLEAN count 1 } } control.25 { iface CARD name 'Mic Jack' index 1 value false comment { access read type BOOLEAN count 1 } } control.26 { iface CARD name 'Internal Mic Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.27 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } } control.28 { iface CARD name 'Speaker Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.29 { iface MIXER name 'Beep Playback Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 -3450 dbvalue.1 -3450 } } control.30 { iface MIXER name 'Beep Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.31 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.32 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.33 { 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 } } control.34 { iface MIXER name 'Digital Capture Volume' value.0 0 value.1 0 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 -3000 dbvalue.1 -3000 } } } --endcollapse--
!!All Loaded Modules !!------------------
Module parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device kvm snd_timer crc32c_intel ghash_clmulni_intel snd iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod
!!Sysfs Files !!-----------
/sys/class/sound/hwC0D0/init_pin_configs: 0x11 0x411111f0 0x12 0x90a60120 0x14 0x90170110 0x15 0x0421101f 0x16 0x411111f0 0x17 0x411111f0 0x18 0x04a1102e 0x19 0x04a11030 0x1a 0x411111f0 0x1b 0x411111f0 0x1c 0x411111f0 0x1d 0x411111f0 0x1e 0x411111f0 0x1f 0x411111f0
/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:
!!ALSA/HDA dmesg !!--------------
[ 5.121872] pipe_off wait timed out [ 5.121921] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O+) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915(+) aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 5.121941] Pid: 635, comm: modprobe Tainted: G O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1 -- [ 5.835404] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 5.835752] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 5.864320] hda_codec: ALC889: SKU not ready 0x411111f0 [ 5.864675] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 5.864681] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 5.864686] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 5.864689] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 5.864693] ALSA hda_auto_parser.c:406 inputs: [ 5.864697] ALSA hda_auto_parser.c:410 Mic=0x18 [ 5.864701] ALSA hda_auto_parser.c:410 Mic=0x19 [ 5.864704] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 5.864709] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 5.864713] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 5.868644] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9 [ 5.874177] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 5.874232] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 5.874284] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 [ 6.760494] btrfs: use ssd allocation scheme -- [ 26.166424] pipe_off wait timed out [ 26.166426] Modules linked in: parport_pc ppdev lp parport binfmt_misc fuse ext2 mbcache dm_crypt loop snd_hda_codec_realtek(O) uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media joydev snd_hda_intel(O) snd_hda_codec(O) snd_hwdep(O) snd_pcm_oss(O) snd_mixer_oss(O) snd_pcm(O) snd_page_alloc(O) snd_seq_dummy(O) snd_seq_oss(O) snd_seq_midi(O) snd_seq_midi_event(O) snd_rawmidi(O) snd_seq(O) arc4 coretemp iwldvm kvm_intel mac80211 snd_seq_device(O) kvm snd_timer(O) crc32c_intel ghash_clmulni_intel snd(O) iTCO_wdt iTCO_vendor_support aesni_intel iwlwifi i915 aes_x86_64 ablk_helper mxm_wmi cryptd xts cfg80211 sg lrw gf128mul sr_mod cdrom psmouse drm_kms_helper serio_raw sony_laptop evdev drm rfkill pcspkr video wmi i2c_i801 i2c_algo_bit battery button i2c_core ehci_pci ehci_hcd e1000e intel_ips soundcore acpi_cpufreq mperf ac lpc_ich usbcore mfd_core mei sdhci_pci sdhci ptp mmc_core pps_core usb_common processor btrfs crc32c libcrc32c xor zlib_deflate raid6_pq dm_mod raid0 md_mod sd_mod crc_t10dif ahci libahci microcode thermal thermal_sys libata scsi_mod [ 26.166527] Pid: 4157, comm: Xorg Tainted: G W O 3.9-0.bpo.1-amd64 #1 Debian 3.9.6-1~bpo70+1
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On 2013-07-04 15:53, Tormen wrote:
Dear Takashi, As you were involved in both threads below, I dared to cc you on this. I hope you don't mind. Tormen.
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
Just to confirm, I am seeing the same as Tormen indeed. I still have the laptop as my backup, and the sound did start working again for a while, and now (3.9.6) it's broken again (think it's been broken at least throughout 3.9).
At Thu, 04 Jul 2013 17:29:31 -0700, Adam Williamson wrote:
On 2013-07-04 15:53, Tormen wrote:
Dear Takashi, As you were involved in both threads below, I dared to cc you on this. I hope you don't mind. Tormen.
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
Just to confirm, I am seeing the same as Tormen indeed. I still have the laptop as my backup, and the sound did start working again for a while, and now (3.9.6) it's broken again (think it's been broken at least throughout 3.9).
OK, then please give alsa-info.sh outputs on both working and non-working cases.
Takashi
At Fri, 05 Jul 2013 00:53:48 +0200, Tormen wrote:
Dear Takashi, As you were involved in both threads below, I dared to cc you on this. I hope you don't mind. Tormen.
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
So, the speaker worked on *your* machine with 3.7 kernel? Then I need alsa-info.sh output in the working state.
I also had found this thread (before posting): http://mailman.alsa-project.org/pipermail/alsa-devel/2013-February/059462.ht...
Which seems to be related ("caused Vaio Z laptops to become silent"). And I tried passing "model=no-primary-hp" to snd-hda-intel.ko (see my alsa-info.sh) .... but without effect
Thanks a lot for any hint on this. I would be very glad to assist in getting this fixed for good :)
Didn't you read my previous reply...? Give alsa-info.sh outputs (don't paste, use attachments). At best, give the outputs from both working and non-working kernels. Without these, I cannot debug further.
thanks,
Takashi
Hi,
Thanks for your answer! :))
On 05/07/13 07:29, Takashi Iwai wrote:
At Fri, 05 Jul 2013 00:53:48 +0200, Tormen wrote:
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
So, the speaker worked on *your* machine with 3.7 kernel?
Yes.
Then I need alsa-info.sh output in the working state.
*WORKING* sound (speakers play sound and everything else (from what I've seen so far) seems as it should) uname -a: Linux seven 3.7-trunk-amd64 #1 SMP Debian 3.7.8-1~experimental.1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=3012ed619f55c49b279c24b74a8192f7a3ccd3e3
This was without pulseaudio, without /etc/asound.conf and without any kernel module parameters to snd and snd-intel-hda. I had also tried 3.9.6 under this conditions, but same problem.
I guess you need more debug? Unfortunately alsa-compile complained that the linux-source-3.7 package vanished in the meantime from experimental. But I guess I can figure that out if you need more debug output (as in the debian 3.7 kernel image I am using CONFIG_SND_DEBUG is not set).
Didn't you read my previous reply...?
Sorry, I had missed it.
Give alsa-info.sh outputs (don't paste, use attachments). At best, give the outputs from both working and non-working kernels. Without these, I cannot debug further. thanks, Takashi
*NON-working* sound (speakers don't play any sound, headphone out works fine) uname -a: Linux seven 3.9-0.bpo.1-amd64 #1 SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=af6f9823cfa865872e84f9d4da569b2a72b071b0
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
Hope that helps, please let me know.
Tormen.
At Fri, 05 Jul 2013 14:00:45 +0200, Tormen wrote:
Hi,
Thanks for your answer! :))
On 05/07/13 07:29, Takashi Iwai wrote:
At Fri, 05 Jul 2013 00:53:48 +0200, Tormen wrote:
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
So, the speaker worked on *your* machine with 3.7 kernel?
Yes.
Then I need alsa-info.sh output in the working state.
*WORKING* sound (speakers play sound and everything else (from what I've seen so far) seems as it should) uname -a: Linux seven 3.7-trunk-amd64 #1 SMP Debian 3.7.8-1~experimental.1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=3012ed619f55c49b279c24b74a8192f7a3ccd3e3
This was without pulseaudio, without /etc/asound.conf and without any kernel module parameters to snd and snd-intel-hda. I had also tried 3.9.6 under this conditions, but same problem.
I guess you need more debug? Unfortunately alsa-compile complained that the linux-source-3.7 package vanished in the meantime from experimental. But I guess I can figure that out if you need more debug output (as in the debian 3.7 kernel image I am using CONFIG_SND_DEBUG is not set).
Didn't you read my previous reply...?
Sorry, I had missed it.
Give alsa-info.sh outputs (don't paste, use attachments). At best, give the outputs from both working and non-working kernels. Without these, I cannot debug further. thanks, Takashi
*NON-working* sound (speakers don't play any sound, headphone out works fine) uname -a: Linux seven 3.9-0.bpo.1-amd64 #1 SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=af6f9823cfa865872e84f9d4da569b2a72b071b0
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
You have three items in "Capture Source", Internal Mic, Mic and Mic 1. Which inputs are working actually? If one of the last two is bogus, we can disable it, then we can the unused pin. For example, a patch to disable the pin 0x19 would be like below.
Takashi
--- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 14ac9b0..cb749b5 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1713,6 +1713,7 @@ enum { ALC889_FIXUP_IMAC91_VREF, ALC882_FIXUP_INV_DMIC, ALC882_FIXUP_NO_PRIMARY_HP, + ALC882_FIXUP_VAIO_Z, };
static void alc889_fixup_coef(struct hda_codec *codec, @@ -2034,6 +2035,15 @@ static const struct hda_fixup alc882_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = alc882_fixup_no_primary_hp, }, + [ALC882_FIXUP_VAIO_Z] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x411111f0 }, /* disable pin 0x19 */ + { } + }, + .chained = true, + .chain_id = ALC882_FIXUP_NO_PRIMARY_HP, + }, };
static const struct snd_pci_quirk alc882_fixup_tbl[] = { @@ -2068,7 +2078,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1971, "Asus W2JC", ALC882_FIXUP_ASUS_W2JC), SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_FIXUP_EEE1601), SND_PCI_QUIRK(0x104d, 0x9047, "Sony Vaio TT", ALC889_FIXUP_VAIO_TT), - SND_PCI_QUIRK(0x104d, 0x905a, "Sony Vaio Z", ALC882_FIXUP_NO_PRIMARY_HP), + SND_PCI_QUIRK(0x104d, 0x905a, "Sony Vaio Z", ALC882_FIXUP_VAIO_Z), SND_PCI_QUIRK(0x104d, 0x9043, "Sony Vaio VGC-LN51JGB", ALC882_FIXUP_NO_PRIMARY_HP),
/* All Apple entries are in codec SSIDs */
At Fri, 05 Jul 2013 14:29:42 +0200, Takashi Iwai wrote:
At Fri, 05 Jul 2013 14:00:45 +0200, Tormen wrote:
Hi,
Thanks for your answer! :))
On 05/07/13 07:29, Takashi Iwai wrote:
At Fri, 05 Jul 2013 00:53:48 +0200, Tormen wrote:
Hi again,
I digged again into google and stumbled across this thread from a year ago: http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050504.html
I have the same Notebook than Adam.
The thread stopped there. I contacted Adam and he confirmed me something I also had noticed (but forgotten): The sound output via the speakers broke (went silent) between 3.1 and 3.2. It was working though for sometime between 3.2 and 3.9.6 - I confirmed it to be working in 3.7! And now it is broken again.
So, the speaker worked on *your* machine with 3.7 kernel?
Yes.
Then I need alsa-info.sh output in the working state.
*WORKING* sound (speakers play sound and everything else (from what I've seen so far) seems as it should) uname -a: Linux seven 3.7-trunk-amd64 #1 SMP Debian 3.7.8-1~experimental.1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=3012ed619f55c49b279c24b74a8192f7a3ccd3e3
This was without pulseaudio, without /etc/asound.conf and without any kernel module parameters to snd and snd-intel-hda. I had also tried 3.9.6 under this conditions, but same problem.
I guess you need more debug? Unfortunately alsa-compile complained that the linux-source-3.7 package vanished in the meantime from experimental. But I guess I can figure that out if you need more debug output (as in the debian 3.7 kernel image I am using CONFIG_SND_DEBUG is not set).
Didn't you read my previous reply...?
Sorry, I had missed it.
Give alsa-info.sh outputs (don't paste, use attachments). At best, give the outputs from both working and non-working kernels. Without these, I cannot debug further. thanks, Takashi
*NON-working* sound (speakers don't play any sound, headphone out works fine) uname -a: Linux seven 3.9-0.bpo.1-amd64 #1 SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux http://www.alsa-project.org/db/?f=af6f9823cfa865872e84f9d4da569b2a72b071b0
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
You have three items in "Capture Source", Internal Mic, Mic and Mic 1. Which inputs are working actually? If one of the last two is bogus, we can disable it, then we can the unused pin. For example, a patch to disable the pin 0x19 would be like below.
Alternatively, the patch below will make the parser behavior like 3.7, i.e. ignoring the multi-I/O configuration. Meanwhile, this will keep two mic jacks, thus no automatic input source switching with this configuration.
Takashi
--- diff --git a/Documentation/sound/alsa/HD-Audio.txt b/Documentation/sound/alsa/HD-Audio.txt index c3c912d..42a0a39 100644 --- a/Documentation/sound/alsa/HD-Audio.txt +++ b/Documentation/sound/alsa/HD-Audio.txt @@ -454,6 +454,8 @@ The generic parser supports the following hints: - need_dac_fix (bool): limits the DACs depending on the channel count - primary_hp (bool): probe headphone jacks as the primary outputs; default true +- multi_io (bool): try probing multi-I/O config (e.g. shared + line-in/surround, mic/clfe jacks) - multi_cap_vol (bool): provide multiple capture volumes - inv_dmic_split (bool): provide split internal mic volume/switch for phase-inverted digital mics diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 8e77cbb..0d34094 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -142,6 +142,9 @@ static void parse_user_hints(struct hda_codec *codec) val = snd_hda_get_bool_hint(codec, "primary_hp"); if (val >= 0) spec->no_primary_hp = !val; + val = snd_hda_get_bool_hint(codec, "multi_io"); + if (val >= 0) + spec->no_multi_io = !val; val = snd_hda_get_bool_hint(codec, "multi_cap_vol"); if (val >= 0) spec->multi_cap_vol = !!val; @@ -1541,7 +1544,8 @@ static int fill_and_eval_dacs(struct hda_codec *codec, cfg->speaker_pins, spec->multiout.extra_out_nid, spec->speaker_paths); - if (fill_mio_first && cfg->line_outs == 1 && + if (!spec->no_multi_io && + fill_mio_first && cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { err = fill_multi_ios(codec, cfg->line_out_pins[0], true); if (!err) @@ -1554,7 +1558,7 @@ static int fill_and_eval_dacs(struct hda_codec *codec, spec->private_dac_nids, spec->out_paths, spec->main_out_badness);
- if (fill_mio_first && + if (!spec->no_multi_io && fill_mio_first && cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { /* try to fill multi-io first */ err = fill_multi_ios(codec, cfg->line_out_pins[0], false); @@ -1582,7 +1586,8 @@ static int fill_and_eval_dacs(struct hda_codec *codec, return err; badness += err; } - if (cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { + if (!spec->no_multi_io && + cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { err = fill_multi_ios(codec, cfg->line_out_pins[0], false); if (err < 0) return err; diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index e199a85..48d4402 100644 --- a/sound/pci/hda/hda_generic.h +++ b/sound/pci/hda/hda_generic.h @@ -220,6 +220,7 @@ struct hda_gen_spec { unsigned int hp_mic:1; /* Allow HP as a mic-in */ unsigned int suppress_hp_mic_detect:1; /* Don't detect HP/mic */ unsigned int no_primary_hp:1; /* Don't prefer HP pins to speaker pins */ + unsigned int no_multi_io:1; /* Don't try multi I/O config */ unsigned int multi_cap_vol:1; /* allow multiple capture xxx volumes */ unsigned int inv_dmic_split:1; /* inverted dmic w/a for conexant */ unsigned int own_eapd_ctl:1; /* set EAPD by own function */ diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 14ac9b0..a4a4344 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1840,8 +1840,10 @@ static void alc882_fixup_no_primary_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) { struct alc_spec *spec = codec->spec; - if (action == HDA_FIXUP_ACT_PRE_PROBE) + if (action == HDA_FIXUP_ACT_PRE_PROBE) { spec->gen.no_primary_hp = 1; + spec->gen.no_multi_io = 1; + } }
static const struct hda_fixup alc882_fixups[] = {
On 2013-07-05 5:29, Takashi Iwai wrote:
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
I feel like this was the issue the LAST time it stopped working, too. No, the system does not have two mic jacks - at least, there is only one visible and accessible to the user on the outside of the case, on my model.
You have three items in "Capture Source", Internal Mic, Mic and Mic 1. Which inputs are working actually? If one of the last two is bogus, we can disable it, then we can the unused pin. For example, a patch to disable the pin 0x19 would be like below.
I don't have a working kernel on mine at present, but if Tormen can't provide this info soon, I'll track one down and provide it. I expect that one of the latter two inputs must be bogus.
On 05/07/13 23:38, Adam Williamson wrote:
On 2013-07-05 5:29, Takashi Iwai wrote:
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
I feel like this was the issue the LAST time it stopped working, too. No, the system does not have two mic jacks - at least, there is only one visible and accessible to the user on the outside of the case, on my model.
Actually... there should be three mic channels: The built-in (internal) microphone + One mic jack beside the headphone jack + One other hidden within the headphone jack: (a) the Notebook came with Noise-cancelling headsets, but they are small in-ear plugs so there is no place for noise-cancelling logic in the plugs (b) I think I remember to have read somewhere that this thingy actually needs the windows driver installed to be noise-cancelling! (c) the PLUG of these headphones have another channel (visible through another ring on the jack)
This explains the 2nd mic channel :)
In addition, I will try also to verify this plugging the special headphones and watching the alsamixer input meter(s). But of course them not showing would not prove anything as the linux driver might just not be setup correctly.
You have three items in "Capture Source", Internal Mic, Mic and Mic 1. Which inputs are working actually? If one of the last two is bogus, we can disable it, then we can the unused pin. For example, a patch to disable the pin 0x19 would be like below.
I don't have a working kernel on mine at present, but if Tormen can't provide this info soon, I'll track one down and provide it. I expect that one of the latter two inputs must be bogus.
It's ok I am on it. I started this and now I will see it through until the end (otherwise I would have let you know :).
Do you need this info for the working kernel only ? Or also for 3.9.6 ? I'll test that tomorrow then. I also wanted to take a look at the two patches and your explanations about them and test them for you.
Should they apply well to 3.9.6 ?
Thanks !
Tormen
At Mon, 08 Jul 2013 01:09:55 +0200, Tormen wrote:
On 05/07/13 23:38, Adam Williamson wrote:
On 2013-07-05 5:29, Takashi Iwai wrote:
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
I feel like this was the issue the LAST time it stopped working, too. No, the system does not have two mic jacks - at least, there is only one visible and accessible to the user on the outside of the case, on my model.
Actually... there should be three mic channels: The built-in (internal) microphone + One mic jack beside the headphone jack + One other hidden within the headphone jack: (a) the Notebook came with Noise-cancelling headsets, but they are small in-ear plugs so there is no place for noise-cancelling logic in the plugs (b) I think I remember to have read somewhere that this thingy actually needs the windows driver installed to be noise-cancelling! (c) the PLUG of these headphones have another channel (visible through another ring on the jack)
This explains the 2nd mic channel :)
In addition, I will try also to verify this plugging the special headphones and watching the alsamixer input meter(s). But of course them not showing would not prove anything as the linux driver might just not be setup correctly.
OK, then two mic jacks seem correct. In that case, the second patch should be used.
You have three items in "Capture Source", Internal Mic, Mic and Mic 1. Which inputs are working actually? If one of the last two is bogus, we can disable it, then we can the unused pin. For example, a patch to disable the pin 0x19 would be like below.
I don't have a working kernel on mine at present, but if Tormen can't provide this info soon, I'll track one down and provide it. I expect that one of the latter two inputs must be bogus.
It's ok I am on it. I started this and now I will see it through until the end (otherwise I would have let you know :).
Do you need this info for the working kernel only ? Or also for 3.9.6 ? I'll test that tomorrow then. I also wanted to take a look at the two patches and your explanations about them and test them for you.
Should they apply well to 3.9.6 ?
Yes, it should be applicable. But I found one missing piece in my previous patch. Try the patch below instead, and let me know if it works. Then I'll queue it for the next pull request for 3.11-rc1, then it'll be backported to stable kernels.
thanks,
Takashi
--- From: Takashi Iwai tiwai@suse.de Subject: [PATCH] ALSA: hda - Add no_multi_io hda_gen_spec flag
We got a bug report about the silent speaker output on Sony VAIO-Z, and it turned out that the previous workaround for assigning the first DAC to the speaker pin 0x14 didn't work any longer properly with the recent code. The culprit is the handling of multi-I/O capability.
The recent driver allows the multi-I/O 5.1 setup even with two mic jacks as long as they are placed in the same slot. This is the case of VAIO-Z breakage. It has a secondary mic via a headset, and this confused the driver as if there are really two mic jacks that are capable of bidirectional I/O.
For solving this situation, this patch adds yet another flag to hda_gen_spec indicating that the machine needs no multi-I/O, and sets this new flag in the exiting fixup for VAIO-Z.
Reported-by: Tormen my.nl.abos@gmail.com Reported-by: Adam Williamson awilliam@redhat.com Cc: stable@vger.kernel.org [v3.9+] Signed-off-by: Takashi Iwai tiwai@suse.de --- Documentation/sound/alsa/HD-Audio.txt | 2 ++ sound/pci/hda/hda_generic.c | 14 ++++++++++---- sound/pci/hda/hda_generic.h | 1 + sound/pci/hda/patch_realtek.c | 4 +++- 4 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/Documentation/sound/alsa/HD-Audio.txt b/Documentation/sound/alsa/HD-Audio.txt index c3c912d..42a0a39 100644 --- a/Documentation/sound/alsa/HD-Audio.txt +++ b/Documentation/sound/alsa/HD-Audio.txt @@ -454,6 +454,8 @@ The generic parser supports the following hints: - need_dac_fix (bool): limits the DACs depending on the channel count - primary_hp (bool): probe headphone jacks as the primary outputs; default true +- multi_io (bool): try probing multi-I/O config (e.g. shared + line-in/surround, mic/clfe jacks) - multi_cap_vol (bool): provide multiple capture volumes - inv_dmic_split (bool): provide split internal mic volume/switch for phase-inverted digital mics diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 8e77cbb..33062ad 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -142,6 +142,9 @@ static void parse_user_hints(struct hda_codec *codec) val = snd_hda_get_bool_hint(codec, "primary_hp"); if (val >= 0) spec->no_primary_hp = !val; + val = snd_hda_get_bool_hint(codec, "multi_io"); + if (val >= 0) + spec->no_multi_io = !val; val = snd_hda_get_bool_hint(codec, "multi_cap_vol"); if (val >= 0) spec->multi_cap_vol = !!val; @@ -1541,7 +1544,8 @@ static int fill_and_eval_dacs(struct hda_codec *codec, cfg->speaker_pins, spec->multiout.extra_out_nid, spec->speaker_paths); - if (fill_mio_first && cfg->line_outs == 1 && + if (!spec->no_multi_io && + fill_mio_first && cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { err = fill_multi_ios(codec, cfg->line_out_pins[0], true); if (!err) @@ -1554,7 +1558,7 @@ static int fill_and_eval_dacs(struct hda_codec *codec, spec->private_dac_nids, spec->out_paths, spec->main_out_badness);
- if (fill_mio_first && + if (!spec->no_multi_io && fill_mio_first && cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { /* try to fill multi-io first */ err = fill_multi_ios(codec, cfg->line_out_pins[0], false); @@ -1582,7 +1586,8 @@ static int fill_and_eval_dacs(struct hda_codec *codec, return err; badness += err; } - if (cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { + if (!spec->no_multi_io && + cfg->line_outs == 1 && cfg->line_out_type != AUTO_PIN_SPEAKER_OUT) { err = fill_multi_ios(codec, cfg->line_out_pins[0], false); if (err < 0) return err; @@ -1600,7 +1605,8 @@ static int fill_and_eval_dacs(struct hda_codec *codec, check_aamix_out_path(codec, spec->speaker_paths[0]); }
- if (cfg->hp_outs && cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) + if (!spec->no_multi_io && + cfg->hp_outs && cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) if (count_multiio_pins(codec, cfg->hp_pins[0]) >= 2) spec->multi_ios = 1; /* give badness */
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index e199a85..48d4402 100644 --- a/sound/pci/hda/hda_generic.h +++ b/sound/pci/hda/hda_generic.h @@ -220,6 +220,7 @@ struct hda_gen_spec { unsigned int hp_mic:1; /* Allow HP as a mic-in */ unsigned int suppress_hp_mic_detect:1; /* Don't detect HP/mic */ unsigned int no_primary_hp:1; /* Don't prefer HP pins to speaker pins */ + unsigned int no_multi_io:1; /* Don't try multi I/O config */ unsigned int multi_cap_vol:1; /* allow multiple capture xxx volumes */ unsigned int inv_dmic_split:1; /* inverted dmic w/a for conexant */ unsigned int own_eapd_ctl:1; /* set EAPD by own function */ diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8bd2261..7913a2c 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1843,8 +1843,10 @@ static void alc882_fixup_no_primary_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) { struct alc_spec *spec = codec->spec; - if (action == HDA_FIXUP_ACT_PRE_PROBE) + if (action == HDA_FIXUP_ACT_PRE_PROBE) { spec->gen.no_primary_hp = 1; + spec->gen.no_multi_io = 1; + } }
static const struct hda_fixup alc882_fixups[] = {
On 2013-07-08 1:04, Takashi Iwai wrote:
Yes, it should be applicable. But I found one missing piece in my previous patch. Try the patch below instead, and let me know if it works. Then I'll queue it for the next pull request for 3.11-rc1, then it'll be backported to stable kernels.
thanks,
Takashi
From: Takashi Iwai tiwai@suse.de Subject: [PATCH] ALSA: hda - Add no_multi_io hda_gen_spec flag
We got a bug report about the silent speaker output on Sony VAIO-Z, and it turned out that the previous workaround for assigning the first DAC to the speaker pin 0x14 didn't work any longer properly with the recent code. The culprit is the handling of multi-I/O capability.
The recent driver allows the multi-I/O 5.1 setup even with two mic jacks as long as they are placed in the same slot. This is the case of VAIO-Z breakage. It has a secondary mic via a headset, and this confused the driver as if there are really two mic jacks that are capable of bidirectional I/O.
For solving this situation, this patch adds yet another flag to hda_gen_spec indicating that the machine needs no multi-I/O, and sets this new flag in the exiting fixup for VAIO-Z.
Typo: "exiting" instead of "existing" near the end.
I'll test this on my affected system if I can get it to apply against 3.9 - thanks!
At Mon, 08 Jul 2013 10:00:22 -0700, Adam Williamson wrote:
On 2013-07-08 1:04, Takashi Iwai wrote:
Yes, it should be applicable. But I found one missing piece in my previous patch. Try the patch below instead, and let me know if it works. Then I'll queue it for the next pull request for 3.11-rc1, then it'll be backported to stable kernels.
thanks,
Takashi
From: Takashi Iwai tiwai@suse.de Subject: [PATCH] ALSA: hda - Add no_multi_io hda_gen_spec flag
We got a bug report about the silent speaker output on Sony VAIO-Z, and it turned out that the previous workaround for assigning the first DAC to the speaker pin 0x14 didn't work any longer properly with the recent code. The culprit is the handling of multi-I/O capability.
The recent driver allows the multi-I/O 5.1 setup even with two mic jacks as long as they are placed in the same slot. This is the case of VAIO-Z breakage. It has a secondary mic via a headset, and this confused the driver as if there are really two mic jacks that are capable of bidirectional I/O.
For solving this situation, this patch adds yet another flag to hda_gen_spec indicating that the machine needs no multi-I/O, and sets this new flag in the exiting fixup for VAIO-Z.
Typo: "exiting" instead of "existing" near the end.
Thanks, I'll fix it in the final commit.
I'll test this on my affected system if I can get it to apply against 3.9 - thanks!
Let me know if it really works. It seems working on emulator, at least :)
Takashi
On 2013-07-08 12:16, Takashi Iwai wrote:
Typo: "exiting" instead of "existing" near the end.
Thanks, I'll fix it in the final commit.
I'll test this on my affected system if I can get it to apply against 3.9 - thanks!
Let me know if it really works. It seems working on emulator, at least :)
Unfortunately it's turning out not to be simple: the patch doesn't apply cleanly against 3.9. It applies fine against 3.10, but I can't use a Rawhide-derived 3.10 kernel on F18 very easily for $BORING_FEDORA_REASONS. I could sort this out, it's just a bit more of a PITA than I want to deal with right ATM. If Tormen can't test soon I'll work around it somehow.
At Tue, 09 Jul 2013 11:52:01 -0700, Adam Williamson wrote:
On 2013-07-08 12:16, Takashi Iwai wrote:
Typo: "exiting" instead of "existing" near the end.
Thanks, I'll fix it in the final commit.
I'll test this on my affected system if I can get it to apply against 3.9 - thanks!
Let me know if it really works. It seems working on emulator, at least :)
Unfortunately it's turning out not to be simple: the patch doesn't apply cleanly against 3.9. It applies fine against 3.10, but I can't use a Rawhide-derived 3.10 kernel on F18 very easily for $BORING_FEDORA_REASONS. I could sort this out, it's just a bit more of a PITA than I want to deal with right ATM. If Tormen can't test soon I'll work around it somehow.
The patch should be applicable to 3.9.8 (with fuzz 2).
Takashi
On 2013-07-07 16:09, Tormen wrote:
On 05/07/13 23:38, Adam Williamson wrote:
On 2013-07-05 5:29, Takashi Iwai wrote:
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
I feel like this was the issue the LAST time it stopped working, too. No, the system does not have two mic jacks - at least, there is only one visible and accessible to the user on the outside of the case, on my model.
Actually... there should be three mic channels: The built-in (internal) microphone + One mic jack beside the headphone jack + One other hidden within the headphone jack: (a) the Notebook came with Noise-cancelling headsets, but they are small in-ear plugs so there is no place for noise-cancelling logic in the plugs (b) I think I remember to have read somewhere that this thingy actually needs the windows driver installed to be noise-cancelling! (c) the PLUG of these headphones have another channel (visible through another ring on the jack)
This explains the 2nd mic channel :)
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
At Mon, 08 Jul 2013 09:35:10 -0700, Adam Williamson wrote:
On 2013-07-07 16:09, Tormen wrote:
On 05/07/13 23:38, Adam Williamson wrote:
On 2013-07-05 5:29, Takashi Iwai wrote:
This is the debian 3.9.6 kernel + alsa-compile to get "debug=2" for snd.ko module to work as by default the CONFIG_SND_DEBUG is not set in debian kernels.
OK, looking at two outputs, the difference is that the recent kernel allows the 5.1 output configuration with two mic jacks. But, this looks rather strange as a laptop. Does the machine have really two microphone jacks? The BIOS sets pins 0x18 and 0x19 are mic jacks.
I feel like this was the issue the LAST time it stopped working, too. No, the system does not have two mic jacks - at least, there is only one visible and accessible to the user on the outside of the case, on my model.
Actually... there should be three mic channels: The built-in (internal) microphone + One mic jack beside the headphone jack + One other hidden within the headphone jack: (a) the Notebook came with Noise-cancelling headsets, but they are small in-ear plugs so there is no place for noise-cancelling logic in the plugs (b) I think I remember to have read somewhere that this thingy actually needs the windows driver installed to be noise-cancelling! (c) the PLUG of these headphones have another channel (visible through another ring on the jack)
This explains the 2nd mic channel :)
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no? If so, it's not for a noise canceling, and we can expose the jack and the control of the secondary mic simply as "Headset Mic". In anyway, this will be a separate fix.
Takashi
On 2013-07-08 10:48, Takashi Iwai wrote:
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no?
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
If so, it's not for a noise canceling, and we can expose the jack and the control of the secondary mic simply as "Headset Mic". In anyway, this will be a separate fix.
At Tue, 09 Jul 2013 11:53:47 -0700, Adam Williamson wrote:
On 2013-07-08 10:48, Takashi Iwai wrote:
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no?
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
OK, then it's not suitable to handle it as a headset. I expected it being rather a standard TRRS connector.
Takashi
If so, it's not for a noise canceling, and we can expose the jack and the control of the secondary mic simply as "Headset Mic". In anyway, this will be a separate fix.
-- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net
On 10/07/13 17:30, Takashi Iwai wrote:
At Tue, 09 Jul 2013 11:53:47 -0700, Adam Williamson wrote:
On 2013-07-08 10:48, Takashi Iwai wrote:
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no?
I did mention though:
(a) the Notebook came with Noise-cancelling headsets, but they
are small in-ear plugs so there is no place for noise-cancelling logic in the plugs ...
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
OK, then it's not suitable to handle it as a headset. I expected it being rather a standard TRRS connector.
OK, I looked into that and here are my findings:
People reported about two different models of noise cancelling headphones in the context of Sony VAIO VPCZ Notebooks. Both are 5-conductor jacks.
You can see them both here: http://attachment.imp3.net/forum/month_1103/11030618490735852e6e2772f8.jpg The right side version is better seen here with it's extra "notch" adding the 5th conductor to an otherwise 4.5mm 4-conductor TRRS jack (3 black rings + notch) http://pic.yupoo.com/melly/C8LBXQYf/LBWc6.jpg The left side version is a 3.5 mm 5-conductor TRRS phone connector (4 black rings) http://img03.taobaocdn.com/bao/uploaded/i3/T1xd9qXcNbXXaS84UV_020744.jpg
I do have the LEFT side version (the one with 4 black rings)
Important: * This TRRS headset jack works just fine when you plug a stereo headphones (3-conductor version). * And It seems to also work fine with a 4-conductor version (headphone + mic smartphone headset) - see about "Mic 1" below.
More details about the wiring (from an alsamixer viewpoint in (debian) kernel 3.9.6):
+++ "Mic 1" refers to the earplug Stereo mic channel. The "Microphone Boost 1" controls nicely this "Mic 1". When capturing from "Mic 1" in alsamixer (with 3.9.6 debian kernel without any new patch):
* plugging a standard 4-conductor TRRS (headset + MONO microphone combination like common for smartphones these days with 3 black rings) -> the microphone comes through on the right microphone channel Unfortunately I don't have a headset + STEREO microphone combination at hand :/
* plugging the 5-conductor TRRS original noise cancelling headset (model Sony "mdr-nc021") -> the microphone in the /left/ earplug (it says "L" on the plug) comes through on the LEFT microphone channel + the microphone in the /right/ earplug (it says "R" on the plug) comes through on the RIGHT microphone channel
+++ "Mic" refers to the Mic TRRS standard Stereo jack which is beside the headset TRRS jack. The "Microphone Boost" controls nicely the "Mic" capture channel.
+++ "Internal" refers to the built in Stereo Microphone
+++ The "Digital" channel seems to have the exact same effect than the "Capture" channel (controlling the degree of amplification of the currently active capture source) There is certainly a deeper sense in the distinguishing both of them, but I don't get it :)
So this does make all perfect sense to me (especially "Mic 1") and I like the idea to further expose this quite /real/ stereo microphone channel "Mic 1".
Here is a small test recording I did using the (model Sony "mdr-nc021") headset: https://docs.google.com/file/d/0B9I6C680kzS1RFBOdWtaZXNIY00/edit?usp=sharing
(( maybe rename "Mic" to "Mic jack" and "Mic 1" to "Headphone Mic" ))
Knuth
At Wed, 10 Jul 2013 23:42:18 +0200, Tormen wrote:
On 10/07/13 17:30, Takashi Iwai wrote:
At Tue, 09 Jul 2013 11:53:47 -0700, Adam Williamson wrote:
On 2013-07-08 10:48, Takashi Iwai wrote:
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no?
I did mention though:
(a) the Notebook came with Noise-cancelling headsets, but they
are small in-ear plugs so there is no place for noise-cancelling logic in the plugs ...
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
OK, then it's not suitable to handle it as a headset. I expected it being rather a standard TRRS connector.
OK, I looked into that and here are my findings:
People reported about two different models of noise cancelling headphones in the context of Sony VAIO VPCZ Notebooks. Both are 5-conductor jacks.
You can see them both here: http://attachment.imp3.net/forum/month_1103/11030618490735852e6e2772f8.jpg The right side version is better seen here with it's extra "notch" adding the 5th conductor to an otherwise 4.5mm 4-conductor TRRS jack (3 black rings + notch) http://pic.yupoo.com/melly/C8LBXQYf/LBWc6.jpg The left side version is a 3.5 mm 5-conductor TRRS phone connector (4 black rings) http://img03.taobaocdn.com/bao/uploaded/i3/T1xd9qXcNbXXaS84UV_020744.jpg
I do have the LEFT side version (the one with 4 black rings)
Important:
- This TRRS headset jack works just fine when you plug a stereo
headphones (3-conductor version).
- And It seems to also work fine with a 4-conductor version (headphone
- mic smartphone headset) - see about "Mic 1" below.
More details about the wiring (from an alsamixer viewpoint in (debian) kernel 3.9.6):
+++ "Mic 1" refers to the earplug Stereo mic channel. The "Microphone Boost 1" controls nicely this "Mic 1". When capturing from "Mic 1" in alsamixer (with 3.9.6 debian kernel without any new patch):
* plugging a standard 4-conductor TRRS (headset + MONO microphone
combination like common for smartphones these days with 3 black rings) -> the microphone comes through on the right microphone channel Unfortunately I don't have a headset + STEREO microphone combination at hand :/
* plugging the 5-conductor TRRS original noise cancelling headset
(model Sony "mdr-nc021") -> the microphone in the /left/ earplug (it says "L" on the plug) comes through on the LEFT microphone channel + the microphone in the /right/ earplug (it says "R" on the plug) comes through on the RIGHT microphone channel
+++ "Mic" refers to the Mic TRRS standard Stereo jack which is beside the headset TRRS jack. The "Microphone Boost" controls nicely the "Mic" capture channel.
+++ "Internal" refers to the built in Stereo Microphone
+++ The "Digital" channel seems to have the exact same effect than the "Capture" channel (controlling the degree of amplification of the currently active capture source) There is certainly a deeper sense in the distinguishing both of them, but I don't get it :)
So this does make all perfect sense to me (especially "Mic 1") and I like the idea to further expose this quite /real/ stereo microphone channel "Mic 1".
Here is a small test recording I did using the (model Sony "mdr-nc021") headset: https://docs.google.com/file/d/0B9I6C680kzS1RFBOdWtaZXNIY00/edit?usp=sharing
(( maybe rename "Mic" to "Mic jack" and "Mic 1" to "Headphone Mic" ))
Thanks for the detailed analysis. So we should keep both inputs. A remaining question is whether to rename the control names, especially "Mic 1".
BTW, did you already test the patch? It's waiting for test feedback. Otherwise the fix can't be queued to upstream.
Takashi
On 11/07/13 07:29, Takashi Iwai wrote:
At Wed, 10 Jul 2013 23:42:18 +0200, Tormen wrote:
On 10/07/13 17:30, Takashi Iwai wrote:
At Tue, 09 Jul 2013 11:53:47 -0700, Adam Williamson wrote:
On 2013-07-08 10:48, Takashi Iwai wrote:
Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to be following the exact details of the planned fix here, but just as a high-level remark, this 'extra mic jack' seems very much like an implementation detail for the noise cancellation which Linux does not do in any case (AFAIK). It wouldn't make sense to me to expose it as a 'normal' mic jack, exactly. It's not like you can plug an actual microphone into this 'mic jack' and use it. How will it be exposed exactly after the patch, tiwai?
Well, Tormen's description sounds like it being a mic for a headset, no?
I did mention though:
(a) the Notebook came with Noise-cancelling headsets, but they
are small in-ear plugs so there is no place for noise-cancelling logic in the plugs ...
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
OK, then it's not suitable to handle it as a headset. I expected it being rather a standard TRRS connector.
OK, I looked into that and here are my findings:
People reported about two different models of noise cancelling headphones in the context of Sony VAIO VPCZ Notebooks. Both are 5-conductor jacks.
You can see them both here: http://attachment.imp3.net/forum/month_1103/11030618490735852e6e2772f8.jpg The right side version is better seen here with it's extra "notch" adding the 5th conductor to an otherwise 4.5mm 4-conductor TRRS jack (3 black rings + notch) http://pic.yupoo.com/melly/C8LBXQYf/LBWc6.jpg The left side version is a 3.5 mm 5-conductor TRRS phone connector (4 black rings) http://img03.taobaocdn.com/bao/uploaded/i3/T1xd9qXcNbXXaS84UV_020744.jpg
I do have the LEFT side version (the one with 4 black rings)
Important:
- This TRRS headset jack works just fine when you plug a stereo
headphones (3-conductor version).
- And It seems to also work fine with a 4-conductor version (headphone
- mic smartphone headset) - see about "Mic 1" below.
More details about the wiring (from an alsamixer viewpoint in (debian) kernel 3.9.6):
+++ "Mic 1" refers to the earplug Stereo mic channel. The "Microphone Boost 1" controls nicely this "Mic 1". When capturing from "Mic 1" in alsamixer (with 3.9.6 debian kernel without any new patch):
* plugging a standard 4-conductor TRRS (headset + MONO microphone
combination like common for smartphones these days with 3 black rings) -> the microphone comes through on the right microphone channel Unfortunately I don't have a headset + STEREO microphone combination at hand :/
* plugging the 5-conductor TRRS original noise cancelling headset
(model Sony "mdr-nc021") -> the microphone in the /left/ earplug (it says "L" on the plug) comes through on the LEFT microphone channel + the microphone in the /right/ earplug (it says "R" on the plug) comes through on the RIGHT microphone channel
+++ "Mic" refers to the Mic TRRS standard Stereo jack which is beside the headset TRRS jack. The "Microphone Boost" controls nicely the "Mic" capture channel.
+++ "Internal" refers to the built in Stereo Microphone
+++ The "Digital" channel seems to have the exact same effect than the "Capture" channel (controlling the degree of amplification of the currently active capture source) There is certainly a deeper sense in the distinguishing both of them, but I don't get it :)
So this does make all perfect sense to me (especially "Mic 1") and I like the idea to further expose this quite /real/ stereo microphone channel "Mic 1".
Here is a small test recording I did using the (model Sony "mdr-nc021") headset: https://docs.google.com/file/d/0B9I6C680kzS1RFBOdWtaZXNIY00/edit?usp=sharing
(( maybe rename "Mic" to "Mic jack" and "Mic 1" to "Headphone Mic" ))
Thanks for the detailed analysis. So we should keep both inputs. A remaining question is whether to rename the control names, especially "Mic 1".
BTW, did you already test the patch? It's waiting for test feedback. Otherwise the fix can't be queued to upstream.
Takashi
/// Thanks! Wao, your always so quick :)
/// Small question: What is the use of Digital and Capture seeming to do the same thing ?
/// Rename: Yes it's what I thought, but am name would best express the fact that this is an /optional/ MIC within the headphone plug. "Mic 1" -> "Headphone Mic" ... but that's a bit lengthy :(
/// Patch: Hmmm. I am not sure what I am doing wrong here, but I don't get it so apply nicely. I tried: debian 3.9.6, linux vanilla 3.9.6 deiban 3.10 linux vanilla 3.10
I am applying the attached x.diff (I took from your email from Date: Mon, 08 Jul 2013 10:04:22 +0200 and I do get this:
*** Linux Vanilla 3.10: /mnt/tmp/src/linux-3.10 % cat /tmp/x.diff|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 FAILED at 142. Hunk #2 FAILED at 1541. Hunk #3 FAILED at 1554. Hunk #4 FAILED at 1582. Hunk #5 FAILED at 1600. 5 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej patching file sound/pci/hda/hda_generic.h Hunk #1 FAILED at 220. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/hda_generic.h.rej patching file sound/pci/hda/patch_realtek.c Hunk #1 FAILED at 1843. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
What am I missing here ? Do you need the rejects ?
*** Debian 3.10:
/mnt/tmp/src/linux-3.10~rc7 % cat /tmp/x.diff|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 FAILED at 142. Hunk #2 FAILED at 1541. Hunk #3 FAILED at 1554. Hunk #4 FAILED at 1582. Hunk #5 FAILED at 1600. 5 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej patching file sound/pci/hda/hda_generic.h Hunk #1 FAILED at 220. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/hda_generic.h.rej patching file sound/pci/hda/patch_realtek.c Hunk #1 FAILED at 1843. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
And from what I remeber the 3.9.6 looked very similar.
At Thu, 11 Jul 2013 11:31:15 +0200, Tormen wrote:
On 11/07/13 07:29, Takashi Iwai wrote:
At Wed, 10 Jul 2013 23:42:18 +0200, Tormen wrote:
On 10/07/13 17:30, Takashi Iwai wrote:
At Tue, 09 Jul 2013 11:53:47 -0700, Adam Williamson wrote:
On 2013-07-08 10:48, Takashi Iwai wrote:
> Ah, yes, I'd forgotten about that little wrinkle. I don't pretend to > be > following the exact details of the planned fix here, but just as a > high-level remark, this 'extra mic jack' seems very much like an > implementation detail for the noise cancellation which Linux does not > do > in any case (AFAIK). It wouldn't make sense to me to expose it as a > 'normal' mic jack, exactly. It's not like you can plug an actual > microphone into this 'mic jack' and use it. How will it be exposed > exactly after the patch, tiwai? Well, Tormen's description sounds like it being a mic for a headset, no?
I did mention though:
(a) the Notebook came with Noise-cancelling headsets, but they
are small in-ear plugs so there is no place for noise-cancelling logic in the plugs ...
No, at least IIRC - the special headphones that come with the system aren't for voice calling or whatever, they're active noise cancelling earphones. http://forum.notebookreview.com/sony/501220-sony-noise-cancelling-ear-phones... is a thread about them, for e.g.
OK, then it's not suitable to handle it as a headset. I expected it being rather a standard TRRS connector.
OK, I looked into that and here are my findings:
People reported about two different models of noise cancelling headphones in the context of Sony VAIO VPCZ Notebooks. Both are 5-conductor jacks.
You can see them both here: http://attachment.imp3.net/forum/month_1103/11030618490735852e6e2772f8.jpg The right side version is better seen here with it's extra "notch" adding the 5th conductor to an otherwise 4.5mm 4-conductor TRRS jack (3 black rings + notch) http://pic.yupoo.com/melly/C8LBXQYf/LBWc6.jpg The left side version is a 3.5 mm 5-conductor TRRS phone connector (4 black rings) http://img03.taobaocdn.com/bao/uploaded/i3/T1xd9qXcNbXXaS84UV_020744.jpg
I do have the LEFT side version (the one with 4 black rings)
Important:
- This TRRS headset jack works just fine when you plug a stereo
headphones (3-conductor version).
- And It seems to also work fine with a 4-conductor version (headphone
- mic smartphone headset) - see about "Mic 1" below.
More details about the wiring (from an alsamixer viewpoint in (debian) kernel 3.9.6):
+++ "Mic 1" refers to the earplug Stereo mic channel. The "Microphone Boost 1" controls nicely this "Mic 1". When capturing from "Mic 1" in alsamixer (with 3.9.6 debian kernel without any new patch):
* plugging a standard 4-conductor TRRS (headset + MONO microphone
combination like common for smartphones these days with 3 black rings) -> the microphone comes through on the right microphone channel Unfortunately I don't have a headset + STEREO microphone combination at hand :/
* plugging the 5-conductor TRRS original noise cancelling headset
(model Sony "mdr-nc021") -> the microphone in the /left/ earplug (it says "L" on the plug) comes through on the LEFT microphone channel + the microphone in the /right/ earplug (it says "R" on the plug) comes through on the RIGHT microphone channel
+++ "Mic" refers to the Mic TRRS standard Stereo jack which is beside the headset TRRS jack. The "Microphone Boost" controls nicely the "Mic" capture channel.
+++ "Internal" refers to the built in Stereo Microphone
+++ The "Digital" channel seems to have the exact same effect than the "Capture" channel (controlling the degree of amplification of the currently active capture source) There is certainly a deeper sense in the distinguishing both of them, but I don't get it :)
So this does make all perfect sense to me (especially "Mic 1") and I like the idea to further expose this quite /real/ stereo microphone channel "Mic 1".
Here is a small test recording I did using the (model Sony "mdr-nc021") headset: https://docs.google.com/file/d/0B9I6C680kzS1RFBOdWtaZXNIY00/edit?usp=sharing
(( maybe rename "Mic" to "Mic jack" and "Mic 1" to "Headphone Mic" ))
Thanks for the detailed analysis. So we should keep both inputs. A remaining question is whether to rename the control names, especially "Mic 1".
BTW, did you already test the patch? It's waiting for test feedback. Otherwise the fix can't be queued to upstream.
Takashi
/// Thanks! Wao, your always so quick :)
/// Small question: What is the use of Digital and Capture seeming to do the same thing ?
The "Digital" mixer element is implemented in alsa-lib softvol plugin, i.e. it's a software input gain control. OTOH, "Capture" volume is the hardware control. The former is present in the case where no proper gain control is available on hardware (and without using PulseAudio).
/// Rename: Yes it's what I thought, but am name would best express the fact that this is an /optional/ MIC within the headphone plug. "Mic 1" -> "Headphone Mic" ... but that's a bit lengthy :(
The common case for "Headphone Mic" is a headphone jack that can be *switched* as a mic jack. So, "Headphone Mic" isn't appropriate in this case. The use case is rather similar as "Headset Mic", where both input and output are done through a single jack.
/// Patch: Hmmm. I am not sure what I am doing wrong here, but I don't get it so apply nicely. I tried: debian 3.9.6, linux vanilla 3.9.6 deiban 3.10 linux vanilla 3.10
I am applying the attached x.diff (I took from your email from Date: Mon, 08 Jul 2013 10:04:22 +0200 and I do get this:
*** Linux Vanilla 3.10: /mnt/tmp/src/linux-3.10 % cat /tmp/x.diff|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 FAILED at 142. Hunk #2 FAILED at 1541. Hunk #3 FAILED at 1554. Hunk #4 FAILED at 1582. Hunk #5 FAILED at 1600. 5 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej patching file sound/pci/hda/hda_generic.h Hunk #1 FAILED at 220. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/hda_generic.h.rej patching file sound/pci/hda/patch_realtek.c Hunk #1 FAILED at 1843. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
What am I missing here ? Do you need the rejects ?
*** Debian 3.10:
/mnt/tmp/src/linux-3.10~rc7 % cat /tmp/x.diff|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 FAILED at 142. Hunk #2 FAILED at 1541. Hunk #3 FAILED at 1554. Hunk #4 FAILED at 1582. Hunk #5 FAILED at 1600. 5 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/hda_generic.c.rej patching file sound/pci/hda/hda_generic.h Hunk #1 FAILED at 220. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/hda_generic.h.rej patching file sound/pci/hda/patch_realtek.c Hunk #1 FAILED at 1843. 1 out of 1 hunk FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
And from what I remeber the 3.9.6 looked very similar.
You must have broken the patch at saving from your mailer. Most likely invalid space/tab conversions. Better to fix your setup...
I put the patch as an attachment below. Give it a try again.
Takashi
On 11/07/13 12:23, Takashi Iwai wrote:
At Thu, 11 Jul 2013 11:31:15 +0200, Tormen wrote:
/// Small question: What is the use of Digital and Capture seeming to do the same thing ?
The "Digital" mixer element is implemented in alsa-lib softvol plugin, i.e. it's a software input gain control. OTOH, "Capture" volume is the hardware control. The former is present in the case where no proper gain control is available on hardware (and without using PulseAudio).
Thanks !
/// Rename:
The common case for "Headphone Mic" is a headphone jack that can be *switched* as a mic jack. So, "Headphone Mic" isn't appropriate in this case. The use case is rather similar as "Headset Mic", where both input and output are done through a single jack.
Yes, makes sense.
/// Patch:
You must have broken the patch at saving from your mailer. Most likely invalid space/tab conversions. Better to fix your setup...
I put the patch as an attachment below. Give it a try again.
Damn it, you're right. My sincere appologies. As the Documentation got fixed nicely I assumed my patch is good. But of course a c file is more sensitive to tab/spaces!
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
Tormen
On 11/07/13 13:55, Tormen wrote:
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
This time I did apply your patch building the debian binary packages (because I wanted the original debian config and also the same kernel I was testing on before, just with your patch applied) ... which took too long and then I was leaving to Paris until today.
Unfortunately I was not being able to make the sound come through the speakers yet. I probably must have missed something :/
How can I make sure that the version I am using contains your patch ? How can I make sure that your patch is active / being used ? I tried the hints file (see below) or can I pass this also as module parameter ?
So here is what I got:
================================================= KERNEL: SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux with your patch
Tested in single user mode.
# STARTING POINT: no snd* modules loaded
modprobe snd modprobe snd_hda_intel
--> "dmesg" got this: [ 1962.392102] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 1962.404217] hda_codec: ALC889: SKU not ready 0x411111f0 [ 1962.404460] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 1962.404462] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1962.404464] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 1962.404465] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 1962.404467] ALSA hda_auto_parser.c:406 inputs: [ 1962.404468] ALSA hda_auto_parser.c:410 Mic=0x18 [ 1962.404470] ALSA hda_auto_parser.c:410 Mic=0x19 [ 1962.404471] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 1962.404473] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 1962.404475] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 1962.407492] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 1962.414631] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 1962.414797] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 [ 1962.414893] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
aplay bla.wav # NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged)
root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "multi_io = yes" > hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "1" >reconfig root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes
--> "dmesg" got this: [ 2109.028690] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [ 2109.039537] hda_codec: ALC889: SKU not ready 0x411111f0 [ 2109.039975] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 2109.039981] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2109.039985] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2109.039989] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 2109.039992] ALSA hda_auto_parser.c:406 inputs: [ 2109.039996] ALSA hda_auto_parser.c:410 Mic=0x18 [ 2109.040000] ALSA hda_auto_parser.c:410 Mic=0x19 [ 2109.040004] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 2109.040009] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 2109.040012] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 2109.041275] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17 [ 2109.047928] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 2109.048065] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19 [ 2109.048200] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
aplay bla.wav # STILL, NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged) =================================================
Tormen.
At Tue, 16 Jul 2013 10:00:21 +0200, Tormen wrote:
On 11/07/13 13:55, Tormen wrote:
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
This time I did apply your patch building the debian binary packages (because I wanted the original debian config and also the same kernel I was testing on before, just with your patch applied) ... which took too long and then I was leaving to Paris until today.
Unfortunately I was not being able to make the sound come through the speakers yet. I probably must have missed something :/
How can I make sure that the version I am using contains your patch ? How can I make sure that your patch is active / being used ? I tried the hints file (see below) or can I pass this also as module parameter ?
So here is what I got:
================================================= KERNEL: SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux with your patch
Tested in single user mode.
# STARTING POINT: no snd* modules loaded
modprobe snd modprobe snd_hda_intel
--> "dmesg" got this: [ 1962.392102] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 1962.404217] hda_codec: ALC889: SKU not ready 0x411111f0 [ 1962.404460] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 1962.404462] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1962.404464] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 1962.404465] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 1962.404467] ALSA hda_auto_parser.c:406 inputs: [ 1962.404468] ALSA hda_auto_parser.c:410 Mic=0x18 [ 1962.404470] ALSA hda_auto_parser.c:410 Mic=0x19 [ 1962.404471] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 1962.404473] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 1962.404475] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 1962.407492] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 1962.414631] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 1962.414797] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 [ 1962.414893] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
aplay bla.wav # NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged)
root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "multi_io = yes" > hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "1" >reconfig root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes
--> "dmesg" got this: [ 2109.028690] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [ 2109.039537] hda_codec: ALC889: SKU not ready 0x411111f0 [ 2109.039975] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 2109.039981] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2109.039985] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2109.039989] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 2109.039992] ALSA hda_auto_parser.c:406 inputs: [ 2109.039996] ALSA hda_auto_parser.c:410 Mic=0x18 [ 2109.040000] ALSA hda_auto_parser.c:410 Mic=0x19 [ 2109.040004] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 2109.040009] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 2109.040012] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 2109.041275] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17 [ 2109.047928] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 2109.048065] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19 [ 2109.048200] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
aplay bla.wav # STILL, NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged) =================================================
Please give alsa-info.sh output instead.
Takashi
On 16/07/13 10:05, Takashi Iwai wrote:
At Tue, 16 Jul 2013 10:00:21 +0200, Tormen wrote:
On 11/07/13 13:55, Tormen wrote:
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
This time I did apply your patch building the debian binary packages (because I wanted the original debian config and also the same kernel I was testing on before, just with your patch applied) ... which took too long and then I was leaving to Paris until today.
Unfortunately I was not being able to make the sound come through the speakers yet. I probably must have missed something :/
How can I make sure that the version I am using contains your patch ? How can I make sure that your patch is active / being used ? I tried the hints file (see below) or can I pass this also as module parameter ?
So here is what I got:
================================================= KERNEL: SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux with your patch
Tested in single user mode.
# STARTING POINT: no snd* modules loaded
modprobe snd modprobe snd_hda_intel
--> "dmesg" got this: [ 1962.392102] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 1962.404217] hda_codec: ALC889: SKU not ready 0x411111f0 [ 1962.404460] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 1962.404462] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1962.404464] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 1962.404465] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 1962.404467] ALSA hda_auto_parser.c:406 inputs: [ 1962.404468] ALSA hda_auto_parser.c:410 Mic=0x18 [ 1962.404470] ALSA hda_auto_parser.c:410 Mic=0x19 [ 1962.404471] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 1962.404473] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 1962.404475] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 1962.407492] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 1962.414631] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 1962.414797] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 [ 1962.414893] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
aplay bla.wav # NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged)
root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "multi_io = yes" > hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "1" >reconfig root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes
--> "dmesg" got this: [ 2109.028690] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [ 2109.039537] hda_codec: ALC889: SKU not ready 0x411111f0 [ 2109.039975] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 2109.039981] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2109.039985] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2109.039989] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 2109.039992] ALSA hda_auto_parser.c:406 inputs: [ 2109.039996] ALSA hda_auto_parser.c:410 Mic=0x18 [ 2109.040000] ALSA hda_auto_parser.c:410 Mic=0x19 [ 2109.040004] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 2109.040009] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 2109.040012] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 2109.041275] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17 [ 2109.047928] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 2109.048065] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19 [ 2109.048200] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
aplay bla.wav # STILL, NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged) =================================================
Please give alsa-info.sh output instead.
Takashi
Yes, of course (makes sense!) :)
http://www.alsa-project.org/db/?f=9807678db565252fceb3cac8f856f635044b6590
At Tue, 16 Jul 2013 10:06:48 +0200, Tormen wrote:
On 16/07/13 10:05, Takashi Iwai wrote:
At Tue, 16 Jul 2013 10:00:21 +0200, Tormen wrote:
On 11/07/13 13:55, Tormen wrote:
Now it applied like charme on the debian 3.9.6 kernel source :
/mnt/tmp/src/linux-3.9.6 % cat /tmp/0001-ALSA-hda-Add-no_multi_io-hda_gen_spec-flag.patch|patch -p1 patching file Documentation/sound/alsa/HD-Audio.txt patching file sound/pci/hda/hda_generic.c Hunk #1 succeeded at 138 (offset -4 lines). Hunk #2 succeeded at 1501 (offset -43 lines). Hunk #3 succeeded at 1515 with fuzz 2 (offset -43 lines). Hunk #4 succeeded at 1543 (offset -43 lines). Hunk #5 succeeded at 1562 (offset -43 lines). patching file sound/pci/hda/hda_generic.h Hunk #1 succeeded at 202 with fuzz 2 (offset -18 lines). patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 1816 (offset -27 lines).
I am compiling now and I'll let you know!
This time I did apply your patch building the debian binary packages (because I wanted the original debian config and also the same kernel I was testing on before, just with your patch applied) ... which took too long and then I was leaving to Paris until today.
Unfortunately I was not being able to make the sound come through the speakers yet. I probably must have missed something :/
How can I make sure that the version I am using contains your patch ? How can I make sure that your patch is active / being used ? I tried the hints file (see below) or can I pass this also as module parameter ?
So here is what I got:
================================================= KERNEL: SMP Debian 3.9.6-1~bpo70+1 x86_64 GNU/Linux with your patch
Tested in single user mode.
# STARTING POINT: no snd* modules loaded
modprobe snd modprobe snd_hda_intel
--> "dmesg" got this: [ 1962.392102] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 1962.404217] hda_codec: ALC889: SKU not ready 0x411111f0 [ 1962.404460] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 1962.404462] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1962.404464] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 1962.404465] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 1962.404467] ALSA hda_auto_parser.c:406 inputs: [ 1962.404468] ALSA hda_auto_parser.c:410 Mic=0x18 [ 1962.404470] ALSA hda_auto_parser.c:410 Mic=0x19 [ 1962.404471] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 1962.404473] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 1962.404475] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 1962.407492] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 1962.414631] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 1962.414797] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 [ 1962.414893] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
aplay bla.wav # NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged)
root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "multi_io = yes" > hints root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # echo "1" >reconfig root@seven /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0 # cat hints multi_io = yes
--> "dmesg" got this: [ 2109.028690] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [ 2109.039537] hda_codec: ALC889: SKU not ready 0x411111f0 [ 2109.039975] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 2109.039981] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2109.039985] ALSA hda_auto_parser.c:401 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 2109.039989] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 2109.039992] ALSA hda_auto_parser.c:406 inputs: [ 2109.039996] ALSA hda_auto_parser.c:410 Mic=0x18 [ 2109.040000] ALSA hda_auto_parser.c:410 Mic=0x19 [ 2109.040004] ALSA hda_auto_parser.c:410 Internal Mic=0x12 [ 2109.040009] ALSA patch_realtek.c:486 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 2109.040012] ALSA patch_realtek.c:569 realtek: Enable default setup for auto mode as fallback [ 2109.041275] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input17 [ 2109.047928] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 2109.048065] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19 [ 2109.048200] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
aplay bla.wav # STILL, NO SOUND OUTPUT THROUGH SPEAKERS (but through headphone, when plugged) =================================================
Please give alsa-info.sh output instead.
Takashi
Yes, of course (makes sense!) :)
http://www.alsa-project.org/db/?f=9807678db565252fceb3cac8f856f635044b6590
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
On 16/07/13 11:15, Takashi Iwai wrote:
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
I am not 100% sure if it was or not, because I had applied the patch not with "quilt" ... but now I am: I put in some printk()'s and it still shows speaker_outs=0 :(
I was wondering if it's a problem that the speaker_outs=0 is printed way before all the "fill_and_eval_dacs" changes of yours are executed?
I attached you my patch so that you can see what output corresponds to what piece of code.
alsa-info.sh: http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
And the complete output of my debug messages:
FIRST just loading the modules: modprobe snd debug=2 modprobe snd_hda_intel
[10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1 [10263.752896] hda_codec: ALC889: SKU not ready 0x411111f0 [10263.755938] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10263.758707] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10263.761476] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10263.764246] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10263.767028] ALSA hda_auto_parser.c:348 inputs: [10263.769908] ALSA hda_auto_parser.c:352 Mic=0x18 [10263.772632] ALSA hda_auto_parser.c:352 Mic=0x19 [10263.775354] ALSA hda_auto_parser.c:352 Internal Mic=0x12 [10263.778038] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10263.780832] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10263.783693] Tormen: parse_user_hints: val (from 'multi_io') == '-2' [10263.786078] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.787634] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.789531] Tormen: fill_and_eval_dacs: DDD [10263.790957] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.792364] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.793749] Tormen: fill_and_eval_dacs: DDD [10263.795150] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.796546] Tormen: fill_and_eval_dacs: DDD [10263.797932] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.799363] Tormen: fill_and_eval_dacs: DDD [10263.800759] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.802161] Tormen: fill_and_eval_dacs: AAA [10263.804110] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.805609] Tormen: fill_and_eval_dacs: BBB [10263.807265] Tormen: fill_and_eval_dacs: CCC [10263.810445] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input25 [10263.812063] Tormen: alc882_fixup_no_primary_hp: AAA [10263.818856] Tormen: alc882_fixup_no_primary_hp: AAA [10263.820812] Tormen: alc882_fixup_no_primary_hp: AAA [10263.822315] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26 [10263.823905] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27 [10263.825607] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
THEN with manual set multi_io = yes:
echo "multi_io = yes"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1" >/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfig
[10462.452100] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [10462.614742] Tormen: alc882_fixup_no_primary_hp: AAA [10462.618508] Tormen: alc882_fixup_no_primary_hp: AAA [10462.620912] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1 [10462.623365] hda_codec: ALC889: SKU not ready 0x411111f0 [10462.626209] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10462.628736] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10462.631345] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10462.633911] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10462.636543] ALSA hda_auto_parser.c:348 inputs: [10462.639122] ALSA hda_auto_parser.c:352 Mic=0x18 [10462.640323] ALSA hda_auto_parser.c:352 Mic=0x19 [10462.641419] ALSA hda_auto_parser.c:352 Internal Mic=0x12 [10462.642554] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10462.643700] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10462.644841] Tormen: parse_user_hints: val (from 'multi_io') == '1' [10462.645988] Tormen: parse_user_hints: spec->no_multi_io == '1' [10462.647186] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.648520] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.649847] Tormen: fill_and_eval_dacs: DDD [10462.651038] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.652201] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.653352] Tormen: fill_and_eval_dacs: DDD [10462.654522] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.655673] Tormen: fill_and_eval_dacs: DDD [10462.656804] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.657944] Tormen: fill_and_eval_dacs: DDD [10462.659122] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.660266] Tormen: fill_and_eval_dacs: AAA [10462.661392] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.662576] Tormen: fill_and_eval_dacs: BBB [10462.664050] Tormen: fill_and_eval_dacs: CCC [10462.665700] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29 [10462.667026] Tormen: alc882_fixup_no_primary_hp: AAA [10462.673168] Tormen: alc882_fixup_no_primary_hp: AAA [10462.674864] Tormen: alc882_fixup_no_primary_hp: AAA [10462.675957] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30 [10462.677133] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31 [10462.678328] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input32
Tormen
At Tue, 16 Jul 2013 20:37:19 +0200, Tormen wrote:
On 16/07/13 11:15, Takashi Iwai wrote:
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
I am not 100% sure if it was or not, because I had applied the patch not with "quilt" ... but now I am: I put in some printk()'s and it still shows speaker_outs=0 :(
This doesn't matter at all from the beginning. You see a line "line_outs=1 (type: speaker)" before that. So, the speaker output is assigned as the primary output there.
The problem is, instead, that the primary DAC (thus its selector widget) is assigned to the headphone. Check whether NID 0x0c is assigned to "Speaker" volume, not for "Headphone". The no_primary_hp flag should have achieved it, but it turned out that 5.1 surround setup blocks it. That's why you got "Headphone" on NID 0x0c, and 0x0d/0x0e for the rest speaker and possible surrounds.
The new flag, no_multi_io prevents the creation of 5.1 setup, so that the speaker will be assigned to NID 0x0c, together with the combination of no_primary_hp.
I was wondering if it's a problem that the speaker_outs=0 is printed way before all the "fill_and_eval_dacs" changes of yours are executed?
I attached you my patch so that you can see what output corresponds to what piece of code.
alsa-info.sh: http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
And the complete output of my debug messages:
FIRST just loading the modules: modprobe snd debug=2 modprobe snd_hda_intel
[10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1
OK, so far, so good. Check whether NID 0x0c is assigned to "Speaker".
[10263.752896] hda_codec: ALC889: SKU not ready 0x411111f0 [10263.755938] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10263.758707] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10263.761476] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10263.764246] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10263.767028] ALSA hda_auto_parser.c:348 inputs: [10263.769908] ALSA hda_auto_parser.c:352 Mic=0x18 [10263.772632] ALSA hda_auto_parser.c:352 Mic=0x19 [10263.775354] ALSA hda_auto_parser.c:352 Internal Mic=0x12
And this didn't work? Did you adjust the mixer element again? Since this changes the mixer configuration, some new mixer element may come up. Give alsa-info.sh output at this moment, please.
[10263.778038] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10263.780832] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10263.783693] Tormen: parse_user_hints: val (from 'multi_io') == '-2' [10263.786078] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.787634] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.789531] Tormen: fill_and_eval_dacs: DDD [10263.790957] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.792364] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.793749] Tormen: fill_and_eval_dacs: DDD [10263.795150] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.796546] Tormen: fill_and_eval_dacs: DDD [10263.797932] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.799363] Tormen: fill_and_eval_dacs: DDD [10263.800759] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.802161] Tormen: fill_and_eval_dacs: AAA [10263.804110] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.805609] Tormen: fill_and_eval_dacs: BBB [10263.807265] Tormen: fill_and_eval_dacs: CCC [10263.810445] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input25 [10263.812063] Tormen: alc882_fixup_no_primary_hp: AAA [10263.818856] Tormen: alc882_fixup_no_primary_hp: AAA [10263.820812] Tormen: alc882_fixup_no_primary_hp: AAA [10263.822315] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26 [10263.823905] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27 [10263.825607] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
THEN with manual set multi_io = yes:
No, you need to set multi_io=no, as mentioned.
Takashi
echo "multi_io = yes"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1" >/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfig
[10462.452100] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [10462.614742] Tormen: alc882_fixup_no_primary_hp: AAA [10462.618508] Tormen: alc882_fixup_no_primary_hp: AAA [10462.620912] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1 [10462.623365] hda_codec: ALC889: SKU not ready 0x411111f0 [10462.626209] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10462.628736] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10462.631345] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10462.633911] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10462.636543] ALSA hda_auto_parser.c:348 inputs: [10462.639122] ALSA hda_auto_parser.c:352 Mic=0x18 [10462.640323] ALSA hda_auto_parser.c:352 Mic=0x19 [10462.641419] ALSA hda_auto_parser.c:352 Internal Mic=0x12 [10462.642554] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10462.643700] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10462.644841] Tormen: parse_user_hints: val (from 'multi_io') == '1' [10462.645988] Tormen: parse_user_hints: spec->no_multi_io == '1' [10462.647186] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.648520] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.649847] Tormen: fill_and_eval_dacs: DDD [10462.651038] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.652201] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.653352] Tormen: fill_and_eval_dacs: DDD [10462.654522] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.655673] Tormen: fill_and_eval_dacs: DDD [10462.656804] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.657944] Tormen: fill_and_eval_dacs: DDD [10462.659122] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.660266] Tormen: fill_and_eval_dacs: AAA [10462.661392] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.662576] Tormen: fill_and_eval_dacs: BBB [10462.664050] Tormen: fill_and_eval_dacs: CCC [10462.665700] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29 [10462.667026] Tormen: alc882_fixup_no_primary_hp: AAA [10462.673168] Tormen: alc882_fixup_no_primary_hp: AAA [10462.674864] Tormen: alc882_fixup_no_primary_hp: AAA [10462.675957] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30 [10462.677133] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31 [10462.678328] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input32
Tormen
Dear Takashi,
On 16/07/13 21:24, Takashi Iwai wrote:
At Tue, 16 Jul 2013 20:37:19 +0200, Tormen wrote:
On 16/07/13 11:15, Takashi Iwai wrote:
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
I am not 100% sure if it was or not, because I had applied the patch not with "quilt" ... but now I am: I put in some printk()'s and it still shows speaker_outs=0 :(
This doesn't matter at all from the beginning. You see a line "line_outs=1 (type: speaker)" before that. So, the speaker output is assigned as the primary output there.
The problem is, instead, that the primary DAC (thus its selector widget) is assigned to the headphone. Check whether NID 0x0c is assigned to "Speaker" volume, not for "Headphone". The no_primary_hp flag should have achieved it, but it turned out that 5.1 surround setup blocks it. That's why you got "Headphone" on NID 0x0c, and 0x0d/0x0e for the rest speaker and possible surrounds.
The new flag, no_multi_io prevents the creation of 5.1 setup, so that the speaker will be assigned to NID 0x0c, together with the combination of no_primary_hp.
I was wondering if it's a problem that the speaker_outs=0 is printed way before all the "fill_and_eval_dacs" changes of yours are executed?
I attached you my patch so that you can see what output corresponds to what piece of code.
alsa-info.sh: http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
And the complete output of my debug messages:
FIRST just loading the modules: modprobe snd debug=2 modprobe snd_hda_intel
[10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1
OK, so far, so good. Check whether NID 0x0c is assigned to "Speaker".
I would have to look how to do that.
[10263.752896] hda_codec: ALC889: SKU not ready 0x411111f0 [10263.755938] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10263.758707] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10263.761476] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10263.764246] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10263.767028] ALSA hda_auto_parser.c:348 inputs: [10263.769908] ALSA hda_auto_parser.c:352 Mic=0x18 [10263.772632] ALSA hda_auto_parser.c:352 Mic=0x19 [10263.775354] ALSA hda_auto_parser.c:352 Internal Mic=0x12
And this didn't work? Did you adjust the mixer element again? Since this changes the mixer configuration, some new mixer element may come up. Give alsa-info.sh output at this moment, please.
Sure:
http://www.alsa-project.org/db/?f=c8e8a56c21101322df1f5d847f8d1a37c7d44baf
< Master > Headphone Speaker Surround Center LFE Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled Channel Mode 2ch
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Tormen.
[10263.778038] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10263.780832] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10263.783693] Tormen: parse_user_hints: val (from 'multi_io') == '-2' [10263.786078] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.787634] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.789531] Tormen: fill_and_eval_dacs: DDD [10263.790957] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.792364] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.793749] Tormen: fill_and_eval_dacs: DDD [10263.795150] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.796546] Tormen: fill_and_eval_dacs: DDD [10263.797932] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.799363] Tormen: fill_and_eval_dacs: DDD [10263.800759] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.802161] Tormen: fill_and_eval_dacs: AAA [10263.804110] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.805609] Tormen: fill_and_eval_dacs: BBB [10263.807265] Tormen: fill_and_eval_dacs: CCC [10263.810445] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input25 [10263.812063] Tormen: alc882_fixup_no_primary_hp: AAA [10263.818856] Tormen: alc882_fixup_no_primary_hp: AAA [10263.820812] Tormen: alc882_fixup_no_primary_hp: AAA [10263.822315] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26 [10263.823905] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27 [10263.825607] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
THEN with manual set multi_io = yes:
No, you need to set multi_io=no, as mentioned.
Takashi
echo "multi_io = yes"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1" >/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfig
[10462.452100] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [10462.614742] Tormen: alc882_fixup_no_primary_hp: AAA [10462.618508] Tormen: alc882_fixup_no_primary_hp: AAA [10462.620912] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1 [10462.623365] hda_codec: ALC889: SKU not ready 0x411111f0 [10462.626209] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10462.628736] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10462.631345] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10462.633911] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10462.636543] ALSA hda_auto_parser.c:348 inputs: [10462.639122] ALSA hda_auto_parser.c:352 Mic=0x18 [10462.640323] ALSA hda_auto_parser.c:352 Mic=0x19 [10462.641419] ALSA hda_auto_parser.c:352 Internal Mic=0x12 [10462.642554] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10462.643700] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10462.644841] Tormen: parse_user_hints: val (from 'multi_io') == '1' [10462.645988] Tormen: parse_user_hints: spec->no_multi_io == '1' [10462.647186] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.648520] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.649847] Tormen: fill_and_eval_dacs: DDD [10462.651038] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.652201] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.653352] Tormen: fill_and_eval_dacs: DDD [10462.654522] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.655673] Tormen: fill_and_eval_dacs: DDD [10462.656804] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.657944] Tormen: fill_and_eval_dacs: DDD [10462.659122] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.660266] Tormen: fill_and_eval_dacs: AAA [10462.661392] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.662576] Tormen: fill_and_eval_dacs: BBB [10462.664050] Tormen: fill_and_eval_dacs: CCC [10462.665700] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29 [10462.667026] Tormen: alc882_fixup_no_primary_hp: AAA [10462.673168] Tormen: alc882_fixup_no_primary_hp: AAA [10462.674864] Tormen: alc882_fixup_no_primary_hp: AAA [10462.675957] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30 [10462.677133] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31 [10462.678328] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input32
Tormen
At Wed, 17 Jul 2013 01:23:29 +0200, Tormen wrote:
Dear Takashi,
On 16/07/13 21:24, Takashi Iwai wrote:
At Tue, 16 Jul 2013 20:37:19 +0200, Tormen wrote:
On 16/07/13 11:15, Takashi Iwai wrote:
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
I am not 100% sure if it was or not, because I had applied the patch not with "quilt" ... but now I am: I put in some printk()'s and it still shows speaker_outs=0 :(
This doesn't matter at all from the beginning. You see a line "line_outs=1 (type: speaker)" before that. So, the speaker output is assigned as the primary output there.
The problem is, instead, that the primary DAC (thus its selector widget) is assigned to the headphone. Check whether NID 0x0c is assigned to "Speaker" volume, not for "Headphone". The no_primary_hp flag should have achieved it, but it turned out that 5.1 surround setup blocks it. That's why you got "Headphone" on NID 0x0c, and 0x0d/0x0e for the rest speaker and possible surrounds.
The new flag, no_multi_io prevents the creation of 5.1 setup, so that the speaker will be assigned to NID 0x0c, together with the combination of no_primary_hp.
I was wondering if it's a problem that the speaker_outs=0 is printed way before all the "fill_and_eval_dacs" changes of yours are executed?
I attached you my patch so that you can see what output corresponds to what piece of code.
alsa-info.sh: http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
And the complete output of my debug messages:
FIRST just loading the modules: modprobe snd debug=2 modprobe snd_hda_intel
[10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1
OK, so far, so good. Check whether NID 0x0c is assigned to "Speaker".
I would have to look how to do that.
[10263.752896] hda_codec: ALC889: SKU not ready 0x411111f0 [10263.755938] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10263.758707] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10263.761476] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10263.764246] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10263.767028] ALSA hda_auto_parser.c:348 inputs: [10263.769908] ALSA hda_auto_parser.c:352 Mic=0x18 [10263.772632] ALSA hda_auto_parser.c:352 Mic=0x19 [10263.775354] ALSA hda_auto_parser.c:352 Internal Mic=0x12
And this didn't work? Did you adjust the mixer element again? Since this changes the mixer configuration, some new mixer element may come up. Give alsa-info.sh output at this moment, please.
Sure:
http://www.alsa-project.org/db/?f=c8e8a56c21101322df1f5d847f8d1a37c7d44baf
< Master > Headphone Speaker Surround Center LFE Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled Channel Mode 2ch
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Hm, so something clears the flag again (or prevents the flag working). Could you try to figure out when and where no_multi_io flag is set and cleared, e.g. by adding printk()s in the code path?
thanks,
Takashi
Tormen.
[10263.778038] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10263.780832] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10263.783693] Tormen: parse_user_hints: val (from 'multi_io') == '-2' [10263.786078] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.787634] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.789531] Tormen: fill_and_eval_dacs: DDD [10263.790957] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.792364] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.793749] Tormen: fill_and_eval_dacs: DDD [10263.795150] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.796546] Tormen: fill_and_eval_dacs: DDD [10263.797932] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.799363] Tormen: fill_and_eval_dacs: DDD [10263.800759] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10263.802161] Tormen: fill_and_eval_dacs: AAA [10263.804110] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10263.805609] Tormen: fill_and_eval_dacs: BBB [10263.807265] Tormen: fill_and_eval_dacs: CCC [10263.810445] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input25 [10263.812063] Tormen: alc882_fixup_no_primary_hp: AAA [10263.818856] Tormen: alc882_fixup_no_primary_hp: AAA [10263.820812] Tormen: alc882_fixup_no_primary_hp: AAA [10263.822315] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26 [10263.823905] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input27 [10263.825607] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input28
THEN with manual set multi_io = yes:
No, you need to set multi_io=no, as mentioned.
Takashi
echo "multi_io = yes"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1" >/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfig
[10462.452100] ALSA hda_hwdep.c:221 hda-codec: reconfiguring [10462.614742] Tormen: alc882_fixup_no_primary_hp: AAA [10462.618508] Tormen: alc882_fixup_no_primary_hp: AAA [10462.620912] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1 [10462.623365] hda_codec: ALC889: SKU not ready 0x411111f0 [10462.626209] ALSA hda_auto_parser.c:335 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [10462.628736] ALSA hda_auto_parser.c:339 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [10462.631345] ALSA hda_auto_parser.c:343 hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [10462.633911] ALSA hda_auto_parser.c:344 mono: mono_out=0x0 [10462.636543] ALSA hda_auto_parser.c:348 inputs: [10462.639122] ALSA hda_auto_parser.c:352 Mic=0x18 [10462.640323] ALSA hda_auto_parser.c:352 Mic=0x19 [10462.641419] ALSA hda_auto_parser.c:352 Internal Mic=0x12 [10462.642554] ALSA patch_realtek.c:466 realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [10462.643700] ALSA patch_realtek.c:549 realtek: Enable default setup for auto mode as fallback [10462.644841] Tormen: parse_user_hints: val (from 'multi_io') == '1' [10462.645988] Tormen: parse_user_hints: spec->no_multi_io == '1' [10462.647186] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.648520] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.649847] Tormen: fill_and_eval_dacs: DDD [10462.651038] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.652201] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.653352] Tormen: fill_and_eval_dacs: DDD [10462.654522] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.655673] Tormen: fill_and_eval_dacs: DDD [10462.656804] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.657944] Tormen: fill_and_eval_dacs: DDD [10462.659122] Tormen: fill_and_eval_dacs: 111 spec->no_multi_io == '0' [10462.660266] Tormen: fill_and_eval_dacs: AAA [10462.661392] Tormen: fill_and_eval_dacs: 222 spec->no_multi_io == '0' [10462.662576] Tormen: fill_and_eval_dacs: BBB [10462.664050] Tormen: fill_and_eval_dacs: CCC [10462.665700] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input29 [10462.667026] Tormen: alc882_fixup_no_primary_hp: AAA [10462.673168] Tormen: alc882_fixup_no_primary_hp: AAA [10462.674864] Tormen: alc882_fixup_no_primary_hp: AAA [10462.675957] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30 [10462.677133] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input31 [10462.678328] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input32
Tormen
On Wed, 2013-07-17 at 09:49 +0200, Takashi Iwai wrote:
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Hm, so something clears the flag again (or prevents the flag working). Could you try to figure out when and where no_multi_io flag is set and cleared, e.g. by adding printk()s in the code path?
So it looks like things stalled a bit here; if you still need info from someone with an affected system I can try and do it, but you might need to walk me through it / provide patches a bit more than the above, as I'm just a dumb qa monkey :) If you can make it a bit more 'tab a, slot b' I'll try and do the testing. Thanks!
At Tue, 17 Sep 2013 12:51:59 -0700, Adam Williamson wrote:
On Wed, 2013-07-17 at 09:49 +0200, Takashi Iwai wrote:
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Hm, so something clears the flag again (or prevents the flag working). Could you try to figure out when and where no_multi_io flag is set and cleared, e.g. by adding printk()s in the code path?
So it looks like things stalled a bit here; if you still need info from someone with an affected system I can try and do it, but you might need to walk me through it / provide patches a bit more than the above, as I'm just a dumb qa monkey :) If you can make it a bit more 'tab a, slot b' I'll try and do the testing. Thanks!
Could you just try 3.12-rc1?
Takashi
On Thu, 2013-09-19 at 18:45 +0200, Takashi Iwai wrote:
At Tue, 17 Sep 2013 12:51:59 -0700, Adam Williamson wrote:
On Wed, 2013-07-17 at 09:49 +0200, Takashi Iwai wrote:
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Hm, so something clears the flag again (or prevents the flag working). Could you try to figure out when and where no_multi_io flag is set and cleared, e.g. by adding printk()s in the code path?
So it looks like things stalled a bit here; if you still need info from someone with an affected system I can try and do it, but you might need to walk me through it / provide patches a bit more than the above, as I'm just a dumb qa monkey :) If you can make it a bit more 'tab a, slot b' I'll try and do the testing. Thanks!
Could you just try 3.12-rc1?
Sure, I'll get on that and get back to you.
I don't recall if we eventually established exactly how this is 'supposed to' work in the first place, but just in case we didn't, the 'extra' mic is input support on the headphone jack which is intended to be used for noise cancelling. The system came with earphones that have mics on the back of each ear, and the Windows install had a special audio driver which used the input from those mics to do noise cancelling.
I noticed yesterday PulseAudio can actually do noise cancelling now, so I think we have the bits in place where we could use this 'as it was intended to be used', perhaps: the 'extra input' should be available, and PA should offer an output profile that is 'output over the headphone jack with noise-cancelling based on input from the headphone jack'. That would be the 'ideal' setup, I guess. (You can also actually use the phones successfully as a headset, the mics pick up your own voice when you talk quite well...)
On Thu, 2013-09-19 at 13:44 -0700, Adam Williamson wrote:
On Thu, 2013-09-19 at 18:45 +0200, Takashi Iwai wrote:
At Tue, 17 Sep 2013 12:51:59 -0700, Adam Williamson wrote:
On Wed, 2013-07-17 at 09:49 +0200, Takashi Iwai wrote:
echo "multi_io = no"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/hints
echo "1"
/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfigure
http://www.alsa-project.org/db/?f=8494525c7988dc528a45cc1e45134666f3793d7a
< Master > Headphone Speaker Mic Mic Boost Mic 1 Mic Boost 1 Beep Auto-Mute Mode Enabled
AT THIS POINT IT WORKED !
But not automatically though ?! I have to manually put in the hint.
Hm, so something clears the flag again (or prevents the flag working). Could you try to figure out when and where no_multi_io flag is set and cleared, e.g. by adding printk()s in the code path?
So it looks like things stalled a bit here; if you still need info from someone with an affected system I can try and do it, but you might need to walk me through it / provide patches a bit more than the above, as I'm just a dumb qa monkey :) If you can make it a bit more 'tab a, slot b' I'll try and do the testing. Thanks!
Could you just try 3.12-rc1?
Sure, I'll get on that and get back to you.
3.12 RC1:
Internal speaker playback works Headphone playback works Internal mic is available as an input and works
Dedicated mic jack is NOT available as an input in GNOME control center Input line from headphone/headset jack is NOT available as an input in GNOME control center
pavucontrol shows Internal Microphone and Microphone inputs. If I plug my headset into the dedicated mic jack, set the pavucontrol input to Microphone, and fiddle with the headset, I see the volume levels bouncing around, so it looks like that is the dedicated mic jack and it works. There does not appear to be any input channel in PA that maps to the input line from the headphone/headset jack. Jack sensing works - input switches between "Microphone" and "Internal Microphone" as I plug and unplug something from the dedicated mic jack.
alsamixer shows 'Mic', 'Mic 1' and 'Internal Mic' inputs; I can't get pavucontrol to show any input level from a headset plugged into the headset/headphone jack no matter how I twiddle with it, though.
Overall looking pretty good except for a bug in the GNOME control panel applet for sound and the lack of handling of the input line from the headphone/headset jack (I don't know if this ever worked in the past, anyway, I only finally figured out what all the inputs actually are in the context of this thread).
On 16/07/13 21:24, Takashi Iwai wrote:
At Tue, 16 Jul 2013 20:37:19 +0200, Tormen wrote:
On 16/07/13 11:15, Takashi Iwai wrote:
It doesn't look like the driver patched properly. Try to put some printk() in the patched code path to confirm that you're really testing the patched driver.
Takashi
I am not 100% sure if it was or not, because I had applied the patch not with "quilt" ... but now I am: I put in some printk()'s and it still shows speaker_outs=0 :(
This doesn't matter at all from the beginning. You see a line "line_outs=1 (type: speaker)" before that. So, the speaker output is assigned as the primary output there.
The problem is, instead, that the primary DAC (thus its selector widget) is assigned to the headphone. Check whether NID 0x0c is assigned to "Speaker" volume, not for "Headphone". The no_primary_hp flag should have achieved it, but it turned out that 5.1 surround setup blocks it. That's why you got "Headphone" on NID 0x0c, and 0x0d/0x0e for the rest speaker and possible surrounds.
The new flag, no_multi_io prevents the creation of 5.1 setup, so that the speaker will be assigned to NID 0x0c, together with the combination of no_primary_hp.
I was wondering if it's a problem that the speaker_outs=0 is printed way before all the "fill_and_eval_dacs" changes of yours are executed?
I attached you my patch so that you can see what output corresponds to what piece of code.
alsa-info.sh: http://www.alsa-project.org/db/?f=c644b65a9e25fd1cef5b4b53d6d806d45526e5b2
And the complete output of my debug messages:
FIRST just loading the modules: modprobe snd debug=2 modprobe snd_hda_intel
[10263.731133] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X [10263.747274] Tormen: alc882_fixup_no_primary_hp: AAA [10263.750059] Tormen: alc882_fixup_no_primary_hp: BBB ==> set spec->no_multi_io = 1
OK, so far, so good. Check whether NID 0x0c is assigned to "Speaker".
Yes, it is assigned to "Speaker playback volume", index=0, device=0, chs=3, dir=1, idx=0, ofs=0
Tormen
participants (4)
-
Adam Williamson
-
Takashi Iwai
-
Tormen
-
Tormen