From owner-freebsd-mobile Mon Apr 3 13:37:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id E43E537B666 for ; Mon, 3 Apr 2000 13:36:13 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA20886; Mon, 3 Apr 2000 14:33:49 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA00900; Mon, 3 Apr 2000 14:33:43 -0600 (MDT) (envelope-from nate) Date: Mon, 3 Apr 2000 14:33:43 -0600 (MDT) Message-Id: <200004032033.OAA00900@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: Randy Bush , Nick Hibma , FreeBSD Laptoppers Subject: Re: usb on vaio 505tx In-Reply-To: <200004031917.NAA62888@harmony.village.org> References: <200004031804.MAA62588@harmony.village.org> <200004031917.NAA62888@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : > I have minor suspend/resume problems on my 505-TS. > : > : i found > : > : options PCIC_RESUME_RESET > : options PSM_HOOKAPM #hook the APM resume event, useful > : #for some laptops > : options PSM_RESETAFTERSUSPEND #reset the device at the resume event > : > : quite helpful > > Yes. They are quite helpful. The problems that I have is that > sometimes when I do a suspend to disk, when it wakes up the pccard > events aren't seen. This may be a known 'race' in the existing code that Guido and I both attempted to fix. What happens is that 'removal' event never makes it into pccardd before the kernel goes down (the select fires, and/or the actual event is never read). When the kernel comes back up, the 'insertion' event is fired back. When this happens, pccardd is unable to recognize that the card was 'removed', because it's state is that the card is still inserted. So, the insertion event is ignored. We both tried working around this race, but never got a completely satisfactory solution... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message