From nobody@FreeBSD.org  Fri Jan 18 07:02:09 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E1EE137B417
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Jan 2002 07:02:08 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0IF28d31571;
	Fri, 18 Jan 2002 07:02:08 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201181502.g0IF28d31571@freefall.freebsd.org>
Date: Fri, 18 Jan 2002 07:02:08 -0800 (PST)
From: Steve Wills <steve@stevenwills.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Suspend doesn't work on Dell Latitude CPx laptop
X-Send-Pr-Version: www-1.0

>Number:         34033
>Category:       i386
>Synopsis:       Suspend doesn't work on Dell Latitude CPx laptop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 18 07:10:01 PST 2002
>Closed-Date:    Fri Aug 02 18:29:42 PDT 2002
>Last-Modified:  Fri Aug 02 18:29:42 PDT 2002
>Originator:     Steve Wills
>Release:        4.5-PRERELEASE
>Organization:
>Environment:
FreeBSD weaponsvan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #5: Wed Jan  2 15:41:21 EST 2002     swills@weaponsvan:/usr/obj/usr/src/sys/WEAPONSVAN  i386
>Description:
Suspend doesn't work on my Dell Latitude CPx laptop. I press Fn+Esc (suspend) and get lots of this in dmesg:

Jan 17 23:15:48 weaponsvan /kernel: pcm0: apu_setindex() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: wp_wrapu() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: apu_setindex() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: wp_wrapu() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: apu_setindex() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: wp_wrapu() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: apu_setindex() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: wp_wrapu() timed out.
Jan 17 23:15:48 weaponsvan /kernel: pcm0: agg_wrcodec() PROGLESS timed out.

Occastionally, there will be one or two of messages like this:
Jan 17 23:14:33 weaponsvan apmd[101]: apmevent 000a index 3 

As well as sometimes many of these these:
Jan 18 09:57:33 weaponsvan /kernel: usb0: host controller halted

>How-To-Repeat:
Run 4.5 PRE on a Dell Latitude CPx laptop and try to suspend.
>Fix:
None, sorry, but I'm willing to help test as much as is needed. I am going to re cvsup just to be current and try again.

Thanks!
>Release-Note:
>Audit-Trail:

From: Johan Karlsson <johan@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, steve@stevenwills.com
Cc:  
Subject: Re: i386/34033: Suspend doesn't work on Dell Latitude CPx laptop
Date: Fri, 2 Aug 2002 23:04:43 +0200

 Hi Steve
 
 I have suspend working on my Dell Latitude CPx.
 
 I'm running FreeBSD-4.6-stable from shortly after the release.
 
 I have changed the following in GENERIC and rebuilt my kernel
 (I have removed alot of other stuf as well but this should be enough)
 
  # Power management support (see LINT for more options)
 -device         apm0    at nexus? disable flags 0x20 # Advanced Power Management
 +device         apm0    at nexus? flags 0x20 # Advanced Power Management
 
 
 Can you please try and report back if that solves your problem.
 
 /Johan K
 
 -- 
 Johan Karlsson		mailto:johan@FreeBSD.org

From: Johan Karlsson <johan@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, steve@stevenwills.com
Cc:  
Subject: Re: i386/34033: Suspend doesn't work on Dell Latitude CPx laptop
Date: Fri, 2 Aug 2002 23:46:57 +0200

 Hi
 
 two more things:
 
 you also should add
 'apm_enable="YES"'
 to /etc/rc.conf and you should read the BUGS section of
 % man 4 apm
 before doing any of this.
 
 /Johan K
 
 On Fri, Aug 02, 2002 at 23:04 (+0200) +0000, Johan Karlsson wrote:
 > Hi Steve
 > 
 > I have suspend working on my Dell Latitude CPx.
 > 
 > I'm running FreeBSD-4.6-stable from shortly after the release.
 > 
 > I have changed the following in GENERIC and rebuilt my kernel
 > (I have removed alot of other stuf as well but this should be enough)
 > 
 >  # Power management support (see LINT for more options)
 > -device         apm0    at nexus? disable flags 0x20 # Advanced Power Management
 > +device         apm0    at nexus? flags 0x20 # Advanced Power Management
 > 
 > 
 > Can you please try and report back if that solves your problem.
 > 
 > /Johan K
 > 
 > -- 
 > Johan Karlsson		mailto:johan@FreeBSD.org
 
 -- 
 Johan Karlsson		mailto:johan@FreeBSD.org

From: Steve Wills <steve@stevenwills.com>
To: Johan Karlsson <johan@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: i386/34033: Suspend doesn't work on Dell Latitude CPx laptop
Date: Fri, 2 Aug 2002 21:03:37 -0400

 Thanks for the tips. Unfortunately, I don't have that laptop any more
 so I can't test. I'd say that since you have it working on yours, its
 probably ok and you can close this bug report if you want.
 
 Thanks,
 Steve
 
 On Fri, Aug 02, 2002 at 11:46:57PM +0200, Johan Karlsson wrote:
 > Hi
 > 
 > two more things:
 > 
 > you also should add
 > 'apm_enable="YES"'
 > to /etc/rc.conf and you should read the BUGS section of
 > % man 4 apm
 > before doing any of this.
 > 
 > /Johan K
 > 
 > On Fri, Aug 02, 2002 at 23:04 (+0200) +0000, Johan Karlsson wrote:
 > > Hi Steve
 > > 
 > > I have suspend working on my Dell Latitude CPx.
 > > 
 > > I'm running FreeBSD-4.6-stable from shortly after the release.
 > > 
 > > I have changed the following in GENERIC and rebuilt my kernel
 > > (I have removed alot of other stuf as well but this should be enough)
 > > 
 > >  # Power management support (see LINT for more options)
 > > -device         apm0    at nexus? disable flags 0x20 # Advanced Power Management
 > > +device         apm0    at nexus? flags 0x20 # Advanced Power Management
 > > 
 > > 
 > > Can you please try and report back if that solves your problem.
 > > 
 > > /Johan K
 > > 
 > > -- 
 > > Johan Karlsson		mailto:johan@FreeBSD.org
 > 
 > -- 
 > Johan Karlsson		mailto:johan@FreeBSD.org
 
 -- 
 Take it easy, we're in a hurry.
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Fri Aug 2 18:27:29 PDT 2002 
State-Changed-Why:  
Suspend is working with 4.6-Stable on my Dell 
Latitiude CPx. Moreover, originator does not 
have the hardware anymore and is therefore unable 
to do more tests. 

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