8devices Community
https://www.8devices.com/community/

i2c-tools
https://www.8devices.com/community/viewtopic.php?f=1&t=366
Page 1 of 1

Author:  Chris87 [ 25 Feb 2013, 23:47 ]
Post subject:  i2c-tools

Hi Guys,

I can't install the i2c-tools with opkg is there any other solution?

Unknown package 'i2c-tools'.
Collected errors:
* opkg_install_cmd: Cannot install package i2c-tools.
root@OpenWrt:~#


greetings

Author:  dasMopo [ 02 Mar 2013, 10:51 ]
Post subject:  Re: i2c-tools

Just did a quick search: you're right, there is no i2c-tools package in the 8dev openwrt repository [1].
No binary package, that is.

So you could (1) build it yourself from the carambola OpenWRT sources, or (2), if there's also no such package, you could try to build an all vanilla (RT3050) firmware and package from the official OpenWRT sources [2].

---

[1] 8dev openwrt repo: http://pkg.8devices.com/
[2] openwrt buildroot how-to: http://wiki.openwrt.org/doc/howto/build

Author:  PetrD [ 17 Mar 2013, 18:08 ]
Post subject:  Re: i2c-tools

Hi,
I was the same poblem. I found it in packages of openwrt.

# wget http://downloads.openwrt.org/attitude_a ... ramips.ipk
# opkg install i2c-tools_3.0.3-1_ramips.ipk

# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
It works!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/