Pin is not a valid pin name on mcu 'host'

Basic Information:

Printer Model: Anet A8 plus
MCU / Printerboard: Orange pi 3 LTS
klippy.log

klippy.log (409.7 KB)

Hi, I just made all steps decribed in RPi microcontroller.
I did the export gpio also:

 +------+-----+----------+--------+---+   OPi 3  +---+--------+----------+-----+------+
 | GPIO | wPi |   Name   |  Mode  | V | Physical | V |  Mode  | Name     | wPi | GPIO |
 +------+-----+----------+--------+---+----++----+---+--------+----------+-----+------+
 |      |     |     3.3V |        |   |  1 || 2  |   |        | 5V       |       |        |
 |  122 |   0 |    SDA.0 |    OFF | 0 |  3 || 4  |   |        | 5V       |     |      |
 |  121 |   1 |    SCL.0 |    OFF | 0 |  5 || 6  |   |        | GND      |     |      |
 |  118 |   2 |    PWM.0 |    OFF | 0 |  7 || 8  | 0 | OFF    | PL02     | 3   | 354  |
 |      |     |      GND |        |   |  9 || 10 | 0 | OFF    | PL03     | 4   | 355  |
 |  120 |   5 |    RXD.3 |    OFF | 0 | 11 || 12 | 0 | OFF    | PD18     | 6   | 114  |
 |  119 |   7 |    TXD.3 |    OFF | 0 | 13 || 14 |   |        | GND      |     |      |
 |  362 |   8 |     PL10 |     IN | 0 | 15 || 16 | 0 | OFF    | PD15     | 9   | 111  |
 |      |     |     3.3V |        |   | 17 || 18 | 0 | OFF    | PD16     | 10  | 112  |
 |  229 |  11 |   MOSI.1 |    OFF | 0 | 19 || 20 |   |        | GND      |     |      |
 |  230 |  12 |   MISO.1 |    OFF | 0 | 21 || 22 | 0 | OFF    | PD21     | 13  | 117  |
 |  228 |  14 |   SCLK.1 |    OFF | 0 | 23 || 24 | 0 | OFF    | CE.1     | 15  | 227  |
 |      |     |      GND |        |   | 25 || 26 | 0 | OFF    | PL08     | 16  | 360  |
 +------+-----+----------+--------+---+----++----+---+--------+----------+-----+------+
 | GPIO | wPi |   Name   |  Mode  | V | Physical | V |  Mode  | Name     | wPi | GPIO |
 +------+-----+----------+--------+---+   OPi 3  +---+--------+----------+-----+------+
[mcu host]
serial: /tmp/klipper_host_mcu
[filament_switch_sensor RunoutSensor]
pause_on_runout: False
runout_gcode: PAUSE
insert_gcode: RESUME
switch_pin: !host:PL10

However I still getting the error: Pin ‘PL10’ is not a valid pin name on mcu ‘host’

1 Like

For Linux host MCU - it should be in another form, like this: !host:gpiochip0/gpio17
numbers are just a sample.

Call gpioinfo command and find your PL10 pin, from there you can find your gpiochip and gpio number
documentation

For code snippets, please use Preformatted Text, not Blockquote. It will look way much better.
Format

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.