From owner-freebsd-current Thu Nov 21 16:20:21 2002 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 711C337B401 for ; Thu, 21 Nov 2002 16:20:19 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 41A4043E9C for ; Thu, 21 Nov 2002 16:20:15 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 69321 invoked by uid 1000); 22 Nov 2002 00:20:12 -0000 Date: Thu, 21 Nov 2002 16:20:12 -0800 (PST) From: Nate Lawson To: Mitsuru IWASAKI Cc: current@freebsd.org, acpi-jp@jp.freebsd.org Subject: Re: recommended VAIO for ACPI hacking (Re: cvs commit: www/en/releases/5.0R todo.sgml) In-Reply-To: <20021121231142.GA15817@tara.freenix.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Nov 2002, Ollivier Robert wrote: > According to Mitsuru IWASAKI: > > Thanks. > > Here is the result. The first check is there and there are several others > in acpidump output. Full dump at > > > > -=-=-=- > Method(_PTS, 1) { > If(LNot(LLess(Arg0, 0x2))) { > Store(0x1, \_SB_.PCI0.CRST) > } > Else { > Store(0x0, \_SB_.PCI0.CRST) > } > If(LEqual(Arg0, 0x4)) { > Store(\_SB_.PCI0.ISA_.SPIC._CRS(), \_SB_.PCI0.ISA_.SPIC.SSRC) > If(LEqual(SCMP(\_OS_, "Microsoft Windows NT"), Zero)) { > PHS_(0xe3) > PHS_(0xe5) > } > Else { > If(LNot(LEqual(SCMP(\_OS_, "Microsoft Windows"), Zero))) { > PHS_(0xe3) > PHS_(0xe5) > } > } > } > Return(0x0) > } I also have similar problems in my ASL from the IBM T23. http://www.root.org/~nate/acpi/ibm.asl Scope(\_SB_) { Method(_INI) { If(LEqual(\SCMP(\_OS_, "Microsoft Windows"), Zero)) { Store(0x1, \W98F) } Else { If(CondRefOf(_OSI, Local0)) { If(\_OSI) { "Windows 2001" Store(0x2, \WNTF) } } Else { If(LEqual(\SCMP(\_OS_, "Microsoft Windows NT"), Zero)) { Store(0x1, \WNTF) } Else { If(LEqual(\SCMP(\_OS_, "Microsoft WindowsME: Millennium Edition"), Zero)) { Store(0x1, \WMEF) Store(0x1, \W98F) } } } } If(LNot(LLess(\_REV, 0x2))) { Store(0x1, \H8DR) } Store(0x1, \OSIF) } -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message