Hi,

I see your problem, but on the other side you have all motherboards with PCI
slots (which have SMBus contacts) and any recent RAM slots which have on-board
SMBus controllers but no generic I2C host chips. And most of these are already
supported by the kernel.  From what I could see in the w1 kernel code, all
commands to the I2C<->1-Wire bridges in fact are also SMBus compliant and thus
the use of the kernel smbus layer seems more natural.  The linux kernel i2c
system automatically translates SMBus packets if they are sent to a true
I2C-master device (e.g. parport bit-banging).  If you have to write a layer on
top of your proprietary I2C library anyway, couldn't you copy over the SMBus
-> I2C functionality from the kernel source?

Christoph

On Sun, Apr 23, 2006 at 08:32:40PM +0200, Jan Kandziora wrote:
> I have a special request: It seems the kontron guys haven't used the 
> generic /dev/i2c interface, but instead build a propietary interface (morons) 
> and a userspace library, which exports i2c (not smbus) functions only. I'm 
> still into bugging them to make a driver using the generic i2c interface, but 
> if this fails, I'd have to port the owfs i2c Interface to that libary.
> 
> It would make things easier if you could stick to the raw i2c calls of 
> the /dev/i2c interface.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to