#RPi CM4 Io board i2c issues
1 messages · Page 1 of 1 (latest)
I should clarify:
I have a display via hdmi0, 2 USB devices, a pwm fan and the CAN HAT connected (but not connected to a CAN network)
still need help
I'm confused; the MCP2515 is an SPI-controlled CAN device. What I2C device do you have connected
I have this CAN HAT https://www.waveshare.com/w/upload/2/29/RS485-CAN-HAT-user-manuakl-en.pdf
Connected, just mentioned it for completeness.
Via the config file I should have two i2c devices connected (internally?):
PWM fan header
Realtime clock
Both of which don't show up at all.
(PWM should be on i2c-10 f 40
And there should be other internal devices on other adresses.
Do you have some simple I2C device (not the HAT) you could connect to the default I2C pins to test whether i2C is working at all? https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/i2c-sensors-and-devices
sadly no - I only have the built-in devices from the CM4 IO board
I am unfamiliar with the CM4's configuration, and am only familiar with simple i2c use on an RPi.
You may then want to find someone who has used the HAT, in another forum (does waveshare have one), who would be more helpful with debuggging. Sorry not to be of more help.
have you asked in the raspberrypi forums?
it also seems like I only have this issue on ubuntu server for rPi not ubuntu Desktop
ah, sorry, I thought you were using raspberry pi OS
this is a rather deep rathole: multiple ubuntu versions on rpi. You'd need to track down the package versions for server vs desktop, etc.
i misunderstood and thought you had tested it on ubuntu and then moved to rpi os
of course - I haven't gotten a response in 2 weeks
currently my ubuntu desktop install seems borked
if the hat is supposed to work on rpi os, you might start with that and then move on to ubuntu. but sounds like you need to start fresh
hmm okay thank you!
the number of people who are trying i2c on ubuntu on rpi is probably quite small
most people stick to rpi os
have you looked in syslog to see if there's anything suspicious?
dmesg output (syslog) is attached to original question
debian based is not an option except ubuntu for me
I don't know if there's a rpi-ubuntu-specific forum or discord. This is rather outside our bailiwck
okay thanksd
This package contains all packages used on ubuntu desktop pi.
A similar package exists for server:
https://packages.ubuntu.com/jammy/ubuntu-desktop-raspi
https://packages.ubuntu.com/jammy/ubuntu-server-raspi