-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I have Kusba v2.4. I followed the open issues here but I can't solve my issue. It seems the device port can't be connected to.
I already tried to flush it with the Rampon Anchor 0.4 to no avail.
In the menuconfig I selected "Raspberry PI RP2040" and as communication interface: "USBSERIAL".
Here are some outputs:
dmesg | tail
[ 1091.945579] usb 1-1.4: Manufacturer: Anchor
[ 1091.950408] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device
[ 1212.095035] usb 1-1.5: USB disconnect, device number 6
[ 1212.400028] usb 1-1.5: new full-speed USB device number 13 using dwc_otg
[ 1212.534364] usb 1-1.5: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
[ 1212.534389] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1212.534397] usb 1-1.5: Product: rp2040
[ 1212.534403] usb 1-1.5: Manufacturer: Klipper
[ 1212.534409] usb 1-1.5: SerialNumber: 455035712894B258
[ 1212.535598] cdc_acm 1-1.5:1.0: ttyACM2: USB ACM device
For lsusb command:
lsusb
Bus 001 Device 013: ID 1d50:614e OpenMoko, Inc. rp2040
Bus 001 Device 012: ID 1d50:614e OpenMoko, Inc. Rampon
Bus 001 Device 009: ID 1d50:614e OpenMoko, Inc. stm32f042x6
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
For ls /dev/serial/by-id/ command:
usb-Anchor_Rampon-if00 usb-Klipper_rp2040_455035712894B258-if00 usb-Klipper_stm32f042x6_120001800743564E32313720-if00
From the command: sudo mount /dev/sda1 /mnt
I get: mount: /mnt: special device /dev/sda1 does not exist.
I tried switching cables.
I also try to run a python code to attempt to read data from the device:
import serial
import time
# Set up serial connection (ensure the baud rate matches your device's configuration)
ser = serial.Serial('/dev/ttyACM2', 115200, timeout=1)
# Read from the device
try:
while True:
data = ser.readline() # Read a line from the serial port
if data:
print(data.decode().strip()) # Print the data received from the device
time.sleep(1)
except KeyboardInterrupt:
print("Stopped by user")
# Close the serial connection
ser.close()
And get the error:
File "/home/shkop/klipper/read_serial.py", line 10, in <module>
data = ser.readline() # Read a line from the serial port
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read
raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
This is the config file:
[mcu adxl]
serial: /dev/serial/by-id/usb-Klipper_rp2040_455035712894B258-if00
# Edit the above line with the correct serial address. Use "ls /dev/serial/by-id/*" to find the MCU serial address.
[adxl345]
cs_pin: adxl:gpio1
# Hardware SPI Option (Better results, "Invalid ID" Klipper bug with first query)
spi_bus: spi0a
# Software SPI Option (No "Invalid ID" Klipper bug with first query)
# spi_software_sclk_pin: adxl:gpio2
# spi_software_mosi_pin: adxl:gpio3
# spi_software_miso_pin: adxl:gpio0
[resonance_tester]
accel_chip: adxl345
probe_points:
60,60,20
# Edit the above line with the correct probe points location. I recommend the center of your bed for X & Y, 20 for Z.
# For 350 mm printers: 175,175,20
# For 300 mm printers: 150,150,20
# For 250 mm printers: 125,125,20
# For 120 mm printers: 60,60,20
# More info: https://www.klipper3d.org/Config_Reference.html#adxl345
Any idea what I can do to solve it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels