Hi.
I have a CM4 with i2c enabled connected to a pca9546a, a i2c multiplexer. I got a linux overlay to map them only /dev/i2c-22-25. there is one sensor connects to it. i2c-detect sees it:

However, I cannot seem to configure klipper to use it. I got klipper installed as linux process:
https://www.klipper3d.org/RPi_microcontroller.html
config:
[mcu rpi]
serial: /tmp/klipper_host_mcu
[temperature_sensor SHT40]
sensor_type: SHT3X
i2c_mcu: rpi
i2c_bus: i2c.25
keeps getting this message:
mcu_temperature 'mcu' nominal base=-270.392157 slope=1605.882353
Configured MCU 'mcu' (1024 moves)
Config error
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 135, in _connect
cb()
File "/home/pi/klipper/klippy/mcu.py", line 749, in _connect
self._send_config(None)
File "/home/pi/klipper/klippy/mcu.py", line 680, in _send_config
cb()
File "/home/pi/klipper/klippy/extras/bus.py", line 174, in build_config
bus = resolve_bus_name(self.mcu, "i2c_bus", self.bus)
File "/home/pi/klipper/klippy/extras/bus.py", line 25, in resolve_bus_name
raise ppins.error("Unknown %s '%s'" % (enums, bus))
pins.error: Unknown i2c_bus 'i2c.25'
So it seems the devices under /dev/i2c-2x are not listed as valid i2c devices. any workaround to this?
Hi.
I have a CM4 with i2c enabled connected to a pca9546a, a i2c multiplexer. I got a linux overlay to map them only /dev/i2c-22-25. there is one sensor connects to it. i2c-detect sees it:
However, I cannot seem to configure klipper to use it. I got klipper installed as linux process:
https://www.klipper3d.org/RPi_microcontroller.html
config:
keeps getting this message:
So it seems the devices under /dev/i2c-2x are not listed as valid i2c devices. any workaround to this?