ASWX2 - Printer auto-reconnect on power on
This commit is contained in:
@@ -80,7 +80,8 @@ BED_MESH_OUTPUT
|
||||
|
||||
| Brand | Filament desc | Printing temp | Build Plate temp | Retractation Distance |
|
||||
|-----------|---------------|---------------|------------------|-----------------------|
|
||||
| Geeetech | Black | 205°C | 60°C | 0.75mm |
|
||||
| Geeetech | Black | 200°C | 60°C | 0.75mm |
|
||||
| Geeetech | White | 200°C | 60°C | 0.75mm |
|
||||
| Geeetech | Silk Silver | 205°C | 60°C | 0.75mm |
|
||||
|
||||
## PETG
|
||||
@@ -214,6 +215,47 @@ make flash FLASH_DEVICE=2e8a:0003
|
||||
|
||||
Once flashed, the board will automatically reboot and goes back in operation mode.
|
||||
|
||||
# OctoKlipper: Auto-reconnect printer after power-on
|
||||
[Source](https://arnav.jain.se/2020/auto-restart-klipper-when-ender3-connected-to-pi/) by Arnav Jain.
|
||||
|
||||
Start off by accessing Octopi using ssh. \
|
||||
Then create the `98-klipper.rules` file in the /etc/udev/rules.d/ folder:
|
||||
```
|
||||
ssh octoprint
|
||||
sudo touch /etc/udev/rules.d/98-klipper.rules
|
||||
```
|
||||
|
||||
Retreive `idVendor` and `idProduct` for the Klipper MCU:
|
||||
1. Retrieve Klipper MCU ID
|
||||
```
|
||||
lusb
|
||||
```
|
||||

|
||||
|
||||
2. Retrieve `idVendor` and `idProduct` using the Klipper MCU ID
|
||||
```
|
||||
lsusb -v -d 1d50:614e | grep id
|
||||
```
|
||||

|
||||
|
||||
Then add the following text into the `98-klipper.rules` file just created:
|
||||
|
||||
1. Edit the `98-klipper.rules` file
|
||||
```
|
||||
sudo nano /etc/udev/rules.d/98-klipper.rules
|
||||
```
|
||||
|
||||
2. Add text (remove the `0x` at the begining of the IDs)
|
||||
```
|
||||
## rule to restart klipper when the printer is connected via usb
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="614e", ACTION=="add", RUN+="/usr/bin/sudo -u pi /bin/sh -c '/bin/echo RESTART > /tmp/printer'"
|
||||
```
|
||||
|
||||
Finally, re-load the udev rules:
|
||||
```
|
||||
sudo udevadm control --reload-rules
|
||||
```
|
||||
|
||||
# Resources / Links
|
||||
|
||||
* [Runout sensor bracket SIDEWINDER X2 by LeLudoLAb - Thingiverse](https://www.thingiverse.com/thing:5027268)
|
||||
|
||||
BIN
artillery-sidewinder-x2/images/aswx2-find-mcu-id.png
Normal file
BIN
artillery-sidewinder-x2/images/aswx2-find-mcu-id.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user