From root@enter.galati.rdsnet.ro  Fri Jul 18 14:12:23 2003
Return-Path: <root@enter.galati.rdsnet.ro>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4E34E37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Jul 2003 14:12:23 -0700 (PDT)
Received: from enter.galati.rdsnet.ro (ws-t2.galati.rdsnet.ro [193.231.184.57])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 22C3443FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Jul 2003 14:12:00 -0700 (PDT)
	(envelope-from root@enter.galati.rdsnet.ro)
Received: from enter.galati.rdsnet.ro (localhost.galati.rdsnet.ro [127.0.0.1])
	by enter.galati.rdsnet.ro (8.12.9/8.12.9) with ESMTP id h6ILB3ma000755
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Jul 2003 00:11:03 +0300 (EEST)
	(envelope-from root@enter.galati.rdsnet.ro)
Received: (from root@localhost)
	by enter.galati.rdsnet.ro (8.12.9/8.12.9/Submit) id h6ILB0JQ000754;
	Sat, 19 Jul 2003 00:11:00 +0300 (EEST)
Message-Id: <200307182111.h6ILB0JQ000754@enter.galati.rdsnet.ro>
Date: Sat, 19 Jul 2003 00:11:00 +0300 (EEST)
From: emil.cazamir@galati.rdsnet.ro
Reply-To: emil.cazamir@galati.rdsnet.ro
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: current ACPI implementation problems
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54622
>Category:       kern
>Synopsis:       current ACPI implementation problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    acpi-jp@jp.freebsd.org
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 14:20:06 PDT 2003
>Closed-Date:    Fri Aug 01 16:30:15 MDT 2003
>Last-Modified:  Fri Aug 01 16:30:15 MDT 2003
>Originator:     Emil Cazamir
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD enter.galati.rdsnet.ro 5.1-RELEASE FreeBSD 5.1-RELEASE #13: Fri Jul 18 17:01:41 EEST 2003 root@enter.galati.rdsnet.ro:/usr/obj/usr/src/sys/ENTER i386
	i386, FreeBSD 5.1 RELEASE

	
>Description:
	Current ACPI implementation lacks context save/restore for many
	devices (at least network card and audio card, maybe more) when
	passing through suspend S3 state (STR)
	
>How-To-Repeat:
	Configure an i386 class machine to use ACPI, set in BIOS setup 
	the suspend type to S3 and execute "acpiconf -s 3". The system 
	goes to STR mode, and when it comes back it leaves many devices in
	an un-usable state. I have encountered problems with the following
	devices: network card (3COM 905 TX-M), sound card (Creative
	SoundBlaster Live! Value), graphics card (ATI Radeon 9500 4P, PN
	113-94232-100; 256bit memory bus, DDRAM). The problems are the
	following:
	  - network becomes unreachable, even if i try ifconfig up/down 
	  - soundcard does not work anymore
	  - the graphics card works almost fine, except cursor (if it was
	    setup to use a text-mode like 80x25 before entering S3) and if 
	    it was setup to use an VESA mode when the sistem comes back from 
	    S3 it shows only the VGA BIOS initialization string (one text
	    mode line at the top of the screen showing "R300 4P Infineon
	    Memory BIOS - P/N 113-94232-100". from this situation I can
	    recover issuing an "vidctl [args]", and only after I enter the
	    command the screen begins to work.
	
>Fix:

	
	Implementation of an mechanism to save/restore to save device
	context when entering/leaving S3 suspend state.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->acpi-jp@jp.freebsd.org 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jul 18 15:25:35 PDT 2003 
Responsible-Changed-Why:  
Assign to ACPI maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54622 

From: Nate Lawson <nate@root.org>
To: Emil Cazamir <emil.cazamir@galati.rdsnet.ro>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/54622
Date: Mon, 21 Jul 2003 14:57:32 -0700 (PDT)

 Unfortunately, the problem is that each driver needs to have proper device
 save/restore functions.  This is not the job of ACPI.  Certain devices
 currently do work (fxp, sio, pccbb) with ACPI suspend.
 
 Please file separate PRs for each of the devices that isn't working and
 post the PRs to the current@ list.  Hopefully the driver maintainers will
 implement those functions.
 
 -Nate

From: Emil Cazamir <mail@galati.rdsnet.ro>
To: freebsd-gnats-submit@FreeBSD.org, emil.cazamir@galati.rdsnet.ro
Cc:  
Subject: Re: kern/54622: current ACPI implementation problems
Date: Thu, 31 Jul 2003 23:01:49 +0300

 Hello
 
 The ACPI maintainer sent me a message in which he said that this PR 
 should be 'splitted' into few parts, because this problem is not 
 related to the ACPI code as it is related to the drivers implementation 
 and the way drivers respect ACPI specification. Please close this PR, I 
 will send device-related PR's.
 
 Best regards,
 Emil Cazamir
 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Fri Aug 1 16:29:55 MDT 2003 
State-Changed-Why:  
Closed per request of the originator.  He'll file multiple followup 
bugs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54622 
>Unformatted:
