#Run MainsailOS/klipper without printer board
1 messages · Page 1 of 1 (latest)
Ahoi @worthy wyvern!
Welcome to the Mainsail support-forum!
There is a problem with the tags you selected for this post. Please fix them to fit your question.
For further information on tags please check the readme: #readme message
To change the tags of this post:
- Open the
...menu on the top right corner of this post. - Find
Edit tags - Select the checkbox of the correct tags.
Usually you just need to select one tag!
If you still have no idea which one to choose, feel free to ask here.
Note: This is an automated message
Thanks for your cooperation!
@sleek ridge
So I managed to get past the serial by using the rpi MCU. Now I am trying to figure out how to get past all the config settings like pin name, velocity and so on
Ahoi @worthy wyvern!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message
logfile:
`mcu 'mcu': Starting connect
webhooks client 548306429984: New connection
webhooks client 548306429984: Client info {'program': 'Moonraker', 'version': 'v0.8.0-268-ga23187b'}
Loaded MCU 'mcu' 112 commands (v0.12.0-85-gd785b396 / gcc: (Debian 10.2.1-6) 10.2.1 20210110 binutils: (GNU Binutils for Debian) 2.35.2)
MCU 'mcu' config: ADC_MAX=4095 CLOCK_FREQ=50000000 MCU=linux PCA9685_MAX=4096 PWM_MAX=32768 STATS_SUMSQ_BASE=256
Sending MCU 'mcu' printer configuration...
Config error
Traceback (most recent call last):
File "/home/pi/klipper/klippy/mcu.py", line 718, in _send_config
self._serial.send(c)
File "/home/pi/klipper/klippy/serialhdl.py", line 256, in send
cmd = self.msgparser.create_command(msg)
File "/home/pi/klipper/klippy/msgproto.py", line 350, in create_command
cmd = mp.encode_by_name(**argparts)
File "/home/pi/klipper/klippy/msgproto.py", line 181, in encode_by_name
t.encode(out, params[name])
File "/home/pi/klipper/klippy/msgproto.py", line 108, in encode
raise enumeration_error(self.enum_name, v)
msgproto.enumeration_error: Unknown value 'PG2' in enumeration 'pin'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 180, in _connect
cb()
File "/home/pi/klipper/klippy/mcu.py", line 764, in _connect
self._send_config(None)
File "/home/pi/klipper/klippy/mcu.py", line 729, in _send_config
raise self._printer.config_error(
configparser.Error: Pin 'PG2' is not a valid pin name on mcu 'mcu'`
Found the solution. Still testing but looks promising.
`[mcu]
serial: /tmp/klipper_host_mcu
[printer]
kinematics: none
max_velocity: 1
max_accel: 1`
this is just a bot. you can use the #NoLogsNeeded in the description for question like this ( #readme for more informations about this)
yes. this looks like my "guide" in the klipper discord.
you have to install the raspberry pi mcu (host mcu) first like here: https://www.klipper3d.org/RPi_microcontroller.html
so short guide:
# install klipper mcu service
cd ~/klipper/
sudo cp ./scripts/klipper-mcu.service /etc/systemd/system/
sudo systemctl enable klipper-mcu.service
# build micro-controller code
cd ~/klipper/
make menuconfig
# In the menu, set "Microcontroller Architecture" to "Linux process," then save and exit.
sudo systemctl stop klipper
make flash
sudo systemctl start klipper
# add user pi (if you use another username, change pi to your username) to tty group
sudo usermod -a -G tty pi