Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 22:04:18 +0200
From:      K Staring <qdk@quickdekay.net>
To:        freebsd-hackers@freebsd.org
Subject:   snd_hda(4) pin patches WIP (was: Re: new laptop, no sound in spite of driver attaching)
Message-ID:  <20180516220418.1b7c25454c1d30bf2dbf9cbe@quickdekay.net>
In-Reply-To: <alpine.BSF.2.20.1804301354400.18403@puchar.net>
References:  <alpine.BSF.2.20.1804301354400.18403@puchar.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
After initial success with getting the jack plug output on my Dell XPS 9650 to work (since been merged into -CURRENT), I've been busy to port some of the pin patches from Linux to FreeBSD's snd_hda(4) driver.

Apparently Intel's HDA specification is very difficult to implement correctly, or "we'll fix it in software" prevails: there are a *lot* of patches to make hardware work in the Linux source...

There are three kinds of patches present in snd_hda (and similarly in the hda Linux code) :

- pin patches
- GPIO patches
- "other" (manual fiddling in code)

I've been focussing on pin patches for now, for Realtek chipsets. So if you run CURRENT, have problems with the snd_hda(4) driver and your system has a Realtek audio chipset, this github branch might be useful: https://github.com/kstaring/freebsd/tree/hda_pin_fixes_realtek . At the moment, most pin patches for the Realtek ALC260, ALC268, ALC269, ALC271, ACL280 and ALC880 are ported (barring some unclear or strange entries in the Linux source).
I'd appreciate all feedback!

-- 
K Staring <qdk@quickdekay.net>

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEQdP3BANRX65TrEyuO++4CB4086wFAlr8jsMACgkQO++4CB40
86x2IggAt9JBExUmlWGZPIziQgRXtsXGOK1kZ9ggMwrbdGCrpTpt8+1A8yM7uHFu
XfBMR5Ts8IV706vG8uX/L7ZP8O/jecb+koE4io607JBQV3yTN2HWg6O4qOenIIbI
VvZHqM1S5H1Oakpm7uQ+vFmZFjtKreaR2QOXmOn6HvkXciuRc5PmyHP77JIp0pLs
n7YEresAcT6uSQRUjmg4GxOAERBhS3iu02KLq7Jo18YJ/8z8caw3q+yvzEz9oLqE
FSM727t/XifR5MXaMKgI6cBZirn1wKinCSLOWokGytqYQkWu3uMe5DTAYw37BD9d
vmD5/QIbZIYQhRWinFhsU/IN3+Yz0g==
=2ff4
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180516220418.1b7c25454c1d30bf2dbf9cbe>