1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00

hwdb: Add hwbd definitions for maker tools

As originally added back in 2016 in 68ea57b21d ("Added support
for 3D printers to uaccess (ID_MAKER_TOOL)").

The first devices added would be 3D printers compatible with Flashprint
from Flashforge, as listed in this connector plugin:
https://github.com/Mrnt/OctoPrint-FlashForge/blob/master/octoprint_flashforge/__init__.py#L28

See https://github.com/flathub/com.flashforge.FlashPrint/issues/59
This commit is contained in:
Bastien Nocera
2025-06-21 20:01:18 +02:00
committed by Luca Boccassi
parent 16fe095178
commit 3dcb56f5e0
2 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
# This file is part of systemd.
#
# Database for maker tools, like CNCs, laser cutters, 3D printers,
# or any other so called "maker tools" and and that should be
# accessible to the seat owner.
#
# Permitted keys:
# Specify if a device is a maker tool
# ID_MAKER_TOOL=1|0
###########################################################
# Dremel
###########################################################
# Dremel IdeaBuilder 3D20
usb:v2A89p8889*
ID_MAKER_TOOL=1
# Dremel IdeaBuilder 3D45
usb:v2A89p888D*
ID_MAKER_TOOL=1
###########################################################
# Flashforge
###########################################################
# Flashforge Dreamer
usb:v2B71p0001*
ID_MAKER_TOOL=1
# Flashforge Finder v1
usb:v2B71p0002*
ID_MAKER_TOOL=1
# Flashforge Guider II
usb:v2B71p0004*
ID_MAKER_TOOL=1
# Flashforge Inventor
usb:v2B71p0005*
ID_MAKER_TOOL=1
# Flashforge Finder v2
usb:v2B71p0007*
ID_MAKER_TOOL=1
# Flashforge Guider IIs
usb:v2B71p0009*
ID_MAKER_TOOL=1
# Flashforge Dreamer NX
usb:v2B71p000A*
ID_MAKER_TOOL=1
# Flashforge Creator Max
usb:v2B71p00E7*
ID_MAKER_TOOL=1
# Flashforge Finder v2.12
usb:v2B71p00EE*
ID_MAKER_TOOL=1
# FlashForge Creator Pro 2
usb:v2B71p000E*
ID_MAKER_TOOL=1
###########################################################
# PowerSpec
###########################################################
# PowerSpec Ultra 3DPrinter
usb:v0315p0001*
usb:v2B71p00F6*
usb:v2B71p00FF
ID_MAKER_TOOL=1

View File

@@ -176,6 +176,7 @@ def property_grammar():
('ID_INPUT_TOUCHSCREEN', id_input_setting),
('ID_INPUT_TRACKBALL', id_input_setting),
('ID_SIGNAL_ANALYZER', Or((Literal('0'), Literal('1')))),
('ID_MAKER_TOOL', Or((Literal('0'), Literal('1')))),
('ID_HARDWARE_WALLET', Or((Literal('0'), Literal('1')))),
('ID_SOFTWARE_RADIO', Or((Literal('0'), Literal('1')))),
('ID_MM_DEVICE_IGNORE', Or((Literal('0'), Literal('1')))),