From owner-freebsd-mobile Sat Aug 10 13:44: 6 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 C529D37B400 for ; Sat, 10 Aug 2002 13:44:02 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 678C143E72 for ; Sat, 10 Aug 2002 13:44:02 -0700 (PDT) (envelope-from metrol@metrol.net) Received: (qmail 12173 invoked from network); 10 Aug 2002 20:44:01 -0000 Received: from unknown (HELO metlap.priv.metrol.net) ([66.92.40.27]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Aug 2002 20:44:01 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Michael W. Collette" To: "Kevin Oberman" , Andy Sparrow Subject: Re: Thinkpad T23 Coming Out of Sleep Date: Sat, 10 Aug 2002 13:43:58 -0700 User-Agent: KMail/1.4.2 Cc: FreeBSD Mailing Lists References: <20020809152231.289135D04@ptavv.es.net> In-Reply-To: <20020809152231.289135D04@ptavv.es.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208101343.58428.metrol@metrol.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 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. Later on, -- "Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read." - Groucho Marx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message