docs lots of updates
This commit is contained in:
parent
14d3fca31c
commit
f8da43c379
@ -2,9 +2,12 @@
|
|||||||
|
|
||||||
This article describes how to use KlipperScreen from an android device
|
This article describes how to use KlipperScreen from an android device
|
||||||
|
|
||||||
!!! important
|
!!! warning
|
||||||
The experience may not be equal to run KlipperScreen natively,
|
The experience may not be equal to run KlipperScreen natively.
|
||||||
depending on the device there maybe performance degradation or other issues
|
Depending on the device or the network you may encounter performance degradation or other issues.
|
||||||
|
|
||||||
|
!!! bug
|
||||||
|
Some [users have found](https://github.com/KlipperScreen/KlipperScreen/issues/862) that using this method causes memory-leaks
|
||||||
|
|
||||||
1. [First installl KlipperScreen on the Pi](Installation.md)
|
1. [First installl KlipperScreen on the Pi](Installation.md)
|
||||||
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
|
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
|
||||||
|
@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
|
|||||||
|
|
||||||
|
|
||||||
## Include files
|
## Include files
|
||||||
```py
|
```ini
|
||||||
[include conf.d/*.conf]
|
[include conf.d/*.conf]
|
||||||
# Include another configuration file. Wildcards (*) will expand to match anything.
|
# Include another configuration file. Wildcards (*) will expand to match anything.
|
||||||
```
|
```
|
||||||
@ -21,7 +21,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
|
|||||||
|
|
||||||
## Main Options
|
## Main Options
|
||||||
The options listed here are not changeable from within the ui.
|
The options listed here are not changeable from within the ui.
|
||||||
```py
|
```ini
|
||||||
[main]
|
[main]
|
||||||
# Time in seconds before the Job Status page closes itself after a successful job/print
|
# Time in seconds before the Job Status page closes itself after a successful job/print
|
||||||
# 0 means disabled
|
# 0 means disabled
|
||||||
@ -47,7 +47,7 @@ screen_off_devices: example1, example2
|
|||||||
|
|
||||||
## Printer Options
|
## Printer Options
|
||||||
Multiple printers can be defined
|
Multiple printers can be defined
|
||||||
```py
|
```ini
|
||||||
# Define printer and name. Name is anything after the first printer word
|
# Define printer and name. Name is anything after the first printer word
|
||||||
[printer Ender 3 Pro]
|
[printer Ender 3 Pro]
|
||||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||||
@ -108,7 +108,7 @@ extrude_speeds: 1, 2, 5, 25
|
|||||||
Adding a custom preheat section will cause the defaults to not load, this is
|
Adding a custom preheat section will cause the defaults to not load, this is
|
||||||
the intended behaviour.
|
the intended behaviour.
|
||||||
|
|
||||||
```py
|
```ini
|
||||||
[preheat my_temp_setting]
|
[preheat my_temp_setting]
|
||||||
extruder: 195
|
extruder: 195
|
||||||
extruder1: 60
|
extruder1: 60
|
||||||
@ -127,7 +127,7 @@ gcode: MY_HEATSOAK_MACRO
|
|||||||
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
|
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
|
||||||
for example:
|
for example:
|
||||||
|
|
||||||
```py
|
```ini
|
||||||
[preheat cooldown]
|
[preheat cooldown]
|
||||||
gcode: M107
|
gcode: M107
|
||||||
```
|
```
|
||||||
@ -142,7 +142,7 @@ printer is idle. The __print menu is accessible from the printing status page.
|
|||||||
A predefined set of menus is already provided and it's recommended to be used
|
A predefined set of menus is already provided and it's recommended to be used
|
||||||
|
|
||||||
A menu item is configured as follows:
|
A menu item is configured as follows:
|
||||||
```py
|
```ini
|
||||||
[menu __main my_menu_item]
|
[menu __main my_menu_item]
|
||||||
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
|
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
|
||||||
name: Item Name
|
name: Item Name
|
||||||
@ -167,7 +167,7 @@ enable: {{ printer.power_devices.count > 0 }}
|
|||||||
Available panels are listed here: [docs/panels.md](Panels.md)
|
Available panels are listed here: [docs/panels.md](Panels.md)
|
||||||
|
|
||||||
Certain variables are available for conditional testing of the enable statement:
|
Certain variables are available for conditional testing of the enable statement:
|
||||||
```py
|
```ini
|
||||||
printer.extruders.count # Number of extruders
|
printer.extruders.count # Number of extruders
|
||||||
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
||||||
printer.fans.count # Number of fans
|
printer.fans.count # Number of fans
|
||||||
@ -193,7 +193,7 @@ printer.pause_resume # Pause resume section of Klipper
|
|||||||
|
|
||||||
|
|
||||||
A sample configuration of a main menu would be as follows:
|
A sample configuration of a main menu would be as follows:
|
||||||
```py
|
```ini
|
||||||
[menu __main homing]
|
[menu __main homing]
|
||||||
name: Homing
|
name: Homing
|
||||||
icon: home
|
icon: home
|
||||||
|
@ -3,20 +3,23 @@
|
|||||||
## First steps
|
## First steps
|
||||||
|
|
||||||
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
|
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
|
||||||
It's strongly recommended to test it and ensure your hardware is working with Raspbian, Ubuntu or any distro you like.
|
It's strongly recommended to test it and ensure your hardware is working with RaspberryOS, Ubuntu or any distro you like.
|
||||||
Once you have established that the screen is working, then proceed installing KlipperScreen.
|
Once you have established that the screen is working, then proceed installing KlipperScreen.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
This install process is meant for a non-desktop version of the OS for example Raspbian Lite, but it should work on other versions.
|
This install process is meant for a non-desktop version of the OS for example RaspberryOS Lite, but it should work on other debian derivatives.
|
||||||
|
|
||||||
If you want to use it on a desktop (GUI version), then do `sudo systemctl set-default multi-user.target`
|
If you installed a desktop (GUI version) of the OS and want to run KlipperScreen exclusively then do:
|
||||||
if it's a Raspberry Pi, you can use `sudo raspi-config` to set boot to console by choosing the following options in order:
|
```sh title="Boot to console / KlipperScreen"
|
||||||
|
sudo systemctl set-default multi-user.target
|
||||||
```sh
|
sudo reboot
|
||||||
1System Options
|
|
||||||
└──S5 Boot / Auto Login
|
|
||||||
└──B1 Console
|
|
||||||
```
|
```
|
||||||
|
to undo and go back to the desktop environment:
|
||||||
|
```sh title="Boot to the desktop"
|
||||||
|
sudo systemctl set-default graphical.target
|
||||||
|
sudo reboot
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Auto install
|
## Auto install
|
||||||
|
|
||||||
@ -51,19 +54,21 @@ At this point KlipperScreen should be working, if it doesn't start then go to th
|
|||||||
|
|
||||||
## Moonraker configuration
|
## Moonraker configuration
|
||||||
|
|
||||||
In moonraker.conf ensure that 127.0.0.1 is a trusted client:
|
In moonraker.conf ensure that the IP of the device is a trusted client:
|
||||||
|
|
||||||
```py
|
```ini title="moonraker.conf"
|
||||||
[authorization]
|
[authorization]
|
||||||
trusted_clients:
|
trusted_clients:
|
||||||
127.0.0.1
|
127.0.0.1
|
||||||
```
|
```
|
||||||
!!! warning
|
!!! warning
|
||||||
`force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
|
having `force_logins: true` in this section or if you don't want to use `trusted_clients`
|
||||||
|
|
||||||
|
Will require the [moonraker api key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-api-key) in [KlipperScreen.conf](Configuration.md)
|
||||||
|
|
||||||
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
|
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
|
||||||
|
|
||||||
```py
|
```ini title="moonraker.conf"
|
||||||
[update_manager KlipperScreen]
|
[update_manager KlipperScreen]
|
||||||
type: git_repo
|
type: git_repo
|
||||||
path: ~/KlipperScreen
|
path: ~/KlipperScreen
|
||||||
@ -73,5 +78,5 @@ requirements: scripts/KlipperScreen-requirements.txt
|
|||||||
system_dependencies: scripts/system-dependencies.json
|
system_dependencies: scripts/system-dependencies.json
|
||||||
managed_services: KlipperScreen
|
managed_services: KlipperScreen
|
||||||
```
|
```
|
||||||
!!! note
|
!!! tip
|
||||||
If you see warnings in other UIs ignore them until KlipperScreen finishes installing.
|
If you see warnings in other UIs ignore them until KlipperScreen finishes installing, and Moonraker is restarted.
|
||||||
|
@ -3,25 +3,12 @@ quick tips, without much explanation
|
|||||||
|
|
||||||
|
|
||||||
## Hide macros, outputs or fans
|
## Hide macros, outputs or fans
|
||||||
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
|
|
||||||
but you can also hide gcode macros by prefixing the name with an underscore.
|
|
||||||
|
|
||||||
```py
|
You can also hide devices by prefixing the name with an underscore.
|
||||||
[gcode_macro MY_AWESOME_GCODE]
|
|
||||||
gcode:
|
|
||||||
_MY_HELPER_CODE
|
|
||||||
[gcode_macro _MY_HELPER_CODE]
|
|
||||||
gcode:
|
|
||||||
M300
|
|
||||||
```
|
|
||||||
|
|
||||||
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
|
|
||||||
|
|
||||||
Another example:
|
|
||||||
|
|
||||||
Lets hide a temperature_fan:
|
Lets hide a temperature_fan:
|
||||||
|
|
||||||
```py
|
```ini
|
||||||
[temperature_fan fan1]
|
[temperature_fan fan1]
|
||||||
[temperature_fan _fan2]
|
[temperature_fan _fan2]
|
||||||
```
|
```
|
||||||
@ -29,18 +16,15 @@ Lets hide a temperature_fan:
|
|||||||
fan1 will show in the interface, but _fan2 will be hidden.
|
fan1 will show in the interface, but _fan2 will be hidden.
|
||||||
|
|
||||||
|
|
||||||
## Thumbnails
|
|
||||||
|
|
||||||
Moved to [Thumbnails](Thumbnails.md)
|
|
||||||
|
|
||||||
|
|
||||||
## Layer Progress
|
## Layer Progress
|
||||||
|
|
||||||
Accurate layer progress as a message below the status:
|
Accurate layer progress as a message below the status:
|
||||||
|
|
||||||
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
|
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
|
||||||
|
|
||||||
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
|
```ini
|
||||||
|
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
|
||||||
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -55,11 +39,10 @@ PrusaSlicer/SuperSlicer:
|
|||||||
|
|
||||||
Printer Settings > Custom Gcode > Start Gcode
|
Printer Settings > Custom Gcode > Start Gcode
|
||||||
|
|
||||||
`SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]`
|
```ini
|
||||||
|
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
|
||||||
|
```
|
||||||
Printer Settings > Custom Gcode > After layer change Gcode
|
Printer Settings > Custom Gcode > After layer change Gcode
|
||||||
|
```ini
|
||||||
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}`
|
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
|
||||||
|
```
|
||||||
## Supported Macros
|
|
||||||
[Macros](macros.md)
|
|
||||||
|
@ -1,54 +1,69 @@
|
|||||||
|
|
||||||
# First Steps
|
# Troubleshooting
|
||||||
|
|
||||||
|
## First Steps
|
||||||
|
|
||||||
The first step to troubleshooting any problem is getting the cause of the error.
|
The first step to troubleshooting any problem is getting the cause of the error.
|
||||||
|
|
||||||
* Find KlipperScreen.log:
|
* Find KlipperScreen.log:
|
||||||
|
|
||||||
!!! important
|
!!! warning "Important"
|
||||||
This log file should be provided if you ask for support.
|
This log file should be provided if you ask for support.
|
||||||
|
|
||||||
Depending on your setup the file could be accessible from the web interface alongside other logs
|
Depending on your setup the file could be accessible from the web interface alongside other logs
|
||||||
|
|
||||||
Mainsail | Fluidd
|
Mainsail | Fluidd
|
||||||
:-:|:-:
|
:-:|:-:
|
||||||
 | 
|
 | 
|
||||||
|
|
||||||
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
|
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
|
||||||
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
|
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
|
||||||
|
|
||||||
If KlipperScreen.log doesn't exist, run `systemctl status KlipperScreen`<br>
|
## System logs
|
||||||
(or `journalctl -xe -u KlipperScreen`)
|
|
||||||
|
|
||||||
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
|
If [KlipperScreen.log](#first-steps) doesn't exist:
|
||||||
|
```sh
|
||||||
|
systemctl status KlipperScreen
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```sh
|
||||||
|
journalctl -xe -u KlipperScreen
|
||||||
|
```
|
||||||
|
|
||||||
|
Also the Xorg log where you can find issues with the X server:
|
||||||
|
```sh
|
||||||
|
cat /var/log/Xorg.0.log
|
||||||
|
```
|
||||||
|
|
||||||
## Screen shows console instead of KlipperScreen
|
## Screen shows console instead of KlipperScreen
|
||||||
|
|
||||||
If you see this line in the logs (`systemctl status KlipperScreen`):
|

|
||||||
```sh
|
|
||||||
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
|
||||||
```
|
|
||||||
[Follow this steps](Troubleshooting/VC_ERROR.md)
|
|
||||||
|
|
||||||
If you see this line in the logs (`systemctl status KlipperScreen`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
KlipperScreen-start.sh: (EE) no screens found(EE)
|
|
||||||
```
|
|
||||||
|
|
||||||
[First check the screen](Troubleshooting/Physical_Install.md)
|
!!! abstract "If you see this line in the [system logs](#system-logs):"
|
||||||
|
```sh
|
||||||
|
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
||||||
|
```
|
||||||
|
[Follow this steps](Troubleshooting/VC_ERROR.md)
|
||||||
|
|
||||||
[If it's not any of the above follow this steps](Troubleshooting/Showing_console.md)
|
!!! abstract "If you see this line in the [system logs](#system-logs):"
|
||||||
|
```sh
|
||||||
|
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
|
||||||
|
```
|
||||||
|
[Follow this steps](Troubleshooting/FBturbo.md)
|
||||||
|
|
||||||
## Screen is all white or blank or no signal
|
!!! abstract "If you see this line in the [system logs](#system-logs):"
|
||||||
|
```sh
|
||||||
|
KlipperScreen-start.sh: (EE) no screens found(EE)
|
||||||
|
```
|
||||||
|
[First check the screen](Troubleshooting/Physical_Install.md)
|
||||||
|
|
||||||
If the screen never shows the console even during startup, Then it's typically an improperly installed screen,
|
[Maybe it's the wrong framebuffer](Troubleshooting/Framebuffer.md)
|
||||||
|
|
||||||
You may see this line in the logs (`systemctl status KlipperScreen`):
|
## Screen is always white / black / blank or no 'No signal'
|
||||||
|
|
||||||
```sh
|
If the screen never shows the console even during startup, Then it's typically an improperly installed screen.
|
||||||
KlipperScreen-start.sh: (EE) no screens found(EE)
|
|
||||||
```
|
|
||||||
|
|
||||||
[Follow this steps](Troubleshooting/Physical_Install.md)
|
[Follow this steps](Troubleshooting/Physical_Install.md)
|
||||||
|
|
||||||
@ -56,7 +71,13 @@ KlipperScreen-start.sh: (EE) no screens found(EE)
|
|||||||
## The screen shows colors or 'No signal' when idle
|
## The screen shows colors or 'No signal' when idle
|
||||||
|
|
||||||
In KliperScreen settings find 'Screen DPMS' and turn it off.
|
In KliperScreen settings find 'Screen DPMS' and turn it off.
|
||||||
Your screen doesn't seem to support turning off via software, the best you can do is to turn it all black.
|
|
||||||
|

|
||||||
|
|
||||||
|
Your screen doesn't seem to support turning off via software.
|
||||||
|
|
||||||
|
KlipperScreen will enable an internal screensaver to make it all black, and hopefully avoid burn-in.
|
||||||
|
If you find a way of turning it off and you want to share it: [Contact](Contact.md)
|
||||||
|
|
||||||
## Touch issues
|
## Touch issues
|
||||||
|
|
||||||
@ -74,4 +95,4 @@ KlipperScreen was never intended to be used with OctoPrint, and there is no supp
|
|||||||
## Other issues
|
## Other issues
|
||||||
|
|
||||||
If you found an issue not listed here, or can't make it work, please provide all the log files
|
If you found an issue not listed here, or can't make it work, please provide all the log files
|
||||||
a description of your hw, and a description of the issue when asking for support.
|
a description of your hw, and a description of the issue when [asking for support](Contact.md)
|
||||||
|
16
docs/Troubleshooting/FBturbo.md
Normal file
16
docs/Troubleshooting/FBturbo.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# FBturbo failing with undefined symbol
|
||||||
|
|
||||||
|
in the system [log](../Troubleshooting.md) this appears:
|
||||||
|
|
||||||
|
!!! abstract "Log"
|
||||||
|
```sh
|
||||||
|
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
|
||||||
|
```
|
||||||
|
|
||||||
|
Your system doesn't seem compatible with the FBturbo driver that you have installed
|
||||||
|
|
||||||
|
Remove the fbturbo driver
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo apt purge xserver-xorg-video-fbturbo
|
||||||
|
```
|
57
docs/Troubleshooting/Framebuffer.md
Normal file
57
docs/Troubleshooting/Framebuffer.md
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# Screen is using the wrong framebuffer
|
||||||
|
|
||||||
|
|
||||||
|
## LCD-show
|
||||||
|
|
||||||
|
when using [Waveshare-LCD-show](https://github.com/waveshare/LCD-show) to install screens add `lite` at the end
|
||||||
|
to properly install the screen on the lite version of the OS. this will typically change the framebuffer
|
||||||
|
|
||||||
|
for example:
|
||||||
|
```
|
||||||
|
sudo ./LCD35-show lite
|
||||||
|
```
|
||||||
|
|
||||||
|
## Manually change the framebuffer
|
||||||
|
|
||||||
|
If you have multiple framebuffers, you may need to fix the X11 configuration,
|
||||||
|
list the available framebuffers and check the current one:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ls /dev/fb*
|
||||||
|
```
|
||||||
|
!!! example "Output example"
|
||||||
|
```
|
||||||
|
pi@raspberrypi ~ $ ls /dev/fb*
|
||||||
|
/dev/fb0 /dev/fb1
|
||||||
|
```
|
||||||
|
|
||||||
|
!!! failure "Critical"
|
||||||
|
if you only see one, for example `/dev/fb0` then this is not the issue. Go to [Troubleshooting](../Troubleshooting.md)
|
||||||
|
|
||||||
|
the file specifying the framebuffer could be:
|
||||||
|
|
||||||
|
- 99-fbturbo.conf
|
||||||
|
- 99-fbusb.conf
|
||||||
|
- 99-fbdev.conf
|
||||||
|
|
||||||
|
check if one of those or similar exist with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ls /usr/share/X11/xorg.conf.d/
|
||||||
|
```
|
||||||
|
|
||||||
|
!!! example
|
||||||
|
you found 99-fbturbo.conf:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||||
|
```
|
||||||
|
and the file specifies `/dev/fb0`
|
||||||
|
|
||||||
|
since `ls /dev/fb*` returned `/dev/fb0 /dev/fb1` change it to `/dev/fb1`
|
||||||
|
|
||||||
|
Save the file, restart KlipperScreen.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo service KlipperScreen restart
|
||||||
|
```
|
@ -3,9 +3,10 @@
|
|||||||
If the screen never shows the console or bootup text during startup, Then it's typically an improperly installed screen
|
If the screen never shows the console or bootup text during startup, Then it's typically an improperly installed screen
|
||||||
See [Physical install issues](Physical_Install.md)
|
See [Physical install issues](Physical_Install.md)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
If the screen shows the bootup text, but ends in a blinking cursor or login prompt,
|
If the screen shows the bootup text, but ends in a blinking cursor or login prompt,
|
||||||
and no matter what you tried in the [Troubleshooting](../Troubleshooting.md) you can't make it load KlipperScreen,
|
and no matter what you tried in [Troubleshooting](../Troubleshooting.md) you can't make it work, then do this:
|
||||||
then here is the last resort:
|
|
||||||
|
|
||||||
1. Install a distro with a desktop enviromenment
|
1. Install a distro with a desktop enviromenment
|
||||||
2. Ensure that the screen is working properly (display and touch)
|
2. Ensure that the screen is working properly (display and touch)
|
||||||
|
@ -1,29 +1,34 @@
|
|||||||
# Wi-Fi networks not listed
|
# Wi-Fi networks not listed
|
||||||
|
|
||||||
|
!!! tip "First start"
|
||||||
|
The initial scan may take a couple of minutes, first be patient before assuming it's an issue
|
||||||
|
|
||||||
Check if network-manager is installed:
|
Check if network-manager is installed:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
dpkg -s network-manager
|
dpkg -s network-manager
|
||||||
```
|
```
|
||||||
|
|
||||||
if the response is the following:
|
if the response is the following:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
dpkg-query: the package `network-manager' is not installed
|
dpkg-query: the package 'network-manager' is not installed
|
||||||
```
|
```
|
||||||
|
|
||||||
go to [wpa_supplicant](wpa_supplicant.md)
|
go to [wpa_supplicant](wpa_supplicant.md)
|
||||||
|
|
||||||
if the response is the following:
|
if the response is the following:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
Package: network-manager
|
Package: network-manager
|
||||||
Status: install ok installed
|
Status: install ok installed
|
||||||
```
|
```
|
||||||
|
|
||||||
this line may appear in KlipperScreen.log:
|
this line may appear in KlipperScreen.log:
|
||||||
|
!!! abstract "Log"
|
||||||
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized`
|
```sh
|
||||||
|
[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
in order to fix this polkit needs to be configured or disabled:
|
in order to fix this polkit needs to be configured or disabled:
|
||||||
|
@ -23,6 +23,3 @@ Some screens need drivers installed the most common cases are:
|
|||||||
### Goodtft (generic/clones)
|
### Goodtft (generic/clones)
|
||||||
* [Goodtft Wiki](http://www.lcdwiki.com)
|
* [Goodtft Wiki](http://www.lcdwiki.com)
|
||||||
* [repo LCD-show](https://github.com/goodtft/LCD-show)
|
* [repo LCD-show](https://github.com/goodtft/LCD-show)
|
||||||
|
|
||||||
!!! critical
|
|
||||||
remember to add `lite` when installing. See [LCD-SHOW](Showing_console.md#lcd-show)
|
|
@ -1,63 +0,0 @@
|
|||||||
# Screen shows console instead of KlipperScreen
|
|
||||||
|
|
||||||
If the screen is connected via HDMI and the board has more than one HDMI try the other port
|
|
||||||
|
|
||||||
## LCD-show
|
|
||||||
|
|
||||||
when using Waveshare-LCD-show repo to install screens add `lite` at the end to properly install the screen on the lite version of the os.
|
|
||||||
This is also applicable to the old version of good-tft
|
|
||||||
|
|
||||||
for example:
|
|
||||||
```
|
|
||||||
sudo ./LCD35-show lite
|
|
||||||
```
|
|
||||||
|
|
||||||
## Using wrong framebuffer
|
|
||||||
|
|
||||||
This is usually the result of not adding `lite` at the end of the command when installing a screen that requires LCD-show.
|
|
||||||
Follow [above](LCD-show) first if this is the case.
|
|
||||||
|
|
||||||
If you have multiple framebuffers, you may need to fix the X11 configuration,
|
|
||||||
list the available framebuffers and check the current one:
|
|
||||||
```sh
|
|
||||||
ls /dev/fb*
|
|
||||||
```
|
|
||||||
|
|
||||||
If you more than one, try changing it:
|
|
||||||
|
|
||||||
the file could be:
|
|
||||||
- 99-fbturbo.conf
|
|
||||||
- 99-fbusb.conf
|
|
||||||
- 99-fbdev.conf
|
|
||||||
|
|
||||||
check if one of those or similar exist with:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
ls /usr/share/X11/xorg.conf.d/
|
|
||||||
```
|
|
||||||
|
|
||||||
For example if 99-fbturbo.conf is there then edit it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
for example: change `/dev/fb0` to `/dev/fb1`
|
|
||||||
|
|
||||||
!!! important
|
|
||||||
do `ls /dev/fb*` as said before to check if the other fb exists do not change it blindly
|
|
||||||
|
|
||||||
Once you have saved that file, restart KlipperScreen.
|
|
||||||
```sh
|
|
||||||
sudo service KlipperScreen restart
|
|
||||||
```
|
|
||||||
|
|
||||||
## FBturbo failing
|
|
||||||
|
|
||||||
in the system log (`sudo systemctl status KlipperScreen`) this appears:
|
|
||||||
|
|
||||||
`xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak`
|
|
||||||
|
|
||||||
Fix it by removing fbturbo driver
|
|
||||||
|
|
||||||
`sudo apt purge xserver-xorg-video-fbturbo`
|
|
@ -1,9 +1,10 @@
|
|||||||
# Cannot open virtual Console
|
# Cannot open virtual Console
|
||||||
|
|
||||||
If you see this line in the logs:
|
If you see this line in the [log](../Troubleshooting.md):
|
||||||
```sh
|
!!! abstract "Log"
|
||||||
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
```sh
|
||||||
```
|
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
||||||
|
```
|
||||||
|
|
||||||
* Run `cat /etc/X11/Xwrapper.config`
|
* Run `cat /etc/X11/Xwrapper.config`
|
||||||
|
|
||||||
@ -23,9 +24,16 @@ Restart KlipperScreen:
|
|||||||
sudo service KlipperScreen restart
|
sudo service KlipperScreen restart
|
||||||
```
|
```
|
||||||
|
|
||||||
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
|
If it's still failing:
|
||||||
|
|
||||||
|
add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
|
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
|
||||||
```
|
```
|
||||||
|
|
||||||
restart KS.
|
Restart KlipperScreen:
|
||||||
|
```sh
|
||||||
|
sudo service KlipperScreen restart
|
||||||
|
```
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
This article describes how to use KlipperScreen through a remote connection.
|
This article describes how to use KlipperScreen through a remote connection.
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
The experience may not be equal to run KlipperScreen natively,
|
The experience may not be equal to run KlipperScreen natively.
|
||||||
depending on the device and network there maybe performance degradation or other issues
|
Depending on the device or the network you may encounter performance degradation or other issues.
|
||||||
|
|
||||||
## On the Host device (for example a Raspberry Pi):
|
## On the Host device (for example a Raspberry Pi):
|
||||||
|
|
||||||
|
BIN
docs/img/troubleshooting/boot.png
Normal file
BIN
docs/img/troubleshooting/boot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 413 KiB |
BIN
docs/img/troubleshooting/dpms.gif
Normal file
BIN
docs/img/troubleshooting/dpms.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
@ -1,13 +1,32 @@
|
|||||||
# Supported Macros
|
# Macros
|
||||||
|
|
||||||
|
## Hide Macros
|
||||||
|
|
||||||
|
Macros can be completely hidden in the interface by prefixing the name with an underscore.
|
||||||
|
|
||||||
|
```ini
|
||||||
|
[gcode_macro MY_AWESOME_GCODE]
|
||||||
|
gcode:
|
||||||
|
_MY_HELPER_CODE
|
||||||
|
|
||||||
|
[gcode_macro _MY_HELPER_CODE]
|
||||||
|
gcode:
|
||||||
|
M300
|
||||||
|
```
|
||||||
|
|
||||||
|
`MY_AWESOME_GCODE` appears in your interface settings, but `_MY_HELPER_CODE` does not.
|
||||||
|
|
||||||
## Extrude Panel
|
## Extrude Panel
|
||||||
|
|
||||||
### LOAD_FILAMENT / UNLOAD_FILAMENT
|
### LOAD_FILAMENT / UNLOAD_FILAMENT
|
||||||
Load and Unload Filament macros are used in the Extrude-Panel if it is available.
|
|
||||||
The selected speed is transferred to this macro.
|
|
||||||
The following example macros show how this can be used in the macro.
|
|
||||||
|
|
||||||
```jinja
|
This macros are used in the Extrude panel `Load` and `Unload` buttons.
|
||||||
|
|
||||||
|
The selected speed in the panel is transferred as a parameter.
|
||||||
|
|
||||||
|
The following examples show how this can be used:
|
||||||
|
|
||||||
|
```ini
|
||||||
[gcode_macro LOAD_FILAMENT]
|
[gcode_macro LOAD_FILAMENT]
|
||||||
gcode:
|
gcode:
|
||||||
{% set speed = params.SPEED|default(300) %}
|
{% set speed = params.SPEED|default(300) %}
|
||||||
@ -23,7 +42,7 @@ gcode:
|
|||||||
RESTORE_GCODE_STATE NAME=load_state
|
RESTORE_GCODE_STATE NAME=load_state
|
||||||
```
|
```
|
||||||
|
|
||||||
```jinja
|
```ini
|
||||||
[gcode_macro UNLOAD_FILAMENT]
|
[gcode_macro UNLOAD_FILAMENT]
|
||||||
gcode:
|
gcode:
|
||||||
{% set speed = params.SPEED|default(300) %}
|
{% set speed = params.SPEED|default(300) %}
|
||||||
|
@ -3,7 +3,7 @@ site_url: https://klipperscreen.readthedocs.io
|
|||||||
site_description: >-
|
site_description: >-
|
||||||
KlipperScreen documentation.
|
KlipperScreen documentation.
|
||||||
|
|
||||||
repo_name: jordanruthe/KlipperScreen/
|
repo_name: KlipperScreen/KlipperScreen/
|
||||||
repo_url: https://github.com/KlipperScreen/KlipperScreen/
|
repo_url: https://github.com/KlipperScreen/KlipperScreen/
|
||||||
nav:
|
nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
@ -21,9 +21,10 @@ nav:
|
|||||||
- First Steps/Log: Troubleshooting.md
|
- First Steps/Log: Troubleshooting.md
|
||||||
- Network: Troubleshooting/Network.md
|
- Network: Troubleshooting/Network.md
|
||||||
- Physical install: Troubleshooting/Physical_Install.md
|
- Physical install: Troubleshooting/Physical_Install.md
|
||||||
- Showing Console: Troubleshooting/Showing_console.md
|
- Wrong Framebuffer: Troubleshooting/Framebuffer.md
|
||||||
- Touch: Troubleshooting/Touch_issues.md
|
- Touch: Troubleshooting/Touch_issues.md
|
||||||
- Virtual Console Error: Troubleshooting/VC_ERROR.md
|
- Virtual Console Error: Troubleshooting/VC_ERROR.md
|
||||||
|
- FBturbo: Troubleshooting/FBturbo.md
|
||||||
- Last resort: Troubleshooting/Last_resort.md
|
- Last resort: Troubleshooting/Last_resort.md
|
||||||
- Screenshots: Panels.md
|
- Screenshots: Panels.md
|
||||||
- Panels:
|
- Panels:
|
||||||
@ -35,7 +36,6 @@ nav:
|
|||||||
- Translations.md
|
- Translations.md
|
||||||
- Breaking Changes: Changelog.md
|
- Breaking Changes: Changelog.md
|
||||||
- Developers.md
|
- Developers.md
|
||||||
|
|
||||||
- Contact.md
|
- Contact.md
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
|
Loading…
x
Reference in New Issue
Block a user