Ticket #800 (closed task)
Opened 7 years ago
Tyan 2460 initialization - assy code (Examined/Solved - lm_sensors 2.6.3 linux 2.4.7-10)
| Reported by: | contact | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | hardware | Version: | |
| Keywords: | Cc: |
Description
hi
i saw your eamil in the http://www2.lm-sensors.nu/~lm78/readticket.cgi?
ticket=781
and i have a same motherboard of TYAN S2460.now i want to use W83627HF OF TYAN
without BIOS initialization..you said without knowing how to control the reset,
you can't do that,now i want to know how to control the reset.maybe you can
give me some clews.
thanks!
and i get answer from tyan surport.they told me that i can upgrade my bios or
finish the initialization of super IO chip(w83627hf) in OS.this is the codes:
; Initialize Super I/O HW monitor chip for LANDesk support
mov dx, 2Eh ; Open Super I/O Reg for Config mode
mov al, 87h
out dx, al
out dx, al
mov dx, 2Eh ; Select Logic Dev 0B (HW Monitor)
mov al, 07H
out dx, al
mov dx, 2Fh
mov al, 0Bh
out dx, al
mov dx, 2Eh ; Set I/O port address to C00h
mov al, 60h
out dx, al
mov dx, 2Fh
mov al, 0Ch
out dx, al
mov dx, 2Eh
mov al, 61h
out dx, al
mov dx, 2Fh
mov al, 00h
out dx, al
mov dx, 2Eh ; Activate the Super I/O HW monitoring
mov al, 30h
out dx, al
mov dx, 2Fh
mov al, 01
out dx, al
mov dx, 0C05h ;Set the Super I/O chip SMBUS slave address
mov al, 48H
out dx, al
mov dx, 0C06h
mov al, 2Ch
out dx, al
mov dx, 2Eh ;Set the GP21/22 (Pin 91/92)
mov al, 2Bh ; to SMBUS clock/data
out dx, al
mov dx, 2Fh
mov al, 00h
out dx, al
mov dx, 2Eh
mov al, 0AAh
out dx, al
-------------------------------------------------------------------------
but i don't know where i should add it in os(linux 2.4.7-10 redhat 7.2)
perhaps you have a good way.
thanks again!
:)
--- Interesting.
No idea where you would want to put this in the kernel init code.
Perhaps we can figure out what it is doing and
then convert it to C to put in an initialization module.
You may wish to discuss with other 2460 users referenced
in the tickets.
MDS 4/5/02
See ticket #867 for C code derived from the above.
MDS 4/11/02
Closed, link posted on home page to this ticket and 867.
MDS 4/19/02
