xbst / KUSBA

Klipper USB Accelerometer Project
GNU General Public License v3.0
205 stars 25 forks source link

Setup following the the docs causes klipper not to start. #38

Closed glennpierce closed 1 month ago

glennpierce commented 1 month ago

Setup following the the docs causes klipper not to start.

I am sure this it me but I bought a sensor that I believe has the latest firmware and followed the instructions at https://github.com/xbst/KUSBA/blob/main/Docs/v2-Rampon-Firmware.md

I did a

ls /dev/serial/by-id/* to find the device and set it in the config

I can also do cat /dev/serial/by-id/usb-Seeed_XIAO_RP2040_E6611C0843441C34-if00 and it shows coordinates so i think the device is working fine and can communicate.

However, when I have [include adxlmcu.cfg] in the printer.cfg klipper fails to restart .

my log shows no errors I think. It is linked below.

https://pastebin.com/EVSP3Uta

Things seem to hang when it reaches

mcu 'adxl': Starting serial connect

What am i missing ?

My config seems ok

[mcu adxl]
serial = /dev/serial/by-id/usb-Seeed_XIAO_RP2040_E6611C0843441C34-if00

[adxl345]
cs_pin = adxl:CS

[resonance_tester]
accel_chip = adxl345
probe_points = 120,80,30

Thanks