[pulseaudio-discuss] Need help with audio gain on an Intel HDA equipt ASUS M2N-SLI Deluxe

Raymond Yau superquad.vortex2 at gmail.com
Wed Jan 15 19:36:30 PST 2014


> > > > Running an older ubuntu 10.04.4 LTS 32 bit build because a
> > > > > specially patched rtai kernel is mandatory for one app.  However,
> > > > > I am booted to a 32bit 3.12.6 build ATM.
> > > > >
> > > > > The Audigy2 Value (SBO-400) card, and my amps/3way speaker all
> > > > > went south for the winter in a space of about 3 weeks, so I
> > > > > bought another amplified 3way kit and switched the audio back to
> > > > > the intel HDA facilities on this motherboard.
> > > > >
> > > > > Is there anyplace where I might find another 20 db of gain?  Its
> > > > > so quiet, even a youtube video would never get me accused of
> > > > > disturbing the peace.
> > > >
> > > > Please post the output of alsa-info.sh
> > >
> >
> > Seem you have set up to use  AC97 front audio panel in BIOS setup
>
> Humm, no such beast as an FP audio breakout here.
>

no jack detection when Misc = NO_PRESENCE

Node 0x11 [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="Front Headphone Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214130: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x22

how accurate are the Impedance sense of jack detection of the rear panel  ?

https://bugzilla.kernel.org/show_bug.cgi?id=66621#c41


> > Post the output of
> >
> > pactl list
>
>
> Sink #0
>         State: RUNNING
>         Name: alsa_output.pci-0000_00_06.1.analog-stereo
>         Description: Internal Audio Analog Stereo
>         Driver: module-alsa-card.c
>         Sample Specification: s16le 2ch 44100Hz
>         Channel Map: front-left,front-right
>         Owner Module: 4
>         Mute: no
>         Volume: 0: 100% 1: 100%
>                 0: 0.00 dB 1: 0.00 dB
>                 balance 0.00
>         Base Volume: 100%
>                      0.00 dB
>         Monitor Source: alsa_output.pci-0000_00_06.1.analog-stereo.monitor
>         Latency: 122184 usec, configured 200000 usec
>         Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
>         Properties:
>                 alsa.resolution_bits = "16"
>                 device.api = "alsa"
>                 device.class = "sound"
>                 alsa.class = "generic"
>                 alsa.subclass = "generic-mix"
>                 alsa.name = "AD1988B Analog"
>                 alsa.id = "AD1988B Analog"
>                 alsa.subdevice = "0"
>                 alsa.subdevice_name = "subdevice #0"
>                 alsa.device = "0"
>                 alsa.card = "0"
>                 alsa.card_name = "HDA NVidia"
>                 alsa.long_card_name = "HDA NVidia at 0xfe020000 irq 20"
>                 alsa.driver_name = "snd_hda_intel"
>                 device.bus_path = "pci-0000:00:06.1"
>                 sysfs.path = "/devices/pci0000:00/0000:00:06.1/sound/card0"
>                 device.bus = "pci"
>                 device.vendor.id = "10de"
>                 device.vendor.name = "nVidia Corporation"
>                 device.product.id = "0371"
>                 device.product.name = "MCP55 High Definition Audio"
>                 device.form_factor = "internal"
>                 device.string = "front:0"
>                 device.buffering.buffer_size = "65536"
>                 device.buffering.fragment_size = "32768"
>                 device.access_mode = "mmap+timer"
>                 device.profile.name = "analog-stereo"
>                 device.profile.description = "Analog Stereo"
>                 device.description = "Internal Audio Analog Stereo"
>                 alsa.mixer_name = "Analog Devices AD1988B"
>                 alsa.components = "HDA:11d4198b,104381f6,00100400"
>                 module-udev-detect.discovered = "1"
>                 device.icon_name = "audio-card-pci"
>         Ports:
>                 analog-output: Analog Output (priority. 9900)
>                 analog-output-headphones: Analog Headphones (priority.
> 9000)
>         Active Port: analog-output
>
> Sink #1
>         State: RUNNING
>         Name: alsa_output.pci-0000_03_00.1.hdmi-stereo
>         Description: High Definition Audio Controller Digital Stereo (HDMI)
>         Driver: module-alsa-card.c
>         Sample Specification: s16le 2ch 44100Hz
>         Channel Map: front-left,front-right
>         Owner Module: 5
>         Mute: no
>         Volume: 0: 100% 1: 100%
>                 0: 0.00 dB 1: 0.00 dB
>                 balance 0.00
>         Base Volume: 100%
>                      0.00 dB
>         Monitor Source: alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor
>         Latency: 122243 usec, configured 200000 usec
>         Flags: HARDWARE DECIBEL_VOLUME LATENCY
>         Properties:
>                 alsa.resolution_bits = "16"
>                 device.api = "alsa"
>                 device.class = "sound"
>                 alsa.class = "generic"
>                 alsa.subclass = "generic-mix"
>                 alsa.name = "HDMI 0"
>                 alsa.id = "HDMI 0"
>                 alsa.subdevice = "0"
>                 alsa.subdevice_name = "subdevice #0"
>                 alsa.device = "3"
>                 alsa.card = "1"
>                 alsa.card_name = "HDA NVidia"
>                 alsa.long_card_name = "HDA NVidia at 0xf9ffc000 irq 16"
>                 alsa.driver_name = "snd_hda_intel"
>                 device.bus_path = "pci-0000:03:00.1"
>                 sysfs.path =
> "/devices/pci0000:00/0000:00:0f.0/0000:03:00.1/sound/card1"
>                 device.bus = "pci"
>                 device.vendor.id = "10de"
>                 device.vendor.name = "nVidia Corporation"
>                 device.product.id = "0be3"
>                 device.product.name = "High Definition Audio Controller"
>                 device.string = "hdmi:1"
>                 device.buffering.buffer_size = "65536"
>                 device.buffering.fragment_size = "32768"
>                 device.access_mode = "mmap+timer"
>                 device.profile.name = "hdmi-stereo"
>                 device.profile.description = "Digital Stereo (HDMI)"
>                 device.description = "High Definition Audio Controller
> Digital Stereo (HDMI)"
>                 alsa.mixer_name = "Nvidia GPU 0b HDMI/DP"
>                 alsa.components = "HDA:10de000b,10de0101,00100200"
>                 module-udev-detect.discovered = "1"
>                 device.icon_name = "audio-card-pci"
>
> Sink #2
>         State: IDLE
>         Name: combined
>         Description: Simultaneous output to Internal Audio Analog Stereo,
> High Definition Audio Controller Digital Stereo (HDMI)
>         Driver: module-combine.c
>         Sample Specification: s16le 2ch 44100Hz
>         Channel Map: front-left,front-right
>         Owner Module: 10
>         Mute: no
>         Volume: 0:  54% 1:  54%
>                 0: -16.05 dB 1: -16.05 dB
>                 balance 0.00
>         Base Volume: 100%
>                      0.00 dB
>         Monitor Source: combined.monitor
>         Latency: 164535 usec, configured 200000 usec
>         Flags: DECIBEL_VOLUME LATENCY
>         Properties:
>                 device.class = "filter"
>                 device.description = "Simultaneous output to Internal Audio
> Analog Stereo, High Definition Audio Controller Digital Stereo (HDMI)"
>                 device.icon_name = "audio-card"
>
>         Owner Module: 10
>         Client: n/a
>         Sink: 0
>         Sample Specification: s16le 2ch 44100Hz
>         Channel Map: front-left,front-right
>         Mute: no
>         Volume: 0: 100% 1: 100%
>                 0: 0.00 dB 1: 0.00 dB
>                 balance 0.00
>         Buffer Latency: 0 usec
>         Sink Latency: 121689 usec
>         Resample method: trivial
>         Properties:
>                 media.name = "Simultaneous output on Internal Audio Analog
> Stereo"
>                 media.role = "filter"
>                 module-stream-restore.id = "sink-input-by-media-
> role:filter"
>
> Sink Input #1
>         Driver: module-combine.c
>         Owner Module: 10
>         Client: n/a
>         Sink: 1
>         Sample Specification: s16le 2ch 44100Hz
>         Channel Map: front-left,front-right
>         Mute: no
>         Volume: 0: 100% 1: 100%
>                 0: 0.00 dB 1: 0.00 dB
>                 balance 0.00
>         Buffer Latency: 0 usec
>         Sink Latency: 121844 usec
>         Resample method: trivial
>         Properties:
>                 media.name = "Simultaneous output on High Definition Audio
> Controller Digital Stereo (HDMI)"
>                 media.role = "filter"
>                 module-stream-restore.id = "sink-input-by-media-
> role:filter"
>
>
> Card #0
>         Name: alsa_card.pci-0000_00_06.1
>         Driver: module-alsa-card.c
>         Owner Module: 4
>         Properties:
>                 alsa.card = "0"
>                 alsa.card_name = "HDA NVidia"
>                 alsa.long_card_name = "HDA NVidia at 0xfe020000 irq 20"
>                 alsa.driver_name = "snd_hda_intel"
>                 device.bus_path = "pci-0000:00:06.1"
>                 sysfs.path = "/devices/pci0000:00/0000:00:06.1/sound/card0"
>                 device.bus = "pci"
>                 device.vendor.id = "10de"
>                 device.vendor.name = "nVidia Corporation"
>                 device.product.id = "0371"
>                 device.product.name = "MCP55 High Definition Audio"
>                 device.form_factor = "internal"
>                 device.string = "0"
>                 device.description = "Internal Audio"
>                 module-udev-detect.discovered = "1"
>                 device.icon_name = "audio-card-pci"
>         Profiles:
>                 output:analog-stereo: Analog Stereo Output (sinks: 1,
> sources: 0, priority. 6000)
>                 output:analog-stereo+input:analog-stereo: Analog Stereo
> Duplex (sinks: 1, sources: 1, priority. 6060)
>                 output:analog-surround-40: Analog Surround 4.0 Output
> (sinks: 1, sources: 0, priority. 700)
>                 output:analog-surround-40+input:analog-stereo: Analog
> Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 760)
>                 output:analog-surround-41: Analog Surround 4.1 Output
> (sinks: 1, sources: 0, priority. 800)
>                 output:analog-surround-41+input:analog-stereo: Analog
> Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 860)
>                 output:analog-surround-50: Analog Surround 5.0 Output
> (sinks: 1, sources: 0, priority. 700)
>                 output:analog-surround-50+input:analog-stereo: Analog
> Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 760)
>                 output:analog-surround-51: Analog Surround 5.1 Output
> (sinks: 1, sources: 0, priority. 800)
>                 output:analog-surround-51+input:analog-stereo: Analog
> Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 860)
>                 output:analog-surround-71: Analog Surround 7.1 Output
> (sinks: 1, sources: 0, priority. 700)
>                 output:analog-surround-71+input:analog-stereo: Analog
> Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 760)
>                 output:iec958-stereo: Digital Stereo Duplex (IEC958)
> (sinks: 1, sources: 0, priority. 5500)
>                 output:iec958-stereo+input:analog-stereo: Digital Stereo
> (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority.
> 5560)
>                 input:analog-stereo: Analog Stereo Input (sinks: 0,
> sources: 1, priority. 60)
>                 off: Off (sinks: 0, sources: 0, priority. 0)
>         Active Profile: output:analog-stereo
>
>


