From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wayne Call" Date: Thu, 22 Jan 2009 11:09:37 -0700 Message-ID: <000101c97cbc$96bacc10$c4306430$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C97C81.EA5BF410" Content-Language: en-us Subject: [Xenomai-help] xenomai i2c Reply-To: wcall@domain.hid List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multipart message in MIME format. ------=_NextPart_000_0002_01C97C81.EA5BF410 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Is there a way to use xenomai to do a simple read/ write to an i2c device? I simply want to read a temperature sensor value, via I2C, in the real time context. I currently use files such as i2c-bfin-twi.c and i2c-core.c and have built a sensor type driver, lm73.c. I can read temperature values from user space using the /sys/bus/i2c/devices/0-0048/temperature folder. Wayne ------=_NextPart_000_0002_01C97C81.EA5BF410 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Is there a way to use xenomai to do a simple read/ = write to an i2c device?  I simply want to read a temperature sensor value, = via I2C, in the real time context.  I currently use files such as = i2c-bfin-twi.c and i2c-core.c and have built a sensor type driver, lm73.c.  I can = read temperature values from user space using the = /sys/bus/i2c/devices/0-0048/temperature folder.

 

Wayne

 

------=_NextPart_000_0002_01C97C81.EA5BF410--