Re: By popular demand - dmidecode on Compal H/EL80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 18 January 2008 18:53, Mateusz Jedrasik wrote:
> Saturday 19 of January 2008 00:41:29 napisałeś(-łaś):
> > System Information
> > 	Manufacturer: COMPAL
> > 	Product Name: HEL80I
> > 	Version: -
> > 	Serial Number: 2054228700233
> > 	UUID: 158F767F-3E9F-11DB-B7EC-0016D41DF7E7
> > 	Wake-up Type: Power Switch
> > 	SKU Number:
> > 	Family: Intel
> >
> > Handle 0x0002, DMI type 2, 8 bytes
> > Base Board Information
> > 	Manufacturer: COMPAL
> > 	Product Name: HEL8X
> >
> > Do you notice any functional difference when booting with
> >
> 
> Yes, with acpi_osi=!Linux (it defaults to windows or so then) some acpi 
> messages were spewed, errorous - tho not fatal. If you want, I can post a 
> dmesg with, and without the acpi_osi parameter.
> 
> > "acpi_osi=Linux"        (default for 2.6.22 and earlier)
> > vs.
> > "acpi_osi=!Linux"       (default for 2.6.23 and later)

Thanks for the acpidump.

Please verify that /proc/acpi/ac makes sense in both cases,
and that you get AC/DC events when you switch between AC and battery.

Please compare the contents of /proc/acpi/battery
in both cases.

Please test brightness control,
via either /proc/acpi/video or /sys/class/backlight
in both cases.

Also, please test hibernate to disk with both params,
and see if /proc/acpi/thermal_zone/* still make sense
before and after.

thanks,
-Len


          Store (0x07D0, OSYS)
            If (CondRefOf (_OSI, Local0))
            {
                If (_OSI ("Linux"))
                {
                    Store (0x03E8, OSYS)

# this store to OSYS is a NOP because it gets over-written
# by the stores below.

                    Store (Zero, ECDY)

# this store to ECDY 
                }

                If (_OSI ("Windows 2001"))
                {
                    Store (0x07D1, OSYS)
                }

                If (_OSI ("Windows 2001 SP1"))
                {
                    Store (0x07D1, OSYS)
                }

                If (_OSI ("Windows 2001 SP2"))
                {
                    Store (0x07D2, OSYS)
                }

                If (_OSI ("Windows 2006"))
                {
                    Store (0x07D6, OSYS)
                }

                If (LLessEqual (OSYS, 0x07D2))
                {
                    TRAP (0x49)
                }

                If (LAnd (MPEN, LEqual (OSYS, 0x07D1)))
                {
                    TRAP (0x3D)
                }
...
    Name (ECDY, 0x05)

   Method (_WAK, 1, NotSerialized)
...
       If (LEqual (Arg0, 0x04))
        {
# we come here only on wakeup from S4 -- hibernate to disk

            If (DTSE)
            {
                TRAP (0x47)
                If (LAnd (\_SB.PCI0.LPCB.ECOK (), LEqual (ECDY, Zero)))
                {
# this is the ECDY=0 Linux case
# I'm guessing this has something to do with the Digital Thermal Sensor

                    If (LGreaterEqual (DTS1, DTS2))
                    {
                        Store (DTS1, \_SB.PCI0.LPCB.EC0.SKTA)
                    }
                    Else
                    {
                        Store (DTS2, \_SB.PCI0.LPCB.EC0.SKTA)
                    }
                }
                Else
                {
                    \_SB.PCI0.LPCB.PHSS (0x10)
                }
            }
        }

...
        Method (_L02, 0, NotSerialized)
        {
            Store (Zero, GPEC)
            If (LAnd (\_SB.PCI0.LPCB.ECOK (), LEqual (ECDY, Zero)))
            {
# again the ECDY=0 Linux case is toching DTS1 and DTS2

                If (LGreaterEqual (DTS1, DTS2))
                {
                    Store (DTS1, \_SB.PCI0.LPCB.EC0.SKTA)
                }
                Else
                {
                    Store (DTS2, \_SB.PCI0.LPCB.EC0.SKTA)
                }
            }
            Else
            {
                \_SB.PCI0.LPCB.PHSS (0x10)
            }
        }
...
                        Method (_BCL, 0, NotSerialized)
                        {
                            If (LAnd (^^^^LPCB.ECOK (), LEqual (ECDY, Zero)))

# brightness control sees ECDY=0,
# does it work with and without OSI(Linux)?

                            {
                                If (LEqual (OSYS, 0x07D6))
                                {
                                    If (LEqual (^^^^LPCB.EC0.OSTY, Zero))
                                    {
                                        Store (One, ^^^^LPCB.EC0.OSTY)
                                    }
                                }
                                Else
                                {
                                    If (LEqual (^^^^LPCB.EC0.OSTY, One))
                                    {
                                        Store (Zero, ^^^^LPCB.EC0.OSTY)
                                    }
                                }
                            }
...
# AC adapter sees ECDY=0
              Device (ACAD)
                {
                    Name (_HID, "ACPI0003")
                    Name (_PCL, Package (0x01)
                    {
                        _SB
                    })
                    Method (_PSR, 0, NotSerialized)
                    {
                        If (LAnd (ECOK (), LEqual (ECDY, Zero)))
                        {
                            If (LEqual (OSYS, 0x07D6))
                            {
                                If (LEqual (^^EC0.OSTY, Zero))
                                {
                                    Store (One, ^^EC0.OSTY)
                                }
                            }
                            Else
                            {
                                If (LEqual (^^EC0.OSTY, One))
                                {
                                    Store (Zero, ^^EC0.OSTY)
                                }
                            }
                        }

                        Store (One, ACPW)
                        Return (ACPW)
                    }
                }

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux