sábado, julio 03, 2010

Cómo leer la BIOS?

Existen comandos en Linux que permiten leer la BIOS (Véase también DSDT con AISL, "AISL -D ./tabla") directamente, uno es dmidecode, te entregará datos como, en mi caso:

[maximi89@gateway ~]$ sudo dmidecode
# dmidecode 2.10
SMBIOS 2.5 present.
35 structures occupying 1224 bytes.
Table at 0xB7EDA000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Phoenix Technologies LTD
Version: V1.05
Release Date: 04/15/2009
Address: 0xE4AD0
Runtime Size: 111920 bytes
ROM Size: 1024 kB
Characteristics:
PCI 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
BIOS ROM is socketed
EDD is supported
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Gateway
Product Name: NV52 Series
Version: 0100
Serial Number: LXWC30X005924B4F1E2200
UUID: D55A41E0-5CC6-11DE-9419-AA59E6D7EF02
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Gateway
Product Name: SJV50PU
Version: Rev
Serial Number: LXWC30X005924B4F1E2200

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

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: Socket S1G2
Type: Central Processor
Family: Athlon Dual-Core
Manufacturer: AMD
ID: 31 0F 20 00 FF FB 8B 17
Signature: Family 17, Model 3, Stepping 1
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)
HTT (Hyper-threading technology)
Version: AMD Athlon(tm) X2 Dual-Core QL-64
Voltage: 1.1 V
External Clock: 200 MHz
Max Speed: 4000 MHz
Current Speed: 2100 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 2
Core Enabled: 2
Thread Count: 2
Characteristics:
64-bit capable

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1 Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Burst
Pipeline Burst
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: H0 L2 Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Through
Location: Internal
Installed Size: 1024 kB
Maximum Size: 2048 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Unknown
System Type: Unified
Associativity: Unknown

Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J28
Internal Connector Type: None
External Reference Designator: COM A
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J28
Internal Connector Type: None
External Reference Designator: Parallel
External Connector Type: DB-25 female
Port Type: Parallel Port ECP/EPP

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J28
Internal Connector Type: None
External Reference Designator: Video
External Connector Type: DB-15 female
Port Type: Video Port

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J33
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: Circular DIN-8 male
Port Type: Keyboard Port

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J33
Internal Connector Type: None
External Reference Designator: PS/2 Mouse
External Connector Type: Circular DIN-8 male
Port Type: Keyboard Port

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J31
Internal Connector Type: None
External Reference Designator: USB 1
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J32
Internal Connector Type: None
External Reference Designator: USB 2
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J32
Internal Connector Type: None
External Reference Designator: USB 3
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J31
Internal Connector Type: None
External Reference Designator: USB 4
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Microphone In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Line In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Speaker Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0013, DMI type 9, 13 bytes
System Slot Information
Designation: MINI PCI
Type: 32-bit PCI
Current Usage: Unknown
Length: Other
ID: 0
Characteristics:
5.0 V is provided
3.3 V is provided
PME signal is supported

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

Handle 0x0015, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Disabled
Description: ESS 1869

Handle 0x0016, DMI type 11, 5 bytes
OEM Strings
String 1:
String 2:
String 3:

Handle 0x0017, DMI type 12, 5 bytes
System Configuration Options
Option 1: J13 1-2 Normal Operation, 2-3 Clear CMOS

Handle 0x0018, DMI type 13, 22 bytes
BIOS Language Information
Installable Languages: 1
enUS
Currently Installed Language: enUS

Handle 0x0019, 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: 0x00000000
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 0x001A, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4

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

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

Handle 0x001D, 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 0x001E, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Array Handle: 0x001A
Partition Width: 0

Handle 0x001F, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x001B
Memory Array Mapped Address Handle: 0x001E
Partition Row Position: 2
Interleave Position: 1
Interleaved Data Depth: 6

Handle 0x0020, DMI type 32, 20 bytes
System Boot Information
Status:

Handle 0x0021, DMI type 200, 7 bytes
OEM-specific Type
Header and Data:
C8 07 21 00 01 02 03
Strings:
17C0

0001

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

2 comentarios:

Anónimo dijo...

¿Sabes si hay algo en linux para leer la BIOS de la tarjeta gráfica? Busco algo parecido al GPU-Z.

Saludos.

Maximiliano dijo...

La verdad no, he buscado lo mismo, pero no he encontrado nada al respecto...

espero pronto encontrar algo y si lo encuentro lo posteo, hasta el momento no tengo nada más que decir.