SMBus on WinNT READING problem. Can u help me?
lskwsk at wszib.edu.pl
Mon Feb 3 01:39:08 CET 2003
My name is Michal Laskowski and im from poland. Firs i want to say
sorry for my english, and for that email if u will get angry :).
I just want to ask u for a little bit help.
I use Win XP and DriverLinx Kernel Driver for Port I/O operations.
And i want to make some soft but i have a problem with getting a
information from SMBus. So :
I Have ABit ST6, with Intel 815EP (ICH2) 82801BA, and a WinBond
W83627HF. I did a function for scaning a pci and my SMB adress is
0x5000 (Dev 0x1f, Fun 0x03) and here i have a problem for getting
any information from SMB.
I know that if SMB is bussy in his Base address (port) 1st bit will
be set for 1. so i can wait for the moment when smb will be free
After i wait i write to base_address +5 and to base_address +6 (this
will be my Index and Data registers) a "paramets" for function what
i want to call. for eg. i write 80h.
Now to base_address +3 i write a command (for eg. 4Eh - Bank Select Register)
to base_address + 2 (Host Control Register) i write 48h for Byte
Data protocol and for generaiting an interaption afte completion of
im waiting for SMB
now i read a data from base_address +6 and base_address +5
now i can read a vendor id high byte
so i do that
base_address + 5 = 0
base_address + 6 = 0
base_address + 3 = 4Fh
base_address + 2 = 48h
wait for SMB
and read base_address + 6 and base_address + 5
and that ports are empty no data are there
what i am making wrong maby i did something wrong but i dont know
If u can help me it would be very nice.
Thanks a LOT
mailto:lskwsk at wszib.edu.pl
More information about the lm-sensors