public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Dmidecoding
       [not found] <fe8041900708061139j3c027f40v9cc4f6ccad1be998@mail.gmail.com>
@ 2007-08-06 18:43 ` Jonathan BISSON
  2008-02-03 19:30   ` dmidecode - Acer Aspire 3100 Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan BISSON @ 2007-08-06 18:43 UTC (permalink / raw)
  To: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

Hi,


On my system (Linux jo-laptop 2.6.22.1 #1 PREEMPT Sat Aug 4 11:01:49
CEST 2007 x86_64 GNU/Linux)

I saw that on boot:

[   20.086322] ACPI: System BIOS is requesting _OSI(Linux)
[   20.086324] ACPI: Please test with "acpi_osi=!Linux"
[   20.086326] Please send dmidecode to linux-acpi@vger.kernel.org


here it goes as attached file.

[-- Attachment #2: dmidecode.txt --]
[-- Type: text/plain, Size: 6755 bytes --]

# dmidecode 2.8
SMBIOS 2.4 present.
19 structures occupying 726 bytes.
Table at 0x000F0260.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Acer
	Version: V2.83
	Release Date: 03/21/2007
	Address: 0xE48B0
	Runtime Size: 112464 bytes
	ROM Size: 1024 kB
	Characteristics:
		PCI is supported
		PC Card (PCMCIA) is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		ESCD support is available
		Boot from CD is supported
		Selectable boot is supported
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Printer services are supported (int 17h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		AGP is supported
		Smart battery is supported
		BIOS boot specification is supported
		Targeted content distribution is supported

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Acer            
	Product Name: Aspire 3100     
	Version: V2.83
	Serial Number: LXAX60Y180720115D31601
	UUID: 6356DBD0-2A29-1BD4-04E3-0016D4D77FFF
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: Acer
	Product Name: Navarro
	Version: N/A
	Serial Number: LXAX60Y180720115D31601

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
	Manufacturer: Acer
	Type: Notebook
	Lock: Not Present
	Version: N/A
	Serial Number: LXAX60Y180720115D31601          
	Asset Tag:                                 
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000

Handle 0x0004, DMI type 4, 35 bytes
Processor Information
	Socket Designation: Socket M2/S1G1
	Type: Central Processor
	Family: Opteron
	Manufacturer: AMD
	ID: C2 0F 04 00 FF FB 8B 07
	Signature: Extended Family 0, Model C, Stepping 2
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		CLFSH (CLFLUSH instruction supported)
		MMX (MMX technology supported)
		FXSR (Fast floating-point save and restore)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
	Version: Engineering Sample
	Voltage: 1.4 V
	External Clock: 200 MHz
	Max Speed: 1800 MHz
	Current Speed: 1800 MHz
	Status: Populated, Enabled
	Upgrade: Other
	L1 Cache Handle: Not Provided
	L2 Cache Handle: 0x0005
	L3 Cache Handle: Not Provided
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L2 Cache
	Configuration: Enabled, Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 512 KB
	Maximum Size: 1024 KB
	Supported SRAM Types:
		Burst
		Pipeline Burst
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Unknown
	System Type: Unknown
	Associativity: Unknown

Handle 0x0006, DMI type 9, 13 bytes
System Slot Information
	Designation: PCMCIA Slot0
	Type: 32-bit PC Card (PCMCIA)
	Current Usage: Unknown
	Length: Long
	ID: Adapter 0, Socket 0
	Characteristics:
		5.0 V is provided
		3.3 V is provided
		PC Card-16 is supported
		Cardbus is supported
		Hot-plug devices are supported

Handle 0x0007, DMI type 10, 6 bytes
On Board Device Information
	Type: Video
	Status: Disabled
	Description: ATI RS485M

Handle 0x0008, DMI type 10, 6 bytes
On Board Device Information
	Type: Sound
	Status: Disabled
	Description: HD-Audio

Handle 0x0009, DMI type 15, 29 bytes
System Event Log
	Area Length: 16 bytes
	Header Start Offset: 0x0000
	Header Length: 16 bytes
	Data Start Offset: 0x0010
	Access Method: General-purpose non-volatile data functions
	Access Address: 0x0000
	Status: Valid, Not Full
	Change Token: 0x00000001
	Header Format: Type 1
	Supported Log Type Descriptors: 3
	Descriptor 1: POST error
	Data Format 1: POST results bitmap
	Descriptor 2: Single-bit ECC memory error
	Data Format 2: Multiple-event
	Descriptor 3: Multi-bit ECC memory error
	Data Format 3: Multiple-event

Handle 0x000A, DMI type 16, 15 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 4 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x000B, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x000A
	Error Information Handle: No Error
	Total Width: 128 bits
	Data Width: 64 bits
	Size: 512 MB
	Form Factor: DIMM
	Set: 1
	Locator: S1
	Bank Locator: Bank 0
	Type: DDR2
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified

Handle 0x000C, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x000A
	Error Information Handle: No Error
	Total Width: 128 bits
	Data Width: 64 bits
	Size: 512 MB
	Form Factor: DIMM
	Set: 2
	Locator: S2
	Bank Locator: Bank 1
	Type: DDR2
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified

Handle 0x000D, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x000E, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0003FFFFFFF
	Range Size: 1 GB
	Physical Array Handle: 0x000A
	Partition Width: 0

Handle 0x000F, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0001FFFFFFF
	Range Size: 512 MB
	Physical Device Handle: 0x000B
	Memory Array Mapped Address Handle: 0x000E
	Partition Row Position: 2
	Interleave Position: 1
	Interleaved Data Depth: 6

Handle 0x0010, DMI type 22, 26 bytes
Portable Battery
	Location: 1st Battery
	Manufacturer: PANASONIC 
	Name: PANASONIC 
	Chemistry: Lithium Ion
	Design Capacity: 3900 mWh
	Design Voltage: 14800 mV
	SBDS Version: Not Specified
	Maximum Error: Unknown
	SBDS Serial Number: 0000
	SBDS Manufacture Date: 1980-00-00
	OEM-specific Information: 0x00000000

Handle 0x0011, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Handle 0x0012, DMI type 127, 4 bytes
End Of Table


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode - Acer Aspire 3100
  2007-08-06 18:43 ` Dmidecoding Jonathan BISSON
@ 2008-02-03 19:30   ` Len Brown
       [not found]     ` <1202068109.8866.6.camel@jo-laptop>
  0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2008-02-03 19:30 UTC (permalink / raw)
  To: Jonathan BISSON; +Cc: linux-acpi

Thanks for the dmidecode.

please send me the output from acpidump.

-Len

BIOS Information
	Vendor: Acer
	Version: V2.83
	Release Date: 03/21/2007
	Address: 0xE48B0
	Runtime Size: 112464 bytes
	ROM Size: 1024 kB
	Characteristics:
...
Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Acer            
	Product Name: Aspire 3100     
	Version: V2.83
	Serial Number: LXAX60Y180720115D31601
	UUID: 6356DBD0-2A29-1BD4-04E3-0016D4D77FFF
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: Acer
	Product Name: Navarro
	Version: N/A
	Serial Number: LXAX60Y180720115D31601

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode - Acer Aspire 3100
       [not found]     ` <1202068109.8866.6.camel@jo-laptop>
@ 2008-02-03 22:29       ` Len Brown
       [not found]         ` <1202127691.6165.1.camel@jo-laptop>
  0 siblings, 1 reply; 4+ messages in thread
From: Len Brown @ 2008-02-03 22:29 UTC (permalink / raw)
  To: jo; +Cc: linux-acpi

On Sunday 03 February 2008 14:48, jo wrote:
> No problem 
> 
> Here it is...
> 
> Thanks
> 
> Le dimanche 03 février 2008 à 14:30 -0500, Len Brown a écrit :
> > Thanks for the dmidecode.
> > 
> > please send me the output from acpidump.
> > 
> > -Len
> > 
> > BIOS Information
> > 	Vendor: Acer
> > 	Version: V2.83
> > 	Release Date: 03/21/2007
> > 	Address: 0xE48B0
> > 	Runtime Size: 112464 bytes
> > 	ROM Size: 1024 kB
> > 	Characteristics:
> > ...
> > Handle 0x0001, DMI type 1, 27 bytes
> > System Information
> > 	Manufacturer: Acer            
> > 	Product Name: Aspire 3100     
> > 	Version: V2.83
> > 	Serial Number: LXAX60Y180720115D31601
> > 	UUID: 6356DBD0-2A29-1BD4-04E3-0016D4D77FFF
> > 	Wake-up Type: Power Switch
> > 	SKU Number: Not Specified
> > 	Family: Not Specified
> > 
> > Handle 0x0002, DMI type 2, 8 bytes
> > Base Board Information
> > 	Manufacturer: Acer
> > 	Product Name: Navarro
> > 	Version: N/A
> > 	Serial Number: LXAX60Y180720115D31601
> 

                    If (\_OSI ("Windows 2006"))
                    {
                        Store (0x40, ^OSTB)
                        Store (0x40, ^TPOS)
                    }

                    If (\_OSI ("Linux"))
                    {
                        Store (0x01, LINX)
                        Store (0x80, ^OSTB)
                        Store (0x80, ^TPOS)
                    }

Like other Acers...
LINX is written but never read, a NOP
OSTB is compared to >=4 only, so the Linux branch above is a NOP
OSTP return value is never referneced, a NOP

However, TPOS is referenced in the ATA _STM and _PS0 method,
wher it is compared equal to 0x40.  OSI(Linux) will disable
that code (whatever it does).

So unless you find the power management of your HDD to be better
with acpi_osi=Linux at suspend/resume time,
we'll stick with the default of acpi_osi=!Linux for all Acer.

thanks,
-Len


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode - Acer Aspire 3100
       [not found]         ` <1202127691.6165.1.camel@jo-laptop>
@ 2008-02-05 17:29           ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2008-02-05 17:29 UTC (permalink / raw)
  To: jo, linux-acpi


> > > 
> > 
> >                     If (\_OSI ("Windows 2006"))
> >                     {
> >                         Store (0x40, ^OSTB)
> >                         Store (0x40, ^TPOS)
> >                     }
> > 
> >                     If (\_OSI ("Linux"))
> >                     {
> >                         Store (0x01, LINX)
> >                         Store (0x80, ^OSTB)
> >                         Store (0x80, ^TPOS)
> >                     }
> > 
> > Like other Acers...
> > LINX is written but never read, a NOP
> > OSTB is compared to >=4 only, so the Linux branch above is a NOP
> > OSTP return value is never referneced, a NOP
> > 
> > However, TPOS is referenced in the ATA _STM and _PS0 method,
> > wher it is compared equal to 0x40.  OSI(Linux) will disable
> > that code (whatever it does).
> > 
> > So unless you find the power management of your HDD to be better
> > with acpi_osi=Linux at suspend/resume time,
> > we'll stick with the default of acpi_osi=!Linux for all Acer.
> > 

> 
> Hmmmm what do you mean by "power management of your HDD". I got no
> problem with suspend/resume and I never use power management of HDD (as
> it seems that it is not really something that can help to enhance the
> lifetime of the harddisk).

In this case, it is invoked for you during suspend/resume.

> Is there a way to know what does this condition branch ?

The big picture is that if the box has a Vista sticker on it,
then it was validated with Vista, and why would Linux want to
run the BIOS through a (different) code path that was not validated?

But yes, one can read the code below and notice there is a hook in
SAT0.PRID._STM that only executes on Vista
(though curiously, _STM for the other 3 targets doesn't have this).
This hook does something to the PCI config space of the device.

and for all 4 targets, there is code under _PS0 - which is
what would be invoked on resume.

There is also some sort of spin on a busy-bit in the method
that restores power to the 4 SATA targets that executes
only if Vista compatible.

-Len


            Device (SAT0)
                Device (PRID)
                {
                    Name (_ADR, 0x00)
                    Name (SPTM, Buffer (0x14)
                    {
                        /* 0000 */    0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
                        /* 0008 */    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
                        /* 0010 */    0x13, 0x00, 0x00, 0x00
                    })
                    Method (_GTM, 0, NotSerialized)
                    {
                        Return (SPTM)
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        Store (Arg0, SPTM)
                        If (LEqual (TPOS, 0x40))
                        {
# Vista compatible path

                            \_SB.PCI0.SMB.SAPW ()
                        }
                    }

                    Name (S12P, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        If (LEqual (TPOS, 0x40))
                        {
# Vista compatible path
# looks like it spins on a busy bit in _PS0,
# the method used to bring the device back to powered-on
# non-vista will not spin on this bit
                            Store (0x28, Local0)
                            OperationRegion (SAI1, SystemIO, P3F4, 0x04)
                            Field (SAI1, ByteAcc, NoLock, Preserve)
                            {
                                        Offset (0x01),
                                    ,   7,
                                BSY0,   1
                            }

                            While (LAnd (LEqual (BSY0, 0x01), Local0))
                            {
                                Store (Local0, DBGP)
                                Sleep (0xFA)
                                Decrement (Local0)
                            }
                        }

                        Store (0x00, S12P)
                    }
...
                Device (SECD)
                {
                    Name (_ADR, 0x01)
                    Name (SPTM, Buffer (0x14)
                    {
                        /* 0000 */    0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
                        /* 0008 */    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
                        /* 0010 */    0x13, 0x00, 0x00, 0x00
                    })
                    Method (_GTM, 0, NotSerialized)
                    {
                        Return (SPTM)
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        Store (Arg0, SPTM)
# note unconditional SAPW here, no check for Vista
                        \_SB.PCI0.SMB.SAPW ()
                    }

                    Name (S12S, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        If (LEqual (TPOS, 0x40))
                        {
# Vista path, like pri target above
                            Store (0x28, Local2)
                            OperationRegion (SAI2, SystemIO, P1F4, 0x04)
                            Field (SAI2, ByteAcc, NoLock, Preserve)
                            {
                                        Offset (0x01),
                                    ,   7,
                                BSY1,   1
                            }

                            While (LAnd (LEqual (BSY1, 0x01), Local2))
                            {
                                Sleep (0xFA)
                                Store (Local2, DBGP)
                                Decrement (Local2)
                            }
                        }

                        Store (0x00, S12S)
                    }
            Device (SAT1)
                Device (PRID)
# same SECD above
                Device (SECD)
# same as SECD above


So what does SAPW() do?

                Method (SAPW, 0, NotSerialized)
                {
                    Acquire (SAPM, 0xFFFF)
                    Store (Z00W, Local0)
                    And (Local0, 0x01, Local1)
                    If (Local1)
                    {
                        \_SB.PCI0.SAT0.FBWK ()
                        Or (Z00W, 0x20, Z00W)
                    }

                    And (Local0, 0x10, Local1)
                    If (Local1)
                    {
                        \_SB.PCI0.SAT1.FBWK ()
                        Or (Z00W, 0x40, Z00W)
                    }

                    Release (SAPM)
                }
...
            Device (SMB)
            {
                Name (_ADR, 0x00140000)
                OperationRegion (Z00V, PCI_Config, 0x08, 0x0100)
                Field (Z00V, ByteAcc, NoLock, Preserve)
                {
                    RVID,   8,
                            Offset (0xA5),
                    Z00W,   8,
# Z00W lives in PCI configuratioon space - no idea what it does
                            Offset (0xF0),
                    EIDX,   8,
                            Offset (0xF4),
                    EDAT,   32
                }
...
            Device (SAT0)
            {
                Name (_ADR, 0x00120000)
                OperationRegion (SAP1, PCI_Config, 0x00, 0x44)
                Field (SAP1, WordAcc, NoLock, Preserve)
                {
                            Offset (0x08),
                    CLCD,   32,
                            Offset (0x10),
                    P1F0,   16,
                            Offset (0x14),
                    P3F4,   16,
                            Offset (0x18),
                    P170,   16,
                            Offset (0x1C),
                    P1F4,   16,
                            Offset (0x40),
                    CNFG,   8
# CNFG lives in PCI configuration space for the device
                }

                Method (FBWK, 0, NotSerialized)
                {
                    And (CNFG, 0xF7, CNFG)
                    Sleep (0x0A)
                    And (CNFG, 0xEF, CNFG)
                }

# presumably x1080 is a debug port

    OperationRegion (\DEBG, SystemIO, 0x1080, 0x01)
    Field (\DEBG, ByteAcc, NoLock, Preserve)
    {
        DBGP,   8
    }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-05 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fe8041900708061139j3c027f40v9cc4f6ccad1be998@mail.gmail.com>
2007-08-06 18:43 ` Dmidecoding Jonathan BISSON
2008-02-03 19:30   ` dmidecode - Acer Aspire 3100 Len Brown
     [not found]     ` <1202068109.8866.6.camel@jo-laptop>
2008-02-03 22:29       ` Len Brown
     [not found]         ` <1202127691.6165.1.camel@jo-laptop>
2008-02-05 17:29           ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox