Date: Sat, 11 Aug 2018 17:31:54 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: lyd mc <alydiomc@yahoo.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Nanopi Neo I2C Message-ID: <4D0332E4-901A-45A7-93F6-0FA7D9437587@cs.huji.ac.il> In-Reply-To: <165877705.5351934.1533988165694@mail.yahoo.com> References: <165877705.5351934.1533988165694.ref@mail.yahoo.com> <165877705.5351934.1533988165694@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 11 Aug 2018, at 14:49, lyd mc via freebsd-arm = <freebsd-arm@freebsd.org> wrote: >=20 > Hi List, > Can you help me make I2C work in this board? > I can detect the controller but cannot access it through iic ioctl.=20 >=20 > root@nanopi-neo:~/prog/I2C # dmesg |grep iic > iichb0: <Allwinner Integrated I2C Bus Controller> mem = 0x1c2ac00-0x1c2afff irq 34 on simplebus0 > iicbus0: <OFW I2C bus> on iichb0 > iichb1: <Allwinner Integrated I2C Bus Controller> mem = 0x1c2b000-0x1c2b3ff irq 35 on simplebus0 > iicbus1: <OFW I2C bus> on iichb1 > iichb2: <Allwinner Integrated I2C Bus Controller> mem = 0x1c2b400-0x1c2b7ff irq 36 on simplebus0 > iicbus2: <OFW I2C bus> on iichb2 > iic0: <I2C generic I/O> on iicbus0 > iic1: <I2C generic I/O> on iicbus1 > iic2: <I2C generic I/O> on iicbus2 >=20 > kdump output: >=20 > 1290 mcp NAMI "/dev/iic0" > 1290 mcp RET openat 3 > 1290 mcp CALL ioctl(0x3,I2CRDWR,0xbfbfecd4) > 1290 mcp RET ioctl -1 errno 2 No such file or directory >=20 > This seems to work on my RPI. >=20 > Regards,Alyd what FreeBSD are you using? I have it working on CURRENT. what does=20 i2c -s say? > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0332E4-901A-45A7-93F6-0FA7D9437587>