Bug 140591

Summary: [PATCH][sound] No sound output on lineout/headphone jacks using AD1980 AC'97 codec chip (Fujitsu C610)
Product: Base System Reporter: Taketo Kabe <kabe>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Taketo Kabe 2009-11-16 02:30:01 UTC
	Internal speaker perfectly works, but
	headphone or lineout jacks have no audio output.

Fix: The patch below will only fix Fujitsu C610,
	but just collapsing into 

void ad198x_patch(struct ac97_info* codec)
{
	ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0400);
}

	seems to be the better solution. Also backportable to older FreeBSD.

(cd /usr/src; env TZ=GMT diff -u sys/dev/sound/pcm/ac97_patch.c{.dist,})
How-To-Repeat: 	With motherboards with AD1980 codec, and monitoring its LINE_OUT pins,
	play some audio. No audio output.
	SURR_OUT/HP_OUT pins will have output.
	These AD1980 pins may be wired in various ways to lineout/headphone/internal
	speakers, and some configuration (particulary laptops) may not have
	one of the output wired.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-11-16 04:47:13 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-multimedia

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:55 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped