Re: Accessing the SMBus through a Via 82C686
From: Cody Tews (tews_at_ieee.org)
Date: 09/23/04
- Next message: Edward Hsu: "AVStream: BDA issue (Signal Strength : 0)"
- Previous message: Max Paklin: "Re: Capture driver supporting transport stream"
- In reply to: Stephen Bridges: "Accessing the SMBus through a Via 82C686"
- Next in thread: Stephen Bridges: "Re: Accessing the SMBus through a Via 82C686"
- Reply: Stephen Bridges: "Re: Accessing the SMBus through a Via 82C686"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Edward Hsu: "AVStream: BDA issue (Signal Strength : 0)"
- Previous message: Max Paklin: "Re: Capture driver supporting transport stream"
- In reply to: Stephen Bridges: "Accessing the SMBus through a Via 82C686"
- Next in thread: Stephen Bridges: "Re: Accessing the SMBus through a Via 82C686"
- Reply: Stephen Bridges: "Re: Accessing the SMBus through a Via 82C686"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|