<div dir="auto"><div dir="auto"><span style="font-family:sans-serif">Hello Erick, I think Jushoa meant to re-enter to the .config of litmus-rt using "make menuconfig" command and set the I2C configurations. I searched for this inside .config file and I found the path below which may help you:</span><div dir="auto" style="font-family:sans-serif">"Device Drivers" then "I2C support" then " I2C Hardware support".</div><div dir="auto" style="font-family:sans-serif">Or:</div><div dir="auto" style="font-family:sans-serif">Device Drivers" then "Multifunction device drivers".<br></div><div dir="auto" style="font-family:sans-serif">I should to tell you I am not expert on this, but I used the first path once to appear the I2C ports, so I supposed it may help you.</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Regard,</div><div dir="auto" style="font-family:sans-serif">Marouf</div><div dir="auto" style="font-family:sans-serif">MSC student, Tishreen university.</div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">في الخميس، ٨ يوليو ٢٠٢١ ٦:٢٩ ص Erick Oduniyi <<a href="mailto:eeoduniyi@gmail.com" target="_blank" rel="noreferrer">eeoduniyi@gmail.com</a>> كتب:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Joshua!<div><br></div><div>I am not sure where the kernel config file you're specifying is located (I don't think you mean config.txt or the .config folder): <br><img src="https://mail.google.com/mail/?ui=2&ik=82cb1fdced&attid=0.3&th=17a854a14ea3976f&view=fimg&rm=17a854a14ea3976f&sz=w1600-h1000&attbid=ANGjdJ9_DaAQB3Cn6jX75wwepFjSQ2vH0rKzy_Yq3rrugcaXQuQlJHnW_slM7VYC423OJO9v41Df8VaW3v5l3_aZPEazoOY4Dl7SEFkOClf0FaTzdQIEdfuk3yrYeps&disp=emb&realattid=ii_kqubh6o03&zw" alt="Screen Shot 2021-07-07 at 9.51.45 PM (2).png" width="510" height="529"><br></div><div>Again, I followed this tutorial for installing LITMUS^RT on the Pi: <a href="https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf" rel="noreferrer noreferrer" target="_blank">https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf</a>, which I originally thought I followed correctly but now not so much</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 6, 2021 at 8:01 PM Joshua Bakita <<a href="mailto:jbakita@cs.unc.edu" rel="noreferrer noreferrer" target="_blank">jbakita@cs.unc.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Erick,</div><div><br></div><div>I can't think of anything related to LITMUS^RT that could be causing problems. The modprobe error seems to indicate that something isn't right with your install of the kernel modules. One quick workaround is to just build in the i2c-bcm2708 driver into your kernel rather than as a module. To do this, open your kernel .config file, change <span style="font-family:monospace">CONFIG_I2C_BCM2708=m</span> to <span style="font-family:monospace">CONFIG_I2C_BCM2708=y</span>, save, and repeat the following steps to rebuild and install the kernel.</div><div><br></div><div>Best,</div><div><br></div><div>Joshua Bakita</div><div>PhD Student | Real-Time Systems | UNC Chapel Hill<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 3, 2021 at 6:36 PM Erick Oduniyi <<a href="mailto:eeoduniyi@gmail.com" rel="noreferrer noreferrer" target="_blank">eeoduniyi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear All,<div><br></div><div>I am trying to enable i2c on a Raspberry Pi 3 Model B+ running 4.9.80-v7-litmus+ so that I can move a hobby servo; however, I have not detected the i2c interfaces. <br><br>I have enabled i2c through raspi-config and checked to see that the relevant lines within /boot/config.txt were uncommented. I have even tried to add the modules manually but still no progress:<br></div><div><br></div><div><img src="https://mail.google.com/mail/?ui=2&ik=82cb1fdced&attid=0.1&th=17a854a14ea3976f&view=fimg&rm=17a854a14ea3976f&sz=w1600-h1000&attbid=ANGjdJ8B-CVQmLzNB9jAsGr-JsCEChMQH0lsy2JdEobzBepQCX2uAcpZ45CwChV3Mgw4a2Su-Xx_qe4hEaL_hJllwobiwthOd9b5nF--ZA0gCINbPn2iuZ6t4uTw5r4&disp=emb&realattid=ii_kqobj1bk0&zw" alt="Screen Shot 2021-07-03 at 4.34.14 PM.png" width="509" height="133"><br></div><div><br></div><div>Using a non-Litmus Raspbian OS I can correctly detect and operate the servo:<br><img src="https://mail.google.com/mail/?ui=2&ik=82cb1fdced&attid=0.2&th=17a854a14ea3976f&view=fimg&rm=17a854a14ea3976f&sz=w1600-h1000&attbid=ANGjdJ8Q7-zVdchS0yXrv6HneKmTsW_ZyAMLNr2R--Eqs-FQYjcip7PmrKOP0n2xKLihRcXp1_xGuPVM3z2wSAJIIcp_8goLABXwXzjo-hoHsu47SRKcf78aDdbiELw&disp=emb&realattid=ii_kqobque81&zw" alt="Screen Shot 2021-07-03 at 3.41.15 PM.png" width="509" height="164"><br><br>So, could something about the Litmus extension be blocking the i2c modules? If so, how should I go about getting the interface working again? Any guidance/help would be much appreciated!<br><br>For reference, I used the guide: <a href="https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf" rel="noreferrer noreferrer" target="_blank">https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf</a><br><br>Best,</div><div>Erick</div><div></div></div>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org" rel="noreferrer noreferrer" target="_blank">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org" rel="noreferrer noreferrer" target="_blank">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div></div>