FreeBSD

kern/20285: YMF724 initialization fails on my environment.

From:inoue@argv.org
Date:29 Jul 2000 21:36:11 +0900
Subject:YAMAHA YMF724 init fails
Send-pr version:3.2

Number:20285
Category:kern
Synopsis:YMF724 initialization fails on my environment.
Severity:non-critical
Priority:medium
Responsible:freebsd-bugs@FreeBSD.org
State:closed
Class:change-request
Arrival-Date:Sat Jul 29 05:40:05 PDT 2000
Closed-Date:Sat Jul 29 09:57:00 PDT 2000
Last-Modified:Sat Jul 29 09:57:36 PDT 2000
Originator:Koichi INOUE
Release:FreeBSD 4.1-STABLE i386

Organization:
Accessibility Research Group for the Visually-Impaired
 
Environment:
CPU: Pentium III/450Mhz
Mem: 128Mb
MB: AOpen AX6BC-R
Sound: YAMAHA Waveforce192D, SB VIBRA16X
Description:
In my system the YMF724 based board (YAMAHA Waveforce 192D) is installed. I tried to make the kernel with the option
device pcm
but it fails to initialize as follows:

pcm0: <Yamaha DS-1E (YMF724F)> mem 0xed020000-0xed027fff irq 11 at device 9.0 on pci0
pcm0: ac97 codec init failed
How-To-Repeat:
In the same hardware environment, make kernel with the above configuration and reboot. It may (or not) occur.
Fix:
In /sys/dev/sound/pci/ds1.c there is the following code:
if (sc->type == 8)
DELAY(400000);
When I commented out the 'if' line and increased the delay to 500000, the chip is correctly initialized.
Release-Note:
 
Audit-Trail:
State Changed
From-To:open->closed
By:jedgar
When:Sat Jul 29 09:57:00 PDT 2000
Why:Duplicate of kern/20278

Responsible Changed
From-To:gnats-admin->freebsd-bugs
By:jedgar
When:Sat Jul 29 09:57:00 PDT 2000
Why:Misfiled PR

Unformatted:
 
Submit Followup | Raw PR | Find another PR