From owner-freebsd-mobile Sat Aug 10 14: 2:55 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E31537B400 for ; Sat, 10 Aug 2002 14:02:53 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93E5F43E72 for ; Sat, 10 Aug 2002 14:02:52 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id GQF37091; Sat, 10 Aug 2002 14:02:51 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 67E555D04; Sat, 10 Aug 2002 14:02:50 -0700 (PDT) To: "Michael W. Collette" Cc: Andy Sparrow , FreeBSD Mailing Lists Subject: Re: Thinkpad T23 Coming Out of Sleep In-reply-to: Your message of "Sat, 10 Aug 2002 13:43:58 PDT." <200208101343.58428.metrol@metrol.net> Date: Sat, 10 Aug 2002 14:02:50 -0700 From: "Kevin Oberman" Message-Id: <20020810210250.67E555D04@ptavv.es.net> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > From: "Michael W. Collette" > Date: Sat, 10 Aug 2002 13:43:58 -0700 > > On Friday 09 August 2002 08:22 am, Kevin Oberman wrote: > > Have you tried the HOOKRESUME (and, if that does not do it, > > INITAFTERSUSPEND) flag on the psm device in your kernel. HOOKRESUME > > (0x2000) did the trick for my IBM T30. > > I found the following entries in LINT that seemed to relate to what you > suggested... > > # Options for psm: > options PSM_HOOKRESUME #hook the system resume event, useful > #for some laptops > options PSM_RESETAFTERSUSPEND #reset the device at the resume event > > I'm compiling these options into my kernel as I write this. The ugly part > about this is that it may be weeks before I can say it's actually fixed. At > least it's something to try! > > The main thing I didn't quite get from your post though was the address > reference. How would that go into that entry?? > > options PSM_HOOKRESUME (0x2000) > options PSM_HOOKRESUME=0x2000 > options PSM_HOOKRESUME 0x2000 > > LINT doesn't provide for any syntax on this one for anything more than the > option itself. > > Oh well, trying the lines that are in LINT as shown there for now. Sorry. These are flags for the "device psm" line in the config. device psm at atkbdc? irq 12 flags 0x2000 (or 0x6000) How these compare with the kernel options in LINT, I am unsure. While the man page lists some kernel option, it does not mention those. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message