Chapter Software Functional Overview 3.1 Overview The A985 is an IBM PC/AT compatible Notebook PC which supports the Intel uFCPGA Socket Pentium IV processor family. The following are the major features that A985 supports. Microsoft PC99 logo and WinXP logo approval. § 14.1” XGA TFT panel support. § § 15” XGA and SXGA+ TFT panel support. § APM 1.2 compliance § Support ACPI 1.0B (or above). Support PCI 2.1 (or above). § Support AGP 2.0. § Support USB 1.1. § § Support SMBIOS 2.2.
Software Functional Overview Controller Chip Display Description § § § § Hard Disk System auto detects LCD or CRT presence on boot and lid closed Support Panning while LCD in a display resolution greater than supported Support Microsoft Direct 3D Support AGP 4x BUS § Enhanced IDE spec. § Support auto IDE detection. § Support LBA mode for larger capacity HDD. § Support Ultra DMA 33/66/100. § Support Fast PIO mode 1-4 transfer. § Support 32 bit PIO transfer. § Support Multi-Sector transfer.
Software Functional Overview 3.3 Subsystem Software Functions This section provides introduction on the software functions of the notebook subsystems and BIOS related function. 3.3.
Software Functional Overview 128MB 128MB 128MB 128MB 256MB 256MB 256MB 256MB 512MB 512MB 512MB 512MB NIL 128MB 256MB 512MB NIL 128MB 256MB 512MB NIL 128MB 256MB 512MB 128MB 256MB 384MB 640MB 256MB 384MB 512MB 768MB 512MB 640MB 768MB 1024MB 3.3.3 Video The Video subsystem use share memory of Video memory. The system will support Microsoft direct 3D, Dual display support ,simultaneous display, monitor sense for auto display on boot and VESA Super VGA function call. 3.3.
Software Functional Overview Note: All Standard VGA Modes are limited to the standard VGA refresh rates. • Supported extended video modes CRT device will support all listed VESA mode; and other devices such as PANEL & TV may be limited to the mode support due to their characteristics CRT device will support all listed VESA mode; and other devices such as PANEL & TV may be limited to the mode support due to their characteristics.
Software Functional Overview 12Bh 800 x 600 24-bit Packed 60, 72, 75, 85, 100 2MB 12Ch 1024 x 768 24-bit Packed 4MB 12Dh 12Eh 1280 x 1024 320 x 200 24-bit Packed 8-bit Packed 43(I), 60, 70, 75, 85, 100 43(I), 60, 75, 85 70 131h 133h 320 x 200 320 x 200 8-bit Packed 16-bit Packed 72 72 2MB 2MB 134h 13Bh* 13Ch* 320 x 200 1400 x 1050 1400 x 1050 32-bit Packed 8-bit Packed 16-bit Packed 72 60, 75 60, 75 2MB 2MB 4MB 13Eh* 141h 1400 x 1050 400 x 300 32-bitUnpacked 60, 75 8-bit Packed 72
Software Functional Overview 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 1 1 1 0 1 LP150U1 (LG) B141PN01 (AU) HSD141PX11-A (Hannstar) CPTCLAA141XF 01 (CPT) LTN141X8-L04 (Samsung) B141XN04V2 (AU) B150XN01(AU) LTN150U1-L02 (Samsung) LTN150P3-L04 (Samsung) B150PN01 (AU) HSD150PK12-A (Hannstar) 3.3.5 Enhanced IDE The system BIOS supports 4 IDE devices on two controllers up to 30 GB capacity.
Software Functional Overview 3.3.7 PCMCIA The PCMCIA controller chip of the notebook provides the followi ng features: • • • 3.3.8 Support for only single CardBus slot (two type II stacked) Individually accessed, dual-buffer implementation Support for 3.3v, 5v and 12v (flash programming) cards LED Indicator The table below lists down the functions of the Status LED indicator: Indicator PowerButton LEDv IDE accessing LEDŒ Function Description Those LEDs indicate user the button’s location in the dark.
Software Functional Overview Fn + F8 Fn + F9 Internet Button Brightness Increase Brightness Decrease Internet Function Key Controlled by PMU08 Controlled by PMU08 Controlled by Driver Mail Button Mail Function Key Controlled by Driver Port Replicator The Port Bar duplicates the following ports from the Notebook: § CRT port § Serial port § Printer port § Two USB Ports § DC In Jack The Port replicator can just support the cold insertion but not hot insertion.
Software Functional Overview Device DMA Controller Interrupt Controller System Timer RTC ISA Bus System Speaker System Board PnP Mother Board Keyboard Controller PMU08 Controller Math Coprocessor PS/2 Mouse Connect Type Static Static Static Static Static Static Static Static Static Static Static Video Controller Enable / Disable Static Static Serial Port ECP, Parallel port Dynamic Static Dynamic FDC Static Dual IDE Controller CardBus Controller Audio chip Static Dynamic IEEE1394 Modem LAN SIR Dy
Software Functional Overview • PCI Device The table below summarizes the PCI IDSEL Pin Allocation: PCI Device Device Number Function Number Device Name AD11 Device 00 Function 0 SIS650 - Host to PCI bridge AD17 Device 06 Function 0 LAN / Modem Function 0 SIS961 - PCI to ISA bridge Function 1 SIS961 - IDE interface Function 2 SIS961 - USB Port 0-1 interface Function 3 SIS961 - USB Port 2-3 interface Function 4 SIS961 - PMU and SMBus interface Function 5 SIS961 - AC97 Audio interface
Software Functional Overview 3.3.11 MBus Devices The SMBus is a two-wire interface through which the system can communicate with powerrelated chips. The BIOS should initialize the SMBus devices during POST.
Software Functional Overview 0C0 – 0DF 8237-2 0F0 – 0FF Math Coprocessor 170 – 177 Secondary IDE Controller 1F0 – 1F7 Primary IDE Controller 200 – 20F Game Port 220 – 22F Sound Blaster PnP configuration – Address port 279 330 – 333 MIDI 370 – 371 Sound chip control port 378 – 37A Parallel Port 388 – 38B FM Synthesizer 398 – 399 Super I/O Chip 3B0 – 3DF Video Controller 3E0 – 3E1 PCMCIA Controller 3E8 – 3EF Fax/Modem 3F0 – 3F7 Floppy Disk Controller 3F8 – 3FF Serial Port 1 530
Software Functional Overview E0000 ~ FFFFFh l 128 KB System ROM BIOS IRQ Map IRQ# IRQ 0 Description System Timer Keyboard [Cascade] PHS (Serial) Serial Port Audio/VGA/USB Floppy Disk Drive Parallel Port RTC Alarm Reserved for PCMCIA card LAN / Modem or Combo, (Card Bus), IEEE 1394 ACPI PS/2 Mouse FPU (FERR) Hard Disk Drive CD-ROM or DVD-ROM IRQ 1 IRQ 2 IRQ 3 IRQ 4 IRQ 5 IRQ 6 IRQ 7 IRQ 8 IRQ 9 IRQ10 IRQ11 IRQ12 IRQ13 IRQ14 IRQ15 3.
Software Functional Overview GPIO7 EC_SCI0 1 I GPIO8 PM_RI0 1 I GPIO9 GPIO10 N.C. MB_ID1 -1 -I GPIO11 PM_SLP_S10 1 O GPIO12 STPCPU0 1 O GPIO13 GPIO14 GPIO15 N.C. SPDMUX0 N.C. -1 -- --- 0 : PMU SCI Detect 1 : PMU SCI Not Detect 0 : wakeup event input enable 1 : wakeup event input disable -0 : Mother Board ID1 Select 1 : normal operation 0 : When system into S1 1 : normal operation 0 : Stop CPU Clock 1 : normal operation -SM BUS Select0 -- GPIO16 GPO17 GPIO18 N.C. N.C.
Software Functional Overview GPIOB6 PM_SLP_S1 # I SIS961 Low = POS, STR and STD suspend state GPIOB7 PM_RI# O SIS961 Low = Wake Up Event (SMI or SCI) GPIOC0 GPIOC1 N.C. N.C. X X GPIOC2 CHGLED O Charge LED High = Turn Charge LED GPIOC3 N.C. X ON Generate SMI/SCI Control charge LED I : INPUT O : OUTPUT L-Lever : Low Lever H-Lever : Hi Lever Function Pin Description : A : A-D Converter Input Pin 3.4.
Software Functional Overview PORT 6 PORT 7 i P56 P55 P54 OUT IN IN NC GPRS_PWRENA GPRS_VDDPD P50 P61 P60 P62 P63 P64 P65 P66 P67 P70 P73 P72 P75 P74 P71 P76 P77 OUT IN IN IN IN OUT IN OUT OUT I/O I/O I/O I/O I/O I/O I/O I/O ISA ADDRESS (SA2) KBSEL2 KBSEL1 GPRS_ON/OFF LOGSEL PASS0 NC BT_FETON1 BT_SENSE0 PS2 DATA PS2 CLOCK EXTERNAL KB DATA EXTERNAL KB CLOCK EXTERNAL MOUSE CLOCK EXTERNAL MOUSE DATA SMDAT_KBC SMCLK_KBC I : INPUT O : OUTPUT FIC A985 Service Manual PDF created with FinePrint pdfFactor
Software Functional Overview 3.5 Power Management This section provides the Power Management software function of the notebook. 3.5.1 General Requirements The BIOS meet the following general Power Management requirements: • • • • • • • • • • 3.5.2 Compliant with ACPI 1.0B / ACPI 2.
Software Functional Overview l Stand by mode A suspend state where all motherboard components are still powered-on except for the system clock generator device. The PCI and CPU buses are driven to the inactive idle state. The system memory is powered and refreshed by the memory bridge, and the graphics frame buffer is powered and refreshed by the graphic chip. The system provides a 32Khz clock (SUSCLK) in this suspend mode to support refresh of these memory subsystems.
Software Functional Overview 3.5.
Software Functional Overview 3.5.5 Power Management Mode Transition Event The following table summarizes the entry events and wake-up events of each power Power State Entry Event Wake up Event Doze Doze Time out Predefined Mem/IO range access Ring Indicator Keystroke(Int., Ex. and USB keyboard) Mouse movement IRQ 1-15 Stand by Stand by Time out Predefined Mem/IO range access Battery Warning Battery Low Keystroke (Int., Ex.
Software Functional Overview 3.5.7 Power button and suspend button Button Power Suspend OFF Power on Power on Full on Power off STR/STD* State Doze Stand by Power off Full on STR/STD STR/STD STR Full on Full on i As pressed Sleep button over 4~6 sec, the system will force to power off. i *The mode of STR/STD can be selected via CMOS setup. 3.5.
Software Functional Overview l Device PM control during Stand By mode Device Description Power Controlled by CPU Hardware Controlled by SUS_STAT1# pin SIS 650/961 Hardware Controlled by SUS_STAT1# pin VGA Chip Software Controlled by BIOS call power down function Super I/O Chip Software Controlled by BIOS send power down command Keyboard Controller Working FDD Software FDD support power down command HDD Software HDD support power down command CD-ROM Software CD-ROM support power dow
Software Functional Overview Device PM control during STD mode l Device Power Down Controlled by Description SIS 650 Core Logic Hardware Power off Super I/O Hardware Power off VGA Chip Hardware Power off HDD Hardware Power off CD-ROM Hardware Power off PCMCIA Controller Hardware Power off Modem Hardware Support ring power LAN Hardware Support Lan wakeup FDD Hardware Power off Audio Chip Hardware Power off Audio AMP Hardware Power off LCD Panel Hardware Power off Back
Software Functional Overview 3.6 ACPI This section provides the ACPI software function of the notebook. 3.6.1 General Requirements The BIOS must meet the following general Power Management requirements: l l l Refers to the portion of the firmware that is compatible with the ACPI specifications. Support for Suspend-to-RAM (S3 state) and Suspend-to-Disk mode (S4 state). Support the Wake up event from External Modem Ring in S3 state. This controlled by a method _PSW or Power Resource of _PRW .
Software Functional Overview l G1 - Sleeping A computer state where the computer consumes a small amount of power, user mode threads are not being executed, and the system “appears” to be off(from an end user’s perspective, the display is off, etc). Latency for returning to the Working state varies on the wakeup environment selected prior to entry of this state (for example, should the system context are saved by the hardware and the rest by system software.
Software Functional Overview l S5 Soft Off State The S5 state is similar to the S4 state except the OS does not save any context nor enable any devices to wake the system. The system is in the “SOFF” off state and requires a complete boot when awakened. Software uses a different state value to distinguish between the S5 state and the S4 state. This is to allow for initial boot operations within the BIOS to distinguish whether or not the boot is going to wake from a saved memory image. 3.6.
Software Functional Overview Device # NIC D0 Power State D1 Power State D2 Power State D3 Power State 3.6.6 -NIC is accessing or idle -Snooze is in CLKRUN is asserted -Sleep mode, PCI chip in suspend mode -Power down mode, both PCI and phyter in sleep mode.
Software Functional Overview 3.6.7 Power States transition event The following table summarizes the entry events and wake-up events of each power: Power State S1 Entry Event OSPM* control S2 OSPM control S3 OSPM control, Sleep Button, Lid Close S4 OSPM control, Sleep Button S5 OSPM control i 3.6.8 Wake up Event Predefined Mem/IO range access Ring Indicator Keystroke IRQ1-15 SMI# / ACPI SCI# / USB Predefined Mem/IO range access Battery Warning / Battery Low Ring Indicator Keystroke (Int., Ex.
Software Functional Overview 3.6.9 Power Button and Internet / Mail Button The function of Power/Sleep Button is depends on the ACPI aware OS. Button G0 Power Power off Internet / Mail Key No active i S1 Power off G0 State S2 S3 Power off No active G0 G0 S4 No active G0 S5 G0 Go *Press power and suspend button reset PIC 3.6.10 Device Power Control Methodology This section illustrates the power control status of each key device/component of the system under each power management mode.
Software Functional Overview l Device PM control during Stand By mode Device Power Controlled by Description CPU Hardware Controlled by SUS_STAT1# pin SIS 650/961 Hardware Controlled by SUS_STAT1# pin VGA Chip Software Controlled by BIOS call power down function PCMCIA Controller Software Controlled by Driver enter Dx State Super I/O Chip Software Controlled by BIOS send power down command Keyboard Controller Working FDD Software FDD support power down command HDD Software HDD sup
Software Functional Overview l Device PM control during STD mode Power Down Controlled by Device Description SIS 650 Core Logic Hardware Power off Super I/O Hardware Power off VGA Chip Hardware Power off HDD Hardware Power off CD-ROM Hardware Power off PCMCIA Controller Hardware Power off LAN Hardware Power off FDD Hardware Power off Audio Chip Hardware Power off Audio AMP Hardware Power off LCD Panel Hardware Power off Backlight Software Controlled by BIOS set PMU08
Software Functional Overview 3.6.11 Expanding Event Through the Embedded Controller The following figure shows the relationships between the devices that are wired to the embedded controller, the embedded controller queries, and ACPI general FIC A985 Service Manual PDF created with FinePrint pdfFactory trial version http://www.fineprint.
Software Functional Overview l SCI Source and Query Event from M38867 PMU08 ADPIN# BAT0# GPIOA0 GPIOA3 GPIOA6 GPIOA7 THRM Input Event GPE Event Handler AC Plug In/Out Battery Plug In/Out LID Event Keyboard SMI PCMCIA Ring In COM Port Ring In Thermal Event GPI1 GPI1 RI RI RI RI GPI1 AML Handler AML Handler AML Handler AML Handler AML Handler AML Handler AML Handler The system will issue a beep to inform user while the following SCI alerted: § AC § BAT (AC status change) update battery information.
Software Functional Overview l Battery Control Methods Object Description _BIF Return static information about a battery (i.e., model number, serial number, design voltage, etc.) _BST Returns the current battery status (i.e., dynamic information about the battery such as whether the battery is currently charging, an estimate of the remaining battery capacity, etc.).
Software Functional Overview An optimally designed system that uses several SCI events can notify the OS of thermal increase or decrease by raising an interrupt every several degrees. This enables the OS to anticipate _ACx, PSV, or _CRT events and incorporate heuristics to better manage the systems temperature.The operating system can request that the hardware change the priority of active cooling vs passive cooling.
Software Functional Overview 1. When the heat increases to the temperature designated by _ACx, the OS will turn on the associated active cooling device and the hardware will reset the ACx value to a lower temperature. 2. The hardware will then run the Notify command and the OS will reevaluate the new temperatures. Because of the lower _ACx value now, the fan will be turned off at a lower temperature than when turned on . 3.
Software Functional Overview • • If the zone uses two independently-controlled single-speed fans to regulate the temperature, then _AC0 will evaluate to the maximum cooling temperature using two fans, and _AC1 will evaluate to the standard cooling temperature using one fan.
Software Functional Overview 3.6.16 Critical Shutdown When the heat reaches the temperature indicated by _CRT, the OS must immediately shutdown the system. The system must disable the power either after the temperature reaches some hardware-determined level above _CRT or after a predetermined time has passed. Before disabling power, platform designers should incorporate some time that allows the OS to run its critical shutdown operation.
Software Functional Overview 3.6.18 Thermal Control Methods Control methods and objects related to thermal management are listed in the table below.
Software Functional Overview 300.0K are represented by the integer 3000. l _PSL This object evaluates to a list of processor objects to be used for Passive cooling. l _PSV This control method returns the temperature at which the OS must activate CPU throttling. Arguments: None. Result Code: Temperature in tenths Kelvin. The result code is an integer value that describes up to 0.1 precision in Kelvin. For example, 300.0 Kelvin is represented by 3000.
Software Functional Overview 3.6.19 AC Adapters and Power Source Objects The Power Source objects describe the power source used to run the system. Object Description _PSR Returns present power source device _PCL List of pointers to powered devices. l _PSR Returns the current power source devices. Used for the AC adapter and is located under the AC adapter object in name space. Used to determine if system is running off the AC adapter.
Software Functional Overview − 3.7.4 The system will enter Suspend To Disk mode even the power management is disabled. The function of power-on or Resume will be inhibited until the battery low condition is removed. AC Adapter When plug in the AC adapter, the system will do the following action: − − − 3.8 The charger will charge the battery if it is possible. The Battery Charging Indicator will turn on if the battery is in changing mode.
Software Functional Overview Controller (QR_EC) 3.8.2 #2 EC_DA TA R Query value to host Interrupt on OBF=1 PMU08 EC RAM List The micro controller PMU08 acts as a supplement for power management control.
Software Functional Overview Function Address 1Ah *3 1st Battery [ _BST ] 1Ch *3 1Eh *3 20h *3 1st Battery [ _BTP ] 22h 2nd Battery [ _BIF ] 24h to 3Ch *3 3Eh to 44h *3 2nd Battery [ _BST ] 2nd Battery [ _BTP ] - R(/W) DATA[15:0] *1 - R(/W) DATA[15:0] *1 - 0xffff 0x0000-0xfffe(mWh) 0xffff: Unknown R(/W) DATA[15:0] *1 - 0xffff 0x0000-0xfffe(mV) 0xffff: Unknown DATA[15:0] *1 - 0x0000 Battery Trip R/W Point 0x0000 :Clear the trip point 0x0001-0xffff(mWh) *2 *2 *2 *2 *2 *2 *2 *
Software Functional Overview Function Address Reserved *7: R(/W): 3-46 Bit Number Logic Default Description 7 6 5 4 3 2 1 0 DATA [7:0] - - R/W DATA [15:8] - - R/W DATA [7:0] - - 6Fh PMU_DATA R/W DATA [7:0] - - 70h *7 SMB_PTCL R/W PROTOCOL[7:0] - - - - 6Dh 6Eh 71h *7 SMBus R/W R/W 6Ch PMU Access Register Name PMU_LOW_ ADR PMU_HIG_ ADR CHECK_ SUM SMB_STS R/W 72h SMB_ADDR R/W 73h SMB_CMD 74h to 93h SMB_DATA R/W [0-31] 94h SMB_BCNT R/W 95h SMB_ ALARM_ ADDR R(/W) 96h
Software Functional Overview Function Address R/W A0h *3 ADP_STS A1h *3 BAT1_STS R(/W) (1st Battery) A2h *3 A3h *3 A4h *3 A5h *3 A6h *3 Status Register Name R(/W) Bit Number 7 6 5 4 3 2 1 0 C RES[7:1] O N DeDescription fault - - - - - - Don’t care - - BAT1_CAP R(/W) BCAP - - BAT2_CAP R(/W) BCAP - - Don’t care - - BAT2_STS R(/W) (2nd Battery) Reserved Reserved D B E L W E C C C T M O A R H O H P P W R R G N G R/W R/W A7h SMB_Alert_ R/W ADDR A8h *5 A9h *5 GPIO-A_ EVT_
Software Functional Overview Function Address B0h Event/ GPIO Control *4: 3-48 Register Name EC_RUN_ ENB R/W R/W B1h EC_WAKE_ ENB B2h BATT_RUN_ R/W ENB R/W Bit Number 7 6 5 4 3 2 1 0 B A S T L M P R B 2 T RES[4:1] A D P B E L W E C C C T M O A R A / O P P W R R P D N B3h BATT_WAKE R/W _ENB B4h GPIO-A_ IO_CONF R/W CONF_A [7:0] B5h GPIO-A_ DATA R/W DATA_A [7:0] B6h GPIO-A_ RUN_ENB R/W RUN_ENB_A [7:0] B7h GPIO-A_ EVT_POL R/W POL_A [7:0] B8h GPIO-A_ WAKE_ENB R/W WAKE_ENB_A
Software Functional Overview Function Address Register Name R/W C0h GPIO-C_ EVT_POL R/W C1h GPIO-C_ WAKE_ENB R/W Bit Number 7 6 5 4 3 2 1 0 Logic DeDescription fault 0: Falling POL_ edge C 0 0 0 0 0 0 0x00 1: [1:0] Rising edge WAK 0: E_ Disable 0 0 0 0 0 0 ENB 0x00 1: _C Enable [1:0] WAKE SCI C2h EVT_CONT R/W Q W R _ RES S E R A C K S U [7:6] I E N *4 W A K E _ O U T Q_RU N S U S _ X 0x00 WAKE _OUT Event/ GPIO Control SUS_X C3h EC_RUN_ ENB_2 R/W Reserved [7:1] C4h C5h To C7h C8h
Software Functional Overview Function Address D0h BAT_CHG_ CONT R/W R/W Bit Number 7 6 5 4 3 2 C H G _ RES RES[7:5] R [3:2] D Y # 1 0 C H G 2 C H G 1 PAT [2:0] Logic - D1h BAT_DCH_ PRI D2h BAT_DCH_ CONT R/W RES[7:2] D3h BAT_WAR_ ABS R/W DATA[15:0] *1 - D5h BAT_LOW_ ABS R/W DATA[15:0] *1 - D7h BAT_WAR_ REL R/W DATA [7:0] - D8h BAT_LOW_ REL R/W DATA [7:0] - D9h *3 FULL_DATA R/W DATA [7:0] - Dah CC_CUR_ DATA R DATA [7:0] - DBh To DCh BTP2 R/W DATA [15:0] - DD
Software Functional Overview Function Address E0h Register Name PMU_CONT R/W R/W Bit Number 7 6 5 4 3 2 1 0 RES[7:3] E C _ R E G B A Y _ L E D PMU control E1h ACPI_ACC_ ENB R/W RES [7:1] E2h OFF_TIME R/W DATA [7:0] E3h POLLING_ ADDRESS R/W E4h E5h HIGH_ ALARM LOW_ ALARM Slave Address [6:0] R/W DATA [7:0] R/W DATA [7:0] Logic P O W _ L E D - O S _ S T S - R E S Signed value Signed value E6h POLLING_ INTERVAL R/W DATA [7:0] E7h POLLING_ DATA R(/W) DATA [7:0] Signed va
Software Functional Overview 3.9 Miscellaneous 3.9.1 Power Button The system may have different action upon pressing the Power Button when the system is in the different state. System Power State Full-on Stand by STR STD SOff/MOff 3.9.2 Action for Pressing Power Button Power Off Power Off Resume from STR Resume from STD Power On Security The user may enter up to 8 standard text characters for a password. The password includes two levels. The higher priority is the Supervisor Password.
Software Functional Overview supporting a wider bus (32 bits instead of 16 bits), CardBus also supports bus mastering and operation speeds up to 33MHz. Clock Throttling – South bridge function that allows the CPU clock to be stopped and started at a known duty cycle using the STPCLK# pin to enter and exit Stop Grant mode. Clock throttling is used for power saving, thermal management, and reducing the processing speed. DIMM (SODIMM) - Dual In-line Memory Module, a small circuit board that holds memory chips.