<div dir="ltr"><div><div><div>Just a quick update after got help from IRC folks.<br><br></div>* Seems like Ubuntu 14.04 does not export the GPIO hence there is no /sys/class/gpio<br></div><div>* After using Ubuntu 14.10 beta 2 I can see the /sys/class/gpio<br></div>* Was told to try "echo 220 > /sys/class/gpio/export" which throws an error "-bash: echo: writer error: Invalid argument"<br><br></div><div>So seems like it's missing some driver or config perhaps ?<br><br></div><div>Thanks for the help<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 10:04 AM, Nanik T <span dir="ltr"><<a href="mailto:nanikjava@gmail.com" target="_blank">nanikjava@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><span class=""><div><div>Thanks John for the reply.<br></div><br></div></span>Here is the screenshot of the BIOS ( <a href="http://postimg.org/image/p2quw3weh/" target="_blank">http://postimg.org/image/p2quw3weh/</a> ) for the LPSS 2 Configuration. I
checked it and can see that the LPSS I2C are enabled. I'm using Ubuntu
14.04 (ubuntu-14.04.1-desktop-amd64.iso) 64bit version<br><br></div>Let me know what to check next ?<br><br></div>Appreciate your help.<br><br>Cheers<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Oct 16, 2014 at 12:51 AM, John Hawley <span dir="ltr"><<a href="mailto:john.hawley@intel.com" target="_blank">john.hawley@intel.com</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 10/15/2014 4:32 AM, Nanik T wrote:<br>
> Hi,<br>
><br>
> I've got a MPU6050 (like this one<br>
> <a href="http://www.ebay.com/itm/MPU-6050-Module-3-Axis-Gyroscope-Acce-lerometer-for-Arduino-Power-supply-3v-5v-/351196348540" target="_blank">http://www.ebay.com/itm/MPU-6050-Module-3-Axis-Gyroscope-Acce-lerometer-for-Arduino-Power-supply-3v-5v-/351196348540</a>)<br>
> and I'm able to read it using Raspberry Pi using this instruction<br>
> <a href="http://blog.bitify.co.uk/2013/11/interfacing-raspberry-pi-and-mpu-6050.html" target="_blank">http://blog.bitify.co.uk/2013/11/interfacing-raspberry-pi-and-mpu-6050.html</a><br>
><br>
> I'm trying to do the same by interfacing it with Minnowboard Max by<br>
> connecting it using the JP1 header pins as follows:<br>
><br>
> MPU6050 (VCC) --> Pin 4<br>
> MPU6050 (GND) --> Pin 1<br>
> MPU6050 (SDA) --> Pin 15<br>
> MPU6050 (SCL) --> Pin 13<br>
><br>
> I'm using the schematics<br>
> (<a href="http://www.elinux.org/images/f/fd/MinnowMax_RevA1_sch.pdf" target="_blank">http://www.elinux.org/images/f/fd/MinnowMax_RevA1_sch.pdf</a>) on page 20.<br>
><br>
> I'm using i2cdetect to detect the MPU6050 but it does not show anywhere<br>
> I tried 'i2cdetec -y 1/2/4/5/6' with no luck.<br>
><br>
> I've loaded the 'i2c-dev' driver too before running i2cdetect.<br>
><br>
> Any idea what seem to be the problem ?<br>
<br>
</div></div>Should be on i2c bus #7 if you are using Linux (the low speed header<br>
enumerates under Linux to #7, high speed header #8). You should double<br>
check and make sure that firmware has i2c enabled<br>
<br>
<a href="http://www.elinux.org/Minnowboard:MaxBios#LPSS_.26_SCC_Configuration" target="_blank">http://www.elinux.org/Minnowboard:MaxBios#LPSS_.26_SCC_Configuration</a><br>
<br>
specifically:<br>
<br>
LPSS 2 Configuration<br>
LPSS DMA #2 Support<br>
Enable / Disable<br>
LPSS I2C #5 Support<br>
Enable / Disable<br>
Note: This is what's used on the Low-speed pins #13, #15<br>
LPSS I2C #6 Support<br>
Enable / Disable<br>
Note: This is what's used for the High Speed I2C pins<br>
<br>
If you aren't seeing 7 you might be missing the driver for lpss, so you<br>
might want to check your kernel / kernel config (could be helpful to let<br>
us know so we can help you double check)<br>
<br>
- John<br>
_______________________________________________<br>
elinux-MinnowBoard mailing list<br>
<a href="mailto:elinux-MinnowBoard@lists.elinux.org" target="_blank">elinux-MinnowBoard@lists.elinux.org</a><br>
<a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>