From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 17:31:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1408C16A4CE for ; Sat, 5 Jun 2004 17:31:35 -0700 (PDT) Received: from mail.comita.spb.ru (mail.comita.spb.ru [213.182.169.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9119843D2D for ; Sat, 5 Jun 2004 17:31:34 -0700 (PDT) (envelope-from postfix@sendmail.ru) Received: by mail.comita.spb.ru (Postfix, from userid 1116) id A6F9F1A6AD; Sun, 6 Jun 2004 04:31:32 +0400 (MSD) Received: from localhost (ppp-dialup-9.atcom.spb.ru [213.182.168.9]) by mail.comita.spb.ru (Postfix) with ESMTP id 652B61A5F8 for ; Sun, 6 Jun 2004 04:31:30 +0400 (MSD) X-AntiVirus: Checked by Dr.Web [version: 4.31a, engine: 4.31b, virus records: 50544, updated: 5.06.2004] Date: Sun, 6 Jun 2004 04:28:36 +0400 From: Toxa Organization: toxahost X-Priority: 3 (Normal) Message-ID: <732328023.20040606042836@sendmail.ru> To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Ham, tests=bogofilter, spamicity=0.00e+00, version=0.17.2 Subject: Suspend to RAM almost works! Console hangs after wakeup. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Toxa List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 00:31:35 -0000 I have been cvsuped to recent current and found what suspend to RAM works amost fine with my vaio laptop! I've just type 'acpiconf -s 3' without unloading any modules, etc. Here are the lines from dmesg: pcm0: Unhandled interrupt, gs_intr = 86 usb0: resume detect usb0: unrecoverable error, controller halted usb0: blocking intrs 0x18 usb1: resume detect usb1: unrecoverable error, controller halted usb1: blocking intrs 0x18 usb2: unrecoverable error, controller halted usb2: blocking intrs 0x10 pcm0: Unhandled interrupt, gs_intr = 86 cpu0: Performance states changed uhub0: illegal enable change, port 1 uhub1: illegal enable change, port 1 uhub2: illegal enable change, port 1 wakeup from sleeping state (slept 00:00:10) But there is a one problem after wakeup, lid switches on again, keyboard buttons works (I can detect this with numlock, scrollock, etc), machine is almost alive, but console HANGS. E.g. the only way to do something is to ssh on it from another host. I don't know is that related with console or keyboard, or something else, but all that I can see is just my last 'acpiconf -s 3' command. Console doesn't response at all. So maybe anyone has situation similar to mine one? What can you adivce? Is it possible to work it out? The one thing I'm waiting for is a hapeful suspend and wakeup, and now I'm very close to it :)