Re: Accessing the SMBus through a Via 82C686

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cody Tews (tews_at_ieee.org)
Date: 09/23/04


Date: Wed, 22 Sep 2004 17:52:23 -0700

SMBUS on an embedded pc ... that sounds like a familar project to me.
I can't go into too much of what I have done due to NDA, but what you
may find is that you will be lacking the bus driver for the Via chipset.
( I mention this as I spent alot of time on a wild goose chase only to
find that the vendor ( Via ) didn't provide the bus driver.)

On top of the non-existing bus driver you will want to write your own
custom class driver. The example smbus driver in the ddk a bunch
of over kill and almost more confusion than what it is worth. So the
short is don't get to tied up trying to figure this one out.

You may want to look at a generic port driver which shows how you can
use Ioctl to communcate between user space and your driver. I don't
know what you have in mind, but this is a pretty slick way to communicate.

I realize this is pretty brief but I hope it helps. Feel free to
drop me a line if you have some specific questions.

Cody

Stephen Bridges wrote:
> I am trying to talk to a device in an embedded PC that is on the
> SMBus. The SMBus controller is a VT82C686.
>
> I have never done driver development in Windows before so I'm a bit
> unsure of how to proceed. I've read the relevant sections in the
> Windows DDK and the questions and answers on usenet.
>
> The DDK example appears to be for writing a driver for a SMBus
> controller, rather than talking to an existing third-party driver. As
> the Microsoft-written drivers won't work with the Via chipset, I'm
> assuming the information I need will be from Via rather than MS.
>
> The DDK confused me. Can I just write a user-space application to
> talk to the SMBus controller, and have that pass on information? Does
> anybody know where information on using the Via driver is?
>
> Many thanks for any help.
>
> Stephen.



Relevant Pages

  • Re: SMBus Support in Windows XP
    ... Older DDK there exists acpisim which does not appear in the lastest 2008 DDK. ... at XP but once again the wmiacpi.sys driver is not present on my XP SP2 ... would like to communicate with devices on the SMBus be they ... What about batteries and other devices on SMB, ...
    (microsoft.public.development.device.drivers)
  • [PATCH] Add the IPMI SMBus driver
    ... This driver uses them. ... This patch adds the SMBus interface to the IPMI driver. ... +static int smb_dbg_probe = 0; ...
    (Linux-Kernel)
  • [PATCH] IPMI driver updates, part 3
    ... It has been far too long since the last IPMI driver updates, ... This third part adds an SMBus IPMI interface. ... The driver interface depends on your hardware. ...
    (Linux-Kernel)
  • [RFC] SMBus multiplexing for the Tyan S4882
    ... The particularity of the board is that the SMBus is multiplexed using 3 ... switch the mux, only one channel is visible at a given time) nor safe ... into the bus driver. ... S4882 support selectable as a configuration option. ...
    (Linux-Kernel)
  • Re: SMBus Support in Windows XP
    ... specific in the DDK. ... See many references to KDMF ... in developer comments but have not seen any code aside from SMBus ... The WinXP in-box Intel SMBus driver is only ...
    (microsoft.public.development.device.drivers)