svn commit: r355570 - head/sys/dev/sound/pci/hda

Colin Percival cperciva at tarsnap.com
Wed Mar 18 22:15:01 UTC 2020


On 2019-12-09 11:25, Mark Johnston wrote:
> Author: markj
> Date: Mon Dec  9 19:25:15 2019
> New Revision: 355570
> URL: https://svnweb.freebsd.org/changeset/base/355570
> 
> Log:
>   Configure headphone redirection for the Dell L780 and X1 Carbon 7th gen.
>   
>   As we do for many other laptops, put the headphone jack and speakers in
>   the same association by default so that the generic sound device
>   automatically switches between them.
>   
> [...]
> -	} else if (id == HDA_CODEC_ALC256 && subid == DELL_I7577_SUBVENDOR) {
> +	} else if (id == HDA_CODEC_ALC256 && (subid == DELL_I7577_SUBVENDOR ||
> +	    subid == DELL_L7480_SUBVENDOR)) {
>  		switch (nid) {
>  		case 20:
>  			patch = "as=1 seq=0";> [...]

This is what we need for the Dell Latitude 7390 too -- nid20 is the internal
speakers while nid33 is the headphone jack.  Can you make the change or walk
me through what needs to be done?  (I'm not sure how the _SUBVENDOR bit
works.)

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


More information about the svn-src-all mailing list