RE: Laptop won't power off



Not likely to be cause of power off problems

Compiler runs on linux, should run on bsd.


-----Original Message-----
From: Pietro Cerutti [mailto:pietro.cerutti@xxxxxxxxx]
Sent: Thursday, February 22, 2007 3:31 PM
To: Moore, Robert
Cc: Nate Lawson; rodrigc@xxxxxxxxxxxxxx; freebsd-hackers@xxxxxxxxxxx;
freebsd-acpi@xxxxxxxxxxx
Subject: Re: Laptop won't power off

On 2/23/07, Moore, Robert <robert.moore@xxxxxxxxx> wrote:
MSI-1034.orig.asl 4206: If (SS1)
Error 1037 - syntax error ^

3) Newer versions of iASL will allow executable statements outside
of
control methods.

So, sorry if I'm a bit slow, but this isn't likely to be the cause to
my problems, isn't it?

Any plan to port a new version of iASL (supporting the new features)
to
FreeBSD?



ASL Optimizing Compiler / AML Disassembler version 20041119 [Feb
22
2007]

Like mid 2006 and newer.
Bob


-----Original Message-----
From: owner-freebsd-acpi@xxxxxxxxxxx [mailto:owner-freebsd-
acpi@xxxxxxxxxxx] On Behalf Of Pietro Cerutti
Sent: Thursday, February 22, 2007 2:54 PM
To: Nate Lawson; rodrigc@xxxxxxxxxxxxxx
Cc: freebsd-hackers@xxxxxxxxxxx; freebsd-acpi@xxxxxxxxxxx
Subject: Re: Laptop won't power off

On 2/22/07, Nate Lawson <nate@xxxxxxxx> wrote:
Pietro Cerutti wrote:
Hi Lists,
first off, sorry for cross-posting, but I'm not subscribed to
freebsd-acpi@, so acpi guys please CC me.

The problem here is that my laptop doesn't power off when
issuing
halt
-p or shutdown -p now.
This is the machine:
http://www.msicomputer.com/NB/product_spec.asp?model=MS-
1034_(Core2_Duo)

Any hint is greatly appreciated!
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
(2000.15-MHz
686-class CPU)
Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6



Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
,M

CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>




Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>

AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
Cores per package: 2

Try disabling SMP so only 1 core is running. Build a kernel
without
SMP
option or at loader prompt type:

set hint.apic.0.disabled="1"

I already tried this way, but without any results... disabling
SMPing
only enables S3 state, which doesn't work otherwise..

Moreover, following the directives on "11.16 Using and Debugging
FreeBSD ACPI" of the FreeBSD handbook, I put my ASL online here:

https://staff.hti.bfh.ch/ctp3/MSI-1034.asl

If I try to recompile it, there are a few errors:

iasl MSI-1034.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20041119 [Feb
22
2007]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c

MSI-1034.orig.asl 4128: PTS (Arg0)
Error 1022 - ^ Object does not exist (PTS_)

MSI-1034.orig.asl 4149: WAK (Arg0)
Error 1022 - ^ Object does not exist (WAK_)

MSI-1034.orig.asl 4206: If (SS1)
Error 1037 - syntax error ^

ASL Input: MSI-1034.orig.asl - 4406 lines, 130275 bytes, 1862
keywords
Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 536
Optimizations

I solved the first two by putting the function declarations of PRS
and
WAK above the actual call at line 4128 and 4149, but I can't
really
figure out how to fix the third error.

Thanx in advance!


--
Nate



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
www.asciiribbon.org
_______________________________________________
freebsd-acpi@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to
"freebsd-acpi-unsubscribe@xxxxxxxxxxx"



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
www.asciiribbon.org
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: HP Pavilion Laptop Owners with Bad Power Jacks....
    ... jack dilemma. ... I purchased a HP laptop to keep all HP software off my other systems. ... power jack and are not HP laptops. ... Like many others I assumed the battery had failed ...
    (comp.sys.hp.hardware)
  • Re: class action lawsuit against toshiba? - no purposeful deception.
    ... If a product is constructed in such a way as to fail under normal use, the UCC implied warranty may extend beyond any warranty limit the manufacturer wrote into the agreement. ... If Toshiba sold a million units with the power connector attached to the motherboard causing each end user and expense of two hundred dollars in five percent of those sales, the damage to the public is rather significant, no? ... The cause of the problem is either poor workmanship or excessive mechanical stress that caused the solder joint to fail (such as someone tripping over the wire from the AC adapter to the laptop while the laptop was plugged in, or someone tilting the laptop up putting the entire weight of the laptop on the power plug sticking out of the back of the machine). ...
    (comp.sys.laptops)
  • RE: Laptop wont power off
    ... On linux, the compiler must be generated with the "flex-old" package, I ... Power problems: sorry, not the expert in this area. ... Subject: Laptop won't power off ... Compiler runs on linux, should run on bsd. ...
    (freebsd-hackers)
  • Re: XP freeses up Outlook and Network connection
    ... It is a Dell inspirion laptop. ... > is to power down and reset it. ... If you are running Windows ME or XP, ... the most recent System Restore point from the More ...
    (microsoft.public.windowsxp.general)
  • Re: OT - old software Was: Re: PING: Charles Self
    ... compiler name. ... compiling if you had a syntax error in your code instead of just reporting the syntax error. ... Ummm, Aztec is not Ecosoft:) Manx Aztec C was plenty good, and wasn't that expensive. ... Odinn - still has his copies of Manx, Power, and Turbo C, just nothing to run them on. ...
    (rec.woodworking)