From 63531fa7817f9bc14519b7b14045bb52810e7871 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Wed, 18 Jan 2023 15:32:29 +0100 Subject: [PATCH 1/2] feat: enable I2C by default Signed-off-by: Stephan Wendel --- src/modules/piconfig/filesystem/tmp/msos_config.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/piconfig/filesystem/tmp/msos_config.txt b/src/modules/piconfig/filesystem/tmp/msos_config.txt index dfc17571e..9c5abb5ce 100644 --- a/src/modules/piconfig/filesystem/tmp/msos_config.txt +++ b/src/modules/piconfig/filesystem/tmp/msos_config.txt @@ -44,6 +44,11 @@ dtparam=spi=on enable_uart=1 dtoverlay=disable-bt +## Enable I2C by default. +## This is used by Klipper's Host MCU +## See https://www.klipper3d.org/RPi_microcontroller.html#optional-enabling-i2c +## for destails. +dtparam=i2c_arm=on,i2c_arm_baudrate=400000 ## Disable libcamera (interferes with ustreamer, when using raspicams) camera_auto_detect=0 From 244efd42d2694ca6f341d3a04e8f7fe90e0e6f04 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Thu, 19 Jan 2023 16:11:42 +0100 Subject: [PATCH 2/2] chore: remove baudrate Signed-off-by: Stephan Wendel --- src/modules/piconfig/filesystem/tmp/msos_config.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/piconfig/filesystem/tmp/msos_config.txt b/src/modules/piconfig/filesystem/tmp/msos_config.txt index 9c5abb5ce..e784214cc 100644 --- a/src/modules/piconfig/filesystem/tmp/msos_config.txt +++ b/src/modules/piconfig/filesystem/tmp/msos_config.txt @@ -48,7 +48,9 @@ dtoverlay=disable-bt ## This is used by Klipper's Host MCU ## See https://www.klipper3d.org/RPi_microcontroller.html#optional-enabling-i2c ## for destails. -dtparam=i2c_arm=on,i2c_arm_baudrate=400000 +## For MPU Accelrometer please use +## dtparam=i2c_arm=on,i2c_arm_baudrate=400000 +dtparam=i2c_arm=on ## Disable libcamera (interferes with ustreamer, when using raspicams) camera_auto_detect=0