[LITMUS^RT] Errors when trying to detect I²C on Raspberry Pi

Erick Oduniyi eeoduniyi at gmail.com
Thu Jul 8 05:26:48 CEST 2021


Joshua!

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):
[image: Screen Shot 2021-07-07 at 9.51.45 PM (2).png]
Again, I followed this tutorial for installing LITMUS^RT on the Pi:
https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf, which I originally
thought I followed correctly but now not so much

On Tue, Jul 6, 2021 at 8:01 PM Joshua Bakita <jbakita at cs.unc.edu> wrote:

> Hello Erick,
>
> 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 CONFIG_I2C_BCM2708=m to
> CONFIG_I2C_BCM2708=y, save, and repeat the following steps to rebuild and
> install the kernel.
>
> Best,
>
> Joshua Bakita
> PhD Student | Real-Time Systems | UNC Chapel Hill
>
> On Sat, Jul 3, 2021 at 6:36 PM Erick Oduniyi <eeoduniyi at gmail.com> wrote:
>
>> Dear All,
>>
>> 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.
>>
>> 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:
>>
>> [image: Screen Shot 2021-07-03 at 4.34.14 PM.png]
>>
>> Using a non-Litmus Raspbian OS I can correctly detect and operate the
>> servo:
>> [image: Screen Shot 2021-07-03 at 3.41.15 PM.png]
>>
>> 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!
>>
>> For reference, I used the guide:
>> https://www.litmus-rt.org/doc/litmus-rt-on-raspbian.pdf
>>
>> Best,
>> Erick
>> _______________________________________________
>> litmus-dev mailing list
>> litmus-dev at lists.litmus-rt.org
>> https://lists.litmus-rt.org/listinfo/litmus-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20210707/2fb94b3a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-07-03 at 4.34.14 PM.png
Type: image/png
Size: 178006 bytes
Desc: not available
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20210707/2fb94b3a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-07-03 at 3.41.15 PM.png
Type: image/png
Size: 93523 bytes
Desc: not available
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20210707/2fb94b3a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-07-07 at 9.51.45 PM (2).png
Type: image/png
Size: 256306 bytes
Desc: not available
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20210707/2fb94b3a/attachment-0005.png>


More information about the litmus-dev mailing list