On Wed, Sep 23, 2009 at 01:25:21PM -0400, Tom Sylla wrote:
On Wed, Sep 23, 2009 at 1:10 PM, Daniel Mack daniel@caiaq.de wrote:
Could you outline which steps would need to be taken in order to find out the correct address to use? Any maybe a way to sany detect the precence of that function on the board? I might go ahead and send a patch for the driver then.
Not really an outline; it is just one MSR read. Take a look at the GPIO kernel driver:
http://lxr.linux.no/#linux+v2.6.31/drivers/char/cs5535_gpio.c#L188
One attempt to do that I just sumbitted to LKML:
http://lkml.org/lkml/2009/10/5/426
Works fine here - let's see what the maintainers say.
Thanks for the pointers, Daniel