Print serial port path/name in output of ola_dev_info
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C++
- Stelle
- 771
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenLightingProject/ola
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaquestion Type-DeviceSupport
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
OpenLightingProject/ola#2056 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenLightingProject/ola#2053 · 1 commento ·
-
v0.11.0Forse di nuovo libera @peternewman l’ha presa 227 giorni fa e non c’è nessuna pull request aperta. Aperta
OpenLightingProject/ola#2038 · 18 commenti · 2 assegnatari ·
Tutte le issue di OpenLightingProject/ola
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
google-ai-edge/LiteRT-LM#4701 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
HarperFast/rocksdb-js#1131 ·
I maintainer di solito rispondono entro 1 giorno
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansionForse già presa @Lian292213 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area/daemon bug good first issue platform/linux priority/p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ToshiNamura/Deimos#5 ·
-
needs-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Niko1221/Strata#6251 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni