latest i2c/twis still not working for me

Daniel Braniss danny at cs.huji.ac.il
Fri Dec 14 13:53:55 UTC 2018



> On 14 Dec 2018, at 12:46, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> 
> 
> 
>> On 14 Dec 2018, at 12:30, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>> 
>> On Fri, 14 Dec 2018 11:21:42 +0200
>> Daniel Braniss <danny at cs.huji.ac.il> wrote:
>> 
>>> Hi,
>>> with 13.0-current r342048, no device is found. (neither with older version of twsi!)
>>> anything I can do to help in getting this working? I?m using a nano-neo, and with a ?fixed? twsi
>>> i can use the i2c, but trying to figure out the driver is way beyond me.
>>> 
>>> thanks,
>>> 	danny
>> 
>> I will need more detail.
> 
> ok, ill compile with TWSI_DEBUG and report findings.

this is the ’short’ version:
Dec 14 15:47:53 neo-003 login[901]: ROOT LOGIN (root) ON ttyu2
Last login: Fri Dec 14 15:45:06 on ttyu2
FreeBSD 13.0-CURRENT (AWG) #2 r342048M: Fri Dec 14 12:49:12 IST 2018

Welcome to FreeBSD!
7[r[999;999H[6n8root at neo-003:~ # i2c -s
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
Hardware may not support START/STOP scanning; trying less-reliabtwsi_locked_start(): no ACK (status: 08) after sending slave address
le read method.
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): no ACK (status: 08) after sending slave address
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
twsi_locked_start(): timeout sending START condition
Scanning I2C devices on /dev/iic0: <none found>
root at neo-003:~ #
> 
> 


the long version is in /www.cs.huji.ac.il/~danny/tip.record <http://www.cs.huji.ac.il/~danny/tip.record>

>> 
>> Thanks,
>> 
>> -- 
>> Emmanuel Vadot <manu at bidouilliste.com <mailto:manu at bidouilliste.com>> <manu at freebsd.org <mailto:manu at freebsd.org>>
> 
> _______________________________________________
> freebsd-arm at freebsd.org <mailto:freebsd-arm at freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org <mailto:freebsd-arm-unsubscribe at freebsd.org>"



More information about the freebsd-arm mailing list