From: Casey H. <cas...@in...> - 2004-04-15 18:24:01
|
Thanks for your reply. I am actually hoping that someone had either wrote a serial device driver for the I2C bus or perhaps something that let me read/write particular I2C addresses. While its great to have drivers, this would considerably speed up the prototyping process. > -----Original Message----- > From: Klemmack, Johann [mailto:JKlemmack@BlueCube.Com]=20 > Sent: Thursday, April 15, 2004 10:59 AM > To: gum...@li... > Subject: RE: [Gumstix-users] Accessing I2C busl on gumstix >=20 > I'd have to check where, but I2C is built-into 2.4+ kernels. =20 > While its worth noting that I2C is a "multi-master" protocol,=20 > its easy to think of the stik as a master that needs to have=20 > device drivers compiled/loaded into its kernel to support the=20 > specific hardware. Just like scanners or digi-cams over a=20 > USB bus, if you don't have specific drivers to support the=20 > device or device type it won't work. >=20 > After the I2C device driver is written (which to my knowledge=20 > it is), your applications need to call the device driver in=20 > the kernel, just like any other and shouldn't be a problem=20 > with anyone familiary doing kernel calls. >=20 > Since the extent of my linux device drivers was limited to a=20 > virtual one for a class, I might be missing a lot, but that's=20 > my understanding. |