Mycodo icon indicating copy to clipboard operation
Mycodo copied to clipboard

issue with TCA9548a multiplexer

Open Nithalik opened this issue 1 year ago • 6 comments

I am using a dfrobot multiplexer

https://wiki.dfrobot.com/Gravity__Digital_1-to-8_I2C_Multiplexer_SKU_DFR0576#target_5

uses the TCA9548a chip.

i went to enable it given your instructions at https://kizniche.github.io/Mycodo/I2C-Multiplexers/

when enabled it now shows 2 i2c channels oddly, screenshot below

image

the 11 and 12 channel will not go away and nothing in those two channels is being recognized by the system.

now the odd part. when i have the multiplexer plugged in, it shows all other channels normally, but still has those two filled like that, when unplugged just like the screenshot

i went to the boot config file and removed the multiplex line - these two channels still show even after rebooting system

i reinstalled mycodo after - these two channels still show.

it basically does not matter what the condition now, it still shows those two channels

Versions:

  • Mycodo Version: 8.15.13
  • Raspberry Pi Version: [e.g. 5]
  • Raspbian OS Version: raspian full

Reproducibility

really not sure how to reproduce here, i put the pi back in its "base" state to the channels still showing

****it might be the RPI5, i reinstalled the os and everything, and even before setting up the multiplexer it is showing those 3 channels, when i reinstall everything on a rpi4 no issue

ordered another rpi5 to see if it is just my specific SBC

testing on a rpi4 now

Expected behavior

the two i2c channels should not be populating randomly

Nithalik avatar Jan 11 '24 17:01 Nithalik

You haven't provided enough information to know if you set it up correctly. The bug report template instructs to provide detailed step-by-step instructions for how to replicate the issue. This is the most crucial piece of information you can provide, but it appears to be omitted from your bug report.

kizniche avatar Jan 22 '24 05:01 kizniche

I have received a new RPI5, i really didnt know how to show reproduction steps before.

  1. Install RPI OS on brand new RPI 5, nothing every connected to GPIO, no settings changes other then enabling gpio and i2c
  2. Install mycodo using curl -L https://kizniche.github.io/Mycodo/install | bash using recommended settings
  3. go to system information and the below pic shows

image

looks like it is not a issue with the multiplexer, it is a issue possibly with the RPI5 and GPIO libraries itself. might be related to https://github.com/joan2937/pigpio/issues/589

as this is not a issue with the multiplexer, please let me know if i should submit as a new one

Nithalik avatar Feb 07 '24 18:02 Nithalik

So you haven't enabled I2C and i2cdetect is showing you have active I2C busses?

kizniche avatar Feb 07 '24 19:02 kizniche

you might have seen the un-updated comment.

i2c is enabled, was the only thing i did once installed the os

Nithalik avatar Feb 07 '24 19:02 Nithalik

Please consider the following issue on RapiOS : https://github.com/raspberrypi/linux/issues/5914

dgedgedge avatar Feb 17 '24 08:02 dgedgedge

Hi,

Just wanted to follow up here, all moved into my new place and starting up my mycodo systems again.

is there no support for the RPI5? this seems like its related to the GPIO issues the RPI5 is having.

I ended up with another new RPI5 and am getting the same thing as previous comment

Nithalik avatar Apr 30 '24 17:04 Nithalik