Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with TCA9548a multiplexer #1360

Open
Nithalik opened this issue Jan 11, 2024 · 6 comments
Open

issue with TCA9548a multiplexer #1360

Nithalik opened this issue Jan 11, 2024 · 6 comments

Comments

@Nithalik
Copy link

Nithalik commented Jan 11, 2024

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

@kizniche
Copy link
Owner

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.

@Nithalik
Copy link
Author

Nithalik commented Feb 7, 2024

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 joan2937/pigpio#589

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

@kizniche
Copy link
Owner

kizniche commented Feb 7, 2024

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

@Nithalik
Copy link
Author

Nithalik commented Feb 7, 2024

you might have seen the un-updated comment.

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

@dgedgedge
Copy link

Please consider the following issue on RapiOS :
raspberrypi/linux#5914

@Nithalik
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants