Date: Sat, 07 Sep 2013 10:02:30 -0700 From: Sean Bruno <sean_bruno@yahoo.com> To: Luiz Otavio O Souza <lists.br@gmail.com> Cc: freebsd-embedded <freebsd-embedded@freebsd.org> Subject: Re: DIR-825B1 iicbus thing Message-ID: <1378573350.1588.6.camel@localhost> In-Reply-To: <CAB=2f8zvsgLAfCAEpUy35N8Cz8OgGBuzirZMbrBg5RZvbA9Bpw@mail.gmail.com> References: <1378491503.48812.5.camel@localhost> <CAJ-Vmo=6-zgMYHPg94XS4mNS7vVy%2Bu_oAqf9FVihGmPvkDiUPw@mail.gmail.com> <CAB=2f8zEK__g=XRcR8bm3oJRgyjE0VB0DtEDz3j1yb3oHvQPPg@mail.gmail.com> <1378493166.48894.1.camel@localhost> <CAB=2f8zgfhL2cXGZe6YDM8-d1_xy=Cay9QUcJM=hL%2BWrQQKGwQ@mail.gmail.com> <CAB=2f8zvsgLAfCAEpUy35N8Cz8OgGBuzirZMbrBg5RZvbA9Bpw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-BXXbYcWg+knOJoCDkhqI Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Fri, 2013-09-06 at 16:26 -0300, Luiz Otavio O Souza wrote: > =20 > I've looked at your changes and found this: > +# GPIO I2C bus > +hint.gpioiic.0.at=3D"gpiobus0" > +hint.gpioiic.0.pins=3D0x00a0 >=20 >=20 > Humm and 0x00a0 also seems wrong for DIR825:=20 > +# Pin 5 - WPS (LED blue) --> works > +# Pin 6 - RTL8366RB switch data line > +# Pin 7 - Planet (LED orange)--> works > +# Pin 8 - RTL8366RB switch clock line > If i'm not mistaken the correct mask is 0x140 (for pin 6 and pin 8) > and then set the correct pin index for sda and scl.=20 >=20 >=20 I don't come up with 0x140 for bit 6 and bit 8 being set, I get 0xa0. setting 0x140 would enable bit 7 and 9. Right? Sean --=-BXXbYcWg+knOJoCDkhqI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSK1wlAAoJEBkJRdwI6BaHVSEIAIE8Iwp9sqtWIOdKROUw3GP+ KBCJF29/Uk1n2psK3Pa2LgWNYDSu6eO3zGy3OiRCdZ50296QevqPKlY1D8qvhmjf lPU88IdhNYhJd831nCkvO6wq88ka8hkunDejYcjLCDhJ+EId5K08b2A7R2T3c0Th GfEqY3pTvbELMY5kCVR+LXXJGkyQTsI6NkVuN/LrIAkZHPq6L8eM96CYbe90BE2O fy5/3tgqCws9mgd4BQ+be+xZIkCapCY70rngcfJTHrAD2YFG9u8d/Uc+L/ub8q8Y rY13/b38hn3BT3HBqRz5MdwAOlo738k9GQukCwShhUl4H7irqEvq333rIlu3Df0= =ySyz -----END PGP SIGNATURE----- --=-BXXbYcWg+knOJoCDkhqI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378573350.1588.6.camel>