Print serial port path/name in output of ola_dev_info
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 52/100
Rechercherichtung
Start with the ola_dev_info command and the device-info output it produces, then trace how serial device details are obtained. Check the libserialport sp_get_port_name(port) API referenced in the issue and test with an ENTTEC device; done means the output includes its path or name, such as /dev/ttyUSB0 or COMx.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
In response to comment in https://github.com/OpenLightingProject/ola/issues/2000 :
Btw, is it possible to somehow get the corresponding device path of ENTTEC (for me, /det/ttyUSB0) from OLA? I know ola_dev_info output something like "Device 2: Enttec Usb Pro Device .... port 0, OUT, patched to universe 1, RDM supported", but there is no /dev/ttyUSB0 device path there (I have to look for startup messages in syslog like "olad: plugins/usbpro/WidgetDetectorThread.cpp:215: Found potential USB Serial device at /dev/ttyUSB0" to find the device path).
Not if you can't currently see it on ola_dev_info, and if you could it would probably still be down to parsing a string that might change. Do you want to open a new issue for this as maybe we should extend our device info stuff to have some sort of path (be that on the device or as an IP) as a specific separate piece of info:
It would be great if the OLA device info could be expanded to also print this information.
In support of this, I'd like to note that I've used the https://sigrok.org/gitweb/?p=libserialport.git;a=tree in an executable, and the command sp_get_port_name(port) returns /dev/ttyUSB0 on Raspberry Pi, and COMx on Windows.
- Vorherrschende Sprache
- C++
- Sterne
- 773
- Forks
- 233
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus OpenLightingProject/ola
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenquestion Type-DeviceSupport
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
OpenLightingProject/ola#2056 · 2 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
OpenLightingProject/ola#2053 · 1 Kommentar ·
-
v0.11.0Evtl. wieder frei @peternewman hat das vor 227 Tagen übernommen, und es ist kein Pull Request offen. Offen
OpenLightingProject/ola#2038 · 18 Kommentare · 2 zugewiesene Personen ·
Alle Issues in OpenLightingProject/ola
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
antlr/grammars-v4#5219 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
deepseek-ai/DeepEP#830 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
google-ai-edge/LiteRT-LM#4701 ·
Maintainer antworten meist innerhalb von 1 Tag
-
status:needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
PX4/PX4-Autopilot#29898 ·
Maintainer antworten meist innerhalb von 1 Tag