From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 11 16:05:59 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D97A1065677 for ; Wed, 11 Jun 2008 16:05:59 +0000 (UTC) (envelope-from glorgster@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 68A208FC19 for ; Wed, 11 Jun 2008 16:05:59 +0000 (UTC) (envelope-from glorgster@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3813641rvf.43 for ; Wed, 11 Jun 2008 09:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=mxEJCROa1FAOgyyEuPv1e8hqcgY0mxduBh0cACLTR7c=; b=cHNz39Zkk7tTnoybwyI7T3ZYqFV8PXfn/eF/I7Y40MvvMha172TztymZHBqwaCCK6L ap0XNx8/v/sn1AW2lGNYv6E4xuYa1t7P2HDMuSEomZJmj4sWgPnwEJSuezcKuisckepL zHTEiQ0rNAQZ861TB/jvokjo/S9+Z7kF6c4Go= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=jPXsEe1yPhri88mQPH6BLvaffwC6QviOSeCBZ7a1RLZmhQc9b1xNoSVMb+bCrRFRlt Ul9Xd5xIH/U3QU9wAu48KNyBkaO7BZYvME3+9FN5AnrOKa93sDR1jK3f5bv4CS/g4vrX TwGujMo3Ygz59sTCRsJRXSwvN0emCitNqf+xQ= Received: by 10.141.29.21 with SMTP id g21mr4054320rvj.225.1213200359060; Wed, 11 Jun 2008 09:05:59 -0700 (PDT) Received: by 10.141.27.10 with HTTP; Wed, 11 Jun 2008 09:05:58 -0700 (PDT) Message-ID: Date: Thu, 12 Jun 2008 03:05:58 +1100 From: "Alexey Tarasov" To: "Rui Paulo" In-Reply-To: <20080605141837.GA6864@epsilon.local> MIME-Version: 1.0 References: <20080605141837.GA6864@epsilon.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-acpi@freebsd.org Subject: Re: [Vaio SZ5MN] Unable to Power-off X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 16:05:59 -0000 Hi On Fri, Jun 6, 2008 at 1:18 AM, Rui Paulo wrote: > > Do you know if this is the proper fix ? What does Linux do ? > If this is all we can do, acpi_sony might need to grow a shutdown hook. > Well, I've no much Sony laptops around me to test. Also, different series of Sony laptops are rather different in ACPI methods (e.g. C series and SZ series) Modified sources are inspired by Linux sony-laptop driver. duplicates initialization code of SPIC, event handling and so on. However - AFAIK - linux driver does no special tricks at power off stage, it is just dettached, device file in /dev destroyed in so on, but Linux (Ubuntu 7.10) it still possible to power off correctly. --- Best regards, Alexey