# Unable to infer homing\_positive\_dir in section 'stepper\_x' Newbie Mistakes

**URL:** <https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766>\
**Category:** General Discussion\
**Created:** [June 4, 2023, 1:27am UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766 "2023-06-04T01:27:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 4, 2023, 1:27am UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/1 "2023-06-04T01:27:10Z")

</div>

### Basic Information:

Printer Model: Ender 3 V2 Neo with sprite pro  
 MCU / Printerboard: 4.2.2  
 `klippy.log`  
[klippy.log](https://klipper.discourse.group/uploads/short-url/aQI70m7vpNMaPm4KIh04STF0h7S.log) (284.9 KB)

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_**. _Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue:

Today I installed the sonic pad with the “klipper” firmware, I know its no the same but the code works a lot like it. I changed the BL Touch offset without issues, but I keep getting off center prints. They are closer to the front and to the left of the printer than they should. To the point the Y offset is such that its almost at the limit of the bed.

Wonder if anyone could direct me to what I’m doing wrong with the printer.cfg file while trying to set the min position x and y to 10 so the prints move 10mm “right and up”  
[printer.cfg](https://klipper.discourse.group/uploads/short-url/g74MJ6KPDCpNf40O8XToZfV8ss2.cfg) (11.7 KB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [June 4, 2023, 6:44am UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/2 "2023-06-04T06:44:54Z")

</div>

Hello @verce3d !

If the homing position is out of the printable area, try with negative values for the `[position_endstop]`. Like this for X and Y:

```auto
position_endstop: -10
position_min: 0

```

* * *

Besides this, please note:

> [@Creality Sonic Pad and Alternatives](https://klipper.discourse.group/t/creality-sonic-pad-and-alternatives/6324):
>
> Creality Sonic Padexclamation Update Since July 11, 2023, Creality seems to have [released a firmware](https://www.creality.com/pages/download-creality-sonic-pad?spm=..page_1934481.products_display_1.1&spm_prev=..product_afecb672-1369-4c48-ba2d-f0cd762126a6.header_1.1) with a newer Klipper version. Again, they have not released the sources for this and the other components as required by the GPL license. Again, they are violating the OSS license and making money off the work of others. Background The Creality Sonic Pad is intended to be a “one-stop” solution for Klipper. A SBC running Klipper along with Moonraker, Fluidd, Mainsail and KlipperScreen A …

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 4, 2023, 8:35am UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/3 "2023-06-04T08:35:49Z")

</div>

> [@verce3d](#):
>
> Ender 3 V2 Neo

This printer has an effective build volume of 220 x 220 mm. This means you need to enter this size in your slicer and not the max of 235 x 230

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 4, 2023, 12:12pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/4 "2023-06-04T12:12:49Z")

</div>

Thanks for the replay, I will try that. I understand its not real klipper, I said that on the post. But due to the severe lack of customer support from creality on the subject you guys are my best bet to get any orientation on how to solve my issue. I understand the basics of programming so any help comes handy when I get to mess with the config since I never used hand written gcode to the date

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 4, 2023, 12:15pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/5 "2023-06-04T12:15:23Z")

</div>

Thanks, the printing area in the slicer is 210x220 that’s the actual working area of the bed. there’s 10mm lost to the “sides” in the X axis that’s not printable unfortunately. I had tot use the 235x230 on the config because it wasn’t using the full Y axis in the bed when the sonic pad flashed the firmware.

I find its absurd that using a creality upgrade on a creality printer isn’t supported for their own products. sprite pro upgrade should be a plug n play product for any creality printer with support files to do it from the manufacturer

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 6, 2023, 4:57pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/6 "2023-06-06T16:57:56Z")

</div>

Just to give an update to the post, the solution of changing the position\_endstop: -10 didn’t work, keeps saying "Unable to infer homing\_positive\_dir in section ‘stepper\_x’ goes the same for the y axis.  
should I use the homing\_positive\_dir true or false to maybe get this working? saying the

homing\_positive\_dir true so the position\_min: 0 with the position\_endstop: -10 would get the 0,0 to be away from the endstop?

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 7, 2023, 2:22pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/7 "2023-06-07T14:22:26Z")

</div>

The problem is not on the max position but on the 0,0. If I input 220x220 lets say to use the “whole” bed, the bedmesh has to be rebuild in positions and they won’t get the right places anyway, since the 0,0 is way off the bed. This is in part because the sprite pro on the ender 3v2 Neo needs a different X axis cover, wich I designed my own, that’s why probably my endstop isn’t in the 0 position but something like -10

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 7, 2023, 7:23pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/8 "2023-06-07T19:23:05Z")

