[alsa-devel] A tweak to the intel codec to get rid of the hiss.
I apologise for the noise on the list, but I noted that on a number of HDA card, the default produces a small static noise, and I tracked it down to some channels which I believe ought to be muted.
Attached is the output of alsa-info.sh, and the diff from the python hda tweak tool.
This helped both for my laptop and desktop (both HDA cards, different models).
Cheers!
Diff for codec 1/0 (0x10ec0280): --- +++ @@ -17,17 +17,17 @@ IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out Device: name="ALC3220 Analog", type="Audio", device=0 Control: name="PCM Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=1, idx=0, ofs=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 - Amp-Out vals: [0x2e 0x2e] + Amp-Out vals: [0x2f 0x2f] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power: setting=D0, actual=D0 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 @@ -66,17 +66,17 @@ rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power: setting=D0, actual=D0 Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1 - Amp-In vals: [0x97 0x97] + Amp-In vals: [0x17 0x17] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power: setting=D0, actual=D0 Connection: 1 @@ -87,27 +87,27 @@ ControlAmp: chs=3, dir=1, idx=2, ofs=0 Control: name="Front Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=1, idx=2, ofs=0 Control: name="Rear Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=1, idx=0, ofs=0 Control: name="Rear Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=1, idx=0, ofs=0 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 - Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] + Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] Connection: 5 0x18 0x19 0x1a 0x1b 0x1d Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x02 0x0b Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 - Amp-In vals: [0x00 0x00] [0x00 0x00] + Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x03 0x0b Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: 0x80 0x00 Connection: 2 0x02 0x0
On Fri, 08 Apr 2016 14:02:37 +0200, Cyrille Dunant wrote:
I apologise for the noise on the list, but I noted that on a number of HDA card, the default produces a small static noise, and I tracked it down to some channels which I believe ought to be muted.
Attached is the output of alsa-info.sh, and the diff from the python hda tweak tool.
This helped both for my laptop and desktop (both HDA cards, different models).
The recent kernel already provides "Loopback Mixing" enum control, and this should reduce the noise on codecs like yours. Give it a try.
Takashi
participants (2)
-
Cyrille Dunant
-
Takashi Iwai