Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 11:38:45 -0400
From:      Winston Smith <smith.winston.101@gmail.com>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, Mark R V Murray <mark@grondar.org>
Subject:   Re: i2c on RPI-B not working
Message-ID:  <CADH-AwGxCRncJZGeNigN6B_3S0ojNWCNYZigUV%2BSqrw%2BgMOMtw@mail.gmail.com>
In-Reply-To: <CADH-AwFDk2uzOcNQQx%2BL%2BHGBgc7vccQVXLta_g6D3HRHhZxYsQ@mail.gmail.com>
References:  <93181B67-1944-4DDD-A595-455D2AE9B110@grondar.org> <1CFC3564-65F0-4DC8-950C-3D53BBB2761C@FreeBSD.org> <CADH-AwFDk2uzOcNQQx%2BL%2BHGBgc7vccQVXLta_g6D3HRHhZxYsQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Wed, Apr 30, 2014 at 7:49 PM, Winston Smith
<smith.winston.101@gmail.com> wrote:
> 1) Hopefully, you'll have more luck with the i2cscan.c tool I wrote than I did!
> 2) Does anyone know why I'm not detecting any i2c devices on the BBB?

I fixed the i2cscan.c tool and it's able to detect the various i2c
devices (including the EEPROM at 0x50) on the BBB's I2C0 bus:

root@beaglebone:~ # ./i2cscan /dev/iic0
Checking device: /dev/iic0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


I have updated the pastebin for this:

http://pastebin.com/RxpRCyJU


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADH-AwGxCRncJZGeNigN6B_3S0ojNWCNYZigUV%2BSqrw%2BgMOMtw>