</div>

Klipper does not know your bed or which part is usable.  
Let’s take the following situation, where the red marked area isn’t usable:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/7/770b435594e63ba88a4396667538404a592ac92a.png)

In this case, you would set for the Y stepper:

```auto
position_min: -20
position_max: 180
position_endstop: -20

```

- Now your Y=0 (from the slicer perspective) will be at Y=20 and the usable distance from there will be 180 mm
- Set your slicer bed size to 200/180
- Beware, you can still travel into the negative, so do not do this if it would cause a crash

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 7, 2023, 7:30pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/9 "2023-06-07T19:30:21Z")

</div>

Sineos thanks for the fast reply, the issue I’m having is that when trying to set the position\_endstop to a negative number or the position min, it gives me the unable to infer homing\_positive\_dir warning, so I was wondering if I have to specify in the config which direction is positive using the homing\_positive\_dir to true to fix that.

If I manage to get this right and working I will share the printer.cfg file here so others with the same setup can get it running without any issues like I’m having

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 7, 2023, 7:35pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/10 "2023-06-07T19:35:18Z")

</div>

`position_min` must always be equal or less (more negative) than your `position_endstop`.

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 7, 2023, 7:54pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/11 "2023-06-07T19:54:53Z")

</div>

I understand that, when I tried endstop -10 position min 0 the message was still there after saving the mods. I will try something else I guess

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 7, 2023, 7:57pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/12 "2023-06-07T19:57:37Z")

</div>

> [@Sineos](#):
>
> `position_min` must always be equal or less (more negative) than your `position_endstop`.

If you set `position_endstop` to -10 then `position_min` must be -10 or more negative, e.g. -10.1, -11 etc

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 7, 2023, 7:58pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/13 "2023-06-07T19:58:27Z")

</div>

got it, will try it and get back to you, thanks for all the help

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 12, 2023, 1:11pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/14 "2023-06-12T13:11:04Z")

</div>

I got everything working, thanks to @Sineos and @EddyMI3D for all the help, as promised here’s the printer.cfg code that worked for me using a Ender 3 V2 Neo with the sprite pro upgrade, and the sprite pro fix for the small switch from printables ([Printables](https://www.printables.com/es/model/499742-sprite-pro-fix-for-small-switch))

https://pastebin.com/HuD1jqgn

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [June 12, 2023, 7:21pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/15 "2023-06-12T19:21:20Z")

</div>

> [@verce3d](#):
>
> printer.cfg

Stupid question, why don’t you just post that printer.cfg here? It’s just a small text file?

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [June 12, 2023, 7:25pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/16 "2023-06-12T19:25:27Z")

</div>

It’s in the subforum **Configs** and in post #14

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [June 12, 2023, 7:38pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/17 "2023-06-12T19:38:28Z")

</div>

Too stupid to find that printer.cfg 😶 Can you post a link?

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [June 12, 2023, 7:45pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/18 "2023-06-12T19:45:36Z")

</div>

> [@verce3d](#):
>
> [Ender 3 V2 Neo w/sprite pro Printer.cfg for sonic pad - Pastebin.com](https://pastebin.com/HuD1jqgn)

> [@Ender 3 V2 Neo with Sprite Pro printer.cfg](https://klipper.discourse.group/t/ender-3-v2-neo-with-sprite-pro-printer-cfg/8936):
>
> Basic Information: Printer Model: Ender 3 V2 Neo MCU / Printerboard: 4.2.2 klippy.log Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed Be sure to check our [Knowledge Base](https://klipper.discourse.group/t/about-the-knowledge-base-category-table-of-contents/6228) and in particular [this](https://klipper.discourse.group/t/how-to-trouble-shoot/6326) and [this](https://klipper.discourse.group/t/how-to-ask-for-help/6327) post Describe your issue: … Ender 3 V2 Neo with sprite pro printer.cfg working for sonic pad [https://pastebin.com/HuD1jqgn](https://pastebin.com/HuD1jqgn)

---

<div class="post-metadata">

**Author:** ![verce3d](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@verce3d](https://klipper.discourse.group/u/verce3d)\
**Post date:** [June 13, 2023, 12:34pm UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/19 "2023-06-13T12:34:52Z")

</div>

I did post it in the first post in this thread, then the pastebin for fast copy and paste of the parts modified that worked, it depends if you have a different X Axis cover “fix” depending on the switch size. Its all explained on the posts

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [September 4, 2024, 11:25am UTC](https://klipper.discourse.group/t/unable-to-infer-homing-positive-dir-in-section-stepper-x-newbie-mistakes/8766/20 "2024-09-04T11:25:21Z")

</div>


