From owner-freebsd-current@FreeBSD.ORG Thu Jun 14 23:42:39 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7660C16A400 for ; Thu, 14 Jun 2007 23:42:39 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id 4E82B13C44B for ; Thu, 14 Jun 2007 23:42:39 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 14 Jun 2007 16:42:39 -0700 X-IronPort-AV: i="4.16,422,1175497200"; d="scan'208"; a="165468999:sNHT42557292" Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l5ENgdae018841; Thu, 14 Jun 2007 16:42:39 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l5ENgc20023117; Thu, 14 Jun 2007 23:42:39 GMT Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Jun 2007 16:42:38 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Jun 2007 16:42:38 -0700 Message-ID: <4671D2E2.6020106@cisco.com> Date: Thu, 14 Jun 2007 19:44:34 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070601 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20070614221958.4CB354506A@ptavv.es.net> In-Reply-To: <20070614221958.4CB354506A@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jun 2007 23:42:38.0673 (UTC) FILETIME=[B12ADC10:01C7AEDD] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1448; t=1181864559; x=1182728559; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20Sleeping=20and=20my=20T43 |Sender:=20; bh=1UCkOsvRBF6GT5zZsJmLXzZoXPmZ0oqAzpAlQcoItqI=; b=YmTMF+mmhr7G10G275u3+kVtRlngymgYx2UWqLvRvp0GuRsml//LJZqrfAlGjl1dQ0hVvTbB vDwyIVGdVc8z1GJpdDFp9yu0isq+MtlzTKXGsjTZ2JTvSN/79TtGA+nlzKaBCgdhuAUuNhufdn FBTfHwsQpTWCPxKemI7xiQs54=; Authentication-Results: sj-dkim-1; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; ); Cc: current@freebsd.org Subject: Re: Sleeping and my T43 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 23:42:39 -0000 Kevin Oberman wrote: >>Date: Thu, 14 Jun 2007 17:45:30 -0400 >>From: Randall Stewart >>Sender: owner-freebsd-current@freebsd.org >> >>Hi all: >> >>I adopted the suggestion to add >>hw.acpi.reset_video=1 >> >>to my /etc/sysctl.conf to get my T43 to sleep and wake >>nicely.. now it does :-D >> >>But I still see issues: >> >>a) When I wake back up, I have to kill the moused and then >> restart it to get X to have a working mouse. > > > Check the man page for psm and specify HOOKRESUME. If that does not fix > it, and it foes on my T43, use INITAFTERSUSPEND. I think you can specify > the flags in /boot/device.hints as: > hint.psm.0.flags="0x1000" or hint.psm.0.flags="0x2000" > > >>b) Once I wake up.. I can't go back to sleep... its a one-shot >> (which is better than nothing.. but it would be nice to >> be able to put it back to sleep :-0) >> >>Any other magic cookies I may be missing? > > > I'd love to hear a fix for this one! The hints fixed my mouse.. The sleep issue.. (one-shot).. appears to be something wrong with a driver somewhere not letting us go back to sleep.. I can do a apm -z and it blanks the screen and starts to suspend... but it wakes right back up again.. There must be a status somewhere thats not being cleared at the first wakeup :-( R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)