-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
machine: add support for peripheral requests #798
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arksine
force-pushed
the
dev-machine-peripherials-20231225
branch
from
January 24, 2024 00:31
d401574
to
83fdc5c
Compare
Signed-off-by: Eric Callahan <[email protected]>
This folder contains miscellaneous files used by Moonraker or other applications in the Klipper ecosystem. Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
Implement endpoints to query the following: - Serial Devices (including Hardware UART) - USB Devices using lsusb - Klipper CAN Node UUIDs Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
While a hardware UART generally won't have symlinks in the "by-path" and "by-id" folders, it is possible to configure udev to add them. In addition, adding these fields makes the schema consistent. Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
The material theme is more feature complete and flexibile, providing better documentation for APIs and such. This commit is just the initial move. The documents are functional, but the layout and color schemes are subject to change. Signed-off-by: Eric Callahan <[email protected]>
This adds a new structure for API documentation, making each aspect visible and uniform. The parameters, response, and schema are collapsible, allowing for easier navigation. Signed-off-by: Eric Callahan <[email protected]>
Signed-off-by: Eric Callahan <[email protected]>
Arksine
force-pushed
the
dev-machine-peripherials-20231225
branch
from
February 1, 2024 15:28
b61015f
to
71517b2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds the ability to query the local machine for the following peripherals:
This is accomplished for the most part using sysfs and IOCTLs. No external dependencies are added in this PR. That said, it is necessary for the
python3-libcamera
package to be installed on the system to query libcamera devices. Since this package is only widely available for RPi OS it can't be added to Moonraker as a system dependency as it would cause standard Debian/Ubuntu installs to fail. That said, if the module is not available it will not cause an error.This PR also marks the switch from the "readthedocs" theme to the "material" theme for Moonraker's documentation. Given the complexity of the responses I wanted to try to introduce a better structure for the API documentation. It won't be available on
readthedocs
until this PR is merged, however its generally possible to read the API docs in the PR to get an idea of what the new APIs look like.This resolves PR #658 and issue #768.
@meteyou This PR also addresses your request to query hardware devices.