Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-21 Thread Alexander Sack
On Fri, Jun 20, 2008 at 11:46 AM, Alexander Sack [EMAIL PROTECTED] wrote:
 On Fri, Jun 20, 2008 at 11:37 AM, Pietro Cerutti [EMAIL PROTECTED] wrote:
 | I have a MSI-1034 (M662) Core2 Duo. Attached is my (patched) asl. Dunno
 | if it can be of any use for you, though
 |
 |
 |
 | Thanks Pietro, I really appreciate this.  Can I ask by chance, does this
 | turn on your battery indicator light on your front panel on your MSI
 | notebook?

 This was working anyway, IIRC.

 Ah yea well mine is now completely off charging or not  :(!  I
 thought this could be related to the status handler for the battery
 but on second thought this maybe something else.

 |
 | Also, what's the downside of changing ASL?  Can I brick my notebook?
 I just
 | have to ask since I am assuming I will be changing the underlying AML
 | generated which I suppose can cause chaos (i.e. I want to make sure I can
 | reset it).

 No, it just changes the ACPI code used by the operating system. It
 doesn't modify anything in your laptop. If it doesn't work, just disable
 it and reboot :)

 Ah, I got it.  I get confused.  The ASL is groked by the core CA
 (which provides the main table API for the kernel).  Duh!  (my ACPI is
 rusty)

 Ok, let me look at it some more and see if I can integrate it in for
 the battery status section...I'd like to try to get this notebook to
 be fully functional if possible!

Well still no dice and my battery status light remains off.  Question,
how did you patch this (or where did you get it patched)?

The issue is still CA complaining there isn't a handler for the region.

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Alexander Sack



Pietro Cerutti-4 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 Alexander Sack wrote:
 | Hello Folks:
 |
 | I have a MSI-1710A (Megabook) which is Athlon X2 Turon based
 | notebook (4GB RAM,
 |
 | Anyway during a 7.0-RELEASE-amd64 boot up I see:
 |
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 |
 | After looking at my ASL code, I noticed that YES this code was
 | generated by the MSFT devkit which means its probably NOT spec
 | compliant.
 |
 | RSDT: Length=64, Revision=1, Checksum=83,
 | OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725,
 | Creator ID=MSFT, Creator Revision=0x97
 | Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430,
 | 0xcffce040, 0xcffc42f0, 0xcffc4330 }
 |
 | The pertinent section (DSDT) condensed is:
 |
 | _SB.PCI0.SBRG:
 |
 | Device (EC) {
 |   Device (BAT1) {
 | Name (_HID, EisaId (PNP0C0A))
 | Name (_UID, One)
 | Name (_PCL, Package (0x01)
 | {
 |   _SB
 | })
 | Method (_STA, 0, NotSerialized)
 | {
 |If (MYEC)
 |{
 |   If (MBTS)
 |   {
 |   Return (0x1F)
 |   }
 |   Else
 |   {
 |   Return (0x0F)
 |   }
 |}
 |Else
 |{
 |   Return (0x0F)
 |}
 | }
 | }
 |
 | I've read http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html
 | which is very helpful.  In any event should I attempt to try to
 | rewrite my ASL to make it more spec conforming so Intel's CA likes it
 | OR would it be better to 

Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Alexander Sack wrote:
|
|
| Pietro Cerutti-4 wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA512
|
| Alexander Sack wrote:
| | Hello Folks:
| |
| | I have a MSI-1710A (Megabook) which is Athlon X2 Turon based
| | notebook (4GB RAM,
| |
| | Anyway during a 7.0-RELEASE-amd64 boot up I see:
| |
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| |
| | After looking at my ASL code, I noticed that YES this code was
| | generated by the MSFT devkit which means its probably NOT spec
| | compliant.
| |
| | RSDT: Length=64, Revision=1, Checksum=83,
| | OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725,
| | Creator ID=MSFT, Creator Revision=0x97
| | Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430,
| | 0xcffce040, 0xcffc42f0, 0xcffc4330 }
| |
| | The pertinent section (DSDT) condensed is:
| |
| | _SB.PCI0.SBRG:
| |
| | Device (EC) {
| |   Device (BAT1) {
| | Name (_HID, EisaId (PNP0C0A))
| | Name (_UID, One)
| | Name (_PCL, Package (0x01)
| | {
| |   _SB
| | })
| | Method (_STA, 0, NotSerialized)
| | {
| |If (MYEC)
| |{
| |   If (MBTS)
| |   {
| |   Return (0x1F)
| |   }
| |   Else
| |   {
| |   Return (0x0F)
| |   }
| |}
| |Else
| |{
| |   Return (0x0F)
| |}
| | }
| | }
| |
| | I've read 

Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Alexander Sack
On Fri, Jun 20, 2008 at 11:37 AM, Pietro Cerutti [EMAIL PROTECTED] wrote:
 | I have a MSI-1034 (M662) Core2 Duo. Attached is my (patched) asl. Dunno
 | if it can be of any use for you, though
 |
 |
 |
 | Thanks Pietro, I really appreciate this.  Can I ask by chance, does this
 | turn on your battery indicator light on your front panel on your MSI
 | notebook?

 This was working anyway, IIRC.

Ah yea well mine is now completely off charging or not  :(!  I
thought this could be related to the status handler for the battery
but on second thought this maybe something else.

 |
 | Also, what's the downside of changing ASL?  Can I brick my notebook?
 I just
 | have to ask since I am assuming I will be changing the underlying AML
 | generated which I suppose can cause chaos (i.e. I want to make sure I can
 | reset it).

 No, it just changes the ACPI code used by the operating system. It
 doesn't modify anything in your laptop. If it doesn't work, just disable
 it and reboot :)

Ah, I got it.  I get confused.  The ASL is groked by the core CA
(which provides the main table API for the kernel).  Duh!  (my ACPI is
rusty)

Ok, let me look at it some more and see if I can integrate it in for
the battery status section...I'd like to try to get this notebook to
be fully functional if possible!

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]