Closed rafaljot closed 4 years ago
I am willing to add this. As you did this allready, does dwc realize that printing started when starting from lcd?
No answer since a month? you alive?
Sorry, Unfortunately not. Over and over trying to reconnect
Okay you are asking for "file list on LCD" and then you are talking about restarts. What ever you did/doing it breaks thing. If i can help with code or take a look at logs, let me know.
Because this restart happens only during printing when I start it from file list on LCD. Yep, I'll try to manage this issue.
Then I need a loggile please
both sdcard lcd listing and the constant errors when a print is started via LCD are resolved by the combination of https://github.com/KevinOConnor/klipper/pull/2767 and Stephan3/dwc2-for-klipper#65
If you are using LCD there is a menu "SD Card". It lists files from folder /home/pi/sdcard Unfortunately Klipper doesn't suport subfolders.
dwc2-for-klipper stores all files in "gcodes" subfolder so I can't print uploaded files using LCD menu.
I made little workaround: [virtual_sdcard] path: /home/pi/sdcard/gcodes
`
<-----><------>self.sdpath = self.configfile.getsection("virtual_sdcard").get("path", None)
<------><------>self.sdpath = config.get( 'sd_path', self.configfile.getsection("virtual_sdcard").get("path", None)) `
then:
[web_dwc2] (...) sd_path: /home/pi/sdcard