@phaedrux said in Raspberry Pi, Arch Linux,and DWC.:
You might have better luck in the Klipper github or Klipper reddit.
As mentioned, I have already tried there and those posts are still open but responses are slow.
What little help I have received has been to re-read the install instructions, which I have done so much I just about have them memorized.
@joergs5 said in Raspberry Pi, Arch Linux,and DWC.:
@scottbg1 I would start analyzing the communication between Klipper and DWC. If you post your error logs (maybe on dropbox), this may give a first hint what could be the reason.
The communication between Klipper and DWC is the problem, and it all hinges on a .py file that has to be sym-linked from the Klipper service to the DWC installation.
Here is the only error message I am getting at the moment. It's easy to just post it here rather than linking a drop box file, but I will if you would rather see that instead.
Section dwc2_web is not a valid config section
The following is several lines in Klippers configuration file that tells Klipper where to connect to for access to DWC.
[virtual_sdcard]
path: /home/scott/sdcard
[web_dwc2]
## optional - defaulting to Klipper
printer_name: Anet A8
# optional - defaulting to 0.0.0.0
listen_adress: 0.0.0.0
# needed - use above 1024 as nonroot
listen_port: 4750
# optional defaulting to dwc2/web. Its a folder relative to your virtual sdcard.
web_path: dwc2/web
The section in the configuration [web_dwc2] is what the error message is referring to.
The directory housing the DWC stuff is located in the user folder and it has a file called web_dwc2.py. That file is to be sym-linked to the same file located in /opt/klipper/klippy/extras.
So the command to handle that would be:
ln -s ~/dwc2-for-klipper/web_dwc2.py ~/opt/klipper/klippy/extras/web_dwc2.py
The /opt directory in Arch Linux is where Klipper is installed, hence directing the sym-link to that location. In Raspbian, Klipper seems to be installed and located in the user directory. So if you follow the install directions to the letter, you are obviously placing things in the wrong spot, as far as Arch is concerned.....I think.
Ans thats my problem. I have tried to mimic the install instructions and place things where I am pretty sure they should go in Arch, but it isn't working and I get the error mentioned above. It certainly doesn't work if I install it exactly as the directions call for, which has Raspbian in mind.
I feel in my heart this is just a simple matter of I have the paths set incorrectly.
I just can't figure out exactly, what it is.
I posted this here on a whim, since it involves printer firmware and specifically something we use everyday, such as DWC.
I will try one of the Arch Linux forums next if I haven't gotten this figured out in a couple of days.
Again, thanks to whatever attention I get for this.