Showing posts with label Hardware. Show all posts
Showing posts with label Hardware. Show all posts

Thursday, November 3, 2011

Think twice before buy A Laptop or A PC


When I went to buy a laptop these days, I identified that there is a serious issue with some Laptops and PCs. So I thought that I have to share what I found. There is a Chipset circuit design issue identified in the Intel® 6 Series Chipsets. It is better to understand what is going on before you buys a new one.

So before you buy a Laptop or PC please read this.
http://www.intel.com/support/chipsets/6/sb/CS-032521.htm

Or before you buy your laptop or PC run CPU-Z on the machine and check the version of the south bridge. If it is B2 you are in trouble.



Also read ,
http://news.softpedia.com/news/How-to-Find-Out-if-Your-Sandy-Bridge-Motherboard-Is-Affected-by-Intel-s-SATA-Bug-182252.shtml

Thursday, November 18, 2010

BIOS Interrupt Calls To get Hardware and Other Data

BIOS Interrupt Calls.
Interrupt calls are a functionality provided by BIOS to get particular data from system and save them in the Registers of the CPU. (See The Appendix to find out what are x86 registers.) They invoked in particular way,
int inturrptVecotr in hex

From this manner we can call a particular interrupt and retrieve values from system. The manufactures provide a documentation of interrupt Vectors. They specify which interrupt can return which values. There are so many conditions and those conditions gives different information. The complete description of the interrupt vectors are giving in below reference's.

How To Find Your Processor Brand String


CPUID function in x86 Assembly Language


CPUID is an instruction provided by processor manufacture, it is an Assembly instruction. It has no operands in its function call. But it takes arguments from AX register. It provides processor identification information in registers EAX, EBX, ECX, and EDX. This information identifies Intel as the vendor, gives the family, model, and stepping of processor, feature information, and cache information. An input value loaded into the EAX register determines what information is returned. There is list of AX register values which retunes different information about CPU.



EAX=0h, CPUID

This returns the CPU's manufacturer ID string - a twelve character ASCII string stored in EBX, EDX, ECX - in that order. The highest basic calling parameter is returned in EAX. EBX, EDX, ECX, EAX are 32bit registers. We can store 4 8bit characters. Here is a example values of registers after CPUID call.

EAX= Maximum Input Value for Basic CPUID Information (see second table)
EBX= "Genu"
ECX= "ntel"
EDX= "ineI"

EAX=80000002h,80000003h,80000004h, CPUID

These return the processor brand string in EAX, EBX, ECX and EDX. CPUID must be issued with each parameter in sequence to get the entire 48-byte null-
terminated ASCII processor brand string.

EAX=80000002h;
EAX=” ”
EBX=” ”
ECX=” “
EDX= "nI "
EAX=80000003h;
EAX= "(let"
EBX= "P )R"
ECX= "itne"
EDX= "R(mu"
EAX=80000003h;
EAX= " 4 )"
EBX= " UPC"
ECX= "0051"
EDX= "zHM"

Hear also you have to write assembly codes to set AX value and call CPUID and extract data from registers and print them. Do it iteratively four times to get the processor brand string.

Saturday, November 6, 2010

Find Hardware info_Do You Know How Drivers are searched through Internet

Finding About Your Hardware Details.
This is the slandered way of finding hardware details ..
Evey hardware has a thing called Hardware ID it has two Portions, one is Vendor ID and Device ID.
When you find these two you can easily find out every thing about your hardware.
This not need any kind of drivers.
You can search through sites like this for your informations.
In Windows You can find Your Hardware ID This way......

  1. Open Device Manager (Control Panel>System>Hardware>Device Manager)
  2. The hardware whose drivers are missing will appear as Unknown device, so it's easier to locate the device.
  3. Right click on the unknown device and click on Properties.
  4. Under the Properties window click on Details tab and select Device Instance Id from the drop down box.
  5. You should see a code similar to this

    PCI\VEN_8086&DEV_27DC&SUBSYS_30868086
    &REV_01\4&1E46F438&0&40F0
  6. The portion of the code after VEN is the Vendor ID and the portion after DEV is the Device ID. In this example:

    Vendor ID = 8086
    Device ID = 27DC
In Linux you can use
dmidecode | more and man dmidecode for more information

SMBIOS - Gives Hardware Specifications


System Management BIOS (SMBIOS)

The SMBIOS provides numerous tables of data describing a computer's configuration. Available information includes items such as vendor name, BIOS version, installed components, CPU clock speed, etc.
The functions given in this section can be used to retrieve and parse the SMBIOS tables. Declarations of these functions and table entries (structures) are available in file Include\Rttsmbios.h and Libdel\Rttsmbios.pas.
Types RTSMSTR, RTSTRCNT, and RTSMHNDL used in some of the SMBIOS structures have special semantics. Values of type RTSMSTR are string indices. Function RTSMBIOSGetString can retrieve a pointer to the associated string. Values of type RTSTRCNT denote how many strings are appended to a structure. FunctionRTSMBIOSGetStringN can retrieve all such strings. Values of type RTSMHNDL reference another SMBIOS structure which can be located with RTSMBIOSFindHandle.
The SMBIOS structure declarations included in the following sections and in file Include\Rttsmbios.h correspond to version 2.4 of the SMBIOS specification. Older SMBIOS versions may only support a subset of the declared structure fields as later SMBIOS versions have appended data members to some structures. FunctionRTSMBIOSIsValid may be used to check if a particular structure member is supported.

We can find Following things using SMBIOS

0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply

For How To do it?

But i am working on a solution in C or x86 ASM

Saturday, October 16, 2010

Check Your VGA Performence

From this software you can check your VGA card real performance. Where OS could going wild.

http://www.mediafire.com/?35319lp53qjppo4