kern/75969: [patch] Support for Sigmatel STAC9766/67 codec in sound
driver
Bram
bram at abbekerk.demon.nl
Sat Jan 8 13:40:39 PST 2005
>Number: 75969
>Category: kern
>Synopsis: [patch] Support for Sigmatel STAC9766/67 codec in sound driver
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 08 21:40:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Bram Abbekerk
>Release: FreeBSD 5.3-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD grover.inimini.nl 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005 root at sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK i386
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.51 2004/05/08 03:41:40 sanpei Exp $
>Description:
Hi Sanpei,
The STAC9766/67 codecs are not recognized with the pcm soundcard
in my lifebook C1110. Therefore the soundcard doesn't work. After
applying attached patch the codec is recognized and the soundcard is
working.
>How-To-Repeat:
N/A
>Fix:
Addition of codec id to ac97codecid array in sys/dev/sound/pcm/ac97.c
--- dmesg.boot begins here ---
FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005
root at sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK
...
pcm0: <Intel ICH4 (82801DB)> port 0x2080-0x20bf,0x1800-0x18ff mem 0xd0100800-0xd01008ff,0xd0100c00-0xd0100dff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Unknown AC97 Codec (id=0x83847666,)>
...
--- dmesg.boot ends here ---
After patch:
--- dmesg.boot begins here ---
FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005
root at sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK
...
pcm0: <Intel ICH4 (82801DB)> port 0x2080-0x20bf,0x1800-0x18ff mem 0xd0100800-0xd01008ff,0xd0100c00-0xd0100dff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <SigmaTel STAC9766/67 AC97 Codec>
...
--- dmesg.boot ends here ---
--- sigmatel.patch begins here ---
*** sys/dev/sound/pcm/ac97.c.org Sat Jan 8 14:46:34 2005
--- sys/dev/sound/pcm/ac97.c Sat Jan 8 14:45:58 2005
***************
*** 191,196 ****
--- 191,197 ----
{ 0x83847658, 0x00, 0, "STAC9758/59", 0 },
{ 0x83847660, 0x00, 0, "STAC9760/61", 0 }, /* Extrapolated */
{ 0x83847662, 0x00, 0, "STAC9762/63", 0 }, /* Extrapolated */
+ { 0x83847666, 0x00, 0, "STAC9766/67", 0 },
{ 0x53494c22, 0x00, 0, "Si3036", 0 },
{ 0x53494c23, 0x00, 0, "Si3038", 0 },
{ 0x54524103, 0x00, 0, "TR28023", 0 }, /* Extrapolated */
--- sigmatel.patch ends here ---
Cheers,
bRAM
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list