it is strange that the state of two sinks are RUNNING (sink #0 and sink # 1)


> >
> > pulseaudio verbose log
>
> root at coyote:/home/gene/Downloads# pulseaudio verbose log
> E: main.c: Too many arguments.
>

pulseaudio -vvvv


> >
> > Simple mixer control 'IEC958',0
> > Capabilities: pswitch pswitch-joined penum
> > Playback channels: Mono
> > Mono: Playback [off]
> > Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch
> > pswitch-joined penum Playback channels: Mono
> > Mono: Playback [on]
> >
> > Turn off IEC958 Default PCM If you are not using iec958
> >
> > Analog output node 0x03 support rates [0x7ff]: 8000 11025 16000 22050
> > 32000 44100 48000 88200 96000 176400 192000
> >
> > but only support  rates [0x7e0]: 44100 48000 88200 96000 176400 192000
> > when share with digial output node 0x02
>

alsamixer -c1


Did you test with 16 bit or 24 bit audio ?

analog output can support 8000, 11025, 16000, 22050 and 32000 when you turn
off "IEC958 Default PCM"


 >
> > pcm playback volume (softvol plugin also support gain) in hda-Intel.conf
>
> And where do I hack on the above stuffs?
>

http://git.alsa-project.org/?p=alsa-lib.git;a=blob_plain;f=src/conf/cards/HDA-Intel.conf;hb=HEAD

just change "PCM Playback Volume" similar to "Digital Capture Volume" which
has both atten and gain

but it won't have any effect if you are not using  front device
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140116/9aaebd87/attachment-0001.html>


More information about the pulseaudio-discuss mailing list