Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 219350] [snd_hda] ALC256: no sound out off headphones jack

1 view
Skip to first unread message

bugzilla...@freebsd.org

unread,
May 5, 2018, 10:01:13 AM5/5/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219350

Ivan <b...@abinet.ru> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |b...@abinet.ru

--- Comment #16 from Ivan <b...@abinet.ru> ---
I have Dell XPS13 (Skylake) with ALC256

After I applied this patch, sound is greatly improved (before it was distorted
beyond recognition).

However, some static noises left, actually they reflect my actions, changing
tone and loudness when I switch windows, scrolling and so on. Noise look the
same for 100 vol or 1 (vol = 0 or pcm=0 shut it completely). Onboard speakers
are OK.

I looked into linux quirks and found several fixes for this troublesome codec.
I can't figure out which you applied, was it
ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE ?

Maybe, something can be improved ?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-m...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multime...@freebsd.org"

bugzilla...@freebsd.org

unread,
May 7, 2018, 12:30:15 AM5/7/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219350

--- Comment #17 from Masachika ISHIZUKA <i...@amail.plala.or.jp> ---
(In reply to Ivan from comment #16)
I don't apply any of ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE.
The patch above is common ALC256 patch, not for specific machines.
This patch is from alc256_init() in linux/sound/pci/hda/patch_realtek.c.

bugzilla...@freebsd.org

unread,
May 7, 2018, 5:36:24 AM5/7/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219350

--- Comment #18 from Ivan <b...@abinet.ru> ---
(In reply to Masachika ISHIZUKA from comment #17)
Do you know what they are doing here?
[ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE] = {
.type = HDA_FIXUP_VERBS,
.v.verbs = (const struct hda_verb[]) {
/* Disable pass-through path for FRONT 14h */
{0x20, AC_VERB_SET_COEF_INDEX, 0x36},
{0x20, AC_VERB_SET_PROC_COEF, 0x1737},
{}
},

0x20 looks like nid
So, it's a write hdaa_write_coef(dev, 0x20, AC_VERB_SET_COEF_INDEX, 0x36) ?

Defines:
#define AC_VERB_SET_PROC_COEF 0x400
#define AC_VERB_SET_COEF_INDEX 0x500

bugzilla...@freebsd.org

unread,
May 7, 2018, 8:21:59 AM5/7/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219350

--- Comment #19 from Masachika ISHIZUKA <i...@amail.plala.or.jp> ---
(In reply to Ivan from comment #18)
I don't know what is doing with ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE.
I found the below when searching with
'ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE'.

| On Tue, 24 Nov 2015 04:08:18 +0100,
| Hui Wang wrote:
| >
| > We have a machine Dell XPS 13 with the codec alc256, after resume back
| > from S3, the headphone has noise when play sound.
| >
| > Through comparing with the coeff vaule before and after S3, we found
| > restoring a coeff register will help remove noise.

So, I think that patch is for resume.

bugzilla...@freebsd.org

unread,
May 20, 2018, 4:50:35 PM5/20/18
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219350

Neel Chauhan <ne...@neelc.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |ne...@neelc.org

--- Comment #20 from Neel Chauhan <ne...@neelc.org> ---
Created attachment 193575
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193575&action=edit
Patch for the ALC255 and ALC256

This also affects the Dell Inspiron 7352 which uses the ALC255 codec.
0 new messages