Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 10:27:32 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Mark Murray <markm@FreeBSD.org>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: I2C/IIC working on RPI4 8GB?
Message-ID:  <6432D415-B04D-4DBB-A3B7-B8CBD6665C3C@cs.huji.ac.il>
In-Reply-To: <20210426160610.5b91dc44e86ddea169ca8e27@bidouilliste.com>
References:  <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> <C0038E5F-F218-425B-AFE6-84537CE10155@cs.huji.ac.il> <20210426160610.5b91dc44e86ddea169ca8e27@bidouilliste.com>

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


> On 26 Apr 2021, at 17:06, Emmanuel Vadot <manu@bidouilliste.com> =
wrote:
>=20
> On Sun, 25 Apr 2021 18:41:31 +0300
> Daniel Braniss <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> =
wrote:
>=20
>>=20
>>=20
>>> On 25 Apr 2021, at 15:32, Mark Murray <markm@FreeBSD.org> wrote:
>>>=20
>>> Hi All,
>>>=20
>>> Does anyone here have IIC/I2C working on a CURRENT (I'm running =
latest) FreeBSD?
>>>=20
>>> I've never seen it work; Last time I had working IIC was on an RPI3.
>>>=20
>>> There is a /dev/iic0, and I have a known working RTC on it, but the =
scan just times out:
>>>=20
>>> [root@grasshopper ~]# i2c -s
>>> Hardware may not support START/STOP scanning; trying less-reliable =
read method.
>>> <TIMEOUT>
>>> Scanning I2C devices on /dev/iic0: <none found>
>>>=20
>>>=20
>>> I suspect something not-quite-right in DTS land, but I lack the =
knowledge to investigate. I've done some random stumbling around in the =
dark with overlays and the like, but I've either seen the above error, =
or a total lack of /dev/iic0.
>>>=20
>>> Thanks!
>>>=20
>>> M
>>> --
>>> Mark R V Murray
>>>=20
>>=20
>> Q1: do you see /dev/iic?
>> Q2: i2c -s shows anything?
>>=20
>> fianlly, you can try my patch, it works for me, but I understand it?s =
a five kilo hammer :-)
>=20
> RPI doesn't uses twsi so that will not change a thing.
vey true
should read Subject: before answering!
I guess not all i2c/iic are born equal:-)

danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6432D415-B04D-4DBB-A3B7-B8CBD6665C3C>