• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramI2CHow to install I2C -Tools on pcDuino 3 (Ubuntu) ?
Previous Next

How to install I2C -Tools on pcDuino 3 (Ubuntu) ?

Posted by: Yang , June 3, 2014

I2C Tools for Linux

The I2C tools that used to be part of the lm-sensors package have been split to a separate package. The rationale for that move is that not all hardware monitoring chips are I2C devices, and not all I2C devices are hardware monitoring chips, so having everything in a single package was confusing and impractical.

The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access.

All versions of Linux are supported, as long as I2C support is included in the kernel.

Install I2C Tools :

ubuntu@ubuntu:~$ sudo apt-get install i2c-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libi2c-dev python-smbus
The following NEW packages will be installed:
  i2c-tools
0 upgraded, 1 newly installed, 0 to remove and 252 not upgraded.
Need to get 55.8 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ precise/universe i2c-tools armhf 3.0.3-5build1 [55.8 kB]
Fetched 55.8 kB in 1s (27.9 kB/s)    
Selecting previously unselected package i2c-tools.
(Reading database ... 65029 files and directories currently installed.)
Unpacking i2c-tools (from .../i2c-tools_3.0.3-5build1_armhf.deb) ...
Setting up i2c-tools (3.0.3-5build1) ...
ubuntu@ubuntu:~$ 

 

 

Tags: I2C

Share!
Tweet

Yang

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors