Date: Fri, 30 Nov 2001 18:00:42 +0000 From: Tony Finch <dot@dotat.at> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/32404: ESS Allegro-1 fails to recover from APM suspend/resume Message-ID: <E169rxq-0003cK-00@hand.dotat.at>
next in thread | raw e-mail | index | archive | help
>Number: 32404
>Category: kern
>Synopsis: ESS Allegro-1 fails to recover from APM suspend/resume
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 30 10:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Tony Finch <dot@dotat.at>
>Release: FreeBSD 4.4-STABLE-20011129 i386
>Organization:
dotat labs
>Environment:
System: FreeBSD hand.dotat.at 4.4-STABLE-20011129 FreeBSD 4.4-STABLE-20011129 #3: Fri Nov 30 08:48:17 GMT 2001 fanf@hand.dotat.at:/FreeBSD/obj/FreeBSD/releng4/sys/SHARP i386
The machine is a SHARP PC-AR10; dmesg says:
[...]
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
[...]
found-> vendor=0x125d, dev=0x1988, revid=0x12
class=04-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=10
map[10]: type 1, range 32, base 0000f400, size 8
found-> vendor=0x125d, dev=0x1989, revid=0x12
class=07-80-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=10
map[10]: type 1, range 32, base 0000f000, size 8
[...]
pcm0: <ESS Technology Allegro-1> port 0xf400-0xf4ff irq 10 at device 14.0 on pci0
pcm0: ac97 codec id 0x45838308 (ESS Technology ES1921)
pcm0: ac97 codec features 20 bit DAC, 20 bit ADC, 5 bit master volume, ESS Technology Stereo Enhancement
pcm0: ac97 primary codec extended features double rate PCM
pcm: setmap 7b5d000, 1000; 0xc14fa000 -> 7b5d000
pcm: setmap 7b61000, 1000; 0xc14fe000 -> 7b61000
pci0: <unknown card> (vendor=0x125d, dev=0x1989) at 14.1 irq 10
[...]
pcm is compiled into the kernel; I modified sys/conf/files to include
the maestro3 driver and to exclude all the other sound drivers.
The source for the driver includes:
* executive status summary:
* (+) apm suspend/resume works, and works properly!.
>Description:
I suspended while playing a CD in the ATA CD drive using `cdcontrol
play`; when the machine resumed, sound no longer worked at all:
neither playing CDs nor mp3s, etc. The kernel log said:
pcm0: play interrupt timeout, channel dead
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E169rxq-0003cK-00>
