Bug 140591 - [PATCH][sound] No sound output on lineout/headphone jacks using AD1980 AC'97 codec chip (Fujitsu C610)
Summary: [PATCH][sound] No sound output on lineout/headphone jacks using AD1980 AC'97 ...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 7.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2009-11-16 02:30 UTC by Taketo Kabe
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:

file.diff (2.02 KB, patch)
2009-11-16 02:30 UTC, Taketo Kabe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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