From owner-freebsd-bugs Fri Nov 30 10:10:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4F66B37B41C for ; Fri, 30 Nov 2001 10:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAUIA1v23890; Fri, 30 Nov 2001 10:10:01 -0800 (PST) (envelope-from gnats) Received: from hand.dotat.at (host217-35-29-15.in-addr.btopenworld.com [217.35.29.15]) by hub.freebsd.org (Postfix) with ESMTP id 0B0B237B405 for ; Fri, 30 Nov 2001 10:00:37 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.33 #1) id 169rxq-0003cK-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 30 Nov 2001 18:00:42 +0000 Message-Id: Date: Fri, 30 Nov 2001 18:00:42 +0000 From: Tony Finch Reply-To: Tony Finch To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/32404: ESS Allegro-1 fails to recover from APM suspend/resume Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >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: 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: 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: (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